ArmComputeModelFactory.EncryptionSettingsElement Method

Definition

public static Azure.ResourceManager.Compute.Models.EncryptionSettingsElement EncryptionSettingsElement(Azure.ResourceManager.Compute.Models.KeyVaultAndSecretReference diskEncryptionKey = default, Azure.ResourceManager.Compute.Models.KeyVaultAndKeyReference keyEncryptionKey = default);
static member EncryptionSettingsElement : Azure.ResourceManager.Compute.Models.KeyVaultAndSecretReference * Azure.ResourceManager.Compute.Models.KeyVaultAndKeyReference -> Azure.ResourceManager.Compute.Models.EncryptionSettingsElement
Public Shared Function EncryptionSettingsElement (Optional diskEncryptionKey As KeyVaultAndSecretReference = Nothing, Optional keyEncryptionKey As KeyVaultAndKeyReference = Nothing) As EncryptionSettingsElement

Parameters

diskEncryptionKey
KeyVaultAndSecretReference

Key Vault Secret Url and vault id of the disk encryption key.

keyEncryptionKey
KeyVaultAndKeyReference

Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.

Returns

A new EncryptionSettingsElement instance for mocking.

Applies to