EncryptionSettingsCollection Class

Encryption settings for disk or snapshot.

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

Inheritance
azure.mgmt.compute._serialization.Model
EncryptionSettingsCollection

Constructor

EncryptionSettingsCollection(*, enabled: bool, encryption_settings: List[_models.EncryptionSettingsElement] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
enabled

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. Required.

encryption_settings

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

Variables

Name Description
enabled

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. Required.

encryption_settings

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