oci.OsManagementHub.LifecycleEnvironment
Explore with Pulumi AI
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=[
{
"display_name": lifecycle_environment_stages_display_name1,
"rank": lifecycle_environment_stages_rank1,
"defined_tags": {
"operations__cost_center": "42",
},
"freeform_tags": {
"department": "Finance",
},
},
{
"display_name": lifecycle_environment_stages_display_name2,
"rank": lifecycle_environment_stages_rank2,
"defined_tags": {
"operations__cost_center": "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/v2/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.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
},
&osmanagementhub.LifecycleEnvironmentStageArgs{
DisplayName: pulumi.Any(lifecycleEnvironmentStagesDisplayName2),
Rank: pulumi.Any(lifecycleEnvironmentStagesRank2),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
},
},
VendorName: pulumi.Any(lifecycleEnvironmentVendorName),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
Description: pulumi.Any(lifecycleEnvironmentDescription),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("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, str]] = None,
description: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = 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", "string" },
},
Id = "string",
LifecycleEnvironmentId = "string",
Location = "string",
ArchType = "string",
DefinedTags =
{
{ "string", "string" },
},
CompartmentId = "string",
SoftwareSourceIds = new[]
{
new Oci.OsManagementHub.Inputs.LifecycleEnvironmentStageSoftwareSourceIdArgs
{
Description = "string",
DisplayName = "string",
Id = "string",
IsMandatoryForAutonomousLinux = false,
SoftwareSourceType = "string",
},
},
State = "string",
SystemTags =
{
{ "string", "string" },
},
TimeCreated = "string",
TimeModified = "string",
VendorName = "string",
},
},
VendorName = "string",
DefinedTags =
{
{ "string", "string" },
},
Description = "string",
FreeformTags =
{
{ "string", "string" },
},
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.StringMap{
"string": pulumi.String("string"),
},
Id: pulumi.String("string"),
LifecycleEnvironmentId: pulumi.String("string"),
Location: pulumi.String("string"),
ArchType: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
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.StringMap{
"string": pulumi.String("string"),
},
TimeCreated: pulumi.String("string"),
TimeModified: pulumi.String("string"),
VendorName: pulumi.String("string"),
},
},
VendorName: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Description: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
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", "string"))
.id("string")
.lifecycleEnvironmentId("string")
.location("string")
.archType("string")
.definedTags(Map.of("string", "string"))
.compartmentId("string")
.softwareSourceIds(LifecycleEnvironmentStageSoftwareSourceIdArgs.builder()
.description("string")
.displayName("string")
.id("string")
.isMandatoryForAutonomousLinux(false)
.softwareSourceType("string")
.build())
.state("string")
.systemTags(Map.of("string", "string"))
.timeCreated("string")
.timeModified("string")
.vendorName("string")
.build())
.vendorName("string")
.definedTags(Map.of("string", "string"))
.description("string")
.freeformTags(Map.of("string", "string"))
.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": "string",
},
id="string",
lifecycle_environment_id="string",
location="string",
arch_type="string",
defined_tags={
"string": "string",
},
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": "string",
},
time_created="string",
time_modified="string",
vendor_name="string",
)],
vendor_name="string",
defined_tags={
"string": "string",
},
description="string",
freeform_tags={
"string": "string",
},
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: "string",
},
id: "string",
lifecycleEnvironmentId: "string",
location: "string",
archType: "string",
definedTags: {
string: "string",
},
compartmentId: "string",
softwareSourceIds: [{
description: "string",
displayName: "string",
id: "string",
isMandatoryForAutonomousLinux: false,
softwareSourceType: "string",
}],
state: "string",
systemTags: {
string: "string",
},
timeCreated: "string",
timeModified: "string",
vendorName: "string",
}],
vendorName: "string",
definedTags: {
string: "string",
},
description: "string",
freeformTags: {
string: "string",
},
location: "string",
});
type: oci:OsManagementHub:LifecycleEnvironment
properties:
archType: string
compartmentId: string
definedTags:
string: string
description: string
displayName: string
freeformTags:
string: string
location: string
osFamily: string
stages:
- archType: string
compartmentId: string
definedTags:
string: string
displayName: string
freeformTags:
string: string
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: string
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:
- Arch
Type string - The CPU architecture of the managed instances in the lifecycle environment.
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the lifecycle environment.
- Display
Name 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.
- Os
Family string - The operating system of the managed instances in the lifecycle environment.
- Stages
List<Lifecycle
Environment Stage> - (Updatable) User-specified list of ranked lifecycle stages used within the lifecycle environment.
- Vendor
Name 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
- Dictionary<string, string>
- (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.
- Dictionary<string, string>
- (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 string - The CPU architecture of the managed instances in the lifecycle environment.
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the lifecycle environment.
- Display
Name 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.
- Os
Family string - The operating system of the managed instances in the lifecycle environment.
- Stages
[]Lifecycle
Environment Stage Args - (Updatable) User-specified list of ranked lifecycle stages used within the lifecycle environment.
- Vendor
Name 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
- map[string]string
- (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.
- map[string]string
- (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 String - The CPU architecture of the managed instances in the lifecycle environment.
- compartment
Id String - (Updatable) The OCID of the compartment that contains the lifecycle environment.
- display
Name 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.
- os
Family String - The operating system of the managed instances in the lifecycle environment.
- stages
List<Lifecycle
Environment Stage> - (Updatable) User-specified list of ranked lifecycle stages used within the lifecycle environment.
- vendor
Name 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
- Map<String,String>
- (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.
- Map<String,String>
- (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 string - The CPU architecture of the managed instances in the lifecycle environment.
- compartment
Id string - (Updatable) The OCID of the compartment that contains the lifecycle environment.
- display
Name 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.
- os
Family string - The operating system of the managed instances in the lifecycle environment.
- stages
Lifecycle
Environment Stage[] - (Updatable) User-specified list of ranked lifecycle stages used within the lifecycle environment.
- vendor
Name 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
- {[key: string]: string}
- (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.
- {[key: string]: string}
- (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.
Lifecycle Environment Stage Args] - (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
- Mapping[str, str]
- (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.
- Mapping[str, str]
- (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.'
- arch
Type String - The CPU architecture of the managed instances in the lifecycle environment.
- compartment
Id String - (Updatable) The OCID of the compartment that contains the lifecycle environment.
- display
Name 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.
- os
Family 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.
- vendor
Name 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
- Map<String>
- (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.
- Map<String>
- (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.
- Managed
Instance List<LifecycleIds Environment Managed Instance Id> - The list of managed instances associated with the lifecycle stage.
- State string
- The current state of the lifecycle environment.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the lifecycle environment was created (in RFC 3339 format).
- Time
Modified string - The time the lifecycle environment was last modified (in RFC 3339 format).
- Id string
- The provider-assigned unique ID for this managed resource.
- Managed
Instance []LifecycleIds Environment Managed Instance Id - The list of managed instances associated with the lifecycle stage.
- State string
- The current state of the lifecycle environment.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the lifecycle environment was created (in RFC 3339 format).
- Time
Modified string - The time the lifecycle environment was last modified (in RFC 3339 format).
- id String
- The provider-assigned unique ID for this managed resource.
- managed
Instance List<LifecycleIds Environment Managed Instance Id> - The list of managed instances associated with the lifecycle stage.
- state String
- The current state of the lifecycle environment.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the lifecycle environment was created (in RFC 3339 format).
- time
Modified String - The time the lifecycle environment was last modified (in RFC 3339 format).
- id string
- The provider-assigned unique ID for this managed resource.
- managed
Instance LifecycleIds Environment Managed Instance Id[] - The list of managed instances associated with the lifecycle stage.
- state string
- The current state of the lifecycle environment.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time the lifecycle environment was created (in RFC 3339 format).
- time
Modified 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_ Sequence[osmanagementhub.ids Lifecycle Environment Managed Instance Id] - The list of managed instances associated with the lifecycle stage.
- state str
- The current state of the lifecycle environment.
- Mapping[str, str]
- 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.
- managed
Instance List<Property Map>Ids - The list of managed instances associated with the lifecycle stage.
- state String
- The current state of the lifecycle environment.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the lifecycle environment was created (in RFC 3339 format).
- time
Modified 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, str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = 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, str]] = 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.
- Arch
Type string - The CPU architecture of the managed instances in the lifecycle environment.
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the lifecycle environment.
- Dictionary<string, string>
- (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.
- Display
Name 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.
- Dictionary<string, string>
- (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.'
- Managed
Instance List<LifecycleIds Environment Managed Instance Id> - The list of managed instances associated with the lifecycle stage.
- Os
Family string - The operating system of the managed instances in the lifecycle environment.
- Stages
List<Lifecycle
Environment Stage> - (Updatable) User-specified list of ranked lifecycle stages used within the lifecycle environment.
- State string
- The current state of the lifecycle environment.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the lifecycle environment was created (in RFC 3339 format).
- Time
Modified string - The time the lifecycle environment was last modified (in RFC 3339 format).
- Vendor
Name 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 string - The CPU architecture of the managed instances in the lifecycle environment.
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the lifecycle environment.
- map[string]string
- (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.
- Display
Name 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.
- map[string]string
- (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.'
- Managed
Instance []LifecycleIds Environment Managed Instance Id Args - The list of managed instances associated with the lifecycle stage.
- Os
Family string - The operating system of the managed instances in the lifecycle environment.
- Stages
[]Lifecycle
Environment Stage Args - (Updatable) User-specified list of ranked lifecycle stages used within the lifecycle environment.
- State string
- The current state of the lifecycle environment.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the lifecycle environment was created (in RFC 3339 format).
- Time
Modified string - The time the lifecycle environment was last modified (in RFC 3339 format).
- Vendor
Name 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 String - The CPU architecture of the managed instances in the lifecycle environment.
- compartment
Id String - (Updatable) The OCID of the compartment that contains the lifecycle environment.
- Map<String,String>
- (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.
- display
Name 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.
- Map<String,String>
- (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.'
- managed
Instance List<LifecycleIds Environment Managed Instance Id> - The list of managed instances associated with the lifecycle stage.
- os
Family String - The operating system of the managed instances in the lifecycle environment.
- stages
List<Lifecycle
Environment Stage> - (Updatable) User-specified list of ranked lifecycle stages used within the lifecycle environment.
- state String
- The current state of the lifecycle environment.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the lifecycle environment was created (in RFC 3339 format).
- time
Modified String - The time the lifecycle environment was last modified (in RFC 3339 format).
- vendor
Name 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 string - The CPU architecture of the managed instances in the lifecycle environment.
- compartment
Id string - (Updatable) The OCID of the compartment that contains the lifecycle environment.
- {[key: string]: string}
- (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.
- display
Name 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.
- {[key: string]: string}
- (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.'
- managed
Instance LifecycleIds Environment Managed Instance Id[] - The list of managed instances associated with the lifecycle stage.
- os
Family string - The operating system of the managed instances in the lifecycle environment.
- stages
Lifecycle
Environment Stage[] - (Updatable) User-specified list of ranked lifecycle stages used within the lifecycle environment.
- state string
- The current state of the lifecycle environment.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time the lifecycle environment was created (in RFC 3339 format).
- time
Modified string - The time the lifecycle environment was last modified (in RFC 3339 format).
- vendor
Name 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.
- Mapping[str, str]
- (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.
- Mapping[str, str]
- (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_ Sequence[osmanagementhub.ids Lifecycle Environment Managed Instance Id Args] - 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.
Lifecycle Environment Stage Args] - (Updatable) User-specified list of ranked lifecycle stages used within the lifecycle environment.
- state str
- The current state of the lifecycle environment.
- Mapping[str, str]
- 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
- arch
Type String - The CPU architecture of the managed instances in the lifecycle environment.
- compartment
Id String - (Updatable) The OCID of the compartment that contains the lifecycle environment.
- Map<String>
- (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.
- display
Name 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.
- Map<String>
- (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.'
- managed
Instance List<Property Map>Ids - The list of managed instances associated with the lifecycle stage.
- os
Family 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.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the lifecycle environment was created (in RFC 3339 format).
- time
Modified String - The time the lifecycle environment was last modified (in RFC 3339 format).
- vendor
Name 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
- Display
Name 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 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 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 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.
- display
Name 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
- Display
Name 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.
- Arch
Type string - The CPU architecture of the managed instances in the lifecycle environment.
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the lifecycle stage.
- Dictionary<string, string>
- (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"}
- Dictionary<string, string>
- (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.
- Lifecycle
Environment stringId - 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.'
- Managed
Instance List<LifecycleIds Environment Stage Managed Instance Id> - The list of managed instances associated with the lifecycle stage.
- Os
Family string - The operating system of the managed instances in the lifecycle environment.
- Software
Source List<LifecycleIds Environment Stage Software Source Id> - Provides identifying information for the specified software source.
- State string
- The current state of the lifecycle environment.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the lifecycle environment was created (in RFC 3339 format).
- Time
Modified string - The time the lifecycle environment was last modified (in RFC 3339 format).
- Vendor
Name 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 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.
- Arch
Type string - The CPU architecture of the managed instances in the lifecycle environment.
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the lifecycle stage.
- map[string]string
- (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"}
- map[string]string
- (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.
- Lifecycle
Environment stringId - 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.'
- Managed
Instance []LifecycleIds Environment Stage Managed Instance Id - The list of managed instances associated with the lifecycle stage.
- Os
Family string - The operating system of the managed instances in the lifecycle environment.
- Software
Source []LifecycleIds Environment Stage Software Source Id - Provides identifying information for the specified software source.
- State string
- The current state of the lifecycle environment.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the lifecycle environment was created (in RFC 3339 format).
- Time
Modified string - The time the lifecycle environment was last modified (in RFC 3339 format).
- Vendor
Name 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 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.
- arch
Type String - The CPU architecture of the managed instances in the lifecycle environment.
- compartment
Id String - (Updatable) The OCID of the compartment that contains the lifecycle stage.
- Map<String,String>
- (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"}
- Map<String,String>
- (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.
- lifecycle
Environment StringId - 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.'
- managed
Instance List<LifecycleIds Environment Stage Managed Instance Id> - The list of managed instances associated with the lifecycle stage.
- os
Family String - The operating system of the managed instances in the lifecycle environment.
- software
Source List<LifecycleIds Environment Stage Software Source Id> - Provides identifying information for the specified software source.
- state String
- The current state of the lifecycle environment.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the lifecycle environment was created (in RFC 3339 format).
- time
Modified String - The time the lifecycle environment was last modified (in RFC 3339 format).
- vendor
Name 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 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.
- arch
Type string - The CPU architecture of the managed instances in the lifecycle environment.
- compartment
Id string - (Updatable) The OCID of the compartment that contains the lifecycle stage.
- {[key: string]: string}
- (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"}
- {[key: string]: string}
- (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.
- lifecycle
Environment stringId - 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.'
- managed
Instance LifecycleIds Environment Stage Managed Instance Id[] - The list of managed instances associated with the lifecycle stage.
- os
Family string - The operating system of the managed instances in the lifecycle environment.
- software
Source LifecycleIds Environment Stage Software Source Id[] - Provides identifying information for the specified software source.
- state string
- The current state of the lifecycle environment.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time the lifecycle environment was created (in RFC 3339 format).
- time
Modified string - The time the lifecycle environment was last modified (in RFC 3339 format).
- vendor
Name 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.
- Mapping[str, str]
- (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"}
- Mapping[str, str]
- (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_ strid - 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_ Sequence[osmanagementhub.ids Lifecycle Environment Stage Managed Instance Id] - 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_ Sequence[osmanagementhub.ids Lifecycle Environment Stage Software Source Id] - Provides identifying information for the specified software source.
- state str
- The current state of the lifecycle environment.
- Mapping[str, str]
- 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
- display
Name 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.
- arch
Type String - The CPU architecture of the managed instances in the lifecycle environment.
- compartment
Id String - (Updatable) The OCID of the compartment that contains the lifecycle stage.
- Map<String>
- (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"}
- Map<String>
- (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.
- lifecycle
Environment StringId - 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.'
- managed
Instance List<Property Map>Ids - The list of managed instances associated with the lifecycle stage.
- os
Family String - The operating system of the managed instances in the lifecycle environment.
- software
Source List<Property Map>Ids - Provides identifying information for the specified software source.
- state String
- The current state of the lifecycle environment.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the lifecycle environment was created (in RFC 3339 format).
- time
Modified String - The time the lifecycle environment was last modified (in RFC 3339 format).
- vendor
Name 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
- Display
Name 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 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 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 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.
- display
Name 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.
- Display
Name 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.
- Is
Mandatory boolFor Autonomous Linux - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- Software
Source stringType - Type of the software source.
- Description string
- (Updatable) User-specified information about the lifecycle environment. Avoid entering confidential information.
- Display
Name 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.
- Is
Mandatory boolFor Autonomous Linux - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- Software
Source stringType - Type of the software source.
- description String
- (Updatable) User-specified information about the lifecycle environment. Avoid entering confidential information.
- display
Name 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.
- is
Mandatory BooleanFor Autonomous Linux - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- software
Source StringType - Type of the software source.
- description string
- (Updatable) User-specified information about the lifecycle environment. Avoid entering confidential information.
- display
Name 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.
- is
Mandatory booleanFor Autonomous Linux - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- software
Source stringType - 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_ boolfor_ autonomous_ linux - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- software_
source_ strtype - Type of the software source.
- description String
- (Updatable) User-specified information about the lifecycle environment. Avoid entering confidential information.
- display
Name 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.
- is
Mandatory BooleanFor Autonomous Linux - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- software
Source StringType - 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.