Class ArtifactSourceProperties

java.lang.Object
com.azure.resourcemanager.deploymentmanager.models.ArtifactSourcePropertiesAutoGenerated
com.azure.resourcemanager.deploymentmanager.fluent.models.ArtifactSourceProperties

public final class ArtifactSourceProperties extends ArtifactSourcePropertiesAutoGenerated
The properties that define the artifact source.
  • Constructor Details

    • ArtifactSourceProperties

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

    • withSourceType

      public ArtifactSourceProperties withSourceType(String sourceType)
      Set the sourceType property: The type of artifact source used.
      Overrides:
      withSourceType in class ArtifactSourcePropertiesAutoGenerated
      Parameters:
      sourceType - the sourceType value to set.
      Returns:
      the ArtifactSourcePropertiesAutoGenerated object itself.
    • withArtifactRoot

      public ArtifactSourceProperties 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.
      Overrides:
      withArtifactRoot in class ArtifactSourcePropertiesAutoGenerated
      Parameters:
      artifactRoot - the artifactRoot value to set.
      Returns:
      the ArtifactSourcePropertiesAutoGenerated object itself.
    • withAuthentication

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

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