java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.deploymentmanager.fluent.models.ArtifactSourceInner

public final class ArtifactSourceInner extends com.azure.core.management.Resource
The resource that defines the source location where the artifacts are located.
  • Constructor Details

    • ArtifactSourceInner

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

    • withLocation

      public ArtifactSourceInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public ArtifactSourceInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • sourceType

      public String sourceType()
      Get the sourceType property: The type of artifact source used.
      Returns:
      the sourceType value.
    • withSourceType

      public ArtifactSourceInner withSourceType(String sourceType)
      Set the sourceType property: The type of artifact source used.
      Parameters:
      sourceType - the sourceType value to set.
      Returns:
      the ArtifactSourceInner object itself.
    • artifactRoot

      public String artifactRoot()
      Get the artifactRoot property: The path from the location that the 'authentication' property [say, a SAS URI to the blob container] refers to, to the location of the artifacts. This can be used to differentiate different versions of the artifacts. Or, different types of artifacts like binaries or templates. The location referenced by the authentication property concatenated with this optional artifactRoot path forms the artifact source location where the artifacts are expected to be found.
      Returns:
      the artifactRoot value.
    • withArtifactRoot

      public ArtifactSourceInner withArtifactRoot(String artifactRoot)
      Set the artifactRoot property: The path from the location that the 'authentication' property [say, a SAS URI to the blob container] refers to, to the location of the artifacts. This can be used to differentiate different versions of the artifacts. Or, different types of artifacts like binaries or templates. The location referenced by the authentication property concatenated with this optional artifactRoot path forms the artifact source location where the artifacts are expected to be found.
      Parameters:
      artifactRoot - the artifactRoot value to set.
      Returns:
      the ArtifactSourceInner object itself.
    • authentication

      public Authentication authentication()
      Get the authentication property: The authentication method to use to access the artifact source.
      Returns:
      the authentication value.
    • withAuthentication

      public ArtifactSourceInner withAuthentication(Authentication authentication)
      Set the authentication property: The authentication method to use to access the artifact source.
      Parameters:
      authentication - the authentication value to set.
      Returns:
      the ArtifactSourceInner object itself.
    • validate

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