Class KeyVaultSecretReference
java.lang.Object
com.microsoft.azure.management.compute.KeyVaultSecretReference
Describes a reference to Key Vault Secret.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the URL referencing a secret in a Key Vault.com.microsoft.azure.SubResource
Get the relative URL of the Key Vault containing the secret.withSecretUrl
(String secretUrl) Set the URL referencing a secret in a Key Vault.withSourceVault
(com.microsoft.azure.SubResource sourceVault) Set the relative URL of the Key Vault containing the secret.
-
Constructor Details
-
KeyVaultSecretReference
public KeyVaultSecretReference()
-
-
Method Details
-
secretUrl
Get the URL referencing a secret in a Key Vault.- Returns:
- the secretUrl value
-
withSecretUrl
Set the URL referencing a secret in a Key Vault.- Parameters:
secretUrl
- the secretUrl value to set- Returns:
- the KeyVaultSecretReference object itself.
-
sourceVault
public com.microsoft.azure.SubResource sourceVault()Get the relative URL of the Key Vault containing the secret.- Returns:
- the sourceVault value
-
withSourceVault
Set the relative URL of the Key Vault containing the secret.- Parameters:
sourceVault
- the sourceVault value to set- Returns:
- the KeyVaultSecretReference object itself.
-