1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. OsManagementHub
  5. LifecycleEnvironment
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.OsManagementHub.LifecycleEnvironment

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    This resource provides the Lifecycle Environment resource in Oracle Cloud Infrastructure Os Management Hub service.

    Creates a lifecycle environment. A lifecycle environment is a user-defined pipeline to deliver curated, versioned content in a prescribed, methodical manner.

    Example Usage

    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: lifecycleEnvironmentStagesDisplayName1,
                rank: lifecycleEnvironmentStagesRank1,
                definedTags: {
                    "Operations.CostCenter": "42",
                },
                freeformTags: {
                    Department: "Finance",
                },
            },
            {
                displayName: lifecycleEnvironmentStagesDisplayName2,
                rank: lifecycleEnvironmentStagesRank2,
                definedTags: {
                    "Operations.CostCenter": "42",
                },
                freeformTags: {
                    Department: "Finance",
                },
            },
        ],
        vendorName: lifecycleEnvironmentVendorName,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        description: lifecycleEnvironmentDescription,
        freeformTags: {
            Department: "Finance",
        },
        location: lifecycleEnvironmentLocation,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_lifecycle_environment = oci.os_management_hub.LifecycleEnvironment("test_lifecycle_environment",
        arch_type=lifecycle_environment_arch_type,
        compartment_id=compartment_id,
        display_name=lifecycle_environment_display_name,
        os_family=lifecycle_environment_os_family,
        stages=[
            oci.os_management_hub.LifecycleEnvironmentStageArgs(
                display_name=lifecycle_environment_stages_display_name1,
                rank=lifecycle_environment_stages_rank1,
                defined_tags={
                    "Operations.CostCenter": "42",
                },
                freeform_tags={
                    "Department": "Finance",
                },
            ),
            oci.os_management_hub.LifecycleEnvironmentStageArgs(
                display_name=lifecycle_environment_stages_display_name2,
                rank=lifecycle_environment_stages_rank2,
                defined_tags={
                    "Operations.CostCenter": "42",
                },
                freeform_tags={
                    "Department": "Finance",
                },
            ),
        ],
        vendor_name=lifecycle_environment_vendor_name,
        defined_tags={
            "Operations.CostCenter": "42",
        },
        description=lifecycle_environment_description,
        freeform_tags={
            "Department": "Finance",
        },
        location=lifecycle_environment_location)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/OsManagementHub"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := OsManagementHub.NewLifecycleEnvironment(ctx, "test_lifecycle_environment", &OsManagementHub.LifecycleEnvironmentArgs{
    			ArchType:      pulumi.Any(lifecycleEnvironmentArchType),
    			CompartmentId: pulumi.Any(compartmentId),
    			DisplayName:   pulumi.Any(lifecycleEnvironmentDisplayName),
    			OsFamily:      pulumi.Any(lifecycleEnvironmentOsFamily),
    			Stages: osmanagementhub.LifecycleEnvironmentStageArray{
    				&osmanagementhub.LifecycleEnvironmentStageArgs{
    					DisplayName: pulumi.Any(lifecycleEnvironmentStagesDisplayName1),
    					Rank:        pulumi.Any(lifecycleEnvironmentStagesRank1),
    					DefinedTags: pulumi.Map{
    						"Operations.CostCenter": pulumi.Any("42"),
    					},
    					FreeformTags: pulumi.Map{
    						"Department": pulumi.Any("Finance"),
    					},
    				},
    				&osmanagementhub.LifecycleEnvironmentStageArgs{
    					DisplayName: pulumi.Any(lifecycleEnvironmentStagesDisplayName2),
    					Rank:        pulumi.Any(lifecycleEnvironmentStagesRank2),
    					DefinedTags: pulumi.Map{
    						"Operations.CostCenter": pulumi.Any("42"),
    					},
    					FreeformTags: pulumi.Map{
    						"Department": pulumi.Any("Finance"),
    					},
    				},
    			},
    			VendorName: pulumi.Any(lifecycleEnvironmentVendorName),
    			DefinedTags: pulumi.Map{
    				"Operations.CostCenter": pulumi.Any("42"),
    			},
    			Description: pulumi.Any(lifecycleEnvironmentDescription),
    			FreeformTags: pulumi.Map{
    				"Department": pulumi.Any("Finance"),
    			},
    			Location: pulumi.Any(lifecycleEnvironmentLocation),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testLifecycleEnvironment = new Oci.OsManagementHub.LifecycleEnvironment("test_lifecycle_environment", new()
        {
            ArchType = lifecycleEnvironmentArchType,
            CompartmentId = compartmentId,
            DisplayName = lifecycleEnvironmentDisplayName,
            OsFamily = lifecycleEnvironmentOsFamily,
            Stages = new[]
            {
                new Oci.OsManagementHub.Inputs.LifecycleEnvironmentStageArgs
                {
                    DisplayName = lifecycleEnvironmentStagesDisplayName1,
                    Rank = lifecycleEnvironmentStagesRank1,
                    DefinedTags = 
                    {
                        { "Operations.CostCenter", "42" },
                    },
                    FreeformTags = 
                    {
                        { "Department", "Finance" },
                    },
                },
                new Oci.OsManagementHub.Inputs.LifecycleEnvironmentStageArgs
                {
                    DisplayName = lifecycleEnvironmentStagesDisplayName2,
                    Rank = lifecycleEnvironmentStagesRank2,
                    DefinedTags = 
                    {
                        { "Operations.CostCenter", "42" },
                    },
                    FreeformTags = 
                    {
                        { "Department", "Finance" },
                    },
                },
            },
            VendorName = lifecycleEnvironmentVendorName,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            Description = lifecycleEnvironmentDescription,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            Location = lifecycleEnvironmentLocation,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.OsManagementHub.LifecycleEnvironment;
    import com.pulumi.oci.OsManagementHub.LifecycleEnvironmentArgs;
    import com.pulumi.oci.OsManagementHub.inputs.LifecycleEnvironmentStageArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var testLifecycleEnvironment = new LifecycleEnvironment("testLifecycleEnvironment", LifecycleEnvironmentArgs.builder()
                .archType(lifecycleEnvironmentArchType)
                .compartmentId(compartmentId)
                .displayName(lifecycleEnvironmentDisplayName)
                .osFamily(lifecycleEnvironmentOsFamily)
                .stages(            
                    LifecycleEnvironmentStageArgs.builder()
                        .displayName(lifecycleEnvironmentStagesDisplayName1)
                        .rank(lifecycleEnvironmentStagesRank1)
                        .definedTags(Map.of("Operations.CostCenter", "42"))
                        .freeformTags(Map.of("Department", "Finance"))
                        .build(),
                    LifecycleEnvironmentStageArgs.builder()
                        .displayName(lifecycleEnvironmentStagesDisplayName2)
                        .rank(lifecycleEnvironmentStagesRank2)
                        .definedTags(Map.of("Operations.CostCenter", "42"))
                        .freeformTags(Map.of("Department", "Finance"))
                        .build())
                .vendorName(lifecycleEnvironmentVendorName)
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .description(lifecycleEnvironmentDescription)
                .freeformTags(Map.of("Department", "Finance"))
                .location(lifecycleEnvironmentLocation)
                .build());
    
        }
    }
    
    resources:
      testLifecycleEnvironment:
        type: oci:OsManagementHub:LifecycleEnvironment
        name: test_lifecycle_environment
        properties:
          archType: ${lifecycleEnvironmentArchType}
          compartmentId: ${compartmentId}
          displayName: ${lifecycleEnvironmentDisplayName}
          osFamily: ${lifecycleEnvironmentOsFamily}
          stages:
            - displayName: ${lifecycleEnvironmentStagesDisplayName1}
              rank: ${lifecycleEnvironmentStagesRank1}
              definedTags:
                Operations.CostCenter: '42'
              freeformTags:
                Department: Finance
            - displayName: ${lifecycleEnvironmentStagesDisplayName2}
              rank: ${lifecycleEnvironmentStagesRank2}
              definedTags:
                Operations.CostCenter: '42'
              freeformTags:
                Department: Finance
          vendorName: ${lifecycleEnvironmentVendorName}
          definedTags:
            Operations.CostCenter: '42'
          description: ${lifecycleEnvironmentDescription}
          freeformTags:
            Department: Finance
          location: ${lifecycleEnvironmentLocation}
    

    Create LifecycleEnvironment Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new LifecycleEnvironment(name: string, args: LifecycleEnvironmentArgs, opts?: CustomResourceOptions);
    @overload
    def LifecycleEnvironment(resource_name: str,
                             args: LifecycleEnvironmentArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def LifecycleEnvironment(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             arch_type: Optional[str] = None,
                             compartment_id: Optional[str] = None,
                             display_name: Optional[str] = None,
                             os_family: Optional[str] = None,
                             stages: Optional[Sequence[_osmanagementhub.LifecycleEnvironmentStageArgs]] = None,
                             vendor_name: Optional[str] = None,
                             defined_tags: Optional[Mapping[str, Any]] = None,
                             description: Optional[str] = None,
                             freeform_tags: Optional[Mapping[str, Any]] = None,
                             location: Optional[str] = None)
    func NewLifecycleEnvironment(ctx *Context, name string, args LifecycleEnvironmentArgs, opts ...ResourceOption) (*LifecycleEnvironment, error)
    public LifecycleEnvironment(string name, LifecycleEnvironmentArgs args, CustomResourceOptions? opts = null)
    public LifecycleEnvironment(String name, LifecycleEnvironmentArgs args)
    public LifecycleEnvironment(String name, LifecycleEnvironmentArgs args, CustomResourceOptions options)
    
    type: oci:OsManagementHub:LifecycleEnvironment
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args LifecycleEnvironmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args LifecycleEnvironmentArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args LifecycleEnvironmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LifecycleEnvironmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LifecycleEnvironmentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var lifecycleEnvironmentResource = new Oci.OsManagementHub.LifecycleEnvironment("lifecycleEnvironmentResource", new()
    {
        ArchType = "string",
        CompartmentId = "string",
        DisplayName = "string",
        OsFamily = "string",
        Stages = new[]
        {
            new Oci.OsManagementHub.Inputs.LifecycleEnvironmentStageArgs
            {
                DisplayName = "string",
                Rank = 0,
                ManagedInstanceIds = new[]
                {
                    new Oci.OsManagementHub.Inputs.LifecycleEnvironmentStageManagedInstanceIdArgs
                    {
                        DisplayName = "string",
                        Id = "string",
                    },
                },
                OsFamily = "string",
                FreeformTags = 
                {
                    { "string", "any" },
                },
                Id = "string",
                LifecycleEnvironmentId = "string",
                Location = "string",
                ArchType = "string",
                DefinedTags = 
                {
                    { "string", "any" },
                },
                CompartmentId = "string",
                SoftwareSourceIds = new[]
                {
                    new Oci.OsManagementHub.Inputs.LifecycleEnvironmentStageSoftwareSourceIdArgs
                    {
                        Description = "string",
                        DisplayName = "string",
                        Id = "string",
                        IsMandatoryForAutonomousLinux = false,
                        SoftwareSourceType = "string",
                    },
                },
                State = "string",
                SystemTags = 
                {
                    { "string", "any" },
                },
                TimeCreated = "string",
                TimeModified = "string",
                VendorName = "string",
            },
        },
        VendorName = "string",
        DefinedTags = 
        {
            { "string", "any" },
        },
        Description = "string",
        FreeformTags = 
        {
            { "string", "any" },
        },
        Location = "string",
    });
    
    example, err := OsManagementHub.NewLifecycleEnvironment(ctx, "lifecycleEnvironmentResource", &OsManagementHub.LifecycleEnvironmentArgs{
    	ArchType:      pulumi.String("string"),
    	CompartmentId: pulumi.String("string"),
    	DisplayName:   pulumi.String("string"),
    	OsFamily:      pulumi.String("string"),
    	Stages: osmanagementhub.LifecycleEnvironmentStageArray{
    		&osmanagementhub.LifecycleEnvironmentStageArgs{
    			DisplayName: pulumi.String("string"),
    			Rank:        pulumi.Int(0),
    			ManagedInstanceIds: osmanagementhub.LifecycleEnvironmentStageManagedInstanceIdArray{
    				&osmanagementhub.LifecycleEnvironmentStageManagedInstanceIdArgs{
    					DisplayName: pulumi.String("string"),
    					Id:          pulumi.String("string"),
    				},
    			},
    			OsFamily: pulumi.String("string"),
    			FreeformTags: pulumi.Map{
    				"string": pulumi.Any("any"),
    			},
    			Id:                     pulumi.String("string"),
    			LifecycleEnvironmentId: pulumi.String("string"),
    			Location:               pulumi.String("string"),
    			ArchType:               pulumi.String("string"),
    			DefinedTags: pulumi.Map{
    				"string": pulumi.Any("any"),
    			},
    			CompartmentId: pulumi.String("string"),
    			SoftwareSourceIds: osmanagementhub.LifecycleEnvironmentStageSoftwareSourceIdArray{
    				&osmanagementhub.LifecycleEnvironmentStageSoftwareSourceIdArgs{
    					Description:                   pulumi.String("string"),
    					DisplayName:                   pulumi.String("string"),
    					Id:                            pulumi.String("string"),
    					IsMandatoryForAutonomousLinux: pulumi.Bool(false),
    					SoftwareSourceType:            pulumi.String("string"),
    				},
    			},
    			State: pulumi.String("string"),
    			SystemTags: pulumi.Map{
    				"string": pulumi.Any("any"),
    			},
    			TimeCreated:  pulumi.String("string"),
    			TimeModified: pulumi.String("string"),
    			VendorName:   pulumi.String("string"),
    		},
    	},
    	VendorName: pulumi.String("string"),
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	Description: pulumi.String("string"),
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	Location: pulumi.String("string"),
    })
    
    var lifecycleEnvironmentResource = new LifecycleEnvironment("lifecycleEnvironmentResource", LifecycleEnvironmentArgs.builder()
        .archType("string")
        .compartmentId("string")
        .displayName("string")
        .osFamily("string")
        .stages(LifecycleEnvironmentStageArgs.builder()
            .displayName("string")
            .rank(0)
            .managedInstanceIds(LifecycleEnvironmentStageManagedInstanceIdArgs.builder()
                .displayName("string")
                .id("string")
                .build())
            .osFamily("string")
            .freeformTags(Map.of("string", "any"))
            .id("string")
            .lifecycleEnvironmentId("string")
            .location("string")
            .archType("string")
            .definedTags(Map.of("string", "any"))
            .compartmentId("string")
            .softwareSourceIds(LifecycleEnvironmentStageSoftwareSourceIdArgs.builder()
                .description("string")
                .displayName("string")
                .id("string")
                .isMandatoryForAutonomousLinux(false)
                .softwareSourceType("string")
                .build())
            .state("string")
            .systemTags(Map.of("string", "any"))
            .timeCreated("string")
            .timeModified("string")
            .vendorName("string")
            .build())
        .vendorName("string")
        .definedTags(Map.of("string", "any"))
        .description("string")
        .freeformTags(Map.of("string", "any"))
        .location("string")
        .build());
    
    lifecycle_environment_resource = oci.os_management_hub.LifecycleEnvironment("lifecycleEnvironmentResource",
        arch_type="string",
        compartment_id="string",
        display_name="string",
        os_family="string",
        stages=[oci.os_management_hub.LifecycleEnvironmentStageArgs(
            display_name="string",
            rank=0,
            managed_instance_ids=[oci.os_management_hub.LifecycleEnvironmentStageManagedInstanceIdArgs(
                display_name="string",
                id="string",
            )],
            os_family="string",
            freeform_tags={
                "string": "any",
            },
            id="string",
            lifecycle_environment_id="string",
            location="string",
            arch_type="string",
            defined_tags={
                "string": "any",
            },
            compartment_id="string",
            software_source_ids=[oci.os_management_hub.LifecycleEnvironmentStageSoftwareSourceIdArgs(
                description="string",
                display_name="string",
                id="string",
                is_mandatory_for_autonomous_linux=False,
                software_source_type="string",
            )],
            state="string",
            system_tags={
                "string": "any",
            },
            time_created="string",
            time_modified="string",
            vendor_name="string",
        )],
        vendor_name="string",
        defined_tags={
            "string": "any",
        },
        description="string",
        freeform_tags={
            "string": "any",
        },
        location="string")
    
    const lifecycleEnvironmentResource = new oci.osmanagementhub.LifecycleEnvironment("lifecycleEnvironmentResource", {
        archType: "string",
        compartmentId: "string",
        displayName: "string",
        osFamily: "string",
        stages: [{
            displayName: "string",
            rank: 0,
            managedInstanceIds: [{
                displayName: "string",
                id: "string",
            }],
            osFamily: "string",
            freeformTags: {
                string: "any",
            },
            id: "string",
            lifecycleEnvironmentId: "string",
            location: "string",
            archType: "string",
            definedTags: {
                string: "any",
            },
            compartmentId: "string",
            softwareSourceIds: [{
                description: "string",
                displayName: "string",
                id: "string",
                isMandatoryForAutonomousLinux: false,
                softwareSourceType: "string",
            }],
            state: "string",
            systemTags: {
                string: "any",
            },
            timeCreated: "string",
            timeModified: "string",
            vendorName: "string",
        }],
        vendorName: "string",
        definedTags: {
            string: "any",
        },
        description: "string",
        freeformTags: {
            string: "any",
        },
        location: "string",
    });
    
    type: oci:OsManagementHub:LifecycleEnvironment
    properties:
        archType: string
        compartmentId: string
        definedTags:
            string: any
        description: string
        displayName: string
        freeformTags:
            string: any
        location: string
        osFamily: string
        stages:
            - archType: string
              compartmentId: string
              definedTags:
                string: any
              displayName: string
              freeformTags:
                string: any
              id: string
              lifecycleEnvironmentId: string
              location: string
              managedInstanceIds:
                - displayName: string
                  id: string
              osFamily: string
              rank: 0
              softwareSourceIds:
                - description: string
                  displayName: string
                  id: string
                  isMandatoryForAutonomousLinux: false
                  softwareSourceType: string
              state: string
              systemTags:
                string: any
              timeCreated: string
              timeModified: string
              vendorName: string
        vendorName: string
    

    LifecycleEnvironment Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The LifecycleEnvironment resource accepts the following input properties:

    ArchType string
    The CPU architecture of the managed instances in the lifecycle environment.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the lifecycle environment.
    DisplayName string
    (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.
    OsFamily string
    The operating system of the managed instances in the lifecycle environment.
    Stages List<LifecycleEnvironmentStage>
    (Updatable) User-specified list of ranked lifecycle stages used within the lifecycle environment.
    VendorName string

    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

    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) User-specified information about the lifecycle environment. Avoid entering confidential information.
    FreeformTags Dictionary<string, object>
    (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. Example: {"Department": "Finance"}
    Location string
    The location of managed instances attached to the lifecycle environment. If no location is provided, the default is 'ON_PREMISE.'
    ArchType string
    The CPU architecture of the managed instances in the lifecycle environment.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the lifecycle environment.
    DisplayName string
    (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.
    OsFamily string
    The operating system of the managed instances in the lifecycle environment.
    Stages []LifecycleEnvironmentStageArgs
    (Updatable) User-specified list of ranked lifecycle stages used within the lifecycle environment.
    VendorName string

    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

    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) User-specified information about the lifecycle environment. Avoid entering confidential information.
    FreeformTags map[string]interface{}
    (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. Example: {"Department": "Finance"}
    Location string
    The location of managed instances attached to the lifecycle environment. If no location is provided, the default is 'ON_PREMISE.'
    archType String
    The CPU architecture of the managed instances in the lifecycle environment.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the lifecycle environment.
    displayName String
    (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.
    osFamily String
    The operating system of the managed instances in the lifecycle environment.
    stages List<LifecycleEnvironmentStage>
    (Updatable) User-specified list of ranked lifecycle stages used within the lifecycle environment.
    vendorName String

    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

    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) User-specified information about the lifecycle environment. Avoid entering confidential information.
    freeformTags Map<String,Object>
    (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. Example: {"Department": "Finance"}
    location String
    The location of managed instances attached to the lifecycle environment. If no location is provided, the default is 'ON_PREMISE.'
    archType string
    The CPU architecture of the managed instances in the lifecycle environment.
    compartmentId string
    (Updatable) The OCID of the compartment that contains the lifecycle environment.
    displayName string
    (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.
    osFamily string
    The operating system of the managed instances in the lifecycle environment.
    stages LifecycleEnvironmentStage[]
    (Updatable) User-specified list of ranked lifecycle stages used within the lifecycle environment.
    vendorName string

    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

    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    (Updatable) User-specified information about the lifecycle environment. Avoid entering confidential information.
    freeformTags {[key: string]: any}
    (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. Example: {"Department": "Finance"}
    location string
    The location of managed instances attached to the lifecycle environment. If no location is provided, the default is 'ON_PREMISE.'
    arch_type str
    The CPU architecture of the managed instances in the lifecycle environment.
    compartment_id str
    (Updatable) The OCID of the compartment that contains the lifecycle environment.
    display_name str
    (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.
    os_family str
    The operating system of the managed instances in the lifecycle environment.
    stages Sequence[osmanagementhub.LifecycleEnvironmentStageArgs]
    (Updatable) User-specified list of ranked lifecycle stages used within the lifecycle environment.
    vendor_name str

    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

    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description str
    (Updatable) User-specified information about the lifecycle environment. Avoid entering confidential information.
    freeform_tags Mapping[str, Any]
    (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. Example: {"Department": "Finance"}
    location str
    The location of managed instances attached to the lifecycle environment. If no location is provided, the default is 'ON_PREMISE.'
    archType String
    The CPU architecture of the managed instances in the lifecycle environment.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the lifecycle environment.
    displayName String
    (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.
    osFamily String
    The operating system of the managed instances in the lifecycle environment.
    stages List<Property Map>
    (Updatable) User-specified list of ranked lifecycle stages used within the lifecycle environment.
    vendorName String

    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

    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) User-specified information about the lifecycle environment. Avoid entering confidential information.
    freeformTags Map<Any>
    (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. Example: {"Department": "Finance"}
    location String
    The location of managed instances attached to the lifecycle environment. If no location is provided, the default is 'ON_PREMISE.'

    Outputs

    All input properties are implicitly available as output properties. Additionally, the LifecycleEnvironment resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    ManagedInstanceIds List<LifecycleEnvironmentManagedInstanceId>
    The list of managed instances associated with the lifecycle stage.
    State string
    The current state of the lifecycle environment.
    SystemTags Dictionary<string, object>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the lifecycle environment was created (in RFC 3339 format).
    TimeModified string
    The time the lifecycle environment was last modified (in RFC 3339 format).
    Id string
    The provider-assigned unique ID for this managed resource.
    ManagedInstanceIds []LifecycleEnvironmentManagedInstanceId
    The list of managed instances associated with the lifecycle stage.
    State string
    The current state of the lifecycle environment.
    SystemTags map[string]interface{}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the lifecycle environment was created (in RFC 3339 format).
    TimeModified string
    The time the lifecycle environment was last modified (in RFC 3339 format).
    id String
    The provider-assigned unique ID for this managed resource.
    managedInstanceIds List<LifecycleEnvironmentManagedInstanceId>
    The list of managed instances associated with the lifecycle stage.
    state String
    The current state of the lifecycle environment.
    systemTags Map<String,Object>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the lifecycle environment was created (in RFC 3339 format).
    timeModified String
    The time the lifecycle environment was last modified (in RFC 3339 format).
    id string
    The provider-assigned unique ID for this managed resource.
    managedInstanceIds LifecycleEnvironmentManagedInstanceId[]
    The list of managed instances associated with the lifecycle stage.
    state string
    The current state of the lifecycle environment.
    systemTags {[key: string]: any}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time the lifecycle environment was created (in RFC 3339 format).
    timeModified string
    The time the lifecycle environment was last modified (in RFC 3339 format).
    id str
    The provider-assigned unique ID for this managed resource.
    managed_instance_ids Sequence[osmanagementhub.LifecycleEnvironmentManagedInstanceId]
    The list of managed instances associated with the lifecycle stage.
    state str
    The current state of the lifecycle environment.
    system_tags Mapping[str, Any]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The time the lifecycle environment was created (in RFC 3339 format).
    time_modified str
    The time the lifecycle environment was last modified (in RFC 3339 format).
    id String
    The provider-assigned unique ID for this managed resource.
    managedInstanceIds List<Property Map>
    The list of managed instances associated with the lifecycle stage.
    state String
    The current state of the lifecycle environment.
    systemTags Map<Any>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the lifecycle environment was created (in RFC 3339 format).
    timeModified String
    The time the lifecycle environment was last modified (in RFC 3339 format).

    Look up Existing LifecycleEnvironment Resource

    Get an existing LifecycleEnvironment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: LifecycleEnvironmentState, opts?: CustomResourceOptions): LifecycleEnvironment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arch_type: Optional[str] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            location: Optional[str] = None,
            managed_instance_ids: Optional[Sequence[_osmanagementhub.LifecycleEnvironmentManagedInstanceIdArgs]] = None,
            os_family: Optional[str] = None,
            stages: Optional[Sequence[_osmanagementhub.LifecycleEnvironmentStageArgs]] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, Any]] = None,
            time_created: Optional[str] = None,
            time_modified: Optional[str] = None,
            vendor_name: Optional[str] = None) -> LifecycleEnvironment
    func GetLifecycleEnvironment(ctx *Context, name string, id IDInput, state *LifecycleEnvironmentState, opts ...ResourceOption) (*LifecycleEnvironment, error)
    public static LifecycleEnvironment Get(string name, Input<string> id, LifecycleEnvironmentState? state, CustomResourceOptions? opts = null)
    public static LifecycleEnvironment get(String name, Output<String> id, LifecycleEnvironmentState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ArchType string
    The CPU architecture of the managed instances in the lifecycle environment.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the lifecycle environment.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) User-specified information about the lifecycle environment. Avoid entering confidential information.
    DisplayName string
    (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.
    FreeformTags Dictionary<string, object>
    (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. Example: {"Department": "Finance"}
    Location string
    The location of managed instances attached to the lifecycle environment. If no location is provided, the default is 'ON_PREMISE.'
    ManagedInstanceIds List<LifecycleEnvironmentManagedInstanceId>
    The list of managed instances associated with the lifecycle stage.
    OsFamily string
    The operating system of the managed instances in the lifecycle environment.
    Stages List<LifecycleEnvironmentStage>
    (Updatable) User-specified list of ranked lifecycle stages used within the lifecycle environment.
    State string
    The current state of the lifecycle environment.
    SystemTags Dictionary<string, object>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the lifecycle environment was created (in RFC 3339 format).
    TimeModified string
    The time the lifecycle environment was last modified (in RFC 3339 format).
    VendorName string

    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

    ArchType string
    The CPU architecture of the managed instances in the lifecycle environment.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the lifecycle environment.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) User-specified information about the lifecycle environment. Avoid entering confidential information.
    DisplayName string
    (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.
    FreeformTags map[string]interface{}
    (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. Example: {"Department": "Finance"}
    Location string
    The location of managed instances attached to the lifecycle environment. If no location is provided, the default is 'ON_PREMISE.'
    ManagedInstanceIds []LifecycleEnvironmentManagedInstanceIdArgs
    The list of managed instances associated with the lifecycle stage.
    OsFamily string
    The operating system of the managed instances in the lifecycle environment.
    Stages []LifecycleEnvironmentStageArgs
    (Updatable) User-specified list of ranked lifecycle stages used within the lifecycle environment.
    State string
    The current state of the lifecycle environment.
    SystemTags map[string]interface{}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the lifecycle environment was created (in RFC 3339 format).
    TimeModified string
    The time the lifecycle environment was last modified (in RFC 3339 format).
    VendorName string

    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

    archType String
    The CPU architecture of the managed instances in the lifecycle environment.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the lifecycle environment.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) User-specified information about the lifecycle environment. Avoid entering confidential information.
    displayName String
    (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.
    freeformTags Map<String,Object>
    (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. Example: {"Department": "Finance"}
    location String
    The location of managed instances attached to the lifecycle environment. If no location is provided, the default is 'ON_PREMISE.'
    managedInstanceIds List<LifecycleEnvironmentManagedInstanceId>
    The list of managed instances associated with the lifecycle stage.
    osFamily String
    The operating system of the managed instances in the lifecycle environment.
    stages List<LifecycleEnvironmentStage>
    (Updatable) User-specified list of ranked lifecycle stages used within the lifecycle environment.
    state String
    The current state of the lifecycle environment.
    systemTags Map<String,Object>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the lifecycle environment was created (in RFC 3339 format).
    timeModified String
    The time the lifecycle environment was last modified (in RFC 3339 format).
    vendorName String

    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

    archType string
    The CPU architecture of the managed instances in the lifecycle environment.
    compartmentId string
    (Updatable) The OCID of the compartment that contains the lifecycle environment.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    (Updatable) User-specified information about the lifecycle environment. Avoid entering confidential information.
    displayName string
    (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.
    freeformTags {[key: string]: any}
    (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. Example: {"Department": "Finance"}
    location string
    The location of managed instances attached to the lifecycle environment. If no location is provided, the default is 'ON_PREMISE.'
    managedInstanceIds LifecycleEnvironmentManagedInstanceId[]
    The list of managed instances associated with the lifecycle stage.
    osFamily string
    The operating system of the managed instances in the lifecycle environment.
    stages LifecycleEnvironmentStage[]
    (Updatable) User-specified list of ranked lifecycle stages used within the lifecycle environment.
    state string
    The current state of the lifecycle environment.
    systemTags {[key: string]: any}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time the lifecycle environment was created (in RFC 3339 format).
    timeModified string
    The time the lifecycle environment was last modified (in RFC 3339 format).
    vendorName string

    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

    arch_type str
    The CPU architecture of the managed instances in the lifecycle environment.
    compartment_id str
    (Updatable) The OCID of the compartment that contains the lifecycle environment.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description str
    (Updatable) User-specified information about the lifecycle environment. Avoid entering confidential information.
    display_name str
    (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.
    freeform_tags Mapping[str, Any]
    (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. Example: {"Department": "Finance"}
    location str
    The location of managed instances attached to the lifecycle environment. If no location is provided, the default is 'ON_PREMISE.'
    managed_instance_ids Sequence[osmanagementhub.LifecycleEnvironmentManagedInstanceIdArgs]
    The list of managed instances associated with the lifecycle stage.
    os_family str
    The operating system of the managed instances in the lifecycle environment.
    stages Sequence[osmanagementhub.LifecycleEnvironmentStageArgs]
    (Updatable) User-specified list of ranked lifecycle stages used within the lifecycle environment.
    state str
    The current state of the lifecycle environment.
    system_tags Mapping[str, Any]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The time the lifecycle environment was created (in RFC 3339 format).
    time_modified str
    The time the lifecycle environment was last modified (in RFC 3339 format).
    vendor_name str

    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

    archType String
    The CPU architecture of the managed instances in the lifecycle environment.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the lifecycle environment.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) User-specified information about the lifecycle environment. Avoid entering confidential information.
    displayName String
    (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.
    freeformTags Map<Any>
    (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. Example: {"Department": "Finance"}
    location String
    The location of managed instances attached to the lifecycle environment. If no location is provided, the default is 'ON_PREMISE.'
    managedInstanceIds List<Property Map>
    The list of managed instances associated with the lifecycle stage.
    osFamily String
    The operating system of the managed instances in the lifecycle environment.
    stages List<Property Map>
    (Updatable) User-specified list of ranked lifecycle stages used within the lifecycle environment.
    state String
    The current state of the lifecycle environment.
    systemTags Map<Any>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the lifecycle environment was created (in RFC 3339 format).
    timeModified String
    The time the lifecycle environment was last modified (in RFC 3339 format).
    vendorName String

    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

    Supporting Types

    LifecycleEnvironmentManagedInstanceId, LifecycleEnvironmentManagedInstanceIdArgs

    DisplayName string
    (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.
    Id string
    The OCID of the software source.
    DisplayName string
    (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.
    Id string
    The OCID of the software source.
    displayName String
    (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.
    id String
    The OCID of the software source.
    displayName string
    (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.
    id string
    The OCID of the software source.
    display_name str
    (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.
    id str
    The OCID of the software source.
    displayName String
    (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.
    id String
    The OCID of the software source.

    LifecycleEnvironmentStage, LifecycleEnvironmentStageArgs

    DisplayName string
    (Updatable) A user-friendly name for the lifecycle stage. Does not have to be unique and you can change the name later. Avoid entering confidential information.
    Rank int
    User-specified rank for the lifecycle stage. Rank determines the hierarchy of the lifecycle stages within the lifecycle environment.
    ArchType string
    The CPU architecture of the managed instances in the lifecycle environment.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the lifecycle stage.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    FreeformTags Dictionary<string, object>
    (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. Example: {"Department": "Finance"}
    Id string
    The OCID of the software source.
    LifecycleEnvironmentId string
    The OCID of the lifecycle environment that contains the lifecycle stage.
    Location string
    The location of managed instances attached to the lifecycle environment. If no location is provided, the default is 'ON_PREMISE.'
    ManagedInstanceIds List<LifecycleEnvironmentStageManagedInstanceId>
    The list of managed instances associated with the lifecycle stage.
    OsFamily string
    The operating system of the managed instances in the lifecycle environment.
    SoftwareSourceIds List<LifecycleEnvironmentStageSoftwareSourceId>
    Provides identifying information for the specified software source.
    State string
    The current state of the lifecycle environment.
    SystemTags Dictionary<string, object>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the lifecycle environment was created (in RFC 3339 format).
    TimeModified string
    The time the lifecycle environment was last modified (in RFC 3339 format).
    VendorName string

    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

    DisplayName string
    (Updatable) A user-friendly name for the lifecycle stage. Does not have to be unique and you can change the name later. Avoid entering confidential information.
    Rank int
    User-specified rank for the lifecycle stage. Rank determines the hierarchy of the lifecycle stages within the lifecycle environment.
    ArchType string
    The CPU architecture of the managed instances in the lifecycle environment.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the lifecycle stage.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    FreeformTags map[string]interface{}
    (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. Example: {"Department": "Finance"}
    Id string
    The OCID of the software source.
    LifecycleEnvironmentId string
    The OCID of the lifecycle environment that contains the lifecycle stage.
    Location string
    The location of managed instances attached to the lifecycle environment. If no location is provided, the default is 'ON_PREMISE.'
    ManagedInstanceIds []LifecycleEnvironmentStageManagedInstanceId
    The list of managed instances associated with the lifecycle stage.
    OsFamily string
    The operating system of the managed instances in the lifecycle environment.
    SoftwareSourceIds []LifecycleEnvironmentStageSoftwareSourceId
    Provides identifying information for the specified software source.
    State string
    The current state of the lifecycle environment.
    SystemTags map[string]interface{}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the lifecycle environment was created (in RFC 3339 format).
    TimeModified string
    The time the lifecycle environment was last modified (in RFC 3339 format).
    VendorName string

    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

    displayName String
    (Updatable) A user-friendly name for the lifecycle stage. Does not have to be unique and you can change the name later. Avoid entering confidential information.
    rank Integer
    User-specified rank for the lifecycle stage. Rank determines the hierarchy of the lifecycle stages within the lifecycle environment.
    archType String
    The CPU architecture of the managed instances in the lifecycle environment.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the lifecycle stage.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags Map<String,Object>
    (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. Example: {"Department": "Finance"}
    id String
    The OCID of the software source.
    lifecycleEnvironmentId String
    The OCID of the lifecycle environment that contains the lifecycle stage.
    location String
    The location of managed instances attached to the lifecycle environment. If no location is provided, the default is 'ON_PREMISE.'
    managedInstanceIds List<LifecycleEnvironmentStageManagedInstanceId>
    The list of managed instances associated with the lifecycle stage.
    osFamily String
    The operating system of the managed instances in the lifecycle environment.
    softwareSourceIds List<LifecycleEnvironmentStageSoftwareSourceId>
    Provides identifying information for the specified software source.
    state String
    The current state of the lifecycle environment.
    systemTags Map<String,Object>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the lifecycle environment was created (in RFC 3339 format).
    timeModified String
    The time the lifecycle environment was last modified (in RFC 3339 format).
    vendorName String

    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

    displayName string
    (Updatable) A user-friendly name for the lifecycle stage. Does not have to be unique and you can change the name later. Avoid entering confidential information.
    rank number
    User-specified rank for the lifecycle stage. Rank determines the hierarchy of the lifecycle stages within the lifecycle environment.
    archType string
    The CPU architecture of the managed instances in the lifecycle environment.
    compartmentId string
    (Updatable) The OCID of the compartment that contains the lifecycle stage.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags {[key: string]: any}
    (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. Example: {"Department": "Finance"}
    id string
    The OCID of the software source.
    lifecycleEnvironmentId string
    The OCID of the lifecycle environment that contains the lifecycle stage.
    location string
    The location of managed instances attached to the lifecycle environment. If no location is provided, the default is 'ON_PREMISE.'
    managedInstanceIds LifecycleEnvironmentStageManagedInstanceId[]
    The list of managed instances associated with the lifecycle stage.
    osFamily string
    The operating system of the managed instances in the lifecycle environment.
    softwareSourceIds LifecycleEnvironmentStageSoftwareSourceId[]
    Provides identifying information for the specified software source.
    state string
    The current state of the lifecycle environment.
    systemTags {[key: string]: any}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time the lifecycle environment was created (in RFC 3339 format).
    timeModified string
    The time the lifecycle environment was last modified (in RFC 3339 format).
    vendorName string

    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

    display_name str
    (Updatable) A user-friendly name for the lifecycle stage. Does not have to be unique and you can change the name later. Avoid entering confidential information.
    rank int
    User-specified rank for the lifecycle stage. Rank determines the hierarchy of the lifecycle stages within the lifecycle environment.
    arch_type str
    The CPU architecture of the managed instances in the lifecycle environment.
    compartment_id str
    (Updatable) The OCID of the compartment that contains the lifecycle stage.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeform_tags Mapping[str, Any]
    (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. Example: {"Department": "Finance"}
    id str
    The OCID of the software source.
    lifecycle_environment_id str
    The OCID of the lifecycle environment that contains the lifecycle stage.
    location str
    The location of managed instances attached to the lifecycle environment. If no location is provided, the default is 'ON_PREMISE.'
    managed_instance_ids Sequence[osmanagementhub.LifecycleEnvironmentStageManagedInstanceId]
    The list of managed instances associated with the lifecycle stage.
    os_family str
    The operating system of the managed instances in the lifecycle environment.
    software_source_ids Sequence[osmanagementhub.LifecycleEnvironmentStageSoftwareSourceId]
    Provides identifying information for the specified software source.
    state str
    The current state of the lifecycle environment.
    system_tags Mapping[str, Any]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The time the lifecycle environment was created (in RFC 3339 format).
    time_modified str
    The time the lifecycle environment was last modified (in RFC 3339 format).
    vendor_name str

    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

    displayName String
    (Updatable) A user-friendly name for the lifecycle stage. Does not have to be unique and you can change the name later. Avoid entering confidential information.
    rank Number
    User-specified rank for the lifecycle stage. Rank determines the hierarchy of the lifecycle stages within the lifecycle environment.
    archType String
    The CPU architecture of the managed instances in the lifecycle environment.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the lifecycle stage.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags Map<Any>
    (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. Example: {"Department": "Finance"}
    id String
    The OCID of the software source.
    lifecycleEnvironmentId String
    The OCID of the lifecycle environment that contains the lifecycle stage.
    location String
    The location of managed instances attached to the lifecycle environment. If no location is provided, the default is 'ON_PREMISE.'
    managedInstanceIds List<Property Map>
    The list of managed instances associated with the lifecycle stage.
    osFamily String
    The operating system of the managed instances in the lifecycle environment.
    softwareSourceIds List<Property Map>
    Provides identifying information for the specified software source.
    state String
    The current state of the lifecycle environment.
    systemTags Map<Any>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the lifecycle environment was created (in RFC 3339 format).
    timeModified String
    The time the lifecycle environment was last modified (in RFC 3339 format).
    vendorName String

    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

    LifecycleEnvironmentStageManagedInstanceId, LifecycleEnvironmentStageManagedInstanceIdArgs

    DisplayName string
    (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.
    Id string
    The OCID of the software source.
    DisplayName string
    (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.
    Id string
    The OCID of the software source.
    displayName String
    (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.
    id String
    The OCID of the software source.
    displayName string
    (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.
    id string
    The OCID of the software source.
    display_name str
    (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.
    id str
    The OCID of the software source.
    displayName String
    (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.
    id String
    The OCID of the software source.

    LifecycleEnvironmentStageSoftwareSourceId, LifecycleEnvironmentStageSoftwareSourceIdArgs

    Description string
    (Updatable) User-specified information about the lifecycle environment. Avoid entering confidential information.
    DisplayName string
    (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.
    Id string
    The OCID of the software source.
    IsMandatoryForAutonomousLinux bool
    Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
    SoftwareSourceType string
    Type of the software source.
    Description string
    (Updatable) User-specified information about the lifecycle environment. Avoid entering confidential information.
    DisplayName string
    (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.
    Id string
    The OCID of the software source.
    IsMandatoryForAutonomousLinux bool
    Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
    SoftwareSourceType string
    Type of the software source.
    description String
    (Updatable) User-specified information about the lifecycle environment. Avoid entering confidential information.
    displayName String
    (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.
    id String
    The OCID of the software source.
    isMandatoryForAutonomousLinux Boolean
    Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
    softwareSourceType String
    Type of the software source.
    description string
    (Updatable) User-specified information about the lifecycle environment. Avoid entering confidential information.
    displayName string
    (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.
    id string
    The OCID of the software source.
    isMandatoryForAutonomousLinux boolean
    Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
    softwareSourceType string
    Type of the software source.
    description str
    (Updatable) User-specified information about the lifecycle environment. Avoid entering confidential information.
    display_name str
    (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.
    id str
    The OCID of the software source.
    is_mandatory_for_autonomous_linux bool
    Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
    software_source_type str
    Type of the software source.
    description String
    (Updatable) User-specified information about the lifecycle environment. Avoid entering confidential information.
    displayName String
    (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.
    id String
    The OCID of the software source.
    isMandatoryForAutonomousLinux Boolean
    Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
    softwareSourceType String
    Type of the software source.

    Import

    LifecycleEnvironments can be imported using the id, e.g.

    $ pulumi import oci:OsManagementHub/lifecycleEnvironment:LifecycleEnvironment test_lifecycle_environment "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi