EncryptionSettingsCollection Class

Definition

Encryption settings for disk or snapshot

public class EncryptionSettingsCollection
type EncryptionSettingsCollection = class
Public Class EncryptionSettingsCollection
Inheritance
EncryptionSettingsCollection

Constructors

EncryptionSettingsCollection()

Initializes a new instance of the EncryptionSettingsCollection class.

EncryptionSettingsCollection(Boolean, IList<EncryptionSettingsElement>, String)

Initializes a new instance of the EncryptionSettingsCollection class.

Properties

Enabled

Gets or sets 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.

EncryptionSettings

Gets or sets a collection of encryption settings, one for each disk volume.

EncryptionSettingsVersion

Gets or sets describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.

Methods

Validate()

Validate the object.

Applies to