Share via


KeyVaultSecretReference(Uri, WritableSubResource) Constructor

Definition

Initializes a new instance of KeyVaultSecretReference.

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

Parameters

secretUri
Uri

The URL referencing a secret in a Key Vault.

sourceVault
WritableSubResource

The relative URL of the Key Vault containing the secret.

Exceptions

secretUri or sourceVault is null.

Applies to