import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Managed Instance Install Windows Updates Management resource in Oracle Cloud Infrastructure Os Management Hub service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/os-management/latest/ManagedInstanceInstallWindowsUpdatesManagement * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/os_management_hub * * Installs Windows updates on the specified managed instance. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagedInstanceInstallWindowsUpdatesManagement = new oci.osmanagementhub.ManagedInstanceInstallWindowsUpdatesManagement("test_managed_instance_install_windows_updates_management", { * managedInstanceId: testManagedInstance.id, * windowsUpdateNames: testWindowsUpdate.name, * windowsUpdateTypes: managedInstanceInstallWindowsUpdatesManagementWindowsUpdateTypes, * workRequestDetails: { * description: managedInstanceInstallWindowsUpdatesManagementWorkRequestDetailsDescription, * displayName: managedInstanceInstallWindowsUpdatesManagementWorkRequestDetailsDisplayName, * }, * }); * ``` * * ## Import * * ManagedInstanceInstallWindowsUpdatesManagement can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:OsManagementHub/managedInstanceInstallWindowsUpdatesManagement:ManagedInstanceInstallWindowsUpdatesManagement test_managed_instance_install_windows_updates_management "id" * ``` */ export declare class ManagedInstanceInstallWindowsUpdatesManagement extends pulumi.CustomResource { /** * Get an existing ManagedInstanceInstallWindowsUpdatesManagement resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ManagedInstanceInstallWindowsUpdatesManagementState, opts?: pulumi.CustomResourceOptions): ManagedInstanceInstallWindowsUpdatesManagement; /** * Returns true if the given object is an instance of ManagedInstanceInstallWindowsUpdatesManagement. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ManagedInstanceInstallWindowsUpdatesManagement; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. */ readonly managedInstanceId: pulumi.Output; /** * The list of Windows update unique identifiers. Note that this is not an OCID, but is a unique identifier assigned by Microsoft. Example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed' */ readonly windowsUpdateNames: pulumi.Output; /** * The types of Windows updates to be installed. */ readonly windowsUpdateTypes: pulumi.Output; /** * Provides the name and description of the job. */ readonly workRequestDetails: pulumi.Output; /** * Create a ManagedInstanceInstallWindowsUpdatesManagement resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ManagedInstanceInstallWindowsUpdatesManagementArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ManagedInstanceInstallWindowsUpdatesManagement resources. */ export interface ManagedInstanceInstallWindowsUpdatesManagementState { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. */ managedInstanceId?: pulumi.Input; /** * The list of Windows update unique identifiers. Note that this is not an OCID, but is a unique identifier assigned by Microsoft. Example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed' */ windowsUpdateNames?: pulumi.Input[] | undefined>; /** * The types of Windows updates to be installed. */ windowsUpdateTypes?: pulumi.Input[] | undefined>; /** * Provides the name and description of the job. */ workRequestDetails?: pulumi.Input; } /** * The set of arguments for constructing a ManagedInstanceInstallWindowsUpdatesManagement resource. */ export interface ManagedInstanceInstallWindowsUpdatesManagementArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. */ managedInstanceId: pulumi.Input; /** * The list of Windows update unique identifiers. Note that this is not an OCID, but is a unique identifier assigned by Microsoft. Example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed' */ windowsUpdateNames?: pulumi.Input[] | undefined>; /** * The types of Windows updates to be installed. */ windowsUpdateTypes?: pulumi.Input[] | undefined>; /** * Provides the name and description of the job. */ workRequestDetails?: pulumi.Input; } //# sourceMappingURL=managedInstanceInstallWindowsUpdatesManagement.d.ts.map