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

EncryptionSettingsCollection Class

Encryption settings for disk or snapshot.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.compute._serialization.Model
EncryptionSettingsCollection

Constructor

EncryptionSettingsCollection(*, enabled: bool, encryption_settings: List[_models.EncryptionSettingsElement] | None = None, encryption_settings_version: str | 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. Required.

encryption_settings

A collection of encryption settings, one for each disk volume.

encryption_settings_version
str

Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.

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. Required.

encryption_settings

A collection of encryption settings, one for each disk volume.

encryption_settings_version
str

Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.