CreateDrProtectionGroupMemberVolumeGroupDetails

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

Bases: oci.disaster_recovery.models.create_dr_protection_group_member_details.CreateDrProtectionGroupMemberDetails

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

Methods

__init__(**kwargs) Initializes a new CreateDrProtectionGroupMemberVolumeGroupDetails 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 CreateDrProtectionGroupMemberVolumeGroupDetails 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 CreateDrProtectionGroupMemberVolumeGroupDetails.
  • member_type (str) – The value to assign to the member_type property of this CreateDrProtectionGroupMemberVolumeGroupDetails. 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 CreateDrProtectionGroupMemberVolumeGroupDetails.
  • source_volume_to_destination_encryption_key_mappings (list[oci.disaster_recovery.models.CreateSourceVolumeToDestinationEncryptionKeyMappingDetails]) – The value to assign to the source_volume_to_destination_encryption_key_mappings property of this CreateDrProtectionGroupMemberVolumeGroupDetails.
  • common_destination_key (oci.disaster_recovery.models.CreateVaultAndEncryptionKeyDetails) – The value to assign to the common_destination_key property of this CreateDrProtectionGroupMemberVolumeGroupDetails.
common_destination_key

Gets the common_destination_key of this CreateDrProtectionGroupMemberVolumeGroupDetails.

Returns:The common_destination_key of this CreateDrProtectionGroupMemberVolumeGroupDetails.
Return type:oci.disaster_recovery.models.CreateVaultAndEncryptionKeyDetails
destination_backup_policy_id

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

Example: ocid1.instance.oc1..uniqueID

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

[Required] Gets the member_type of this CreateDrProtectionGroupMemberDetails. 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 CreateDrProtectionGroupMemberDetails.
Return type:str
source_volume_to_destination_encryption_key_mappings

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