CreateDrProtectionGroupDetails¶
-
class
oci.disaster_recovery.models.
CreateDrProtectionGroupDetails
(**kwargs)¶ Bases:
object
The details for creating a DR protection group.
Methods
__init__
(**kwargs)Initializes a new CreateDrProtectionGroupDetails object with values from keyword arguments. Attributes
association
Gets the association of this CreateDrProtectionGroupDetails. compartment_id
[Required] Gets the compartment_id of this CreateDrProtectionGroupDetails. defined_tags
Gets the defined_tags of this CreateDrProtectionGroupDetails. display_name
[Required] Gets the display_name of this CreateDrProtectionGroupDetails. freeform_tags
Gets the freeform_tags of this CreateDrProtectionGroupDetails. log_location
[Required] Gets the log_location of this CreateDrProtectionGroupDetails. members
Gets the members of this CreateDrProtectionGroupDetails. -
__init__
(**kwargs)¶ Initializes a new CreateDrProtectionGroupDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - compartment_id (str) – The value to assign to the compartment_id property of this CreateDrProtectionGroupDetails.
- display_name (str) – The value to assign to the display_name property of this CreateDrProtectionGroupDetails.
- log_location (oci.disaster_recovery.models.CreateObjectStorageLogLocationDetails) – The value to assign to the log_location property of this CreateDrProtectionGroupDetails.
- association (oci.disaster_recovery.models.AssociateDrProtectionGroupDetails) – The value to assign to the association property of this CreateDrProtectionGroupDetails.
- members (list[oci.disaster_recovery.models.CreateDrProtectionGroupMemberDetails]) – The value to assign to the members property of this CreateDrProtectionGroupDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateDrProtectionGroupDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateDrProtectionGroupDetails.
-
association
¶ Gets the association of this CreateDrProtectionGroupDetails.
Returns: The association of this CreateDrProtectionGroupDetails. Return type: oci.disaster_recovery.models.AssociateDrProtectionGroupDetails
-
compartment_id
¶ [Required] Gets the compartment_id of this CreateDrProtectionGroupDetails. The OCID of the compartment in which to create the DR protection group.
Example: ocid1.compartment.oc1..uniqueID
Returns: The compartment_id of this CreateDrProtectionGroupDetails. Return type: str
Gets the defined_tags of this CreateDrProtectionGroupDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {“Operations”: {“CostCenter”: “42”}}
Returns: The defined_tags of this CreateDrProtectionGroupDetails. Return type: dict(str, dict(str, object))
-
display_name
¶ [Required] Gets the display_name of this CreateDrProtectionGroupDetails. The display name of the DR protection group.
Example: EBS PHX Group
Returns: The display_name of this CreateDrProtectionGroupDetails. Return type: str
Gets the freeform_tags of this CreateDrProtectionGroupDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
Example: {“Department”: “Finance”}
Returns: The freeform_tags of this CreateDrProtectionGroupDetails. Return type: dict(str, str)
-
log_location
¶ [Required] Gets the log_location of this CreateDrProtectionGroupDetails.
Returns: The log_location of this CreateDrProtectionGroupDetails. Return type: oci.disaster_recovery.models.CreateObjectStorageLogLocationDetails
-
members
¶ Gets the members of this CreateDrProtectionGroupDetails. A list of DR protection group members.
Returns: The members of this CreateDrProtectionGroupDetails. Return type: list[oci.disaster_recovery.models.CreateDrProtectionGroupMemberDetails]
-