Show / Hide Table of Contents

Class StackResourceDriftSummary

Drift status details for the indicated resource and stack. Includes actual and expected (defined) properties.

Inheritance
object
StackResourceDriftSummary
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 StackResourceDriftSummary

Properties

ActualProperties

Declaration
[JsonProperty(PropertyName = "actualProperties")]
public Dictionary<string, string> ActualProperties { get; set; }
Property Value
Type Description
Dictionary<string, string>

Actual values of properties that the stack defines for the indicated resource. Each property and value is provided as a key-value pair. The following example shows actual values for the resource's display name and server type: {\"display_name\": \"tf-default-dhcp-options-new\", \"options.0.server_type\": \"VcnLocalPlusInternet\"}

CompartmentId

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

The OCID of the compartment where the stack is located.

ExpectedProperties

Declaration
[JsonProperty(PropertyName = "expectedProperties")]
public Dictionary<string, string> ExpectedProperties { get; set; }
Property Value
Type Description
Dictionary<string, string>

Expected values of properties that the stack defines for the indicated resource. Each property and value is provided as a key-value pair. The following example shows expected (defined) values for the resource's display name and server type: {\"display_name\": \"tf-default-dhcp-options\", \"options.0.server_type\": \"VcnLocalPlusInternet\"}

ResourceDriftStatus

Declaration
[JsonProperty(PropertyName = "resourceDriftStatus")]
[JsonConverter(typeof(ResponseEnumConverter))]
public StackResourceDriftSummary.ResourceDriftStatusEnum? ResourceDriftStatus { get; set; }
Property Value
Type Description
StackResourceDriftSummary.ResourceDriftStatusEnum?

The drift status of the resource. A drift status value indicates whether or not the actual state of the resource differs from the expected (defined) state for that resource.

ResourceId

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

The OCID of the resource provisioned by Terraform.

ResourceName

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

The name of the resource as defined in the stack.

ResourceType

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

The provider resource type. Must be supported by the Oracle Cloud Infrastructure provider. Example: oci_core_instance

StackId

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

The OCID of the stack.

TimeDriftChecked

Declaration
[JsonProperty(PropertyName = "timeDriftChecked")]
public DateTime? TimeDriftChecked { get; set; }
Property Value
Type Description
DateTime?

The date and time when the drift detection was executed. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z

In this article
Back to top