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

DiskEncryptionSet 类

磁盘加密集资源。

变量仅由服务器填充,发送请求时将被忽略。

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

继承
azure.mgmt.compute.v2020_12_01.models._models_py3.Resource
DiskEncryptionSet

构造函数

DiskEncryptionSet(*, location: str, tags: Dict[str, str] | None = None, identity: _models.EncryptionSetIdentity | None = None, encryption_type: str | _models.DiskEncryptionSetType | None = None, active_key: _models.KeyForDiskEncryptionSet | None = None, rotation_to_latest_key_version_enabled: bool | None = None, **kwargs: Any)

Keyword-Only Parameters

location
str

资源位置。 必需。

tags
dict[str, str]

资源标记。

identity
EncryptionSetIdentity

磁盘加密集的托管标识。 应先向其授予对密钥保管库的权限,然后才能使用它来加密磁盘。

encryption_type
strDiskEncryptionSetType

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

active_key
KeyForDiskEncryptionSet

此磁盘加密集当前使用的密钥保管库密钥。

rotation_to_latest_key_version_enabled
bool

将此标志设置为 true 以启用此磁盘加密集到最新密钥版本的自动更新。

变量

id
str

资源 ID。

name
str

资源名称。

type
str

资源类型。

location
str

资源位置。 必需。

tags
dict[str, str]

资源标记。

identity
EncryptionSetIdentity

磁盘加密集的托管标识。 应先向其授予对密钥保管库的权限,然后才能使用它来加密磁盘。

encryption_type
strDiskEncryptionSetType

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

active_key
KeyForDiskEncryptionSet

此磁盘加密集当前使用的密钥保管库密钥。

previous_keys
list[KeyForDiskEncryptionSet]

密钥轮换正在进行时,此磁盘加密集以前使用的密钥保管库密钥的只读集合。 如果没有正在进行的密钥轮换,它将为空。

provisioning_state
str

磁盘加密集预配状态。

rotation_to_latest_key_version_enabled
bool

将此标志设置为 true 以启用此磁盘加密集到最新密钥版本的自动更新。

last_key_rotation_timestamp
datetime

更新此磁盘加密集的活动密钥的时间。