Microsoft.Web sourcecontrols 2016-03-01

The sourcecontrols resource type can be deployed to: Tenants.

To learn about tenant deployments, see Bicep or ARM template

Template format

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

resource symbolicname 'Microsoft.Web/sourcecontrols@2016-03-01' = {
  name: 'string'
  kind: 'string'
  properties: {
    expirationTime: 'string'
    name: 'string'
    refreshToken: 'string'
    token: 'string'
    tokenSecret: 'string'
  }
}

Property values

sourcecontrols

Name Description Value
type The resource type

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

For Bicep, set this value in the resource declaration.
'2016-03-01'
name The resource name string (required)
kind Kind of resource. string
properties SourceControl resource specific properties SourceControlProperties

SourceControlProperties

Name Description Value
expirationTime OAuth token expiration. string
name Name or source control type. string
refreshToken OAuth refresh token. string
token OAuth access token. string
tokenSecret OAuth access token secret. string