DiskEncryptionSettings Constructors

Definition

Overloads

DiskEncryptionSettings()

Initializes a new instance of the DiskEncryptionSettings class.

DiskEncryptionSettings(KeyVaultSecretReference, KeyVaultKeyReference, Nullable<Boolean>)

Initializes a new instance of the DiskEncryptionSettings class.

DiskEncryptionSettings()

Initializes a new instance of the DiskEncryptionSettings class.

public DiskEncryptionSettings ();
Public Sub New ()

Applies to

DiskEncryptionSettings(KeyVaultSecretReference, KeyVaultKeyReference, Nullable<Boolean>)

Initializes a new instance of the DiskEncryptionSettings class.

public DiskEncryptionSettings (Microsoft.Azure.Management.Compute.Models.KeyVaultSecretReference diskEncryptionKey = default, Microsoft.Azure.Management.Compute.Models.KeyVaultKeyReference keyEncryptionKey = default, bool? enabled = default);
new Microsoft.Azure.Management.Compute.Models.DiskEncryptionSettings : Microsoft.Azure.Management.Compute.Models.KeyVaultSecretReference * Microsoft.Azure.Management.Compute.Models.KeyVaultKeyReference * Nullable<bool> -> Microsoft.Azure.Management.Compute.Models.DiskEncryptionSettings
Public Sub New (Optional diskEncryptionKey As KeyVaultSecretReference = Nothing, Optional keyEncryptionKey As KeyVaultKeyReference = Nothing, Optional enabled As Nullable(Of Boolean) = Nothing)

Parameters

diskEncryptionKey
KeyVaultSecretReference

Specifies the location of the disk encryption key, which is a Key Vault Secret.

keyEncryptionKey
KeyVaultKeyReference

Specifies the location of the key encryption key in Key Vault.

enabled
Nullable<Boolean>

Specifies whether disk encryption should be enabled on the virtual machine.

Applies to