Microsoft.DeploymentManager artifactSources template reference

Template format

To create a Microsoft.DeploymentManager/artifactSources resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.DeploymentManager/artifactSources",
  "apiVersion": "2018-09-01-preview",
  "tags": {},
  "location": "string",
  "properties": {
    "sourceType": "string",
    "artifactRoot": "string",
    "authentication": {
      "type": "string",
      "properties": {
        "sasUri": "string"
      }
    }
  }
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.DeploymentManager/artifactSources object

Name Type Required Value
name string Yes The name of the artifact source.
type enum Yes Microsoft.DeploymentManager/artifactSources
apiVersion enum Yes 2018-09-01-preview
tags object No Resource tags.
location string Yes The geo-location where the resource lives
properties object Yes The properties that define the artifact source. - ArtifactSourceProperties object

ArtifactSourceProperties object

Name Type Required Value
sourceType string Yes The type of artifact source used.
artifactRoot string No 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.
authentication object Yes The authentication method to use to access the artifact source. - Authentication object

Authentication object

Name Type Required Value
type string Yes The authentication type - Sas
properties.sasUri string Yes 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.