import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Lifecycle Environment 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/LifecycleEnvironment * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/os_management_hub * * Creates a lifecycle environment. A lifecycle environment is a user-defined pipeline to deliver curated, versioned content in a prescribed, methodical manner. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testLifecycleEnvironment = new oci.osmanagementhub.LifecycleEnvironment("test_lifecycle_environment", { * archType: lifecycleEnvironmentArchType, * compartmentId: compartmentId, * displayName: lifecycleEnvironmentDisplayName, * osFamily: lifecycleEnvironmentOsFamily, * stages: [{ * displayName: lifecycleEnvironmentStagesDisplayName, * rank: Number(lifecycleEnvironmentStagesRank), * definedTags: { * "Operations.CostCenter": "42", * }, * freeformTags: { * Department: "Finance", * }, * }], * vendorName: lifecycleEnvironmentVendorName, * definedTags: { * "Operations.CostCenter": "42", * }, * description: lifecycleEnvironmentDescription, * freeformTags: { * Department: "Finance", * }, * location: lifecycleEnvironmentLocation, * }); * ``` * * ## Import * * LifecycleEnvironments can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:OsManagementHub/lifecycleEnvironment:LifecycleEnvironment test_lifecycle_environment "id" * ``` */ export declare class LifecycleEnvironment extends pulumi.CustomResource { /** * Get an existing LifecycleEnvironment 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?: LifecycleEnvironmentState, opts?: pulumi.CustomResourceOptions): LifecycleEnvironment; /** * Returns true if the given object is an instance of LifecycleEnvironment. 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 LifecycleEnvironment; /** * The CPU architecture of the managed instances in the lifecycle environment. */ readonly archType: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the lifecycle environment. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) User-specified information about the lifecycle environment. Avoid entering confidential information. */ readonly description: pulumi.Output; /** * (Updatable) A user-friendly name for the lifecycle environment. Does not have to be unique and you can change the name later. Avoid entering confidential information. */ readonly displayName: pulumi.Output; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * The location of managed instances attached to the lifecycle environment. If no location is provided, the default is 'ON_PREMISE.' */ readonly location: pulumi.Output; /** * The list of managed instances associated with the lifecycle stage. */ readonly managedInstanceIds: pulumi.Output; /** * The operating system of the managed instances in the lifecycle environment. */ readonly osFamily: pulumi.Output; /** * (Updatable) User-specified list of ranked lifecycle stages used within the lifecycle environment. */ readonly stages: pulumi.Output; /** * The current state of the lifecycle environment. */ readonly state: pulumi.Output; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The time the lifecycle environment was created (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format). */ readonly timeCreated: pulumi.Output; /** * The time the lifecycle environment was last modified (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format). */ readonly timeModified: pulumi.Output; /** * The vendor of the operating system used by the managed instances in the lifecycle environment. * * ** 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 vendorName: pulumi.Output; /** * Create a LifecycleEnvironment 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: LifecycleEnvironmentArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering LifecycleEnvironment resources. */ export interface LifecycleEnvironmentState { /** * The CPU architecture of the managed instances in the lifecycle environment. */ archType?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the lifecycle environment. */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) User-specified information about the lifecycle environment. Avoid entering confidential information. */ description?: pulumi.Input; /** * (Updatable) A user-friendly name for the lifecycle environment. Does not have to be unique and you can change the name later. Avoid entering confidential information. */ displayName?: pulumi.Input; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The location of managed instances attached to the lifecycle environment. If no location is provided, the default is 'ON_PREMISE.' */ location?: pulumi.Input; /** * The list of managed instances associated with the lifecycle stage. */ managedInstanceIds?: pulumi.Input[] | undefined>; /** * The operating system of the managed instances in the lifecycle environment. */ osFamily?: pulumi.Input; /** * (Updatable) User-specified list of ranked lifecycle stages used within the lifecycle environment. */ stages?: pulumi.Input[] | undefined>; /** * The current state of the lifecycle environment. */ state?: pulumi.Input; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The time the lifecycle environment was created (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format). */ timeCreated?: pulumi.Input; /** * The time the lifecycle environment was last modified (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format). */ timeModified?: pulumi.Input; /** * The vendor of the operating system used by the managed instances in the lifecycle environment. * * ** 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 */ vendorName?: pulumi.Input; } /** * The set of arguments for constructing a LifecycleEnvironment resource. */ export interface LifecycleEnvironmentArgs { /** * The CPU architecture of the managed instances in the lifecycle environment. */ archType: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the lifecycle environment. */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) User-specified information about the lifecycle environment. Avoid entering confidential information. */ description?: pulumi.Input; /** * (Updatable) A user-friendly name for the lifecycle environment. Does not have to be unique and you can change the name later. Avoid entering confidential information. */ displayName: pulumi.Input; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The location of managed instances attached to the lifecycle environment. If no location is provided, the default is 'ON_PREMISE.' */ location?: pulumi.Input; /** * The operating system of the managed instances in the lifecycle environment. */ osFamily: pulumi.Input; /** * (Updatable) User-specified list of ranked lifecycle stages used within the lifecycle environment. */ stages: pulumi.Input[]>; /** * The vendor of the operating system used by the managed instances in the lifecycle environment. * * ** 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 */ vendorName: pulumi.Input; } //# sourceMappingURL=lifecycleEnvironment.d.ts.map