Share via


KeyVaultAndSecretReference(WritableSubResource, Uri) Constructor

Definition

Initializes a new instance of KeyVaultAndSecretReference.

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

Parameters

sourceVault
WritableSubResource

Resource id of the KeyVault containing the key or secret.

secretUri
Uri

Url pointing to a key or secret in KeyVault.

Exceptions

sourceVault or secretUri is null.

Applies to