Encryption Class
Encryption at rest settings for disk or snapshot.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.compute._serialization.ModelEncryption
Constructor
Encryption(*, type: str | _models.EncryptionType, disk_encryption_set_id: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
disk_encryption_set_id
|
ResourceId of the disk encryption set to use for enabling encryption at rest. |
type
|
The type of key used to encrypt the data of the disk. Required. Known values are: "EncryptionAtRestWithPlatformKey" and "EncryptionAtRestWithCustomerKey". |
Variables
Name | Description |
---|---|
disk_encryption_set_id
|
ResourceId of the disk encryption set to use for enabling encryption at rest. |
type
|
The type of key used to encrypt the data of the disk. Required. Known values are: "EncryptionAtRestWithPlatformKey" and "EncryptionAtRestWithCustomerKey". |
Azure SDK for Python