Class CloudServiceVaultAndSecretReference

java.lang.Object
com.azure.resourcemanager.compute.models.CloudServiceVaultAndSecretReference

public final class CloudServiceVaultAndSecretReference extends Object
Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance.
  • Constructor Details

    • CloudServiceVaultAndSecretReference

      public CloudServiceVaultAndSecretReference()
      Creates an instance of CloudServiceVaultAndSecretReference class.
  • Method Details

    • sourceVault

      public com.azure.core.management.SubResource sourceVault()
      Get the sourceVault property: The ARM Resource ID of the Key Vault.
      Returns:
      the sourceVault value.
    • withSourceVault

      public CloudServiceVaultAndSecretReference withSourceVault(com.azure.core.management.SubResource sourceVault)
      Set the sourceVault property: The ARM Resource ID of the Key Vault.
      Parameters:
      sourceVault - the sourceVault value to set.
      Returns:
      the CloudServiceVaultAndSecretReference object itself.
    • secretUrl

      public String secretUrl()
      Get the secretUrl property: Secret URL which contains the protected settings of the extension.
      Returns:
      the secretUrl value.
    • withSecretUrl

      public CloudServiceVaultAndSecretReference withSecretUrl(String secretUrl)
      Set the secretUrl property: Secret URL which contains the protected settings of the extension.
      Parameters:
      secretUrl - the secretUrl value to set.
      Returns:
      the CloudServiceVaultAndSecretReference object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.