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