KeyVaultKeyReference 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 |
|---|---|
| KeyVaultKeyReference(Uri) |
Initializes a new instance of KeyVaultKeyReference. |
| KeyVaultKeyReference(Uri, WritableSubResource) |
Initializes a new instance of KeyVaultKeyReference. |
KeyVaultKeyReference(Uri)
- Source:
- KeyVaultKeyReference.cs
Initializes a new instance of KeyVaultKeyReference.
public KeyVaultKeyReference(Uri keyUri);
new Azure.ResourceManager.Compute.Models.KeyVaultKeyReference : Uri -> Azure.ResourceManager.Compute.Models.KeyVaultKeyReference
Public Sub New (keyUri As Uri)
Parameters
- keyUri
- Uri
The URL referencing a key encryption key in Key Vault.
Exceptions
keyUri is null.
Applies to
KeyVaultKeyReference(Uri, WritableSubResource)
- Source:
- KeyVaultKeyReference.cs
- Source:
- KeyVaultKeyReference.cs
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
Url pointing to a key or secret in KeyVault.
- sourceVault
- WritableSubResource
Resource id of the KeyVault containing the key or secret.
Exceptions
keyUri or sourceVault is null.