你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Encryption 类

磁盘或快照的静态加密设置。

必须填充所有必需的参数才能发送到 Azure。

继承
azure.mgmt.compute._serialization.Model
Encryption

构造函数

Encryption(*, type: str | _models.EncryptionType, disk_encryption_set_id: str | None = None, **kwargs: Any)

Keyword-Only Parameters

disk_encryption_set_id
str

要用于启用静态加密的磁盘加密集的 ResourceId。

type
strEncryptionType

用于加密磁盘数据的密钥类型。 必需。 已知值为:“EncryptionAtRestWithPlatformKey”和“EncryptionAtRestWithCustomerKey”。

变量

disk_encryption_set_id
str

要用于启用静态加密的磁盘加密集的 ResourceId。

type
strEncryptionType

用于加密磁盘数据的密钥类型。 必需。 已知值为:“EncryptionAtRestWithPlatformKey”和“EncryptionAtRestWithCustomerKey”。