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.v2021_04_01.models._models_py3.ResourceDiskEncryptionSet
Constructor
DiskEncryptionSet(*, location: str, tags: Optional[Dict[str, str]] = None, identity: Optional[azure.mgmt.compute.v2021_04_01.models._models_py3.EncryptionSetIdentity] = None, encryption_type: Optional[Union[str, azure.mgmt.compute.v2021_04_01.models._compute_management_client_enums.DiskEncryptionSetType]] = None, active_key: Optional[azure.mgmt.compute.v2021_04_01.models._models_py3.KeyForDiskEncryptionSet] = None, rotation_to_latest_key_version_enabled: Optional[bool] = None, **kwargs)
Parameters
- identity
- EncryptionSetIdentity
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
- str or DiskEncryptionSetType
The type of key used to encrypt the data of the disk. Possible values include: "EncryptionAtRestWithCustomerKey", "EncryptionAtRestWithPlatformAndCustomerKeys".
- active_key
- KeyForDiskEncryptionSet
The key vault key which is currently used by this disk encryption set.
- rotation_to_latest_key_version_enabled
- bool
Set this flag to true to enable auto-updating of this disk encryption set to the latest key version.
Variables
- id
- str
Resource Id.
- name
- str
Resource name.
- type
- str
Resource type.
- previous_keys
- list[KeyForDiskEncryptionSet]
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.
- last_key_rotation_timestamp
- datetime
The time when the active key of this disk encryption set was updated.
- auto_key_rotation_error
- ApiError
The error that was encountered during auto-key rotation. If an error is present, then auto-key rotation will not be attempted until the error on this disk encryption set is fixed.
Feedback
Submit and view feedback for