CreateVaultAndEncryptionKeyDetails¶
- class oci.disaster_recovery.models.CreateVaultAndEncryptionKeyDetails(**kwargs)¶
Bases:
objectCreate properties for a customer-managed vault and encryption key in the destination region. The customer-managed encryption key in this will be used to encrypt the resource or containing resources after they move to the destination region.
Methods:
__init__(**kwargs)Initializes a new CreateVaultAndEncryptionKeyDetails object with values from keyword arguments.
Attributes:
[Required] Gets the encryption_key_id of this CreateVaultAndEncryptionKeyDetails.
[Required] Gets the vault_id of this CreateVaultAndEncryptionKeyDetails.
- __init__(**kwargs)¶
Initializes a new CreateVaultAndEncryptionKeyDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
vault_id (str) – The value to assign to the vault_id property of this CreateVaultAndEncryptionKeyDetails.
encryption_key_id (str) – The value to assign to the encryption_key_id property of this CreateVaultAndEncryptionKeyDetails.
- property encryption_key_id¶
[Required] Gets the encryption_key_id of this CreateVaultAndEncryptionKeyDetails. The OCID of the customer-managed encryption key in the destination region vault.
Example: ocid1.key.oc1..uniqueID
- Returns
The encryption_key_id of this CreateVaultAndEncryptionKeyDetails.
- Return type
str
- property vault_id¶
[Required] Gets the vault_id of this CreateVaultAndEncryptionKeyDetails. The OCID of the destination region vault for the customer-managed encryption key.
Example: ocid1.vault.oc1..uniqueID
- Returns
The vault_id of this CreateVaultAndEncryptionKeyDetails.
- Return type
str