Class KeyVaultSecretReference
Describes a reference to Key Vault Secret
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Compute.dll
Syntax
public class KeyVaultSecretReference
Constructors
KeyVaultSecretReference()
Initializes a new instance of the KeyVaultSecretReference class.
Declaration
public KeyVaultSecretReference ();
KeyVaultSecretReference(String, SubResource)
Initializes a new instance of the KeyVaultSecretReference class.
Declaration
public KeyVaultSecretReference (string secretUrl, Microsoft.Azure.Management.Compute.Models.SubResource sourceVault);
Parameters
|
String
secretUrl
The URL referencing a secret in a Key Vault. |
|
SubResource
sourceVault
The relative URL of the Key Vault containing the secret. |
Properties
SecretUrl
Gets or sets the URL referencing a secret in a Key Vault.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="secretUrl")]
public string SecretUrl { get; set; }
Property Value
|
String
|
SourceVault
Gets or sets the relative URL of the Key Vault containing the secret.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="sourceVault")]
public Microsoft.Azure.Management.Compute.Models.SubResource SourceVault { get; set; }
Property Value
|
SubResource
|
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate ();
Exceptions
|
ValidationException
Thrown if validation fails |