Class ServiceUnitArtifacts

java.lang.Object
com.azure.resourcemanager.deploymentmanager.models.ServiceUnitArtifacts

public final class ServiceUnitArtifacts extends Object
Defines the artifacts of a service unit.
  • Constructor Details

    • ServiceUnitArtifacts

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

    • templateUri

      public String templateUri()
      Get the templateUri property: The full URI of the ARM template file with the SAS token.
      Returns:
      the templateUri value.
    • withTemplateUri

      public ServiceUnitArtifacts withTemplateUri(String templateUri)
      Set the templateUri property: The full URI of the ARM template file with the SAS token.
      Parameters:
      templateUri - the templateUri value to set.
      Returns:
      the ServiceUnitArtifacts object itself.
    • parametersUri

      public String parametersUri()
      Get the parametersUri property: The full URI of the ARM parameters file with the SAS token.
      Returns:
      the parametersUri value.
    • withParametersUri

      public ServiceUnitArtifacts withParametersUri(String parametersUri)
      Set the parametersUri property: The full URI of the ARM parameters file with the SAS token.
      Parameters:
      parametersUri - the parametersUri value to set.
      Returns:
      the ServiceUnitArtifacts object itself.
    • templateArtifactSourceRelativePath

      public String templateArtifactSourceRelativePath()
      Get the templateArtifactSourceRelativePath property: The path to the ARM template file relative to the artifact source.
      Returns:
      the templateArtifactSourceRelativePath value.
    • withTemplateArtifactSourceRelativePath

      public ServiceUnitArtifacts withTemplateArtifactSourceRelativePath(String templateArtifactSourceRelativePath)
      Set the templateArtifactSourceRelativePath property: The path to the ARM template file relative to the artifact source.
      Parameters:
      templateArtifactSourceRelativePath - the templateArtifactSourceRelativePath value to set.
      Returns:
      the ServiceUnitArtifacts object itself.
    • parametersArtifactSourceRelativePath

      public String parametersArtifactSourceRelativePath()
      Get the parametersArtifactSourceRelativePath property: The path to the ARM parameters file relative to the artifact source.
      Returns:
      the parametersArtifactSourceRelativePath value.
    • withParametersArtifactSourceRelativePath

      public ServiceUnitArtifacts withParametersArtifactSourceRelativePath(String parametersArtifactSourceRelativePath)
      Set the parametersArtifactSourceRelativePath property: The path to the ARM parameters file relative to the artifact source.
      Parameters:
      parametersArtifactSourceRelativePath - the parametersArtifactSourceRelativePath value to set.
      Returns:
      the ServiceUnitArtifacts object itself.
    • validate

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