Show / Hide Table of Contents

Class CreateDrPlanDetails

The details for creating a DR plan.

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

Properties

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 being created.
Example: 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 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"}

SourcePlanId

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

The OCID of the source DR plan that should be cloned.
Example: ocid1.drplan.oc1..uniqueID

Type

Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(StringEnumConverter))]
public DrPlanType? Type { get; set; }
Property Value
Type Description
DrPlanType?

The type of DR plan to be created.

Remarks

Required

In this article
Back to top