UpdateDrProtectionGroupMemberVolumeGroupDetails¶
-
class
oci.disaster_recovery.models.
UpdateDrProtectionGroupMemberVolumeGroupDetails
(**kwargs)¶ Bases:
oci.disaster_recovery.models.update_dr_protection_group_member_details.UpdateDrProtectionGroupMemberDetails
Update properties for a volume group member.
Attributes
MEMBER_TYPE_AUTONOMOUS_CONTAINER_DATABASE
str(object=’’) -> str MEMBER_TYPE_AUTONOMOUS_DATABASE
str(object=’’) -> str MEMBER_TYPE_COMPUTE_INSTANCE
str(object=’’) -> str MEMBER_TYPE_COMPUTE_INSTANCE_MOVABLE
str(object=’’) -> str MEMBER_TYPE_COMPUTE_INSTANCE_NON_MOVABLE
str(object=’’) -> str MEMBER_TYPE_DATABASE
str(object=’’) -> str MEMBER_TYPE_FILE_SYSTEM
str(object=’’) -> str MEMBER_TYPE_LOAD_BALANCER
str(object=’’) -> str MEMBER_TYPE_NETWORK_LOAD_BALANCER
str(object=’’) -> str MEMBER_TYPE_OBJECT_STORAGE_BUCKET
str(object=’’) -> str MEMBER_TYPE_OKE_CLUSTER
str(object=’’) -> str MEMBER_TYPE_VOLUME_GROUP
str(object=’’) -> str common_destination_key
Gets the common_destination_key of this UpdateDrProtectionGroupMemberVolumeGroupDetails. destination_backup_policy_id
Gets the destination_backup_policy_id of this UpdateDrProtectionGroupMemberVolumeGroupDetails. member_id
[Required] Gets the member_id of this UpdateDrProtectionGroupMemberDetails. member_type
[Required] Gets the member_type of this UpdateDrProtectionGroupMemberDetails. source_volume_to_destination_encryption_key_mappings
Gets the source_volume_to_destination_encryption_key_mappings of this UpdateDrProtectionGroupMemberVolumeGroupDetails. Methods
__init__
(**kwargs)Initializes a new UpdateDrProtectionGroupMemberVolumeGroupDetails object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
MEMBER_TYPE_AUTONOMOUS_CONTAINER_DATABASE
= 'AUTONOMOUS_CONTAINER_DATABASE'¶
-
MEMBER_TYPE_AUTONOMOUS_DATABASE
= 'AUTONOMOUS_DATABASE'¶
-
MEMBER_TYPE_COMPUTE_INSTANCE
= 'COMPUTE_INSTANCE'¶
-
MEMBER_TYPE_COMPUTE_INSTANCE_MOVABLE
= 'COMPUTE_INSTANCE_MOVABLE'¶
-
MEMBER_TYPE_COMPUTE_INSTANCE_NON_MOVABLE
= 'COMPUTE_INSTANCE_NON_MOVABLE'¶
-
MEMBER_TYPE_DATABASE
= 'DATABASE'¶
-
MEMBER_TYPE_FILE_SYSTEM
= 'FILE_SYSTEM'¶
-
MEMBER_TYPE_LOAD_BALANCER
= 'LOAD_BALANCER'¶
-
MEMBER_TYPE_NETWORK_LOAD_BALANCER
= 'NETWORK_LOAD_BALANCER'¶
-
MEMBER_TYPE_OBJECT_STORAGE_BUCKET
= 'OBJECT_STORAGE_BUCKET'¶
-
MEMBER_TYPE_OKE_CLUSTER
= 'OKE_CLUSTER'¶
-
MEMBER_TYPE_VOLUME_GROUP
= 'VOLUME_GROUP'¶
-
__init__
(**kwargs)¶ Initializes a new UpdateDrProtectionGroupMemberVolumeGroupDetails object with values from keyword arguments. The default value of the
member_type
attribute of this class isVOLUME_GROUP
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - member_id (str) – The value to assign to the member_id property of this UpdateDrProtectionGroupMemberVolumeGroupDetails.
- member_type (str) – The value to assign to the member_type property of this UpdateDrProtectionGroupMemberVolumeGroupDetails. Allowed values for this property are: “COMPUTE_INSTANCE”, “COMPUTE_INSTANCE_MOVABLE”, “COMPUTE_INSTANCE_NON_MOVABLE”, “VOLUME_GROUP”, “DATABASE”, “AUTONOMOUS_DATABASE”, “AUTONOMOUS_CONTAINER_DATABASE”, “LOAD_BALANCER”, “NETWORK_LOAD_BALANCER”, “FILE_SYSTEM”, “OKE_CLUSTER”, “OBJECT_STORAGE_BUCKET”
- destination_backup_policy_id (str) – The value to assign to the destination_backup_policy_id property of this UpdateDrProtectionGroupMemberVolumeGroupDetails.
- source_volume_to_destination_encryption_key_mappings (list[oci.disaster_recovery.models.UpdateSourceVolumeToDestinationEncryptionKeyMappingDetails]) – The value to assign to the source_volume_to_destination_encryption_key_mappings property of this UpdateDrProtectionGroupMemberVolumeGroupDetails.
- common_destination_key (oci.disaster_recovery.models.UpdateVaultAndEncryptionKeyDetails) – The value to assign to the common_destination_key property of this UpdateDrProtectionGroupMemberVolumeGroupDetails.
-
common_destination_key
¶ Gets the common_destination_key of this UpdateDrProtectionGroupMemberVolumeGroupDetails.
Returns: The common_destination_key of this UpdateDrProtectionGroupMemberVolumeGroupDetails. Return type: oci.disaster_recovery.models.UpdateVaultAndEncryptionKeyDetails
-
destination_backup_policy_id
¶ Gets the destination_backup_policy_id of this UpdateDrProtectionGroupMemberVolumeGroupDetails. The OCID of the backup policy to use in the destination region. This policy will be used to create backups for this volume group after it moves the destination region.
Example: ocid1.volumebackuppolicy.oc1..uniqueID
Returns: The destination_backup_policy_id of this UpdateDrProtectionGroupMemberVolumeGroupDetails. Return type: str
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
member_id
¶ [Required] Gets the member_id of this UpdateDrProtectionGroupMemberDetails. The OCID of the member.
Example: ocid1.database.oc1..uniqueID
Returns: The member_id of this UpdateDrProtectionGroupMemberDetails. Return type: str
-
member_type
¶ [Required] Gets the member_type of this UpdateDrProtectionGroupMemberDetails. The type of the member.
Allowed values for this property are: “COMPUTE_INSTANCE”, “COMPUTE_INSTANCE_MOVABLE”, “COMPUTE_INSTANCE_NON_MOVABLE”, “VOLUME_GROUP”, “DATABASE”, “AUTONOMOUS_DATABASE”, “AUTONOMOUS_CONTAINER_DATABASE”, “LOAD_BALANCER”, “NETWORK_LOAD_BALANCER”, “FILE_SYSTEM”, “OKE_CLUSTER”, “OBJECT_STORAGE_BUCKET”
Returns: The member_type of this UpdateDrProtectionGroupMemberDetails. Return type: str
-
source_volume_to_destination_encryption_key_mappings
¶ Gets the source_volume_to_destination_encryption_key_mappings of this UpdateDrProtectionGroupMemberVolumeGroupDetails. A list of mappings between source volume IDs in the volume group and customer-managed encryption keys in the destination region which will be used to encrypt the volume after it moves to the destination region.
If you add the entry for source volumes and its corresponding vault and encryption keys here, you can not use ‘commonDestinationKey’ for encrypting all volumes with common encryption key. Similarly, if you specify common vault and encryption key using ‘commonDestinationKey’, you cannot specify vaults and encryption keys individually for each volume using ‘sourceVolumeToDestinationEncryptionKeyMappings’.
An entry for each volume in volume group should be added in this list. The encryption key will not be updated for the volumes that are part of volume group but missing in this list.
Returns: The source_volume_to_destination_encryption_key_mappings of this UpdateDrProtectionGroupMemberVolumeGroupDetails. Return type: list[oci.disaster_recovery.models.UpdateSourceVolumeToDestinationEncryptionKeyMappingDetails]
-