From 8d5c130c7a962fc80df9b78eb29b18297f9f5597 Mon Sep 17 00:00:00 2001 From: Naveed Aziz Date: Thu, 16 Jun 2022 01:16:48 -0700 Subject: [PATCH 1/2] Adds numberOfWorkers to app service plan --- .../Microsoft.Web/stable/2022-03-01/AppServicePlans.json | 6 ++++++ .../Microsoft.Web/stable/2022-03-01/CommonDefinitions.json | 6 ++++++ .../stable/2022-03-01/examples/GetAppServicePlan.json | 1 + .../stable/2022-03-01/examples/ListAppServicePlans.json | 2 ++ .../examples/ListAppServicePlansByResourceGroup.json | 2 ++ 5 files changed, 17 insertions(+) diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/AppServicePlans.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/AppServicePlans.json index 6712693bdb11..0bddbb38597b 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/AppServicePlans.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/AppServicePlans.json @@ -1508,6 +1508,12 @@ "type": "integer", "readOnly": true }, + "numberOfWorkers": { + "format": "int32", + "description": "The number of instances that are assigned to this App Service plan.", + "type": "integer", + "readOnly": true + }, "geoRegion": { "description": "Geographical location for the App Service plan.", "type": "string", diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/CommonDefinitions.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/CommonDefinitions.json index 57d191e8e32f..6db7c800e02c 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/CommonDefinitions.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/CommonDefinitions.json @@ -272,6 +272,12 @@ "type": "integer", "readOnly": true }, + "numberOfWorkers": { + "format": "int32", + "description": "The number of instances that are assigned to this App Service plan.", + "type": "integer", + "readOnly": true + }, "geoRegion": { "description": "Geographical location for the App Service plan.", "type": "string", diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/GetAppServicePlan.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/GetAppServicePlan.json index 3c0a30dd43f4..5728ba0d3af9 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/GetAppServicePlan.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/GetAppServicePlan.json @@ -17,6 +17,7 @@ "properties": { "status": "Ready", "maximumNumberOfWorkers": 20, + "numberOfWorkers": 19, "geoRegion": "East US", "numberOfSites": 4, "isSpot": false, diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/ListAppServicePlans.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/ListAppServicePlans.json index 0fe0027615a8..da639ad6da88 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/ListAppServicePlans.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/ListAppServicePlans.json @@ -17,6 +17,7 @@ "properties": { "status": "Ready", "maximumNumberOfWorkers": 20, + "numberOfWorkers": 19, "geoRegion": "East US", "numberOfSites": 4, "isSpot": false, @@ -42,6 +43,7 @@ "properties": { "status": "Ready", "maximumNumberOfWorkers": 20, + "numberOfWorkers": 19, "geoRegion": "East US", "numberOfSites": 4, "isSpot": false, diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/ListAppServicePlansByResourceGroup.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/ListAppServicePlansByResourceGroup.json index 0c5926e168aa..0f362b0567dc 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/ListAppServicePlansByResourceGroup.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/ListAppServicePlansByResourceGroup.json @@ -18,6 +18,7 @@ "properties": { "status": "Ready", "maximumNumberOfWorkers": 20, + "numberOfWorkers": 19, "geoRegion": "East US", "numberOfSites": 4, "isSpot": false, @@ -43,6 +44,7 @@ "properties": { "status": "Ready", "maximumNumberOfWorkers": 20, + "numberOfWorkers": 19, "geoRegion": "East US", "numberOfSites": 4, "isSpot": false, From 3adac9af24b6eeaa214b3ad211a7d8abbdfbc7ba Mon Sep 17 00:00:00 2001 From: Naveed Aziz Date: Thu, 16 Jun 2022 01:25:30 -0700 Subject: [PATCH 2/2] Add suppression for missing ASP examples --- specification/web/resource-manager/readme.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specification/web/resource-manager/readme.md b/specification/web/resource-manager/readme.md index c7ad500eacbd..d3c67866e570 100644 --- a/specification/web/resource-manager/readme.md +++ b/specification/web/resource-manager/readme.md @@ -73,6 +73,9 @@ directive: - suppress: RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE from: StaticSites.json reason: Retroactive addition of missing examples out of scope at this time. + - suppress: XMS_EXAMPLE_NOTFOUND_ERROR + from: AppServicePlans.json + reason: Retroactive addition of missing examples out of scope at this time. ```