Class SasAuthentication

java.lang.Object
com.azure.resourcemanager.deploymentmanager.models.Authentication
com.azure.resourcemanager.deploymentmanager.models.SasAuthentication

public final class SasAuthentication extends Authentication
Defines the properties to access the artifacts using an Azure Storage SAS URI.
  • Constructor Details

    • SasAuthentication

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

    • sasUri

      public String sasUri()
      Get the sasUri property: The SAS URI to the Azure Storage blob container. Any offset from the root of the container to where the artifacts are located can be defined in the artifactRoot.
      Returns:
      the sasUri value.
    • withSasUri

      public SasAuthentication withSasUri(String sasUri)
      Set the sasUri property: The SAS URI to the Azure Storage blob container. Any offset from the root of the container to where the artifacts are located can be defined in the artifactRoot.
      Parameters:
      sasUri - the sasUri value to set.
      Returns:
      the SasAuthentication object itself.
    • validate

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