Skip to content

Commit db9788d

Browse files
[Hub Generated] Review request for Microsoft.DevOpsInfrastructure to add version preview/2023-10-30-preview (#26470)
* Generate new Service for devopsinfrastructure * add content * examples * more * pretty * up * make examples pretty * apis * omg * up * fix paths * up * ug * stop * up * tests * uf * changes * upup * up * gr * lets see * testing stuff * come on now... * up * more example fixes * pretty * Fix TypeSpec * remove * validation * when will the pain end?! * ugh * up * close * pf * circular * delete madness * fix * fixes * up * up * parity
1 parent 000a628 commit db9788d

24 files changed

+1753
-0
lines changed
Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
{
2+
"title": "Pools_CreateOrUpdate",
3+
"operationId": "Pools_CreateOrUpdate",
4+
"parameters": {
5+
"api-version": "2023-10-30-preview",
6+
"subscriptionId": "a2e95d27-c161-4b61-bda4-11512c14c2c2",
7+
"resourceGroupName": "rg",
8+
"poolName": "pool",
9+
"resource": {
10+
"location": "eastus",
11+
"properties": {
12+
"provisioningState": "Succeeded",
13+
"maximumConcurrency": 10,
14+
"devCenterProjectResourceId": "/subscriptions/222e81d0-cf38-4dab-baa5-289bf16baaa4/resourceGroups/rg-1es-devcenter/providers/Microsoft.DevCenter/projects/1ES",
15+
"organizationProfile": {
16+
"kind": "AzureDevOps",
17+
"organizations": [
18+
{
19+
"url": "https://mseng.visualstudio.com"
20+
}
21+
]
22+
},
23+
"agentProfile": {
24+
"kind": "Stateless"
25+
},
26+
"fabricProfile": {
27+
"kind": "Vmss",
28+
"sku": {
29+
"name": "Standard_D4ads_v5"
30+
},
31+
"images": [
32+
{
33+
"resourceId": "/MicrosoftWindowsServer/WindowsServer/2019-Datacenter/latest"
34+
}
35+
]
36+
}
37+
}
38+
}
39+
},
40+
"responses": {
41+
"201": {
42+
"headers": {
43+
"Azure-AsyncOperation": "https://contoso.com/operationstatus"
44+
},
45+
"body": {
46+
"properties": {
47+
"provisioningState": "Succeeded",
48+
"maximumConcurrency": 10,
49+
"devCenterProjectResourceId": "/subscriptions/222e81d0-cf38-4dab-baa5-289bf16baaa4/resourceGroups/rg-1es-devcenter/providers/Microsoft.DevCenter/projects/1ES",
50+
"organizationProfile": {
51+
"kind": "AzureDevOps",
52+
"organizations": [
53+
{
54+
"url": "https://mseng.visualstudio.com"
55+
}
56+
]
57+
},
58+
"agentProfile": {
59+
"kind": "Stateless"
60+
},
61+
"fabricProfile": {
62+
"kind": "Vmss",
63+
"sku": {
64+
"name": "Standard_D4ads_v5"
65+
},
66+
"images": [
67+
{
68+
"resourceId": "/MicrosoftWindowsServer/WindowsServer/2019-Datacenter/latest"
69+
}
70+
]
71+
}
72+
},
73+
"id": "/subscriptions/a2e95d27-c161-4b61-bda4-11512c14c2c2/resourceGroups/rg/providers/Microsoft.DevOpsInfrastructure/Pools/pool",
74+
"location": "eastus"
75+
}
76+
},
77+
"200": {
78+
"body": {
79+
"properties": {
80+
"provisioningState": "Succeeded",
81+
"maximumConcurrency": 10,
82+
"devCenterProjectResourceId": "/subscriptions/222e81d0-cf38-4dab-baa5-289bf16baaa4/resourceGroups/rg-1es-devcenter/providers/Microsoft.DevCenter/projects/1ES",
83+
"organizationProfile": {
84+
"kind": "AzureDevOps",
85+
"organizations": [
86+
{
87+
"url": "https://mseng.visualstudio.com"
88+
}
89+
]
90+
},
91+
"agentProfile": {
92+
"kind": "Stateless"
93+
},
94+
"fabricProfile": {
95+
"kind": "Vmss",
96+
"sku": {
97+
"name": "Standard_D4ads_v5"
98+
},
99+
"images": [
100+
{
101+
"resourceId": "/MicrosoftWindowsServer/WindowsServer/2019-Datacenter/latest"
102+
}
103+
]
104+
}
105+
},
106+
"id": "/subscriptions/a2e95d27-c161-4b61-bda4-11512c14c2c2/resourceGroups/rg/providers/Microsoft.DevOpsInfrastructure/Pools/pool",
107+
"location": "eastus"
108+
}
109+
}
110+
}
111+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"title": "Pools_Delete",
3+
"operationId": "Pools_Delete",
4+
"parameters": {
5+
"api-version": "2023-10-30-preview",
6+
"subscriptionId": "a2e95d27-c161-4b61-bda4-11512c14c2c2",
7+
"resourceGroupName": "rg",
8+
"poolName": "pool"
9+
},
10+
"responses": {
11+
"202": {
12+
"headers": {
13+
"location": "https://contoso.com/operationstatus"
14+
}
15+
},
16+
"204": {}
17+
}
18+
}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"title": "Pools_Get",
3+
"operationId": "Pools_Get",
4+
"parameters": {
5+
"api-version": "2023-10-30-preview",
6+
"subscriptionId": "a2e95d27-c161-4b61-bda4-11512c14c2c2",
7+
"resourceGroupName": "rg",
8+
"poolName": "pool"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"properties": {
14+
"provisioningState": "Succeeded",
15+
"maximumConcurrency": 10,
16+
"devCenterProjectResourceId": "/subscriptions/222e81d0-cf38-4dab-baa5-289bf16baaa4/resourceGroups/rg-1es-devcenter/providers/Microsoft.DevCenter/projects/1ES",
17+
"organizationProfile": {
18+
"kind": "AzureDevOps",
19+
"organizations": [
20+
{
21+
"url": "https://mseng.visualstudio.com"
22+
}
23+
]
24+
},
25+
"agentProfile": {
26+
"kind": "Stateless"
27+
},
28+
"fabricProfile": {
29+
"kind": "Vmss",
30+
"sku": {
31+
"name": "Standard_D4ads_v5"
32+
},
33+
"images": [
34+
{
35+
"resourceId": "/MicrosoftWindowsServer/WindowsServer/2019-Datacenter/latest"
36+
}
37+
]
38+
}
39+
},
40+
"id": "/subscriptions/a2e95d27-c161-4b61-bda4-11512c14c2c2/resourceGroups/rg/providers/Microsoft.DevOpsInfrastructure/Pools/pool",
41+
"location": "eastus"
42+
}
43+
}
44+
}
45+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"title": "Operations_List",
3+
"operationId": "Operations_List",
4+
"parameters": {
5+
"api-version": "2023-10-30-preview"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {}
10+
}
11+
}
12+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"title": "Pools_ListBySubscription",
3+
"operationId": "Pools_ListBySubscription",
4+
"parameters": {
5+
"api-version": "2023-10-30-preview",
6+
"subscriptionId": "a2e95d27-c161-4b61-bda4-11512c14c2c2"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/a2e95d27-c161-4b61-bda4-11512c14c2c2/resourceGroups/aoiresourceGroupName/providers/Microsoft.DevOpsInfrastructure/Pools/pool",
14+
"location": "eastus"
15+
}
16+
]
17+
}
18+
}
19+
}
20+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"title": "Pools_ListByResourceGroup",
3+
"operationId": "Pools_ListByResourceGroup",
4+
"parameters": {
5+
"api-version": "2023-10-30-preview",
6+
"subscriptionId": "a2e95d27-c161-4b61-bda4-11512c14c2c2",
7+
"resourceGroupName": "rg"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"value": [
13+
{
14+
"id": "/subscriptions/a2e95d27-c161-4b61-bda4-11512c14c2c2/resourceGroups/rg/providers/Microsoft.DevOpsInfrastructure/Pools/pool",
15+
"location": "eastus"
16+
}
17+
]
18+
}
19+
}
20+
}
21+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"title": "Pools_Update",
3+
"operationId": "Pools_Update",
4+
"parameters": {
5+
"api-version": "2023-10-30-preview",
6+
"subscriptionId": "a2e95d27-c161-4b61-bda4-11512c14c2c2",
7+
"resourceGroupName": "rg",
8+
"poolName": "pool",
9+
"properties": {}
10+
},
11+
"responses": {
12+
"200": {
13+
"body": {
14+
"location": "eastus"
15+
}
16+
},
17+
"202": {
18+
"headers": {
19+
"location": "https://contoso.com/operationstatus"
20+
}
21+
}
22+
}
23+
}

0 commit comments

Comments
 (0)