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.
- Inheritance
-
azure.mgmt.compute.v2020_06_30.models._models_py3.ResourceDiskEncryptionSet
Constructor
DiskEncryptionSet(*, location: str, tags: Dict[str, str] | None = None, identity: _models.EncryptionSetIdentity | None = None, encryption_type: str | _models.DiskEncryptionSetType | None = None, active_key: _models.KeyVaultAndKeyReference | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
location
|
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. |
encryption_type
|
The type of key used to encrypt the data of the disk. Known values are: "EncryptionAtRestWithCustomerKey" and "EncryptionAtRestWithPlatformAndCustomerKeys". |
active_key
|
The key vault key which is currently used by this disk encryption set. |
Variables
Name | Description |
---|---|
id
|
Resource Id. |
name
|
Resource name. |
type
|
Resource type. |
location
|
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. |
encryption_type
|
The type of key used to encrypt the data of the disk. Known values are: "EncryptionAtRestWithCustomerKey" and "EncryptionAtRestWithPlatformAndCustomerKeys". |
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
|
The disk encryption set provisioning state. |
Azure SDK for Python