Show / Hide Table of Contents

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.

Inheritance
object
Stack
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.ResourcemanagerService.Models
Assembly: OCI.DotNetSDK.Resourcemanager.dll
Syntax
public class Stack

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
Type Description
ConfigSource

CustomTerraformProvider

Declaration
[JsonProperty(PropertyName = "customTerraformProvider")]
public CustomTerraformProvider CustomTerraformProvider { get; set; }
Property Value
Type Description
CustomTerraformProvider

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

Description of the stack.

DisplayName

Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

Human-readable name of the stack.

FreeformTags

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
Type Description
Stack.LifecycleStateEnum?

The current lifecycle state of the stack. For more information about stack lifecycle states in Resource Manager, see Key Concepts.

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.

TerraformVersion

Declaration
[JsonProperty(PropertyName = "terraformVersion")]
public string TerraformVersion { get; set; }
Property Value
Type Description
string

The version of Terraform specified for the stack. Example: 0.12.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"}

In this article
Back to top