Encryption Class

Encryption at rest settings for disk or snapshot.

Inheritance
Encryption

Constructor

Encryption(*, disk_encryption_set_id: Optional[str] = None, type: Optional[Union[str, azure.mgmt.compute.v2020_12_01.models._compute_management_client_enums.EncryptionType]] = None, **kwargs)

Parameters

disk_encryption_set_id
str
Required

ResourceId of the disk encryption set to use for enabling encryption at rest.

type
str or EncryptionType
Required

The type of key used to encrypt the data of the disk. Possible values include: "EncryptionAtRestWithPlatformKey", "EncryptionAtRestWithCustomerKey", "EncryptionAtRestWithPlatformAndCustomerKeys".