Show / Hide Table of Contents

Class DrProtectionGroup

The details of a DR protection group.

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

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 protection group.
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 protection group.
Example: EBS PHX Group

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"}

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 protection group.
Example: ocid1.drprotectiongroup.oc1..uniqueID

Remarks

Required

LifeCycleDetails

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

A message describing the DR protection group's current state in more detail.

LifecycleState

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

The current state of the DR protection group.

Remarks

Required

LifecycleSubState

Declaration
[JsonProperty(PropertyName = "lifecycleSubState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DrProtectionGroupLifecycleSubState? LifecycleSubState { get; set; }
Property Value
Type Description
DrProtectionGroupLifecycleSubState?

The current sub-state of the DR protection group.

LogLocation

Declaration
[JsonProperty(PropertyName = "logLocation")]
public ObjectStorageLogLocation LogLocation { get; set; }
Property Value
Type Description
ObjectStorageLogLocation

Members

Declaration
[JsonProperty(PropertyName = "members")]
public List<DrProtectionGroupMember> Members { get; set; }
Property Value
Type Description
List<DrProtectionGroupMember>

A list of DR protection group members.

PeerId

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

The OCID of the peer DR protection group.
Example: ocid1.drprotectiongroup.oc1..uniqueID

PeerRegion

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

The region of the peer DR protection group.
Example: us-ashburn-1

Role

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

The role of the DR protection group.

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 the DR protection group was created. An RFC3339 formatted datetime string.
Example: 2019-03-29T09:36:42Z

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 protection group was updated. An RFC3339 formatted datetime string.
Example: 2019-03-29T09:36:42Z

Remarks

Required

In this article
Back to top