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

Product Introduced

DiskEncryptionSettings(KeyVaultSecretReference, KeyVaultKeyReference, Nullable<Boolean>)

Initializes a new instance of the DiskEncryptionSettings class.

public DiskEncryptionSettings (Microsoft.Azure.Management.Compute.Models.KeyVaultSecretReference diskEncryptionKey = null, Microsoft.Azure.Management.Compute.Models.KeyVaultKeyReference keyEncryptionKey = null, Nullable<bool> enabled = null);
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 = null, Optional keyEncryptionKey As KeyVaultKeyReference = null, Optional enabled As Nullable(Of Boolean) = null)

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

Product Introduced