Class LifecycleEnvironment
Defines the lifecycle environment, including the associated versioned software sources, lifecycle stages, and managed instances.
Inherited Members
Namespace: Oci.OsmanagementhubService.Models
Assembly: OCI.DotNetSDK.Osmanagementhub.dll
Syntax
public class LifecycleEnvironment
Properties
ArchType
Declaration
[Required(ErrorMessage = "ArchType is required.")]
[JsonProperty(PropertyName = "archType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ArchType? ArchType { get; set; }
Property Value
Type | Description |
---|---|
ArchType? | The CPU architecture of the managed instances in the lifecycle environment. |
Remarks
Required
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment that contains the lifecycle environment. |
Remarks
Required
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | 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
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | User-specified information about the lifecycle environment. |
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | The user-friendly name for the lifecycle environment. |
Remarks
Required
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | 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
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the lifecycle environment. |
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LifecycleEnvironment.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
LifecycleEnvironment.LifecycleStateEnum? | The current state of the lifecycle environment. |
Remarks
Required
Location
Declaration
[JsonProperty(PropertyName = "location")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ManagedInstanceLocation? Location { get; set; }
Property Value
Type | Description |
---|---|
ManagedInstanceLocation? | The location of managed instances attached to the lifecycle environment. |
ManagedInstanceIds
Declaration
[JsonProperty(PropertyName = "managedInstanceIds")]
public List<ManagedInstanceDetails> ManagedInstanceIds { get; set; }
Property Value
Type | Description |
---|---|
List<ManagedInstanceDetails> | List of managed instance OCIDs assigned to the lifecycle stage. |
OsFamily
Declaration
[Required(ErrorMessage = "OsFamily is required.")]
[JsonProperty(PropertyName = "osFamily")]
[JsonConverter(typeof(ResponseEnumConverter))]
public OsFamily? OsFamily { get; set; }
Property Value
Type | Description |
---|---|
OsFamily? | The operating system of the managed instances in the lifecycle environment. |
Remarks
Required
Stages
Declaration
[Required(ErrorMessage = "Stages is required.")]
[JsonProperty(PropertyName = "stages")]
public List<LifecycleStage> Stages { get; set; }
Property Value
Type | Description |
---|---|
List<LifecycleStage> | User-specified list of lifecycle stages used within the lifecycle environment. |
Remarks
Required
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, 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
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time the lifecycle environment was created (in RFC 3339 format). |
Remarks
Required
TimeModified
Declaration
[JsonProperty(PropertyName = "timeModified")]
public DateTime? TimeModified { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time the lifecycle environment was last modified (in RFC 3339 format). |
VendorName
Declaration
[Required(ErrorMessage = "VendorName is required.")]
[JsonProperty(PropertyName = "vendorName")]
[JsonConverter(typeof(ResponseEnumConverter))]
public VendorName? VendorName { get; set; }
Property Value
Type | Description |
---|---|
VendorName? | The vendor of the operating system used by the managed instances in the lifecycle environment. |
Remarks
Required