Class CreateDrPlanDetails
The details for creating a DR plan.
Inherited Members
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.
|
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.
|
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.
|
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