KeyVaultSecretReference Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| KeyVaultSecretReference(Uri) |
Initializes a new instance of KeyVaultSecretReference. |
| KeyVaultSecretReference(Uri, WritableSubResource) |
Initializes a new instance of KeyVaultSecretReference. |
KeyVaultSecretReference(Uri)
- Source:
- KeyVaultSecretReference.cs
Initializes a new instance of KeyVaultSecretReference.
public KeyVaultSecretReference(Uri secretUri);
new Azure.ResourceManager.Compute.Models.KeyVaultSecretReference : Uri -> Azure.ResourceManager.Compute.Models.KeyVaultSecretReference
Public Sub New (secretUri As Uri)
Parameters
- secretUri
- Uri
The URL referencing a secret in a Key Vault.
Exceptions
secretUri is null.
Applies to
KeyVaultSecretReference(Uri, WritableSubResource)
- Source:
- KeyVaultSecretReference.cs
- Source:
- KeyVaultSecretReference.cs
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
Url pointing to a key or secret in KeyVault.
- sourceVault
- WritableSubResource
Resource id of the KeyVault containing the key or secret.
Exceptions
secretUri or sourceVault is null.