你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Encryption Class
Encryption at rest settings for disk or snapshot.
- Inheritance
-
azure.mgmt.compute._serialization.ModelEncryption
Constructor
Encryption(*, disk_encryption_set_id: str | None = None, type: str | _models.EncryptionType | 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. Known values are: "EncryptionAtRestWithPlatformKey", "EncryptionAtRestWithCustomerKey", and "EncryptionAtRestWithPlatformAndCustomerKeys". |
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. Known values are: "EncryptionAtRestWithPlatformKey", "EncryptionAtRestWithCustomerKey", and "EncryptionAtRestWithPlatformAndCustomerKeys". |