ArmComputeModelFactory.DiskEncryptionSettings Method

Definition

public static Azure.ResourceManager.Compute.Models.DiskEncryptionSettings DiskEncryptionSettings(Azure.ResourceManager.Compute.Models.KeyVaultSecretReference diskEncryptionKey = default, Azure.ResourceManager.Compute.Models.KeyVaultKeyReference keyEncryptionKey = default, bool? enabled = default);
static member DiskEncryptionSettings : Azure.ResourceManager.Compute.Models.KeyVaultSecretReference * Azure.ResourceManager.Compute.Models.KeyVaultKeyReference * Nullable<bool> -> Azure.ResourceManager.Compute.Models.DiskEncryptionSettings
Public Shared Function DiskEncryptionSettings (Optional diskEncryptionKey As KeyVaultSecretReference = Nothing, Optional keyEncryptionKey As KeyVaultKeyReference = Nothing, Optional enabled As Nullable(Of Boolean) = Nothing) As DiskEncryptionSettings

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.

Returns

A new DiskEncryptionSettings instance for mocking.

Applies to