Show / Hide Table of Contents

Class AutomaticDrConfiguration

The details of Automatic DR configuration.

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

Properties

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 containing the Automatic DR configuration.
Example: ocid1.compartment.oc1..uniqueID

Remarks

Required

DefaultFailoverDrPlanId

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

The unique id of a Failover DR Plan.
Example: ocid1.drplan.oc1..uniqueID

DefaultSwitchoverDrPlanId

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

The unique id of a Switchover DR Plan.
Example: ocid1.drplan.oc1..uniqueID

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.
Example: {"Operations": {"CostCenter": "42"}}

DisplayName

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

The display name of the Automatic DR configuration.

Remarks

Required

DrProtectionGroupId

Declaration
[Required(ErrorMessage = "DrProtectionGroupId is required.")]
[JsonProperty(PropertyName = "drProtectionGroupId")]
public string DrProtectionGroupId { get; set; }
Property Value
Type Description
string

The OCID of the DR protection group to which this Automatic DR configuration belongs.
Example: ocid1.drprotectiongroup.oc1..uniqueID

Remarks

Required

FreeformTags

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

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
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 Automatic DR configuration.
Example: ocid1.automaticdrconfiguration.oc1..uniqueID

Remarks

Required

LastAutomaticDrExecutionSubmitDetails

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

A message describing the result of the most recent attempt made to submit an Automatic DR plan execution.

LastAutomaticDrExecutionSubmitStatus

Declaration
[JsonProperty(PropertyName = "lastAutomaticDrExecutionSubmitStatus")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AutomaticDrPlanExecutionSubmissionStatus? LastAutomaticDrExecutionSubmitStatus { get; set; }
Property Value
Type Description
AutomaticDrPlanExecutionSubmissionStatus?

The status of most recent attempt to submit Automatic DR plan execution.

LifecycleDetails

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

A message describing the Automatic DR configuration's current state in more detail.

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AutomaticDrConfigurationLifecycleState? LifecycleState { get; set; }
Property Value
Type Description
AutomaticDrConfigurationLifecycleState?

The current state of the Automatic DR configuration.

Remarks

Required

Members

Declaration
[Required(ErrorMessage = "Members is required.")]
[JsonProperty(PropertyName = "members")]
public List<AutomaticDrConfigurationMember> Members { get; set; }
Property Value
Type Description
List<AutomaticDrConfigurationMember>

The list of members in this Automatic DR configuration.

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>>

Usage of system tag keys. These predefined keys are scoped to namespaces.
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 date and time the Automatic DR configuration was created. An RFC3339 formatted datetime string.
Example: 2024-03-29T09:36:42Z

Remarks

Required

TimeLastAutomaticDrExecutionSubmitAttempt

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

The date and time of the most recent attempt made to submit an Automatic DR plan execution. An RFC3339 formatted datetime string.
Example: 2025-06-30T09:36:42Z

TimeUpdated

Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

The date and time the Automatic DR configuration was updated. An RFC3339 formatted datetime string.
Example: 2024-03-29T09:36:42Z

Remarks

Required

In this article
Back to top