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_12_01.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.KeyForDiskEncryptionSet | None = None, rotation_to_latest_key_version_enabled: bool | 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. |
rotation_to_latest_key_version_enabled
|
Set this flag to true to enable auto-updating of this disk encryption set to the latest key version. |
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. |
rotation_to_latest_key_version_enabled
|
Set this flag to true to enable auto-updating of this disk encryption set to the latest key version. |
last_key_rotation_timestamp
|
The time when the active key of this disk encryption set was updated. |
Azure SDK for Python