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. |
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應