From b4bf2a0639756fad8c61c6d13d152af1782c4fad Mon Sep 17 00:00:00 2001 From: Fenqin Zhou Date: Tue, 28 Dec 2021 18:11:49 +0800 Subject: [PATCH] feat: fix build agent pool swagger --- .../preview/2022-01-01-preview/appplatform.json | 4 ++-- .../examples/BuildServiceAgentPool_UpdatePut.json | 8 ++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/appplatform.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/appplatform.json index 28f20cfd28b7..e2f28e8d03fc 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/appplatform.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/appplatform.json @@ -2380,12 +2380,12 @@ "$ref": "#/parameters/BuildServiceAgentPoolNameParameter" }, { - "name": "poolSize", + "name": "agentPoolResource", "in": "body", "description": "Parameters for the update operation", "required": true, "schema": { - "$ref": "#/definitions/BuildServiceAgentPoolSizeProperties" + "$ref": "#/definitions/BuildServiceAgentPoolResource" } } ], diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/BuildServiceAgentPool_UpdatePut.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/BuildServiceAgentPool_UpdatePut.json index 0188f7d0166a..8e94efd98bec 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/BuildServiceAgentPool_UpdatePut.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/BuildServiceAgentPool_UpdatePut.json @@ -6,8 +6,12 @@ "serviceName": "myservice", "buildServiceName": "default", "agentPoolName": "default", - "poolSize": { - "name": "S3" + "agentPoolResource": { + "properties": { + "poolSize": { + "name": "S3" + } + } } }, "responses": {