Show / Hide Table of Contents

Class DrPlanExecution

The details of a DR plan execution.

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

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 this DR plan execution.
Example: ocid1.compartment.oc1..uniqueID

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.
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 DR plan execution.
Example: Execution - EBS Switchover PHX to IAD

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 DR plan execution belongs.
Example: ocid1.drprotectiongroup.oc1..uniqueID

Remarks

Required

ExecutionDurationInSec

Declaration
[JsonProperty(PropertyName = "executionDurationInSec")]
public int? ExecutionDurationInSec { get; set; }
Property Value
Type Description
int?

The total duration in seconds taken to complete the DR plan execution.
Example: 750

ExecutionOptions

Declaration
[Required(ErrorMessage = "ExecutionOptions is required.")]
[JsonProperty(PropertyName = "executionOptions")]
public DrPlanExecutionOptions ExecutionOptions { get; set; }
Property Value
Type Description
DrPlanExecutionOptions
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"}

GroupExecutions

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

A list of groups executed in this DR plan execution.

Remarks

Required

Id

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

The OCID of the DR plan execution.
Example: ocid1.drplanexecution.oc1..uniqueID

Remarks

Required

LifeCycleDetails

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

A message describing the DR plan execution's current state in more detail.

LifecycleState

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

The current state of the DR plan execution.

Remarks

Required

LogLocation

Declaration
[Required(ErrorMessage = "LogLocation is required.")]
[JsonProperty(PropertyName = "logLocation")]
public ObjectStorageLogLocation LogLocation { get; set; }
Property Value
Type Description
ObjectStorageLogLocation
Remarks

Required

PeerDrProtectionGroupId

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

The OCID of peer DR protection group associated with this plan's DR protection group.
Example: ocid1.drprotectiongroup.oc1..uniqueID

Remarks

Required

PeerRegion

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

The region of the peer DR protection group associated with this plan's DR protection group.
Example: us-ashburn-1

Remarks

Required

PlanExecutionType

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

The type of the DR plan executed.

Remarks

Required

PlanId

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

The OCID of the DR plan.
Example: ocid1.drplan.oc1..uniqueID

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 at which DR plan execution was created. An RFC3339 formatted datetime string.
Example: 2019-03-29T09:36:42Z

Remarks

Required

TimeEnded

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

The date and time at which DR plan execution succeeded, failed, was paused, or was canceled. An RFC3339 formatted datetime string.
Example: 2019-03-29T09:36:42Z

TimeStarted

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

The date and time at which DR plan execution began. An RFC3339 formatted datetime string.
Example: 2019-03-29T09:36:42Z

TimeUpdated

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

The time when DR plan execution was last updated. An RFC3339 formatted datetime string.
Example: 2019-03-29T09:36:42Z

Remarks

Required

In this article
Back to top