Share via


KeyVaultKeyReference(Uri, WritableSubResource) Constructor

Definition

Initializes a new instance of KeyVaultKeyReference.

public KeyVaultKeyReference (Uri keyUri, Azure.ResourceManager.Resources.Models.WritableSubResource sourceVault);
new Azure.ResourceManager.Compute.Models.KeyVaultKeyReference : Uri * Azure.ResourceManager.Resources.Models.WritableSubResource -> Azure.ResourceManager.Compute.Models.KeyVaultKeyReference
Public Sub New (keyUri As Uri, sourceVault As WritableSubResource)

Parameters

keyUri
Uri

The URL referencing a key encryption key in Key Vault.

sourceVault
WritableSubResource

The relative URL of the Key Vault containing the key.

Exceptions

keyUri or sourceVault is null.

Applies to