다음을 통해 공유


EncryptionSettingsCollection Constructors

Definition

Overloads

EncryptionSettingsCollection()

Initializes a new instance of the EncryptionSettingsCollection class.

EncryptionSettingsCollection(Boolean, IList<EncryptionSettingsElement>, String)

Initializes a new instance of the EncryptionSettingsCollection class.

EncryptionSettingsCollection()

Initializes a new instance of the EncryptionSettingsCollection class.

public EncryptionSettingsCollection ();
Public Sub New ()

Applies to

EncryptionSettingsCollection(Boolean, IList<EncryptionSettingsElement>, String)

Initializes a new instance of the EncryptionSettingsCollection class.

public EncryptionSettingsCollection (bool enabled, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.EncryptionSettingsElement> encryptionSettings = default, string encryptionSettingsVersion = default);
new Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection : bool * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.EncryptionSettingsElement> * string -> Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection
Public Sub New (enabled As Boolean, Optional encryptionSettings As IList(Of EncryptionSettingsElement) = Nothing, Optional encryptionSettingsVersion As String = Nothing)

Parameters

enabled
Boolean

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
IList<EncryptionSettingsElement>

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

encryptionSettingsVersion
String

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.

Applies to