Microsoft.DeploymentManager artifactSources 2018-09-01-preview

The artifactSources resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Template format

To create a Microsoft.DeploymentManager/artifactSources resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.DeploymentManager/artifactSources@2018-09-01-preview' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  properties: {
    artifactRoot: 'string'
    authentication: {
      type: 'string'
      // For remaining properties, see Authentication objects
    }
    sourceType: 'string'
  }
}

Authentication objects

Set the type property to specify the type of object.

For Sas, use:

  type: 'Sas'
  properties: {
    sasUri: 'string'
  }

Property values

artifactSources

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.DeploymentManager/artifactSources'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2018-09-01-preview'
name The resource name string (required)
location The geo-location where the resource lives string (required)
tags Resource tags. Dictionary of tag names and values. See Tags in templates
properties The properties that define the artifact source. ArtifactSourceProperties

ArtifactSourceProperties

Name Description Value
artifactRoot 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. string
authentication Defines the authentication method and properties to access the artifacts. Authentication (required)
sourceType The type of artifact source used. string (required)

Authentication

Name Description Value
type Set the object type Sas

SasAuthentication

Name Description Value
type The authentication type 'Sas'
properties The properties that define SAS authentication. SasProperties

SasProperties

Name Description Value
sasUri 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. string (required)