Class DrPlan
The details of a DR plan.
Inherited Members
Namespace: Oci.DisasterrecoveryService.Models
Assembly: OCI.DotNetSDK.Disasterrecovery.dll
Syntax
public class DrPlan
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 DR plan.
|
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.
|
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 belongs.
|
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.
|
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.
|
Remarks
Required
LifeCycleDetails
Declaration
[JsonProperty(PropertyName = "lifeCycleDetails")]
public string LifeCycleDetails { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A message describing the DR plan's current state in more detail. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DrPlanLifecycleState? LifecycleState { get; set; }
Property Value
| Type | Description |
|---|---|
| DrPlanLifecycleState? | The current state of the DR plan. |
Remarks
Required
LifecycleSubState
Declaration
[JsonProperty(PropertyName = "lifecycleSubState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DrPlanLifecycleSubState? LifecycleSubState { get; set; }
Property Value
| Type | Description |
|---|---|
| DrPlanLifecycleSubState? | The current state of the DR plan. |
PeerDrProtectionGroupId
Declaration
[Required(ErrorMessage = "PeerDrProtectionGroupId is required.")]
[JsonProperty(PropertyName = "peerDrProtectionGroupId")]
public string PeerDrProtectionGroupId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the 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
PlanGroups
Declaration
[Required(ErrorMessage = "PlanGroups is required.")]
[JsonProperty(PropertyName = "planGroups")]
public List<DrPlanGroup> PlanGroups { get; set; }
Property Value
| Type | Description |
|---|---|
| List<DrPlanGroup> | The list of groups in this DR plan. |
Remarks
Required
SourcePlanId
Declaration
[JsonProperty(PropertyName = "sourcePlanId")]
public string SourcePlanId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | If this is a cloned DR plan, the OCID of the source DR plan that was used to clone this DR plan.
If this DR plan was not cloned, then the value for this will be |
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 the DR plan was created. An RFC3339 formatted datetime string.
|
Remarks
Required
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 DR plan was updated. An RFC3339 formatted datetime string.
|
Remarks
Required
Type
Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DrPlanType? Type { get; set; }
Property Value
| Type | Description |
|---|---|
| DrPlanType? | The type of the DR plan. |
Remarks
Required