AssociateDrProtectionGroupDetails¶
-
class
oci.disaster_recovery.models.
AssociateDrProtectionGroupDetails
(**kwargs)¶ Bases:
object
The details for associating a DR protection group with a peer DR protection group.
Attributes
ROLE_PRIMARY
A constant which can be used with the role property of a AssociateDrProtectionGroupDetails. ROLE_STANDBY
A constant which can be used with the role property of a AssociateDrProtectionGroupDetails. ROLE_UNCONFIGURED
A constant which can be used with the role property of a AssociateDrProtectionGroupDetails. peer_id
Gets the peer_id of this AssociateDrProtectionGroupDetails. peer_region
Gets the peer_region of this AssociateDrProtectionGroupDetails. role
[Required] Gets the role of this AssociateDrProtectionGroupDetails. Methods
__init__
(**kwargs)Initializes a new AssociateDrProtectionGroupDetails object with values from keyword arguments. -
ROLE_PRIMARY
= 'PRIMARY'¶ A constant which can be used with the role property of a AssociateDrProtectionGroupDetails. This constant has a value of “PRIMARY”
-
ROLE_STANDBY
= 'STANDBY'¶ A constant which can be used with the role property of a AssociateDrProtectionGroupDetails. This constant has a value of “STANDBY”
-
ROLE_UNCONFIGURED
= 'UNCONFIGURED'¶ A constant which can be used with the role property of a AssociateDrProtectionGroupDetails. This constant has a value of “UNCONFIGURED”
-
__init__
(**kwargs)¶ Initializes a new AssociateDrProtectionGroupDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - peer_id (str) – The value to assign to the peer_id property of this AssociateDrProtectionGroupDetails.
- peer_region (str) – The value to assign to the peer_region property of this AssociateDrProtectionGroupDetails.
- role (str) – The value to assign to the role property of this AssociateDrProtectionGroupDetails. Allowed values for this property are: “PRIMARY”, “STANDBY”, “UNCONFIGURED”
-
peer_id
¶ Gets the peer_id of this AssociateDrProtectionGroupDetails. The OCID of the peer DR protection group.
Example: ocid1.drprotectiongroup.oc1..uniqueID
Returns: The peer_id of this AssociateDrProtectionGroupDetails. Return type: str
-
peer_region
¶ Gets the peer_region of this AssociateDrProtectionGroupDetails. The region of the peer DR protection group.
Example: us-ashburn-1
Returns: The peer_region of this AssociateDrProtectionGroupDetails. Return type: str
-
role
¶ [Required] Gets the role of this AssociateDrProtectionGroupDetails. The role of the DR protection group.
Example: STANDBY
Allowed values for this property are: “PRIMARY”, “STANDBY”, “UNCONFIGURED”
Returns: The role of this AssociateDrProtectionGroupDetails. Return type: str
-