diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/AppServicePlans.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/AppServicePlans.json index 782eda7bbd81..78cb6f6f0838 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/AppServicePlans.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/AppServicePlans.json @@ -176,6 +176,12 @@ "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServicePlan" } }, + "201": { + "description": "Created.", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServicePlan" + } + }, "202": { "description": "Operation is in progress.", "schema": { diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/examples/CreateOrUpdateAppServicePlan.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/examples/CreateOrUpdateAppServicePlan.json index 6256502f8af7..fde6cba7089f 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/examples/CreateOrUpdateAppServicePlan.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/examples/CreateOrUpdateAppServicePlan.json @@ -56,6 +56,39 @@ } } }, + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", + "name": "testsf6141", + "type": "Microsoft.Web/serverfarms", + "kind": "app", + "location": "East US", + "properties": { + "name": "testsf6141", + "workerSize": "Default", + "numberOfWorkers": 1, + "currentWorkerSize": "Default", + "currentNumberOfWorkers": 1, + "status": "Ready", + "maximumNumberOfWorkers": 20, + "geoRegion": "East US", + "numberOfSites": 4, + "reserved": false, + "mdmId": "waws-prod-blu-033_4740", + "targetWorkerCount": 0, + "targetWorkerSizeId": 0, + "provisioningState": "Succeeded" + }, + "sku": { + "name": "P1", + "tier": "Premium", + "size": "P1", + "family": "P", + "capacity": 1 + } + } + }, "202": { "headers": { "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141/operationresults/F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0", @@ -94,4 +127,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/AppServicePlans.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/AppServicePlans.json index 525c6f4b2ee0..d7182cb6dce1 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/AppServicePlans.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/AppServicePlans.json @@ -188,6 +188,12 @@ "$ref": "./CommonDefinitions.json#/definitions/AppServicePlan" } }, + "201": { + "description": "Created.", + "schema": { + "$ref": "./CommonDefinitions.json#/definitions/AppServicePlan" + } + }, "202": { "description": "Operation is in progress.", "schema": { @@ -1761,4 +1767,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/CreateOrUpdateAppServicePlan.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/CreateOrUpdateAppServicePlan.json index 6256502f8af7..fde6cba7089f 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/CreateOrUpdateAppServicePlan.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/CreateOrUpdateAppServicePlan.json @@ -56,6 +56,39 @@ } } }, + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", + "name": "testsf6141", + "type": "Microsoft.Web/serverfarms", + "kind": "app", + "location": "East US", + "properties": { + "name": "testsf6141", + "workerSize": "Default", + "numberOfWorkers": 1, + "currentWorkerSize": "Default", + "currentNumberOfWorkers": 1, + "status": "Ready", + "maximumNumberOfWorkers": 20, + "geoRegion": "East US", + "numberOfSites": 4, + "reserved": false, + "mdmId": "waws-prod-blu-033_4740", + "targetWorkerCount": 0, + "targetWorkerSizeId": 0, + "provisioningState": "Succeeded" + }, + "sku": { + "name": "P1", + "tier": "Premium", + "size": "P1", + "family": "P", + "capacity": 1 + } + } + }, "202": { "headers": { "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141/operationresults/F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0", @@ -94,4 +127,4 @@ } } } -} \ No newline at end of file +}