import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Managed Instances Update Packages Management resource in Oracle Cloud Infrastructure Os Management Hub service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/osmh/latest/ManagedInstance/UpdatePackages * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/os_management_hub * * Install all of the available package updates for all of the managed instances in a compartment. This applies only to standalone non-Windows instances. This will not update instances that belong to a group or lifecycle environment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagedInstancesUpdatePackagesManagement = new oci.osmanagementhub.ManagedInstancesUpdatePackagesManagement("test_managed_instances_update_packages_management", { * compartmentId: compartmentId, * updateTypes: managedInstancesUpdatePackagesManagementUpdateTypes, * workRequestDetails: { * description: managedInstancesUpdatePackagesManagementWorkRequestDetailsDescription, * displayName: managedInstancesUpdatePackagesManagementWorkRequestDetailsDisplayName, * }, * }); * ``` * * ## Import * * ManagedInstancesUpdatePackagesManagement can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:OsManagementHub/managedInstancesUpdatePackagesManagement:ManagedInstancesUpdatePackagesManagement test_managed_instances_update_packages_management "id" * ``` */ export declare class ManagedInstancesUpdatePackagesManagement extends pulumi.CustomResource { /** * Get an existing ManagedInstancesUpdatePackagesManagement 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?: ManagedInstancesUpdatePackagesManagementState, opts?: pulumi.CustomResourceOptions): ManagedInstancesUpdatePackagesManagement; /** * Returns true if the given object is an instance of ManagedInstancesUpdatePackagesManagement. 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 ManagedInstancesUpdatePackagesManagement; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: pulumi.Output; /** * The types of updates to be applied. */ readonly updateTypes: pulumi.Output; /** * Provides the name and description of the job. */ readonly workRequestDetails: pulumi.Output; /** * Create a ManagedInstancesUpdatePackagesManagement 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: ManagedInstancesUpdatePackagesManagementArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ManagedInstancesUpdatePackagesManagement resources. */ export interface ManagedInstancesUpdatePackagesManagementState { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: pulumi.Input; /** * The types of updates to be applied. */ updateTypes?: pulumi.Input[] | undefined>; /** * Provides the name and description of the job. */ workRequestDetails?: pulumi.Input; } /** * The set of arguments for constructing a ManagedInstancesUpdatePackagesManagement resource. */ export interface ManagedInstancesUpdatePackagesManagementArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * The types of updates to be applied. */ updateTypes?: pulumi.Input[] | undefined>; /** * Provides the name and description of the job. */ workRequestDetails?: pulumi.Input; } //# sourceMappingURL=managedInstancesUpdatePackagesManagement.d.ts.map