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.ModelEncryptionSettingsCollection
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
|
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
|
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. |
Azure SDK for Python