Class DrPlanExecution
The details of a DR plan execution.
Inherited Members
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
Remarks
Required