你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EncryptionSettings Class

Encryption settings for disk or snapshot.

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.

Default value: None
disk_encryption_key

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

Default value: None
key_encryption_key

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

Default value: None

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.