你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Encryption Class
Encryption at rest settings for disk or snapshot.
All required parameters must be populated in order to send to server.
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. Default value: None
|
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". |