-
Notifications
You must be signed in to change notification settings - Fork 4.9k
/
GitHubConnectorCreateOrUpdate.json
44 lines (44 loc) · 1.55 KB
/
GitHubConnectorCreateOrUpdate.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "westusrg",
"gitHubConnectorName": "testconnector",
"api-version": "2022-09-01-preview",
"gitHubConnector": {
"location": "West US",
"properties": {
"code": "00000000000000000000"
}
}
},
"responses": {
"201": {
"headers": {
"Azure-AsyncOperation": "https://api-prod.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SecurityDevOps/locations/WESTUS/operationStatuses/7e430d08-0ed2-4566-bcdc-3508e79f51cd*0000000000000000000000000000000000000000000000000000000000000000?api-version=2022-09-01-preview"
},
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/westusrg/providers/Microsoft.SecurityDevOps/gitHubConnectors/testconnector",
"name": "testconnector",
"type": "microsoft.securitydevops/githubconnectors",
"location": "West US",
"tags": {},
"properties": {
"provisioningState": "Accepted"
}
}
},
"200": {
"headers": {},
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/westusrg/providers/Microsoft.SecurityDevOps/gitHubConnectors/testconnector",
"name": "testconnector",
"type": "microsoft.securitydevops/githubconnectors",
"location": "West US",
"tags": {},
"properties": {
"provisioningState": "Succeeded"
}
}
}
}
}