From 1dccc13aad0b22278f6479048cf0aad16d3408e5 Mon Sep 17 00:00:00 2001 From: Naveed Aziz Date: Thu, 3 Sep 2015 19:55:04 -0700 Subject: [PATCH 1/4] Add x-ms-enum for enumerations --- arm-web/2015-08-01/swagger/service.json | 706 +++++++++++++----------- 1 file changed, 389 insertions(+), 317 deletions(-) diff --git a/arm-web/2015-08-01/swagger/service.json b/arm-web/2015-08-01/swagger/service.json index 79e393646c57..ecc73c8b0b26 100644 --- a/arm-web/2015-08-01/swagger/service.json +++ b/arm-web/2015-08-01/swagger/service.json @@ -1272,13 +1272,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/ishostingenvironmentnameavailable": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/ishostingenvironmentnameavailable/{name}": { "get": { "tags": [ "Global" ], "summary": "Whether hosting environment name is available", - "operationId": "Global_IsHostingEnvironmentNameAvailable", + "operationId": "Global_IsHostingEnvironmentWithLegacyNameAvailable", "consumes": [], "produces": [ "application/json", @@ -1289,7 +1289,7 @@ "parameters": [ { "name": "name", - "in": "query", + "in": "path", "description": "Hosting environment name", "required": true, "type": "string" @@ -1312,13 +1312,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/ishostingenvironmentnameavailable/{name}": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/ishostingenvironmentnameavailable": { "get": { "tags": [ "Global" ], "summary": "Whether hosting environment name is available", - "operationId": "Global_IsHostingEnvironmentWithLegacyNameAvailable", + "operationId": "Global_IsHostingEnvironmentNameAvailable", "consumes": [], "produces": [ "application/json", @@ -1329,7 +1329,7 @@ "parameters": [ { "name": "name", - "in": "path", + "in": "query", "description": "Hosting environment name", "required": true, "type": "string" @@ -2617,13 +2617,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/serverfarms": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/webhostingplans": { "get": { "tags": [ "HostingEnvironments" ], "summary": "Get all serverfarms (App Service Plans) on the hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentServerFarms", + "operationId": "HostingEnvironments_GetHostingEnvironmentWebHostingPlans", "consumes": [], "produces": [ "application/json", @@ -2662,13 +2662,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/webhostingplans": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/serverfarms": { "get": { "tags": [ "HostingEnvironments" ], "summary": "Get all serverfarms (App Service Plans) on the hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentWebHostingPlans", + "operationId": "HostingEnvironments_GetHostingEnvironmentServerFarms", "consumes": [], "produces": [ "application/json", @@ -3586,13 +3586,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans": { "get": { "tags": [ "ServerFarms" ], "summary": "Gets collection of App Service Plans in a resource group for a given subscription.", - "operationId": "ServerFarms_GetServerFarms", + "operationId": "ServerFarms_GetWebHostingPlans", "consumes": [], "produces": [ "application/json", @@ -3624,13 +3624,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms": { "get": { "tags": [ "ServerFarms" ], "summary": "Gets collection of App Service Plans in a resource group for a given subscription.", - "operationId": "ServerFarms_GetWebHostingPlans", + "operationId": "ServerFarms_GetServerFarms", "consumes": [], "produces": [ "application/json", @@ -3662,13 +3662,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}": { "get": { "tags": [ "ServerFarms" ], "summary": "Gets specified App Service Plan in a resource group", - "operationId": "ServerFarms_GetWebHostingPlan", + "operationId": "ServerFarms_GetServerFarm", "consumes": [], "produces": [ "application/json", @@ -3713,7 +3713,7 @@ "ServerFarms" ], "summary": "Creates or updates an App Service Plan", - "operationId": "ServerFarms_CreateOrUpdateWebHostingPlan", + "operationId": "ServerFarms_CreateOrUpdateServerFarm", "consumes": [ "application/json", "text/json", @@ -3784,7 +3784,7 @@ "ServerFarms" ], "summary": "Deletes a App Service Plan", - "operationId": "ServerFarms_DeleteWebHostingPlan", + "operationId": "ServerFarms_DeleteServerFarm", "consumes": [], "produces": [ "application/json", @@ -3825,13 +3825,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}": { "get": { "tags": [ "ServerFarms" ], "summary": "Gets specified App Service Plan in a resource group", - "operationId": "ServerFarms_GetServerFarm", + "operationId": "ServerFarms_GetWebHostingPlan", "consumes": [], "produces": [ "application/json", @@ -3876,7 +3876,7 @@ "ServerFarms" ], "summary": "Creates or updates an App Service Plan", - "operationId": "ServerFarms_CreateOrUpdateServerFarm", + "operationId": "ServerFarms_CreateOrUpdateWebHostingPlan", "consumes": [ "application/json", "text/json", @@ -3947,7 +3947,7 @@ "ServerFarms" ], "summary": "Deletes a App Service Plan", - "operationId": "ServerFarms_DeleteServerFarm", + "operationId": "ServerFarms_DeleteWebHostingPlan", "consumes": [], "produces": [ "application/json", @@ -3988,13 +3988,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/metrics": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/metrics": { "get": { "tags": [ "ServerFarms" ], "summary": "Queries for App Serice Plan metrics", - "operationId": "ServerFarms_GetServerFarmMetrics", + "operationId": "ServerFarms_GetWebHostingPlanMetrics", "consumes": [], "produces": [ "application/json", @@ -4045,13 +4045,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/metrics": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/metrics": { "get": { "tags": [ "ServerFarms" ], "summary": "Queries for App Serice Plan metrics", - "operationId": "ServerFarms_GetWebHostingPlanMetrics", + "operationId": "ServerFarms_GetServerFarmMetrics", "consumes": [], "produces": [ "application/json", @@ -4192,13 +4192,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/virtualNetworkConnections": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections": { "get": { "tags": [ "ServerFarms" ], "summary": "Gets list of vnets associated with App Service Plan", - "operationId": "ServerFarms_GetVnetsForWebHostingPlan", + "operationId": "ServerFarms_GetVnetsForServerFarm", "consumes": [], "produces": [ "application/json", @@ -4242,13 +4242,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/virtualNetworkConnections": { "get": { "tags": [ "ServerFarms" ], "summary": "Gets list of vnets associated with App Service Plan", - "operationId": "ServerFarms_GetVnetsForServerFarm", + "operationId": "ServerFarms_GetVnetsForWebHostingPlan", "consumes": [], "produces": [ "application/json", @@ -4520,13 +4520,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}": { "get": { "tags": [ "ServerFarms" ], "summary": "Gets a specific route associated with a vnet, in an app service plan", - "operationId": "ServerFarms_GetWebHostingPlanRouteForVnet", + "operationId": "ServerFarms_GetRouteForVnet", "consumes": [], "produces": [ "application/json", @@ -4591,7 +4591,7 @@ "ServerFarms" ], "summary": "Creates a new route or updates an existing route for a vnet in an app service plan.", - "operationId": "ServerFarms_CreateOrUpdateWebHostingPlanVnetRoute", + "operationId": "ServerFarms_CreateOrUpdateVnetRoute", "consumes": [ "application/json", "text/json", @@ -4669,7 +4669,7 @@ "ServerFarms" ], "summary": "Deletes an existing route for a vnet in an app service plan.", - "operationId": "ServerFarms_DeleteWebHostingPlanVnetRoute", + "operationId": "ServerFarms_DeleteVnetRoute", "consumes": [], "produces": [ "application/json", @@ -4731,7 +4731,7 @@ "ServerFarms" ], "summary": "Creates a new route or updates an existing route for a vnet in an app service plan.", - "operationId": "ServerFarms_UpdateWebHostingPlanVnetRoute", + "operationId": "ServerFarms_UpdateVnetRoute", "consumes": [ "application/json", "text/json", @@ -4805,13 +4805,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}": { "get": { "tags": [ "ServerFarms" ], "summary": "Gets a specific route associated with a vnet, in an app service plan", - "operationId": "ServerFarms_GetRouteForVnet", + "operationId": "ServerFarms_GetWebHostingPlanRouteForVnet", "consumes": [], "produces": [ "application/json", @@ -4876,7 +4876,7 @@ "ServerFarms" ], "summary": "Creates a new route or updates an existing route for a vnet in an app service plan.", - "operationId": "ServerFarms_CreateOrUpdateVnetRoute", + "operationId": "ServerFarms_CreateOrUpdateWebHostingPlanVnetRoute", "consumes": [ "application/json", "text/json", @@ -4954,7 +4954,7 @@ "ServerFarms" ], "summary": "Deletes an existing route for a vnet in an app service plan.", - "operationId": "ServerFarms_DeleteVnetRoute", + "operationId": "ServerFarms_DeleteWebHostingPlanVnetRoute", "consumes": [], "produces": [ "application/json", @@ -5016,7 +5016,7 @@ "ServerFarms" ], "summary": "Creates a new route or updates an existing route for a vnet in an app service plan.", - "operationId": "ServerFarms_UpdateVnetRoute", + "operationId": "ServerFarms_UpdateWebHostingPlanVnetRoute", "consumes": [ "application/json", "text/json", @@ -5090,13 +5090,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/sites": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/sites": { "get": { "tags": [ "ServerFarms" ], "summary": "Gets list of Apps associated with an App Service Plan", - "operationId": "ServerFarms_GetWebHostingPlanSites", + "operationId": "ServerFarms_GetServerFarmSites", "consumes": [], "produces": [ "application/json", @@ -5154,13 +5154,13 @@ "x-ms-pageable": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/sites": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/sites": { "get": { "tags": [ "ServerFarms" ], "summary": "Gets list of Apps associated with an App Service Plan", - "operationId": "ServerFarms_GetServerFarmSites", + "operationId": "ServerFarms_GetWebHostingPlanSites", "consumes": [], "produces": [ "application/json", @@ -5218,13 +5218,13 @@ "x-ms-pageable": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/workers/{workerName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/workers/{workerName}": { "post": { "tags": [ "ServerFarms" ], "summary": "Submit a reboot request for a worker machine in the specified server farm", - "operationId": "ServerFarms_RebootWorkerForWebHostingPlan", + "operationId": "ServerFarms_RebootWorkerForServerFarm", "consumes": [], "produces": [ "application/json", @@ -5272,13 +5272,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/workers/{workerName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/workers/{workerName}": { "post": { "tags": [ "ServerFarms" ], "summary": "Submit a reboot request for a worker machine in the specified server farm", - "operationId": "ServerFarms_RebootWorkerForServerFarm", + "operationId": "ServerFarms_RebootWorkerForWebHostingPlan", "consumes": [], "produces": [ "application/json", @@ -6498,13 +6498,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings": { "get": { "tags": [ "Sites" ], "summary": "Get web app hostname bindings", - "operationId": "Sites_GetSiteHostNameBindingsSlot", + "operationId": "Sites_GetSiteHostNameBindings", "consumes": [], "produces": [ "application/json", @@ -6525,13 +6525,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -6550,13 +6543,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings": { "get": { "tags": [ "Sites" ], "summary": "Get web app hostname bindings", - "operationId": "Sites_GetSiteHostNameBindings", + "operationId": "Sites_GetSiteHostNameBindingsSlot", "consumes": [], "produces": [ "application/json", @@ -6577,6 +6570,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -6595,13 +6595,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}": { "get": { "tags": [ "Sites" ], "summary": "Get web app binding for a hostname", - "operationId": "Sites_GetSiteHostNameBinding", + "operationId": "Sites_GetSiteHostNameBindingSlot", "consumes": [], "produces": [ "application/json", @@ -6624,6 +6624,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "name": "hostName", "in": "path", @@ -6653,7 +6660,7 @@ "Sites" ], "summary": "Creates a web app hostname binding", - "operationId": "Sites_CreateOrUpdateSiteHostNameBinding", + "operationId": "Sites_CreateOrUpdateSiteHostNameBindingSlot", "consumes": [ "application/json", "text/json", @@ -6696,6 +6703,13 @@ "$ref": "#/definitions/HostNameBinding" } }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -6718,7 +6732,7 @@ "Sites" ], "summary": "Deletes a host name binding", - "operationId": "Sites_DeleteSiteHostNameBinding", + "operationId": "Sites_DeleteSiteHostNameBindingSlot", "consumes": [], "produces": [ "application/json", @@ -6741,6 +6755,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "name": "hostName", "in": "path", @@ -6766,13 +6787,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}": { "get": { "tags": [ "Sites" ], "summary": "Get web app binding for a hostname", - "operationId": "Sites_GetSiteHostNameBindingSlot", + "operationId": "Sites_GetSiteHostNameBinding", "consumes": [], "produces": [ "application/json", @@ -6795,13 +6816,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "name": "hostName", "in": "path", @@ -6831,7 +6845,7 @@ "Sites" ], "summary": "Creates a web app hostname binding", - "operationId": "Sites_CreateOrUpdateSiteHostNameBindingSlot", + "operationId": "Sites_CreateOrUpdateSiteHostNameBinding", "consumes": [ "application/json", "text/json", @@ -6874,13 +6888,6 @@ "$ref": "#/definitions/HostNameBinding" } }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -6903,7 +6910,7 @@ "Sites" ], "summary": "Deletes a host name binding", - "operationId": "Sites_DeleteSiteHostNameBindingSlot", + "operationId": "Sites_DeleteSiteHostNameBinding", "consumes": [], "produces": [ "application/json", @@ -6926,13 +6933,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "name": "hostName", "in": "path", @@ -8205,13 +8205,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/publishingcredentials/list": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/publishingcredentials/list": { "post": { "tags": [ "Sites" ], "summary": "Gets the web app publishing credentials", - "operationId": "Sites_ListSitePublishingCredentials", + "operationId": "Sites_ListSitePublishingCredentialsSlot", "consumes": [], "produces": [ "application/json", @@ -8234,6 +8234,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8253,13 +8260,13 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/publishingcredentials/list": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/publishingcredentials/list": { "post": { "tags": [ "Sites" ], "summary": "Gets the web app publishing credentials", - "operationId": "Sites_ListSitePublishingCredentialsSlot", + "operationId": "Sites_ListSitePublishingCredentials", "consumes": [], "produces": [ "application/json", @@ -8282,13 +8289,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8536,13 +8536,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/logs": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/logs": { "get": { "tags": [ "Sites" ], "summary": "Gets the web app logs configuration", - "operationId": "Sites_GetSiteLogsConfig", + "operationId": "Sites_GetSiteLogsConfigSlot", "consumes": [], "produces": [ "application/json", @@ -8565,6 +8565,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8587,7 +8594,7 @@ "Sites" ], "summary": "Updates the meta data for web app", - "operationId": "Sites_UpdateSiteLogsConfig", + "operationId": "Sites_UpdateSiteLogsConfigSlot", "consumes": [ "application/json", "text/json", @@ -8623,6 +8630,13 @@ "$ref": "#/definitions/SiteLogsConfig" } }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8641,13 +8655,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/logs": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/logs": { "get": { "tags": [ "Sites" ], "summary": "Gets the web app logs configuration", - "operationId": "Sites_GetSiteLogsConfigSlot", + "operationId": "Sites_GetSiteLogsConfig", "consumes": [], "produces": [ "application/json", @@ -8670,13 +8684,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8699,7 +8706,7 @@ "Sites" ], "summary": "Updates the meta data for web app", - "operationId": "Sites_UpdateSiteLogsConfigSlot", + "operationId": "Sites_UpdateSiteLogsConfig", "consumes": [ "application/json", "text/json", @@ -8735,13 +8742,6 @@ "$ref": "#/definitions/SiteLogsConfig" } }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -9509,13 +9509,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backup": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backup": { "put": { "tags": [ "Sites" ], "summary": "Creates web app backup", - "operationId": "Sites_BackupSiteSlot", + "operationId": "Sites_BackupSite", "consumes": [ "application/json", "text/json", @@ -9551,13 +9551,6 @@ "$ref": "#/definitions/BackupRequest" } }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -9576,13 +9569,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backup": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backup": { "put": { "tags": [ "Sites" ], "summary": "Creates web app backup", - "operationId": "Sites_BackupSite", + "operationId": "Sites_BackupSiteSlot", "consumes": [ "application/json", "text/json", @@ -9619,9 +9612,16 @@ } }, { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { "$ref": "#/parameters/apiVersionParameter" } ], @@ -9636,13 +9636,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restore/discover": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restore/discover": { "put": { "tags": [ "Sites" ], "summary": "Discovers existing web app backups that can be restored", - "operationId": "Sites_DiscoverSiteRestoreSlot", + "operationId": "Sites_DiscoverSiteRestore", "consumes": [ "application/json", "text/json", @@ -9678,13 +9678,6 @@ "$ref": "#/definitions/RestoreRequest" } }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -9703,13 +9696,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restore/discover": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restore/discover": { "put": { "tags": [ "Sites" ], "summary": "Discovers existing web app backups that can be restored", - "operationId": "Sites_DiscoverSiteRestore", + "operationId": "Sites_DiscoverSiteRestoreSlot", "consumes": [ "application/json", "text/json", @@ -9745,6 +9738,13 @@ "$ref": "#/definitions/RestoreRequest" } }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -9860,13 +9860,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}": { "get": { "tags": [ "Sites" ], "summary": "Gets status on a web app backup that may be in progress", - "operationId": "Sites_GetSiteBackupStatusSlot", + "operationId": "Sites_GetSiteBackupStatus", "consumes": [], "produces": [ "application/json", @@ -9896,13 +9896,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -9921,13 +9914,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}": { "get": { "tags": [ "Sites" ], "summary": "Gets status on a web app backup that may be in progress", - "operationId": "Sites_GetSiteBackupStatus", + "operationId": "Sites_GetSiteBackupStatusSlot", "consumes": [], "produces": [ "application/json", @@ -9957,6 +9950,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -9975,13 +9975,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/usages": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/usages": { "get": { "tags": [ "Sites" ], "summary": "Gets the quota usage numbers for web app", - "operationId": "Sites_GetSiteUsages", + "operationId": "Sites_GetSiteUsagesSlot", "consumes": [], "produces": [ "application/json", @@ -10002,10 +10002,17 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "name": "$filter", "in": "query", - "description": "Return only usages specified in the filter. Filter is specified by using OData syntax. Example: $filter=Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.", + "description": "Return only usages specified in the filter. Filter is specified by using OData syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.", "type": "string" }, { @@ -10026,13 +10033,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/usages": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/usages": { "get": { "tags": [ "Sites" ], "summary": "Gets the quota usage numbers for web app", - "operationId": "Sites_GetSiteUsagesSlot", + "operationId": "Sites_GetSiteUsages", "consumes": [], "produces": [ "application/json", @@ -10053,17 +10060,10 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "name": "$filter", "in": "query", - "description": "Return only usages specified in the filter. Filter is specified by using OData syntax. Example: $filter=Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.", + "description": "Return only usages specified in the filter. Filter is specified by using OData syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.", "type": "string" }, { @@ -10084,13 +10084,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/metrics": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/metrics": { "get": { "tags": [ "Sites" ], "summary": "Gets metrics for web app", - "operationId": "Sites_GetSiteMetrics", + "operationId": "Sites_GetSiteMetricsSlot", "consumes": [], "produces": [ "application/json", @@ -10111,6 +10111,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "name": "details", "in": "query", @@ -10141,13 +10148,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/metrics": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/metrics": { "get": { "tags": [ "Sites" ], "summary": "Gets metrics for web app", - "operationId": "Sites_GetSiteMetricsSlot", + "operationId": "Sites_GetSiteMetrics", "consumes": [], "produces": [ "application/json", @@ -10168,13 +10175,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "name": "details", "in": "query", @@ -10302,13 +10302,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publishxml": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publishxml": { "post": { "tags": [ "Sites" ], "summary": "Gets the publishing profile for web app", - "operationId": "Sites_ListSitePublishingProfileXml", + "operationId": "Sites_ListSitePublishingProfileXmlSlot", "consumes": [ "application/json", "text/json", @@ -10346,6 +10346,13 @@ "$ref": "#/definitions/CsmPublishingProfileOptions" } }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -10364,13 +10371,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publishxml": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publishxml": { "post": { "tags": [ "Sites" ], "summary": "Gets the publishing profile for web app", - "operationId": "Sites_ListSitePublishingProfileXmlSlot", + "operationId": "Sites_ListSitePublishingProfileXml", "consumes": [ "application/json", "text/json", @@ -10408,13 +10415,6 @@ "$ref": "#/definitions/CsmPublishingProfileOptions" } }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -10854,13 +10854,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/newpassword": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/newpassword": { "post": { "tags": [ "Sites" ], "summary": "Generates new random app publishing password", - "operationId": "Sites_GenerateNewSitePublishingPassword", + "operationId": "Sites_GenerateNewSitePublishingPasswordSlot", "consumes": [], "produces": [ "application/json", @@ -10883,6 +10883,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -10901,13 +10908,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/newpassword": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/newpassword": { "post": { "tags": [ "Sites" ], "summary": "Generates new random app publishing password", - "operationId": "Sites_GenerateNewSitePublishingPasswordSlot", + "operationId": "Sites_GenerateNewSitePublishingPassword", "consumes": [], "produces": [ "application/json", @@ -10930,13 +10937,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -10955,13 +10955,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}": { "get": { "tags": [ "Sites" ], "summary": "Retrieves a Biztalk Hybrid Connection identified by its entity name.", - "operationId": "Sites_GetSiteRelayServiceConnection", + "operationId": "Sites_GetSiteRelayServiceConnectionSlot", "consumes": [], "produces": [ "application/json", @@ -10991,6 +10991,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "The name of the slot for the web app.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -11013,7 +11020,7 @@ "Sites" ], "summary": "Creates a new association to a Biztalk Hybrid Connection, or updates an existing one.", - "operationId": "Sites_CreateOrUpdateSiteRelayServiceConnection", + "operationId": "Sites_CreateOrUpdateSiteRelayServiceConnectionSlot", "consumes": [ "application/json", "text/json", @@ -11056,6 +11063,13 @@ "$ref": "#/definitions/RelayServiceConnectionEntity" } }, + { + "name": "slot", + "in": "path", + "description": "The name of the slot for the web app.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -11078,7 +11092,7 @@ "Sites" ], "summary": "Removes the association to a Biztalk Hybrid Connection, identified by its entity name.", - "operationId": "Sites_DeleteSiteRelayServiceConnection", + "operationId": "Sites_DeleteSiteRelayServiceConnectionSlot", "consumes": [], "produces": [ "application/json", @@ -11108,6 +11122,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "The name of the slot for the web app.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -11130,7 +11151,7 @@ "Sites" ], "summary": "Creates a new association to a Biztalk Hybrid Connection, or updates an existing one.", - "operationId": "Sites_UpdateSiteRelayServiceConnection", + "operationId": "Sites_UpdateSiteRelayServiceConnectionSlot", "consumes": [ "application/json", "text/json", @@ -11173,6 +11194,13 @@ "$ref": "#/definitions/RelayServiceConnectionEntity" } }, + { + "name": "slot", + "in": "path", + "description": "The name of the slot for the web app.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -11191,13 +11219,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}": { "get": { "tags": [ "Sites" ], "summary": "Retrieves a Biztalk Hybrid Connection identified by its entity name.", - "operationId": "Sites_GetSiteRelayServiceConnectionSlot", + "operationId": "Sites_GetSiteRelayServiceConnection", "consumes": [], "produces": [ "application/json", @@ -11227,13 +11255,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "The name of the slot for the web app.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -11256,7 +11277,7 @@ "Sites" ], "summary": "Creates a new association to a Biztalk Hybrid Connection, or updates an existing one.", - "operationId": "Sites_CreateOrUpdateSiteRelayServiceConnectionSlot", + "operationId": "Sites_CreateOrUpdateSiteRelayServiceConnection", "consumes": [ "application/json", "text/json", @@ -11299,13 +11320,6 @@ "$ref": "#/definitions/RelayServiceConnectionEntity" } }, - { - "name": "slot", - "in": "path", - "description": "The name of the slot for the web app.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -11328,7 +11342,7 @@ "Sites" ], "summary": "Removes the association to a Biztalk Hybrid Connection, identified by its entity name.", - "operationId": "Sites_DeleteSiteRelayServiceConnectionSlot", + "operationId": "Sites_DeleteSiteRelayServiceConnection", "consumes": [], "produces": [ "application/json", @@ -11358,13 +11372,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "The name of the slot for the web app.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -11387,7 +11394,7 @@ "Sites" ], "summary": "Creates a new association to a Biztalk Hybrid Connection, or updates an existing one.", - "operationId": "Sites_UpdateSiteRelayServiceConnectionSlot", + "operationId": "Sites_UpdateSiteRelayServiceConnection", "consumes": [ "application/json", "text/json", @@ -11430,13 +11437,6 @@ "$ref": "#/definitions/RelayServiceConnectionEntity" } }, - { - "name": "slot", - "in": "path", - "description": "The name of the slot for the web app.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -12493,13 +12493,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections": { "get": { "tags": [ "Sites" ], "summary": "Retrieves a list of all Virtual Network Connections associated with this web app.", - "operationId": "Sites_GetSiteVNETConnectionsSlot", + "operationId": "Sites_GetSiteVNETConnections", "consumes": [], "produces": [ "application/json", @@ -12522,13 +12522,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "The name of the slot for this web app.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -12550,13 +12543,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections": { "get": { "tags": [ "Sites" ], "summary": "Retrieves a list of all Virtual Network Connections associated with this web app.", - "operationId": "Sites_GetSiteVNETConnections", + "operationId": "Sites_GetSiteVNETConnectionsSlot", "consumes": [], "produces": [ "application/json", @@ -12579,6 +12572,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "The name of the slot for this web app.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -12600,13 +12600,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkFeatures/{view}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkFeatures/{view}": { "get": { "tags": [ "Sites" ], "summary": "Retrieves a view of all network features in use on this web app.", - "operationId": "Sites_GetSiteNetworkFeaturesSlot", + "operationId": "Sites_GetSiteNetworkFeatures", "consumes": [], "produces": [ "application/json", @@ -12636,13 +12636,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "The name of the slot for this web app.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -12664,13 +12657,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkFeatures/{view}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkFeatures/{view}": { "get": { "tags": [ "Sites" ], "summary": "Retrieves a view of all network features in use on this web app.", - "operationId": "Sites_GetSiteNetworkFeatures", + "operationId": "Sites_GetSiteNetworkFeaturesSlot", "consumes": [], "produces": [ "application/json", @@ -12700,6 +12693,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "The name of the slot for this web app.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -12721,13 +12721,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/operationresults/{operationId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/operationresults/{operationId}": { "get": { "tags": [ "Sites" ], "summary": "Gets the operation for a web app", - "operationId": "Sites_GetSiteOperation", + "operationId": "Sites_GetSiteOperationSlot", "consumes": [], "produces": [ "application/json", @@ -12757,6 +12757,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -12775,13 +12782,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/operationresults/{operationId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/operationresults/{operationId}": { "get": { "tags": [ "Sites" ], "summary": "Gets the operation for a web app", - "operationId": "Sites_GetSiteOperationSlot", + "operationId": "Sites_GetSiteOperation", "consumes": [], "produces": [ "application/json", @@ -12811,13 +12818,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -13106,13 +13106,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/applySlotConfig": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/applySlotConfig": { "post": { "tags": [ "Sites" ], "summary": "Applies the configuration settings from the target slot onto the current slot", - "operationId": "Sites_ApplySlotConfigSlot", + "operationId": "Sites_ApplySlotConfigToProduction", "consumes": [ "application/json", "text/json", @@ -13150,13 +13150,6 @@ "$ref": "#/definitions/CsmSlotEntity" } }, - { - "name": "slot", - "in": "path", - "description": "Name of the source slot. Settings from the target slot will be applied onto this slot", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -13175,13 +13168,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/applySlotConfig": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/applySlotConfig": { "post": { "tags": [ "Sites" ], "summary": "Applies the configuration settings from the target slot onto the current slot", - "operationId": "Sites_ApplySlotConfigToProduction", + "operationId": "Sites_ApplySlotConfigSlot", "consumes": [ "application/json", "text/json", @@ -13219,6 +13212,13 @@ "$ref": "#/definitions/CsmSlotEntity" } }, + { + "name": "slot", + "in": "path", + "description": "Name of the source slot. Settings from the target slot will be applied onto this slot", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -14002,7 +14002,8 @@ "Updated", "JsonConverterFailed" ], - "type": "string" + "type": "string", + "x-ms-enum": "DomainStatus" }, "nameServers": { "description": "Name servers", @@ -14120,7 +14121,8 @@ "Website", "TrafficManager" ], - "type": "string" + "type": "string", + "x-ms-enum": "AzureResourceType" }, "customHostNameDnsRecordType": { "description": "Type of the Dns record", @@ -14128,7 +14130,8 @@ "CName", "A" ], - "type": "string" + "type": "string", + "x-ms-enum": "CustomHostNameDnsRecordType" }, "hostNameType": { "description": "Type of the hostname", @@ -14136,7 +14139,8 @@ "Verified", "Managed" ], - "type": "string" + "type": "string", + "x-ms-enum": "HostNameType" } } }, @@ -14307,6 +14311,9 @@ ], "properties": { "properties": { + "required": [ + "status" + ], "properties": { "name": { "description": "Name for the App Service Plan", @@ -14319,7 +14326,8 @@ "Pending" ], "type": "string", - "readOnly": true + "readOnly": true, + "x-ms-enum": "StatusOptions" }, "subscription": { "description": "App Service Plan Subscription", @@ -14393,6 +14401,10 @@ ], "properties": { "properties": { + "required": [ + "usageState", + "availabilityState" + ], "properties": { "name": { "description": "Name of web app", @@ -14423,7 +14435,8 @@ "Exceeded" ], "type": "string", - "readOnly": true + "readOnly": true, + "x-ms-enum": "UsageState" }, "enabled": { "description": "True if the site is enabled; otherwise, false. Setting this value to false disables the site (takes the site off line).", @@ -14445,7 +14458,8 @@ "DisasterRecoveryMode" ], "type": "string", - "readOnly": true + "readOnly": true, + "x-ms-enum": "SiteAvailabilityState" }, "hostNameSslStates": { "description": "Hostname SSL states are used to manage the SSL bindings for site's hostnames.", @@ -14556,6 +14570,9 @@ }, "HostNameSslState": { "description": "Object that represents a SSL-enabled host name.", + "required": [ + "sslState" + ], "type": "object", "properties": { "name": { @@ -14569,7 +14586,8 @@ "SniEnabled", "IpBasedEnabled" ], - "type": "string" + "type": "string", + "x-ms-enum": "SslState" }, "virtualIP": { "description": "Virtual IP address assigned to the host name if IP based SSL is enabled", @@ -14728,7 +14746,8 @@ "Integrated", "Classic" ], - "type": "string" + "type": "string", + "x-ms-enum": "ManagedPipelineMode" }, "virtualApplications": { "description": "Virtual applications", @@ -14746,7 +14765,8 @@ "WeightedTotalTraffic", "RequestHash" ], - "type": "string" + "type": "string", + "x-ms-enum": "SiteLoadBalancing" }, "experiments": { "$ref": "#/definitions/Experiments", @@ -14853,6 +14873,9 @@ }, "ConnStringInfo": { "description": "Represents database connection string information", + "required": [ + "type" + ], "type": "object", "properties": { "name": { @@ -14871,7 +14894,8 @@ "SQLAzure", "Custom" ], - "type": "string" + "type": "string", + "x-ms-enum": "DatabaseServerType" } } }, @@ -15073,6 +15097,9 @@ }, "AutoHealActions": { "description": "AutoHealActions - Describes the actions which can be\r\n taken by the auto-heal module when a rule is triggered.", + "required": [ + "actionType" + ], "type": "object", "properties": { "actionType": { @@ -15082,7 +15109,8 @@ "LogEvent", "CustomAction" ], - "type": "string" + "type": "string", + "x-ms-enum": "AutoHealActionType" }, "customAction": { "$ref": "#/definitions/AutoHealCustomAction", @@ -15195,6 +15223,9 @@ ], "properties": { "properties": { + "required": [ + "status" + ], "properties": { "name": { "description": "Name of the hostingEnvironment (App Service Environment)", @@ -15212,7 +15243,8 @@ "Scaling", "Deleting" ], - "type": "string" + "type": "string", + "x-ms-enum": "HostingEnvironmentStatus" }, "vnetName": { "description": "Name of the hostingEnvironment's (App Service Environment) virtual network", @@ -15237,7 +15269,8 @@ "Web", "Publishing" ], - "type": "string" + "type": "string", + "x-ms-enum": "InternalLoadBalancingMode" }, "multiSize": { "description": "Front-end VM size, e.g. \"Medium\", \"Large\"", @@ -15387,7 +15420,8 @@ "Shared", "Dedicated" ], - "type": "string" + "type": "string", + "x-ms-enum": "ComputeModeOptions" }, "workerSize": { "description": "VM size of the worker pool instances", @@ -15464,7 +15498,8 @@ "Shared", "Dedicated" ], - "type": "string" + "type": "string", + "x-ms-enum": "ComputeModeOptions" }, "workerSize": { "description": "Size of the machines", @@ -15473,7 +15508,8 @@ "Medium", "Large" ], - "type": "string" + "type": "string", + "x-ms-enum": "WorkerSizeOptions" }, "workerSizeId": { "format": "int32", @@ -15502,7 +15538,8 @@ "Permit", "Deny" ], - "type": "string" + "type": "string", + "x-ms-enum": "AccessControlEntryAction" }, "description": { "type": "string" @@ -15625,7 +15662,8 @@ "Updated", "JsonConverterFailed" ], - "type": "string" + "type": "string", + "x-ms-enum": "DomainStatus" }, "nameServers": { "description": "Name servers", @@ -15704,7 +15742,8 @@ "Regular", "SoftDeleted" ], - "type": "string" + "type": "string", + "x-ms-enum": "DomainType" } } }, @@ -16115,7 +16154,8 @@ "Shared", "Dedicated" ], - "type": "string" + "type": "string", + "x-ms-enum": "ComputeModeOptions" }, "siteMode": { "description": "SiteMode used for this usage", @@ -16349,6 +16389,10 @@ ], "properties": { "properties": { + "required": [ + "usageState", + "availabilityState" + ], "properties": { "deletedTimestamp": { "format": "date-time", @@ -16384,7 +16428,8 @@ "Exceeded" ], "type": "string", - "readOnly": true + "readOnly": true, + "x-ms-enum": "UsageState" }, "enabled": { "description": "True if the site is enabled; otherwise, false. Setting this value to false disables the site (takes the site off line).", @@ -16406,7 +16451,8 @@ "DisasterRecoveryMode" ], "type": "string", - "readOnly": true + "readOnly": true, + "x-ms-enum": "SiteAvailabilityState" }, "hostNameSslStates": { "description": "Hostname SSL states are used to manage the SSL bindings for site's hostnames.", @@ -16578,7 +16624,8 @@ "Website", "TrafficManager" ], - "type": "string" + "type": "string", + "x-ms-enum": "AzureResourceType" }, "customHostNameDnsRecordType": { "description": "Custom DNS record type", @@ -16586,7 +16633,8 @@ "CName", "A" ], - "type": "string" + "type": "string", + "x-ms-enum": "CustomHostNameDnsRecordType" }, "hostNameType": { "description": "Host name type", @@ -16594,7 +16642,8 @@ "Verified", "Managed" ], - "type": "string" + "type": "string", + "x-ms-enum": "HostNameType" } } } @@ -16673,6 +16722,9 @@ }, "ConnStringValueTypePair": { "description": "Database connection string value to type pair", + "required": [ + "type" + ], "type": "object", "properties": { "value": { @@ -16687,7 +16739,8 @@ "SQLAzure", "Custom" ], - "type": "string" + "type": "string", + "x-ms-enum": "DatabaseServerType" } } }, @@ -16777,7 +16830,8 @@ "Warning", "Error" ], - "type": "string" + "type": "string", + "x-ms-enum": "LogLevel" } } }, @@ -16794,7 +16848,8 @@ "Warning", "Error" ], - "type": "string" + "type": "string", + "x-ms-enum": "LogLevel" }, "sasUrl": { "description": "SAS url to an azure table with add/query/delete permissions", @@ -16815,7 +16870,8 @@ "Warning", "Error" ], - "type": "string" + "type": "string", + "x-ms-enum": "LogLevel" }, "sasUrl": { "description": "SAS url to a azure blob container with read/write/list/delete permissions", @@ -16905,6 +16961,9 @@ ], "properties": { "properties": { + "required": [ + "type" + ], "properties": { "name": { "description": "Name of the backup", @@ -16936,7 +16995,8 @@ "Clone", "Relocation" ], - "type": "string" + "type": "string", + "x-ms-enum": "BackupRestoreOperationType" } } } @@ -16944,6 +17004,9 @@ }, "BackupSchedule": { "description": "Description of a backup schedule. Describes how often should be the backup performed and what should be the retention policy.", + "required": [ + "frequencyUnit" + ], "type": "object", "properties": { "frequencyInterval": { @@ -16957,7 +17020,8 @@ "Day", "Hour" ], - "type": "string" + "type": "string", + "x-ms-enum": "FrequencyUnit" }, "keepAtLeastOneBackup": { "description": "True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise.", @@ -17011,6 +17075,9 @@ ], "properties": { "properties": { + "required": [ + "status" + ], "properties": { "storageAccountUrl": { "description": "SAS URL for the storage account container which contains this backup", @@ -17035,7 +17102,8 @@ "Skipped", "PartiallySucceeded" ], - "type": "string" + "type": "string", + "x-ms-enum": "BackupItemStatus" }, "sizeInBytes": { "format": "int64", @@ -17095,6 +17163,9 @@ ], "properties": { "properties": { + "required": [ + "operationType" + ], "properties": { "storageAccountUrl": { "description": "SAS URL to the container", @@ -17130,7 +17201,8 @@ "Clone", "Relocation" ], - "type": "string" + "type": "string", + "x-ms-enum": "BackupRestoreOperationType" }, "adjustConnectionStrings": { "description": "Gets or sets a flag showing if SiteConfig.ConnectionStrings should be set in new site", From 5d9e5e3a02698cf45cb6320c92ca6c55d8fcf8de Mon Sep 17 00:00:00 2001 From: Naveed Aziz Date: Fri, 4 Sep 2015 12:42:40 -0700 Subject: [PATCH 2/4] Make location property on Resource schema a required property --- arm-web/2015-08-01/swagger/service.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arm-web/2015-08-01/swagger/service.json b/arm-web/2015-08-01/swagger/service.json index ecc73c8b0b26..0df60890e8fc 100644 --- a/arm-web/2015-08-01/swagger/service.json +++ b/arm-web/2015-08-01/swagger/service.json @@ -17526,6 +17526,9 @@ } }, "Resource": { + "required": [ + "location" + ], "properties": { "id": { "description": "Resource Id", From 863c86e17449786c78c73f8e6b21c808c969a46f Mon Sep 17 00:00:00 2001 From: Naveed Aziz Date: Fri, 4 Sep 2015 13:28:39 -0700 Subject: [PATCH 3/4] Change return type of listpublishingprofilexml --- arm-web/2015-08-01/swagger/service.json | 698 ++++++++++++++---------- 1 file changed, 408 insertions(+), 290 deletions(-) diff --git a/arm-web/2015-08-01/swagger/service.json b/arm-web/2015-08-01/swagger/service.json index 0df60890e8fc..1bc4da85a695 100644 --- a/arm-web/2015-08-01/swagger/service.json +++ b/arm-web/2015-08-01/swagger/service.json @@ -1272,13 +1272,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/ishostingenvironmentnameavailable/{name}": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/ishostingenvironmentnameavailable": { "get": { "tags": [ "Global" ], "summary": "Whether hosting environment name is available", - "operationId": "Global_IsHostingEnvironmentWithLegacyNameAvailable", + "operationId": "Global_IsHostingEnvironmentNameAvailable", "consumes": [], "produces": [ "application/json", @@ -1289,7 +1289,7 @@ "parameters": [ { "name": "name", - "in": "path", + "in": "query", "description": "Hosting environment name", "required": true, "type": "string" @@ -1312,13 +1312,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/ishostingenvironmentnameavailable": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/ishostingenvironmentnameavailable/{name}": { "get": { "tags": [ "Global" ], "summary": "Whether hosting environment name is available", - "operationId": "Global_IsHostingEnvironmentNameAvailable", + "operationId": "Global_IsHostingEnvironmentWithLegacyNameAvailable", "consumes": [], "produces": [ "application/json", @@ -1329,7 +1329,7 @@ "parameters": [ { "name": "name", - "in": "query", + "in": "path", "description": "Hosting environment name", "required": true, "type": "string" @@ -1826,6 +1826,110 @@ "x-ms-long-running-operation": true } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics": { + "get": { + "tags": [ + "HostingEnvironments" + ], + "summary": "Get diagnostic information for hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_GetHostingEnvironmentDiagnostics", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "description": "Name of resource group", + "required": true, + "type": "string" + }, + { + "name": "name", + "in": "path", + "description": "Name of hostingEnvironment (App Service Environment)", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/HostingEnvironmentDiagnostics" + } + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics/{diagnosticsName}": { + "get": { + "tags": [ + "HostingEnvironments" + ], + "summary": "Get diagnostic information for hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_GetHostingEnvironmentDiagnosticsItem", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "description": "Name of resource group", + "required": true, + "type": "string" + }, + { + "name": "name", + "in": "path", + "description": "Name of hostingEnvironment (App Service Environment)", + "required": true, + "type": "string" + }, + { + "name": "diagnosticsName", + "in": "path", + "description": "Name of the diagnostics", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/HostingEnvironmentDiagnostics" + } + } + }, + "deprecated": false + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/compute": { "get": { "tags": [ @@ -2617,13 +2721,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/webhostingplans": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/serverfarms": { "get": { "tags": [ "HostingEnvironments" ], "summary": "Get all serverfarms (App Service Plans) on the hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentWebHostingPlans", + "operationId": "HostingEnvironments_GetHostingEnvironmentServerFarms", "consumes": [], "produces": [ "application/json", @@ -2662,13 +2766,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/serverfarms": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/webhostingplans": { "get": { "tags": [ "HostingEnvironments" ], "summary": "Get all serverfarms (App Service Plans) on the hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentServerFarms", + "operationId": "HostingEnvironments_GetHostingEnvironmentWebHostingPlans", "consumes": [], "produces": [ "application/json", @@ -3662,13 +3766,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}": { "get": { "tags": [ "ServerFarms" ], "summary": "Gets specified App Service Plan in a resource group", - "operationId": "ServerFarms_GetServerFarm", + "operationId": "ServerFarms_GetWebHostingPlan", "consumes": [], "produces": [ "application/json", @@ -3713,7 +3817,7 @@ "ServerFarms" ], "summary": "Creates or updates an App Service Plan", - "operationId": "ServerFarms_CreateOrUpdateServerFarm", + "operationId": "ServerFarms_CreateOrUpdateWebHostingPlan", "consumes": [ "application/json", "text/json", @@ -3784,7 +3888,7 @@ "ServerFarms" ], "summary": "Deletes a App Service Plan", - "operationId": "ServerFarms_DeleteServerFarm", + "operationId": "ServerFarms_DeleteWebHostingPlan", "consumes": [], "produces": [ "application/json", @@ -3825,13 +3929,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}": { "get": { "tags": [ "ServerFarms" ], "summary": "Gets specified App Service Plan in a resource group", - "operationId": "ServerFarms_GetWebHostingPlan", + "operationId": "ServerFarms_GetServerFarm", "consumes": [], "produces": [ "application/json", @@ -3876,7 +3980,7 @@ "ServerFarms" ], "summary": "Creates or updates an App Service Plan", - "operationId": "ServerFarms_CreateOrUpdateWebHostingPlan", + "operationId": "ServerFarms_CreateOrUpdateServerFarm", "consumes": [ "application/json", "text/json", @@ -3947,7 +4051,7 @@ "ServerFarms" ], "summary": "Deletes a App Service Plan", - "operationId": "ServerFarms_DeleteWebHostingPlan", + "operationId": "ServerFarms_DeleteServerFarm", "consumes": [], "produces": [ "application/json", @@ -6498,13 +6602,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings": { "get": { "tags": [ "Sites" ], "summary": "Get web app hostname bindings", - "operationId": "Sites_GetSiteHostNameBindings", + "operationId": "Sites_GetSiteHostNameBindingsSlot", "consumes": [], "produces": [ "application/json", @@ -6525,6 +6629,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -6543,13 +6654,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings": { "get": { "tags": [ "Sites" ], "summary": "Get web app hostname bindings", - "operationId": "Sites_GetSiteHostNameBindingsSlot", + "operationId": "Sites_GetSiteHostNameBindings", "consumes": [], "produces": [ "application/json", @@ -6570,13 +6681,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -6595,13 +6699,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}": { "get": { "tags": [ "Sites" ], "summary": "Get web app binding for a hostname", - "operationId": "Sites_GetSiteHostNameBindingSlot", + "operationId": "Sites_GetSiteHostNameBinding", "consumes": [], "produces": [ "application/json", @@ -6624,13 +6728,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "name": "hostName", "in": "path", @@ -6660,7 +6757,7 @@ "Sites" ], "summary": "Creates a web app hostname binding", - "operationId": "Sites_CreateOrUpdateSiteHostNameBindingSlot", + "operationId": "Sites_CreateOrUpdateSiteHostNameBinding", "consumes": [ "application/json", "text/json", @@ -6703,13 +6800,6 @@ "$ref": "#/definitions/HostNameBinding" } }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -6732,7 +6822,7 @@ "Sites" ], "summary": "Deletes a host name binding", - "operationId": "Sites_DeleteSiteHostNameBindingSlot", + "operationId": "Sites_DeleteSiteHostNameBinding", "consumes": [], "produces": [ "application/json", @@ -6755,13 +6845,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "name": "hostName", "in": "path", @@ -6787,13 +6870,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}": { "get": { "tags": [ "Sites" ], "summary": "Get web app binding for a hostname", - "operationId": "Sites_GetSiteHostNameBinding", + "operationId": "Sites_GetSiteHostNameBindingSlot", "consumes": [], "produces": [ "application/json", @@ -6816,6 +6899,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "name": "hostName", "in": "path", @@ -6845,7 +6935,7 @@ "Sites" ], "summary": "Creates a web app hostname binding", - "operationId": "Sites_CreateOrUpdateSiteHostNameBinding", + "operationId": "Sites_CreateOrUpdateSiteHostNameBindingSlot", "consumes": [ "application/json", "text/json", @@ -6888,6 +6978,13 @@ "$ref": "#/definitions/HostNameBinding" } }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -6910,7 +7007,7 @@ "Sites" ], "summary": "Deletes a host name binding", - "operationId": "Sites_DeleteSiteHostNameBinding", + "operationId": "Sites_DeleteSiteHostNameBindingSlot", "consumes": [], "produces": [ "application/json", @@ -6933,6 +7030,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "name": "hostName", "in": "path", @@ -7850,13 +7954,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings": { "put": { "tags": [ "Sites" ], "summary": "Updates the application settings of web app", - "operationId": "Sites_UpdateSiteAppSettings", + "operationId": "Sites_UpdateSiteAppSettingsSlot", "consumes": [ "application/json", "text/json", @@ -7892,6 +7996,13 @@ "$ref": "#/definitions/StringDictionary" } }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -7910,13 +8021,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings": { "put": { "tags": [ "Sites" ], "summary": "Updates the application settings of web app", - "operationId": "Sites_UpdateSiteAppSettingsSlot", + "operationId": "Sites_UpdateSiteAppSettings", "consumes": [ "application/json", "text/json", @@ -7952,13 +8063,6 @@ "$ref": "#/definitions/StringDictionary" } }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -7977,13 +8081,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/connectionstrings/list": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings/list": { "post": { "tags": [ "Sites" ], "summary": "Gets the connection strings associated with web app", - "operationId": "Sites_ListSiteConnectionStrings", + "operationId": "Sites_ListSiteConnectionStringsSlot", "consumes": [], "produces": [ "application/json", @@ -8006,6 +8110,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8024,13 +8135,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings/list": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/connectionstrings/list": { "post": { "tags": [ "Sites" ], "summary": "Gets the connection strings associated with web app", - "operationId": "Sites_ListSiteConnectionStringsSlot", + "operationId": "Sites_ListSiteConnectionStrings", "consumes": [], "produces": [ "application/json", @@ -8053,13 +8164,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8205,13 +8309,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/publishingcredentials/list": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/publishingcredentials/list": { "post": { "tags": [ "Sites" ], "summary": "Gets the web app publishing credentials", - "operationId": "Sites_ListSitePublishingCredentialsSlot", + "operationId": "Sites_ListSitePublishingCredentials", "consumes": [], "produces": [ "application/json", @@ -8234,13 +8338,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8260,13 +8357,13 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/publishingcredentials/list": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/publishingcredentials/list": { "post": { "tags": [ "Sites" ], "summary": "Gets the web app publishing credentials", - "operationId": "Sites_ListSitePublishingCredentials", + "operationId": "Sites_ListSitePublishingCredentialsSlot", "consumes": [], "produces": [ "application/json", @@ -8289,6 +8386,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8308,13 +8412,13 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata/list": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata/list": { "post": { "tags": [ "Sites" ], "summary": "Gets the web app meta data.", - "operationId": "Sites_ListSiteMetadata", + "operationId": "Sites_ListSiteMetadataSlot", "consumes": [], "produces": [ "application/json", @@ -8337,6 +8441,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8355,13 +8466,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata/list": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata/list": { "post": { "tags": [ "Sites" ], "summary": "Gets the web app meta data.", - "operationId": "Sites_ListSiteMetadataSlot", + "operationId": "Sites_ListSiteMetadata", "consumes": [], "produces": [ "application/json", @@ -8384,13 +8495,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8536,13 +8640,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/logs": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/logs": { "get": { "tags": [ "Sites" ], "summary": "Gets the web app logs configuration", - "operationId": "Sites_GetSiteLogsConfigSlot", + "operationId": "Sites_GetSiteLogsConfig", "consumes": [], "produces": [ "application/json", @@ -8565,13 +8669,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8594,7 +8691,7 @@ "Sites" ], "summary": "Updates the meta data for web app", - "operationId": "Sites_UpdateSiteLogsConfigSlot", + "operationId": "Sites_UpdateSiteLogsConfig", "consumes": [ "application/json", "text/json", @@ -8630,13 +8727,6 @@ "$ref": "#/definitions/SiteLogsConfig" } }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8655,13 +8745,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/logs": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/logs": { "get": { "tags": [ "Sites" ], "summary": "Gets the web app logs configuration", - "operationId": "Sites_GetSiteLogsConfig", + "operationId": "Sites_GetSiteLogsConfigSlot", "consumes": [], "produces": [ "application/json", @@ -8684,6 +8774,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8706,7 +8803,7 @@ "Sites" ], "summary": "Updates the meta data for web app", - "operationId": "Sites_UpdateSiteLogsConfig", + "operationId": "Sites_UpdateSiteLogsConfigSlot", "consumes": [ "application/json", "text/json", @@ -8742,6 +8839,13 @@ "$ref": "#/definitions/SiteLogsConfig" } }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -9763,13 +9867,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restore": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restore": { "get": { "tags": [ "Sites" ], "summary": "Lists all available backups for web app", - "operationId": "Sites_ListSiteBackups", + "operationId": "Sites_ListSiteBackupsSlot", "consumes": [], "produces": [ "application/json", @@ -9790,6 +9894,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -9808,13 +9919,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restore": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restore": { "get": { "tags": [ "Sites" ], "summary": "Lists all available backups for web app", - "operationId": "Sites_ListSiteBackupsSlot", + "operationId": "Sites_ListSiteBackups", "consumes": [], "produces": [ "application/json", @@ -9835,13 +9946,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -9975,13 +10079,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/usages": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/usages": { "get": { "tags": [ "Sites" ], "summary": "Gets the quota usage numbers for web app", - "operationId": "Sites_GetSiteUsagesSlot", + "operationId": "Sites_GetSiteUsages", "consumes": [], "produces": [ "application/json", @@ -10002,13 +10106,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "name": "$filter", "in": "query", @@ -10033,13 +10130,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/usages": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/usages": { "get": { "tags": [ "Sites" ], "summary": "Gets the quota usage numbers for web app", - "operationId": "Sites_GetSiteUsages", + "operationId": "Sites_GetSiteUsagesSlot", "consumes": [], "produces": [ "application/json", @@ -10060,6 +10157,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "name": "$filter", "in": "query", @@ -10084,13 +10188,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/metrics": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/metrics": { "get": { "tags": [ "Sites" ], "summary": "Gets metrics for web app", - "operationId": "Sites_GetSiteMetricsSlot", + "operationId": "Sites_GetSiteMetrics", "consumes": [], "produces": [ "application/json", @@ -10111,13 +10215,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "name": "details", "in": "query", @@ -10148,13 +10245,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/metrics": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/metrics": { "get": { "tags": [ "Sites" ], "summary": "Gets metrics for web app", - "operationId": "Sites_GetSiteMetrics", + "operationId": "Sites_GetSiteMetricsSlot", "consumes": [], "produces": [ "application/json", @@ -10175,6 +10272,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "name": "details", "in": "query", @@ -10364,7 +10468,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "type": "string" } } }, @@ -10426,20 +10530,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "type": "string" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restart": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restart": { "post": { "tags": [ "Sites" ], "summary": "Restarts web app", - "operationId": "Sites_RestartSiteSlot", + "operationId": "Sites_RestartSite", "consumes": [], "produces": [ "application/json", @@ -10462,13 +10566,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "name": "softRestart", "in": "query", @@ -10499,13 +10596,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restart": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restart": { "post": { "tags": [ "Sites" ], "summary": "Restarts web app", - "operationId": "Sites_RestartSite", + "operationId": "Sites_RestartSiteSlot", "consumes": [], "produces": [ "application/json", @@ -10528,6 +10625,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "name": "softRestart", "in": "query", @@ -10659,13 +10763,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/stop": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/stop": { "post": { "tags": [ "Sites" ], "summary": "Stops web app", - "operationId": "Sites_StopSite", + "operationId": "Sites_StopSiteSlot", "consumes": [], "produces": [ "application/json", @@ -10688,6 +10792,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -10706,13 +10817,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/stop": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/stop": { "post": { "tags": [ "Sites" ], "summary": "Stops web app", - "operationId": "Sites_StopSiteSlot", + "operationId": "Sites_StopSite", "consumes": [], "produces": [ "application/json", @@ -10735,13 +10846,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -10854,13 +10958,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/newpassword": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/newpassword": { "post": { "tags": [ "Sites" ], "summary": "Generates new random app publishing password", - "operationId": "Sites_GenerateNewSitePublishingPasswordSlot", + "operationId": "Sites_GenerateNewSitePublishingPassword", "consumes": [], "produces": [ "application/json", @@ -10883,13 +10987,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -10908,13 +11005,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/newpassword": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/newpassword": { "post": { "tags": [ "Sites" ], "summary": "Generates new random app publishing password", - "operationId": "Sites_GenerateNewSitePublishingPassword", + "operationId": "Sites_GenerateNewSitePublishingPasswordSlot", "consumes": [], "produces": [ "application/json", @@ -10937,6 +11034,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -10955,13 +11059,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}": { "get": { "tags": [ "Sites" ], "summary": "Retrieves a Biztalk Hybrid Connection identified by its entity name.", - "operationId": "Sites_GetSiteRelayServiceConnectionSlot", + "operationId": "Sites_GetSiteRelayServiceConnection", "consumes": [], "produces": [ "application/json", @@ -10991,13 +11095,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "The name of the slot for the web app.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -11020,7 +11117,7 @@ "Sites" ], "summary": "Creates a new association to a Biztalk Hybrid Connection, or updates an existing one.", - "operationId": "Sites_CreateOrUpdateSiteRelayServiceConnectionSlot", + "operationId": "Sites_CreateOrUpdateSiteRelayServiceConnection", "consumes": [ "application/json", "text/json", @@ -11063,13 +11160,6 @@ "$ref": "#/definitions/RelayServiceConnectionEntity" } }, - { - "name": "slot", - "in": "path", - "description": "The name of the slot for the web app.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -11092,7 +11182,7 @@ "Sites" ], "summary": "Removes the association to a Biztalk Hybrid Connection, identified by its entity name.", - "operationId": "Sites_DeleteSiteRelayServiceConnectionSlot", + "operationId": "Sites_DeleteSiteRelayServiceConnection", "consumes": [], "produces": [ "application/json", @@ -11122,13 +11212,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "The name of the slot for the web app.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -11151,7 +11234,7 @@ "Sites" ], "summary": "Creates a new association to a Biztalk Hybrid Connection, or updates an existing one.", - "operationId": "Sites_UpdateSiteRelayServiceConnectionSlot", + "operationId": "Sites_UpdateSiteRelayServiceConnection", "consumes": [ "application/json", "text/json", @@ -11194,13 +11277,6 @@ "$ref": "#/definitions/RelayServiceConnectionEntity" } }, - { - "name": "slot", - "in": "path", - "description": "The name of the slot for the web app.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -11219,13 +11295,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}": { "get": { "tags": [ "Sites" ], "summary": "Retrieves a Biztalk Hybrid Connection identified by its entity name.", - "operationId": "Sites_GetSiteRelayServiceConnection", + "operationId": "Sites_GetSiteRelayServiceConnectionSlot", "consumes": [], "produces": [ "application/json", @@ -11255,6 +11331,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "The name of the slot for the web app.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -11277,7 +11360,7 @@ "Sites" ], "summary": "Creates a new association to a Biztalk Hybrid Connection, or updates an existing one.", - "operationId": "Sites_CreateOrUpdateSiteRelayServiceConnection", + "operationId": "Sites_CreateOrUpdateSiteRelayServiceConnectionSlot", "consumes": [ "application/json", "text/json", @@ -11320,6 +11403,13 @@ "$ref": "#/definitions/RelayServiceConnectionEntity" } }, + { + "name": "slot", + "in": "path", + "description": "The name of the slot for the web app.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -11342,7 +11432,7 @@ "Sites" ], "summary": "Removes the association to a Biztalk Hybrid Connection, identified by its entity name.", - "operationId": "Sites_DeleteSiteRelayServiceConnection", + "operationId": "Sites_DeleteSiteRelayServiceConnectionSlot", "consumes": [], "produces": [ "application/json", @@ -11372,6 +11462,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "The name of the slot for the web app.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -11394,7 +11491,7 @@ "Sites" ], "summary": "Creates a new association to a Biztalk Hybrid Connection, or updates an existing one.", - "operationId": "Sites_UpdateSiteRelayServiceConnection", + "operationId": "Sites_UpdateSiteRelayServiceConnectionSlot", "consumes": [ "application/json", "text/json", @@ -11437,6 +11534,13 @@ "$ref": "#/definitions/RelayServiceConnectionEntity" } }, + { + "name": "slot", + "in": "path", + "description": "The name of the slot for the web app.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -11455,13 +11559,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection": { "get": { "tags": [ "Sites" ], "summary": "Retrieves all Biztalk Hybrid Connections associated with this web app.", - "operationId": "Sites_ListSiteRelayServiceConnectionsSlot", + "operationId": "Sites_ListSiteRelayServiceConnections", "consumes": [], "produces": [ "application/json", @@ -11484,13 +11588,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "The name of the slot for the web app.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -11509,13 +11606,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection": { "get": { "tags": [ "Sites" ], "summary": "Retrieves all Biztalk Hybrid Connections associated with this web app.", - "operationId": "Sites_ListSiteRelayServiceConnections", + "operationId": "Sites_ListSiteRelayServiceConnectionsSlot", "consumes": [], "produces": [ "application/json", @@ -11538,6 +11635,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "The name of the slot for the web app.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -11556,13 +11660,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": { "get": { "tags": [ "Sites" ], "summary": "Retrieves a Virtual Network connection gateway associated with this web app and virtual network.", - "operationId": "Sites_GetSiteVnetGatewaySlot", + "operationId": "Sites_GetSiteVnetGateway", "consumes": [], "produces": [ "application/json", @@ -11599,13 +11703,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "The name of the slot for this web app.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -11631,7 +11728,7 @@ "Sites" ], "summary": "Updates the Virtual Network Gateway.", - "operationId": "Sites_CreateOrUpdateSiteVNETConnectionGatewaySlot", + "operationId": "Sites_CreateOrUpdateSiteVNETConnectionGateway", "consumes": [ "application/json", "text/json", @@ -11681,13 +11778,6 @@ "$ref": "#/definitions/VnetGateway" } }, - { - "name": "slot", - "in": "path", - "description": "The name of the slot for this web app.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -11710,7 +11800,7 @@ "Sites" ], "summary": "Updates the Virtual Network Gateway.", - "operationId": "Sites_UpdateSiteVNETConnectionGatewaySlot", + "operationId": "Sites_UpdateSiteVNETConnectionGateway", "consumes": [ "application/json", "text/json", @@ -11760,13 +11850,6 @@ "$ref": "#/definitions/VnetGateway" } }, - { - "name": "slot", - "in": "path", - "description": "The name of the slot for this web app.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -11785,13 +11868,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": { "get": { "tags": [ "Sites" ], "summary": "Retrieves a Virtual Network connection gateway associated with this web app and virtual network.", - "operationId": "Sites_GetSiteVnetGateway", + "operationId": "Sites_GetSiteVnetGatewaySlot", "consumes": [], "produces": [ "application/json", @@ -11828,6 +11911,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "The name of the slot for this web app.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -11853,7 +11943,7 @@ "Sites" ], "summary": "Updates the Virtual Network Gateway.", - "operationId": "Sites_CreateOrUpdateSiteVNETConnectionGateway", + "operationId": "Sites_CreateOrUpdateSiteVNETConnectionGatewaySlot", "consumes": [ "application/json", "text/json", @@ -11903,6 +11993,13 @@ "$ref": "#/definitions/VnetGateway" } }, + { + "name": "slot", + "in": "path", + "description": "The name of the slot for this web app.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -11925,7 +12022,7 @@ "Sites" ], "summary": "Updates the Virtual Network Gateway.", - "operationId": "Sites_UpdateSiteVNETConnectionGateway", + "operationId": "Sites_UpdateSiteVNETConnectionGatewaySlot", "consumes": [ "application/json", "text/json", @@ -11975,6 +12072,13 @@ "$ref": "#/definitions/VnetGateway" } }, + { + "name": "slot", + "in": "path", + "description": "The name of the slot for this web app.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -12721,13 +12825,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/operationresults/{operationId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/operationresults/{operationId}": { "get": { "tags": [ "Sites" ], "summary": "Gets the operation for a web app", - "operationId": "Sites_GetSiteOperationSlot", + "operationId": "Sites_GetSiteOperation", "consumes": [], "produces": [ "application/json", @@ -12757,13 +12861,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -12782,13 +12879,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/operationresults/{operationId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/operationresults/{operationId}": { "get": { "tags": [ "Sites" ], "summary": "Gets the operation for a web app", - "operationId": "Sites_GetSiteOperation", + "operationId": "Sites_GetSiteOperationSlot", "consumes": [], "produces": [ "application/json", @@ -12818,6 +12915,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -13237,13 +13341,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resetSlotConfig": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resetSlotConfig": { "post": { "tags": [ "Sites" ], "summary": "Resets the configuration settings of the current slot if they were previously modified by calling ApplySlotConfig API", - "operationId": "Sites_ResetSlotConfigSlot", + "operationId": "Sites_ResetProductionSlotConfig", "consumes": [], "produces": [ "application/json", @@ -13266,13 +13370,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -13291,13 +13388,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resetSlotConfig": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resetSlotConfig": { "post": { "tags": [ "Sites" ], "summary": "Resets the configuration settings of the current slot if they were previously modified by calling ApplySlotConfig API", - "operationId": "Sites_ResetProductionSlotConfig", + "operationId": "Sites_ResetSlotConfigSlot", "consumes": [], "produces": [ "application/json", @@ -13320,6 +13417,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -15794,6 +15898,20 @@ } } }, + "HostingEnvironmentDiagnostics": { + "description": "Diagnostics for a hosting environment (App Service Environment)", + "type": "object", + "properties": { + "name": { + "description": "Name/identifier of the diagnostics", + "type": "string" + }, + "diagnosicsOutput": { + "description": "Diagnostics output", + "type": "string" + } + } + }, "StampCapacityCollection": { "description": "Collection of stamp capacities", "type": "object", From c95cc11810e6d850ac96e3372477336d58317dbd Mon Sep 17 00:00:00 2001 From: Naveed Aziz Date: Fri, 4 Sep 2015 19:07:24 -0700 Subject: [PATCH 4/4] Fixed async operation responses --- arm-web/2015-08-01/swagger/service.json | 166 +++++++++++++++++------- 1 file changed, 116 insertions(+), 50 deletions(-) diff --git a/arm-web/2015-08-01/swagger/service.json b/arm-web/2015-08-01/swagger/service.json index 1bc4da85a695..c3726cd0fb5a 100644 --- a/arm-web/2015-08-01/swagger/service.json +++ b/arm-web/2015-08-01/swagger/service.json @@ -1745,8 +1745,14 @@ } ], "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/HostingEnvironment" + } + }, "202": { - "description": "Asynchronous operation in progress", + "description": "Operation is in progress", "schema": { "$ref": "#/definitions/HostingEnvironment" } @@ -1806,8 +1812,14 @@ } ], "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Object" + } + }, "202": { - "description": "Asynchronous operation in progress", + "description": "Operation is in progress", "schema": { "$ref": "#/definitions/Object" } @@ -2906,8 +2918,14 @@ } ], "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WorkerPool" + } + }, "202": { - "description": "Asynchronous operation in progress", + "description": "Operation is in progress", "schema": { "$ref": "#/definitions/WorkerPool" } @@ -3080,8 +3098,14 @@ } ], "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WorkerPool" + } + }, "202": { - "description": "Asynchronous operation in progress", + "description": "Operation is in progress", "schema": { "$ref": "#/definitions/WorkerPool" } @@ -3440,6 +3464,12 @@ "schema": { "$ref": "#/definitions/SiteCollection" } + }, + "202": { + "description": "Operation is in progress", + "schema": { + "$ref": "#/definitions/SiteCollection" + } } }, "deprecated": false, @@ -3486,6 +3516,12 @@ "schema": { "$ref": "#/definitions/SiteCollection" } + }, + "202": { + "description": "Operation is in progress", + "schema": { + "$ref": "#/definitions/SiteCollection" + } } }, "deprecated": false, @@ -5771,6 +5807,12 @@ "schema": { "$ref": "#/definitions/Site" } + }, + "202": { + "description": "Asynchronous operation in progress", + "schema": { + "$ref": "#/definitions/Site" + } } }, "deprecated": false, @@ -5990,6 +6032,12 @@ "schema": { "$ref": "#/definitions/Site" } + }, + "202": { + "description": "Asynchronous operation in progress", + "schema": { + "$ref": "#/definitions/Site" + } } }, "deprecated": false, @@ -7954,13 +8002,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings": { "put": { "tags": [ "Sites" ], "summary": "Updates the application settings of web app", - "operationId": "Sites_UpdateSiteAppSettingsSlot", + "operationId": "Sites_UpdateSiteAppSettings", "consumes": [ "application/json", "text/json", @@ -7996,13 +8044,6 @@ "$ref": "#/definitions/StringDictionary" } }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8021,13 +8062,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings": { "put": { "tags": [ "Sites" ], "summary": "Updates the application settings of web app", - "operationId": "Sites_UpdateSiteAppSettings", + "operationId": "Sites_UpdateSiteAppSettingsSlot", "consumes": [ "application/json", "text/json", @@ -8063,6 +8104,13 @@ "$ref": "#/definitions/StringDictionary" } }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8081,13 +8129,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings/list": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/connectionstrings/list": { "post": { "tags": [ "Sites" ], "summary": "Gets the connection strings associated with web app", - "operationId": "Sites_ListSiteConnectionStringsSlot", + "operationId": "Sites_ListSiteConnectionStrings", "consumes": [], "produces": [ "application/json", @@ -8110,13 +8158,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8135,13 +8176,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/connectionstrings/list": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings/list": { "post": { "tags": [ "Sites" ], "summary": "Gets the connection strings associated with web app", - "operationId": "Sites_ListSiteConnectionStrings", + "operationId": "Sites_ListSiteConnectionStringsSlot", "consumes": [], "produces": [ "application/json", @@ -8164,6 +8205,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8353,8 +8401,7 @@ } } }, - "deprecated": false, - "x-ms-long-running-operation": true + "deprecated": false } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/publishingcredentials/list": { @@ -8408,17 +8455,16 @@ } } }, - "deprecated": false, - "x-ms-long-running-operation": true + "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata/list": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata/list": { "post": { "tags": [ "Sites" ], "summary": "Gets the web app meta data.", - "operationId": "Sites_ListSiteMetadataSlot", + "operationId": "Sites_ListSiteMetadata", "consumes": [], "produces": [ "application/json", @@ -8441,13 +8487,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8466,13 +8505,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata/list": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata/list": { "post": { "tags": [ "Sites" ], "summary": "Gets the web app meta data.", - "operationId": "Sites_ListSiteMetadata", + "operationId": "Sites_ListSiteMetadataSlot", "consumes": [], "produces": [ "application/json", @@ -8495,6 +8534,13 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -10238,7 +10284,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/MetricResponseCollection" + "type": "file" } } }, @@ -10302,7 +10348,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/MetricResponseCollection" + "type": "file" } } }, @@ -10468,7 +10514,7 @@ "200": { "description": "OK", "schema": { - "type": "string" + "type": "file" } } }, @@ -10530,7 +10576,7 @@ "200": { "description": "OK", "schema": { - "type": "string" + "type": "file" } } }, @@ -13482,7 +13528,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SlotConfigNames" + "$ref": "#/definitions/SlotConfigNamesResource" } } }, @@ -13526,7 +13572,7 @@ "description": "Request body containing the names of application settings and connection strings", "required": true, "schema": { - "$ref": "#/definitions/SlotConfigNames" + "$ref": "#/definitions/SlotConfigNamesResource" } }, { @@ -13540,7 +13586,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SlotConfigNames" + "$ref": "#/definitions/SlotConfigNamesResource" } } }, @@ -17525,8 +17571,8 @@ } } }, - "SlotConfigNames": { - "description": "Class containing names for connection strings and application settings to be marked as sticky to the slot \r\n and not moved during swap operation\r\n This is valid for all deployment slots under the site", + "SlotConfigNamesResource": { + "description": "Slot Config names azure resource", "type": "object", "allOf": [ { @@ -17554,6 +17600,26 @@ } } }, + "SlotConfigNames": { + "description": "Class containing names for connection strings and application settings to be marked as sticky to the slot \r\n and not moved during swap operation\r\n This is valid for all deployment slots under the site", + "type": "object", + "properties": { + "connectionStringNames": { + "description": "List of connection string names", + "type": "array", + "items": { + "type": "string" + } + }, + "appSettingNames": { + "description": "List of application settings names", + "type": "array", + "items": { + "type": "string" + } + } + } + }, "TopLevelDomainCollection": { "description": "Collection of Top Level Domains", "type": "object",