EncryptionSettings Class

Encryption settings for disk or snapshot.

Inheritance
azure.mgmt.compute._serialization.Model
EncryptionSettings

Constructor

EncryptionSettings(*, enabled: bool | None = None, disk_encryption_key: _models.KeyVaultAndSecretReference | None = None, key_encryption_key: _models.KeyVaultAndKeyReference | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
enabled

Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.

disk_encryption_key

Key Vault Secret Url and vault id of the disk encryption key.

key_encryption_key

Key Vault Key Url and vault id of the key encryption key.

Variables

Name Description
enabled

Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.

disk_encryption_key

Key Vault Secret Url and vault id of the disk encryption key.

key_encryption_key

Key Vault Key Url and vault id of the key encryption key.