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

DiskEncryptionSet Class

disk encryption set resource.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to server.

Constructor

DiskEncryptionSet(*, ___location: str, tags: Dict[str, str] | None = None, identity: _models.EncryptionSetIdentity | None = None, active_key: _models.KeyVaultAndKeyReference | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
___location
str

Resource ___location. Required.

tags

Resource tags.

Default value: None
identity

The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.

Default value: None
active_key

The key vault key which is currently used by this disk encryption set.

Default value: None

Variables

Name Description
id
str

Resource Id.

name
str

Resource name.

type
str

Resource type.

___location
str

Resource ___location. Required.

tags

Resource tags.

identity

The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.

active_key

The key vault key which is currently used by this disk encryption set.

previous_keys

A readonly collection of key vault keys previously used by this disk encryption set while a key rotation is in progress. It will be empty if there is no ongoing key rotation.

provisioning_state
str

The disk encryption set provisioning state.