-
Notifications
You must be signed in to change notification settings - Fork 5k
/
Catalogs_CreateGitHub.json
46 lines (46 loc) · 1.46 KB
/
Catalogs_CreateGitHub.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
45
46
{
"parameters": {
"api-version": "2023-04-01",
"subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58ffff",
"resourceGroupName": "rg1",
"devCenterName": "Contoso",
"catalogName": "CentralCatalog",
"body": {
"properties": {
"gitHub": {
"uri": "https://github.com/Contoso/centralrepo-fake.git",
"branch": "main",
"secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat",
"path": "/templates"
}
}
}
},
"responses": {
"201": {
"body": {
"id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/catalogs/CentralCatalog",
"name": "CentralCatalog",
"type": "Microsoft.DevCenter/devcenters/catalogs",
"properties": {
"gitHub": {
"uri": "https://github.com/Contoso/centralrepo-fake.git",
"branch": "main",
"secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat",
"path": "/templates"
},
"provisioningState": "Accepted",
"syncState": "Succeeded"
},
"systemData": {
"createdBy": "User1",
"createdByType": "User",
"createdAt": "2020-11-18T18:24:24.818Z",
"lastModifiedBy": "User1",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-11-18T18:24:24.818Z"
}
}
}
}
}