Class KeyVaultSecretReference

java.lang.Object
com.microsoft.azure.management.compute.KeyVaultSecretReference

public class KeyVaultSecretReference extends Object
Describes a reference to Key Vault Secret.
  • Constructor Details

    • KeyVaultSecretReference

      public KeyVaultSecretReference()
  • Method Details

    • secretUrl

      public String secretUrl()
      Get the URL referencing a secret in a Key Vault.
      Returns:
      the secretUrl value
    • withSecretUrl

      public KeyVaultSecretReference withSecretUrl(String secretUrl)
      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

      public KeyVaultSecretReference withSourceVault(com.microsoft.azure.SubResource sourceVault)
      Set the relative URL of the Key Vault containing the secret.
      Parameters:
      sourceVault - the sourceVault value to set
      Returns:
      the KeyVaultSecretReference object itself.