Microsoft.DevTestLab labs/artifactsources 2015-05-21-preview

The labs/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.DevTestLab/labs/artifactsources resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.DevTestLab/labs/artifactsources@2015-05-21-preview' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  properties: {
    branchRef: 'string'
    displayName: 'string'
    folderPath: 'string'
    provisioningState: 'string'
    securityToken: 'string'
    sourceType: 'string'
    status: 'string'
    uri: 'string'
  }
}

Property values

labs/artifactsources

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.DevTestLab/labs/artifactsources'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2015-05-21-preview'
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
string (required)
location The location of the resource. string
tags The tags of the resource. Dictionary of tag names and values. See Tags in templates
properties Properties of an artifact source. ArtifactSourceProperties

ArtifactSourceProperties

Name Description Value
branchRef The branch reference of the artifact source. string
displayName The display name of the artifact source. string
folderPath The folder path of the artifact source. string
provisioningState The provisioning status of the resource. string
securityToken The security token of the artifact source. string
sourceType The type of the artifact source. 'GitHub'
'VsoGit'
status The status of the artifact source. 'Disabled'
'Enabled'
uri The URI of the artifact source. string