SourceVolumeToDestinationEncryptionKeyMapping¶
- class oci.disaster_recovery.models.SourceVolumeToDestinationEncryptionKeyMapping(**kwargs)¶
Bases:
objectThe source volume ID to destination customer managed vault and encryption key ID mapping for a volume group.
Methods:
__init__(**kwargs)Initializes a new SourceVolumeToDestinationEncryptionKeyMapping object with values from keyword arguments.
Attributes:
[Required] Gets the destination_encryption_key of this SourceVolumeToDestinationEncryptionKeyMapping.
[Required] Gets the source_volume_id of this SourceVolumeToDestinationEncryptionKeyMapping.
- __init__(**kwargs)¶
Initializes a new SourceVolumeToDestinationEncryptionKeyMapping object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
source_volume_id (str) – The value to assign to the source_volume_id property of this SourceVolumeToDestinationEncryptionKeyMapping.
destination_encryption_key (oci.disaster_recovery.models.VaultAndEncryptionKey) – The value to assign to the destination_encryption_key property of this SourceVolumeToDestinationEncryptionKeyMapping.
- property destination_encryption_key¶
[Required] Gets the destination_encryption_key of this SourceVolumeToDestinationEncryptionKeyMapping.
- Returns
The destination_encryption_key of this SourceVolumeToDestinationEncryptionKeyMapping.
- Return type
- property source_volume_id¶
[Required] Gets the source_volume_id of this SourceVolumeToDestinationEncryptionKeyMapping. The OCID of the source boot volume or block volume.
Example: ocid1.volume.oc1..uniqueID
- Returns
The source_volume_id of this SourceVolumeToDestinationEncryptionKeyMapping.
- Return type
str