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 Azure.

Inheritance
azure.mgmt.compute.v2019_07_01.models._models_py3.Resource
DiskEncryptionSet

Constructor

DiskEncryptionSet(*, location: str, tags: Optional[Dict[str, str]] = None, identity: Optional[azure.mgmt.compute.v2019_07_01.models._models_py3.EncryptionSetIdentity] = None, active_key: Optional[azure.mgmt.compute.v2019_07_01.models._models_py3.KeyVaultAndKeyReference] = None, **kwargs)

Parameters

location
str
Required

Required. Resource location.

tags
dict[str, str]
Required

A set of tags. Resource tags.

identity
EncryptionSetIdentity
Required

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
KeyVaultAndKeyReference
Required

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

Variables

id
str

Resource Id.

name
str

Resource name.

type
str

Resource type.

previous_keys
list[KeyVaultAndKeyReference]

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.