import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Profile Attach Lifecycle Stage 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/ProfileAttachLifecycleStageManagement * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/os_management_hub * * Attaches the specified lifecycle stage to a profile. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testProfileAttachLifecycleStageManagement = new oci.osmanagementhub.ProfileAttachLifecycleStageManagement("test_profile_attach_lifecycle_stage_management", { * lifecycleStageId: testLifecycleStage.id, * profileId: testProfile.id, * }); * ``` * * ## Import * * ProfileAttachLifecycleStageManagement can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:OsManagementHub/profileAttachLifecycleStageManagement:ProfileAttachLifecycleStageManagement test_profile_attach_lifecycle_stage_management "id" * ``` */ export declare class ProfileAttachLifecycleStageManagement extends pulumi.CustomResource { /** * Get an existing ProfileAttachLifecycleStageManagement 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?: ProfileAttachLifecycleStageManagementState, opts?: pulumi.CustomResourceOptions): ProfileAttachLifecycleStageManagement; /** * Returns true if the given object is an instance of ProfileAttachLifecycleStageManagement. 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 ProfileAttachLifecycleStageManagement; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage that the instance will be associated with. */ readonly lifecycleStageId: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly profileId: pulumi.Output; /** * Create a ProfileAttachLifecycleStageManagement 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: ProfileAttachLifecycleStageManagementArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ProfileAttachLifecycleStageManagement resources. */ export interface ProfileAttachLifecycleStageManagementState { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage that the instance will be associated with. */ lifecycleStageId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ profileId?: pulumi.Input; } /** * The set of arguments for constructing a ProfileAttachLifecycleStageManagement resource. */ export interface ProfileAttachLifecycleStageManagementArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage that the instance will be associated with. */ lifecycleStageId: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ profileId: pulumi.Input; } //# sourceMappingURL=profileAttachLifecycleStageManagement.d.ts.map