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". |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python