Microsoft.Web sourcecontrols 2015-08-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@2015-08-01' = {
name: 'string'
location: 'string'
tags: {
tagName1: 'tagValue1'
tagName2: 'tagValue2'
}
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. |
'2015-08-01' |
| name | The resource name | string (required) |
| location | Resource Location | string (required) |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
| kind | Kind of resource | string |
| 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 |