Skip to content

Commit b5007f3

Browse files
authored
feat: fix build agent pool swagger (#17185)
1 parent 54ee1a9 commit b5007f3

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/appplatform.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2380,12 +2380,12 @@
23802380
"$ref": "#/parameters/BuildServiceAgentPoolNameParameter"
23812381
},
23822382
{
2383-
"name": "poolSize",
2383+
"name": "agentPoolResource",
23842384
"in": "body",
23852385
"description": "Parameters for the update operation",
23862386
"required": true,
23872387
"schema": {
2388-
"$ref": "#/definitions/BuildServiceAgentPoolSizeProperties"
2388+
"$ref": "#/definitions/BuildServiceAgentPoolResource"
23892389
}
23902390
}
23912391
],

specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/BuildServiceAgentPool_UpdatePut.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@
66
"serviceName": "myservice",
77
"buildServiceName": "default",
88
"agentPoolName": "default",
9-
"poolSize": {
10-
"name": "S3"
9+
"agentPoolResource": {
10+
"properties": {
11+
"poolSize": {
12+
"name": "S3"
13+
}
14+
}
1115
}
1216
},
1317
"responses": {

0 commit comments

Comments
 (0)