EncryptionSettingsCollection Class

Encryption settings for disk or snapshot.

All required parameters must be populated in order to send to Azure.

Inheritance
EncryptionSettingsCollection

Constructor

EncryptionSettingsCollection(*, enabled: bool, encryption_settings: Optional[List[azure.mgmt.compute.v2018_09_30.models._models_py3.EncryptionSettingsElement]] = None, **kwargs)

Parameters

enabled
bool
Required

Required. Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.

encryption_settings
list[EncryptionSettingsElement]
Required

A collection of encryption settings, one for each disk volume.