DrProtectionGroupMemberVolumeGroup

class oci.disaster_recovery.models.DrProtectionGroupMemberVolumeGroup(**kwargs)

Bases: oci.disaster_recovery.models.dr_protection_group_member.DrProtectionGroupMember

The properties for a volume group member of a DR protection group.

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 DrProtectionGroupMemberVolumeGroup.
destination_backup_policy_id Gets the destination_backup_policy_id of this DrProtectionGroupMemberVolumeGroup.
member_id [Required] Gets the member_id of this DrProtectionGroupMember.
member_type [Required] Gets the member_type of this DrProtectionGroupMember.
source_volume_to_destination_encryption_key_mappings Gets the source_volume_to_destination_encryption_key_mappings of this DrProtectionGroupMemberVolumeGroup.

Methods

__init__(**kwargs) Initializes a new DrProtectionGroupMemberVolumeGroup 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 DrProtectionGroupMemberVolumeGroup object with values from keyword arguments. The default value of the member_type attribute of this class is VOLUME_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 DrProtectionGroupMemberVolumeGroup.
  • member_type (str) – The value to assign to the member_type property of this DrProtectionGroupMemberVolumeGroup. 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 DrProtectionGroupMemberVolumeGroup.
  • source_volume_to_destination_encryption_key_mappings (list[oci.disaster_recovery.models.SourceVolumeToDestinationEncryptionKeyMapping]) – The value to assign to the source_volume_to_destination_encryption_key_mappings property of this DrProtectionGroupMemberVolumeGroup.
  • common_destination_key (oci.disaster_recovery.models.VaultAndEncryptionKey) – The value to assign to the common_destination_key property of this DrProtectionGroupMemberVolumeGroup.
common_destination_key

Gets the common_destination_key of this DrProtectionGroupMemberVolumeGroup.

Returns:The common_destination_key of this DrProtectionGroupMemberVolumeGroup.
Return type:oci.disaster_recovery.models.VaultAndEncryptionKey
destination_backup_policy_id

Gets the destination_backup_policy_id of this DrProtectionGroupMemberVolumeGroup. 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 DrProtectionGroupMemberVolumeGroup.
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 DrProtectionGroupMember. The OCID of the member.

Example: ocid1.instance.oc1..uniqueID

Returns:The member_id of this DrProtectionGroupMember.
Return type:str
member_type

[Required] Gets the member_type of this DrProtectionGroupMember. 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”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The member_type of this DrProtectionGroupMember.
Return type:str
source_volume_to_destination_encryption_key_mappings

Gets the source_volume_to_destination_encryption_key_mappings of this DrProtectionGroupMemberVolumeGroup. 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 DrProtectionGroupMemberVolumeGroup.
Return type:list[oci.disaster_recovery.models.SourceVolumeToDestinationEncryptionKeyMapping]