Class Stack
The properties that define a stack.
A stack is the collection of Oracle Cloud Infrastructure resources corresponding to a given Terraform configuration.
For instructions on managing stacks, see
Managing Stacks.
For more information about stacks, see
Key Concepts.
Assembly: OCI.DotNetSDK.Resourcemanager.dll
Syntax
Properties
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type |
Description |
string |
Unique identifier (OCID) for the compartment where the stack is located.
|
ConfigSource
Declaration
[JsonProperty(PropertyName = "configSource")]
public ConfigSource ConfigSource { get; set; }
Property Value
Declaration
[JsonProperty(PropertyName = "customTerraformProvider")]
public CustomTerraformProvider CustomTerraformProvider { get; set; }
Property Value
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type |
Description |
string |
Description of the stack.
|
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type |
Description |
string |
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type |
Description |
Dictionary<string, string> |
Free-form tags associated with the resource. Each tag is a key-value pair with no predefined name, type, or namespace.
For more information, see Resource Tags.
Example: {"Department": "Finance"}
|
Id
Declaration
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type |
Description |
string |
Unique identifier (OCID) for the stack.
|
IsThirdPartyProviderExperienceEnabled
Declaration
[JsonProperty(PropertyName = "isThirdPartyProviderExperienceEnabled")]
public bool? IsThirdPartyProviderExperienceEnabled { get; set; }
Property Value
Type |
Description |
bool? |
When true , the stack sources third-party Terraform providers from
Terraform Registry and allows
{@link #customTerraformProvider(CustomTerraformProviderRequest) customTerraformProvider}.
For more information about stack sourcing of third-party Terraform providers, see
Third-party Provider Configuration.
|
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Stack.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
StackDriftStatus
Declaration
[JsonProperty(PropertyName = "stackDriftStatus")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Stack.StackDriftStatusEnum? StackDriftStatus { get; set; }
Property Value
Type |
Description |
Stack.StackDriftStatusEnum? |
Drift status of the stack.
Drift refers to differences between the actual (current) state of the stack and the expected (defined) state of the stack.
|
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type |
Description |
Dictionary<string, Dictionary<string, object>> |
The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces.
For more information, see Resource Tags.
Example: {orcl-cloud: {free-tier-retain: true}}
|
Declaration
[JsonProperty(PropertyName = "terraformVersion")]
public string TerraformVersion { get; set; }
Property Value
Type |
Description |
string |
The version of Terraform specified for the stack. Example: 1.5.x
|
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type |
Description |
DateTime? |
The date and time at which the stack was created.
Format is defined by RFC3339.
Example: 2020-01-25T21:10:29.600Z
|
TimeDriftLastChecked
Declaration
[JsonProperty(PropertyName = "timeDriftLastChecked")]
public DateTime? TimeDriftLastChecked { get; set; }
Property Value
Type |
Description |
DateTime? |
The date and time when the drift detection was last executed.
Format is defined by RFC3339.
Example: 2020-01-25T21:10:29.600Z
|
Variables
Declaration
[JsonProperty(PropertyName = "variables")]
public Dictionary<string, string> Variables { get; set; }
Property Value
Type |
Description |
Dictionary<string, string> |
Terraform variables associated with this resource.
Maximum number of variables supported is 250.
The maximum size of each variable, including both name and value, is 8192 bytes.
Example: {"CompartmentId": "compartment-id-value"}
|