From 5ac73ff89c6f06d63feff3bb4e35f5be68512efe Mon Sep 17 00:00:00 2001 From: Naveed Aziz Date: Wed, 26 Aug 2015 15:36:15 -0700 Subject: [PATCH 1/3] Fix filter descriptions. Remove required fields for resources --- arm-web/2015-08-01/swagger/service.json | 806 +++++++++++++----------- 1 file changed, 425 insertions(+), 381 deletions(-) diff --git a/arm-web/2015-08-01/swagger/service.json b/arm-web/2015-08-01/swagger/service.json index 726ad8412cd7..cb6dce059563 100644 --- a/arm-web/2015-08-01/swagger/service.json +++ b/arm-web/2015-08-01/swagger/service.json @@ -2105,10 +2105,16 @@ "required": true, "type": "string" }, + { + "name": "details", + "in": "query", + "description": "Include instance details", + "type": "boolean" + }, { "name": "$filter", "in": "query", - "description": "name.value eq 'BytesSent' or name.value eq BytesReceived.", + "description": "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]'.", "type": "string" }, { @@ -2206,7 +2212,7 @@ { "name": "$filter", "in": "query", - "description": "name.value eq 'BytesSent' or name.value eq BytesReceived.", + "description": "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]'.", "type": "string" }, { @@ -2281,7 +2287,7 @@ { "name": "$filter", "in": "query", - "description": "name.value eq 'BytesSent' or name.value eq BytesReceived.", + "description": "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]'.", "type": "string" }, { @@ -2336,10 +2342,16 @@ "required": true, "type": "string" }, + { + "name": "details", + "in": "query", + "description": "Include instance details", + "type": "boolean" + }, { "name": "$filter", "in": "query", - "description": "name.value eq 'BytesSent' or name.value eq BytesReceived.", + "description": "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]'.", "type": "string" }, { @@ -3079,10 +3091,16 @@ "required": true, "type": "string" }, + { + "name": "details", + "in": "query", + "description": "Include instance details", + "type": "boolean" + }, { "name": "$filter", "in": "query", - "description": "name.value eq 'BytesSent' or name.value eq BytesReceived.", + "description": "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]'.", "type": "string" }, { @@ -3200,6 +3218,12 @@ "required": true, "type": "string" }, + { + "name": "details", + "in": "query", + "description": "Include instance details", + "type": "boolean" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -3991,10 +4015,16 @@ "required": true, "type": "string" }, + { + "name": "details", + "in": "query", + "description": "If true, metrics are broken down per App Service Plan instance", + "type": "boolean" + }, { "name": "$filter", "in": "query", - "description": "name.value eq 'BytesSent' or name.value eq BytesReceived.", + "description": "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]'.", "type": "string" }, { @@ -4042,10 +4072,16 @@ "required": true, "type": "string" }, + { + "name": "details", + "in": "query", + "description": "If true, metrics are broken down per App Service Plan instance", + "type": "boolean" + }, { "name": "$filter", "in": "query", - "description": "name.value eq 'BytesSent' or name.value eq BytesReceived.", + "description": "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]'.", "type": "string" }, { @@ -4156,13 +4192,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", @@ -4206,13 +4242,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", @@ -4484,13 +4520,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", @@ -4555,7 +4591,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", @@ -4633,7 +4669,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", @@ -4695,7 +4731,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", @@ -4769,13 +4805,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", @@ -4840,7 +4876,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", @@ -4918,7 +4954,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", @@ -4980,7 +5016,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", @@ -5182,13 +5218,13 @@ "x-ms-pageable": true } }, - "/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", @@ -5236,13 +5272,13 @@ "deprecated": false } }, - "/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", @@ -5343,13 +5379,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/operationresults/{operationId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/operationresults/{operationId}": { "get": { "tags": [ "ServerFarms" ], "summary": "Gets a server farm operation", - "operationId": "ServerFarms_GetServerFarmOperation", + "operationId": "ServerFarms_GetWebHostingPlanOperation", "consumes": [], "produces": [ "application/json", @@ -5397,13 +5433,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/operationresults/{operationId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/operationresults/{operationId}": { "get": { "tags": [ "ServerFarms" ], "summary": "Gets a server farm operation", - "operationId": "ServerFarms_GetWebHostingPlanOperation", + "operationId": "ServerFarms_GetServerFarmOperation", "consumes": [], "produces": [ "application/json", @@ -5932,13 +5968,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/recover": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/recover": { "post": { "tags": [ "Sites" ], "summary": "Recovers a deleted web app", - "operationId": "Sites_RecoverSiteSlot", + "operationId": "Sites_RecoverSite", "consumes": [ "application/json", "text/json", @@ -5976,13 +6012,6 @@ "$ref": "#/definitions/CsmSiteRecoveryEntity" } }, - { - "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" }, @@ -6001,13 +6030,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/recover": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/recover": { "post": { "tags": [ "Sites" ], "summary": "Recovers a deleted web app", - "operationId": "Sites_RecoverSite", + "operationId": "Sites_RecoverSiteSlot", "consumes": [ "application/json", "text/json", @@ -6045,6 +6074,13 @@ "$ref": "#/definitions/CsmSiteRecoveryEntity" } }, + { + "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" }, @@ -6462,13 +6498,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_GetSiteSlotHostNameBindings", "consumes": [], "produces": [ "application/json", @@ -6489,6 +6525,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" }, @@ -6507,13 +6550,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_GetSiteSlotHostNameBindings", + "operationId": "Sites_GetSiteHostNameBindings", "consumes": [], "produces": [ "application/json", @@ -6534,13 +6577,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" }, @@ -6922,13 +6958,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web": { "get": { "tags": [ "Sites" ], "summary": "Gets the configuration of the web app", - "operationId": "Sites_GetSiteSlotConfig", + "operationId": "Sites_GetSiteConfig", "consumes": [], "produces": [ "application/json", @@ -6951,13 +6987,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" }, @@ -6980,7 +7009,7 @@ "Sites" ], "summary": "Update the configuration of web app", - "operationId": "Sites_CreateOrUpdateSiteSlotConfig", + "operationId": "Sites_CreateOrUpdateSiteConfig", "consumes": [ "application/json", "text/json", @@ -7016,13 +7045,6 @@ "$ref": "#/definitions/SiteConfig" } }, - { - "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" }, @@ -7045,7 +7067,7 @@ "Sites" ], "summary": "Update the configuration of web app", - "operationId": "Sites_UpdateSiteSlotConfig", + "operationId": "Sites_UpdateSiteConfig", "consumes": [ "application/json", "text/json", @@ -7081,13 +7103,6 @@ "$ref": "#/definitions/SiteConfig" } }, - { - "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" }, @@ -7106,13 +7121,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web": { "get": { "tags": [ "Sites" ], "summary": "Gets the configuration of the web app", - "operationId": "Sites_GetSiteConfig", + "operationId": "Sites_GetSiteSlotConfig", "consumes": [], "produces": [ "application/json", @@ -7135,6 +7150,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" }, @@ -7157,7 +7179,7 @@ "Sites" ], "summary": "Update the configuration of web app", - "operationId": "Sites_CreateOrUpdateSiteConfig", + "operationId": "Sites_CreateOrUpdateSiteSlotConfig", "consumes": [ "application/json", "text/json", @@ -7193,6 +7215,13 @@ "$ref": "#/definitions/SiteConfig" } }, + { + "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" }, @@ -7215,7 +7244,7 @@ "Sites" ], "summary": "Update the configuration of web app", - "operationId": "Sites_UpdateSiteConfig", + "operationId": "Sites_UpdateSiteSlotConfig", "consumes": [ "application/json", "text/json", @@ -7251,6 +7280,13 @@ "$ref": "#/definitions/SiteConfig" } }, + { + "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" }, @@ -7941,13 +7977,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_ListSiteSlotConnectionStrings", + "operationId": "Sites_ListSiteConnectionStrings", "consumes": [], "produces": [ "application/json", @@ -7970,13 +8006,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" }, @@ -7995,13 +8024,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_ListSiteSlotConnectionStrings", "consumes": [], "produces": [ "application/json", @@ -8024,6 +8053,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" }, @@ -8169,13 +8205,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_ListSiteSlotPublishingCredentials", + "operationId": "Sites_ListSitePublishingCredentials", "consumes": [], "produces": [ "application/json", @@ -8198,13 +8234,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" }, @@ -8224,13 +8253,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_ListSiteSlotPublishingCredentials", "consumes": [], "produces": [ "application/json", @@ -8253,6 +8282,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" }, @@ -8272,13 +8308,13 @@ "x-ms-long-running-operation": true } }, - "/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_ListSiteSlotMetadata", + "operationId": "Sites_ListSiteMetadata", "consumes": [], "produces": [ "application/json", @@ -8301,13 +8337,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" }, @@ -8326,13 +8355,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_ListSiteSlotMetadata", "consumes": [], "produces": [ "application/json", @@ -8355,6 +8384,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" }, @@ -8500,13 +8536,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_GetSiteSlotLogsConfig", + "operationId": "Sites_GetSiteLogsConfig", "consumes": [], "produces": [ "application/json", @@ -8530,14 +8566,7 @@ "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" + "$ref": "#/parameters/subscriptionIdParameter" }, { "$ref": "#/parameters/apiVersionParameter" @@ -8558,7 +8587,7 @@ "Sites" ], "summary": "Updates the meta data for web app", - "operationId": "Sites_UpdateSiteSlotLogsConfig", + "operationId": "Sites_UpdateSiteLogsConfig", "consumes": [ "application/json", "text/json", @@ -8594,13 +8623,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" }, @@ -8619,13 +8641,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_GetSiteSlotLogsConfig", "consumes": [], "produces": [ "application/json", @@ -8648,6 +8670,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" }, @@ -8670,7 +8699,7 @@ "Sites" ], "summary": "Updates the meta data for web app", - "operationId": "Sites_UpdateSiteLogsConfig", + "operationId": "Sites_UpdateSiteSlotLogsConfig", "consumes": [ "application/json", "text/json", @@ -8706,6 +8735,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" }, @@ -8724,12 +8760,12 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons": { "get": { "tags": [ "Sites" ], - "operationId": "Sites_ListSiteSlotPremierAddOns", + "operationId": "Sites_ListSitePremierAddOns", "consumes": [], "produces": [ "application/json", @@ -8750,12 +8786,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8774,12 +8804,12 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons": { "get": { "tags": [ "Sites" ], - "operationId": "Sites_ListSitePremierAddOns", + "operationId": "Sites_ListSiteSlotPremierAddOns", "consumes": [], "produces": [ "application/json", @@ -8800,6 +8830,12 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8818,12 +8854,12 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName}": { "get": { "tags": [ "Sites" ], - "operationId": "Sites_GetSiteSlotPremierAddOn", + "operationId": "Sites_GetSitePremierAddOn", "consumes": [], "produces": [ "application/json", @@ -8850,12 +8886,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8877,7 +8907,7 @@ "tags": [ "Sites" ], - "operationId": "Sites_AddSiteSlotPremierAddOn", + "operationId": "Sites_AddSitePremierAddOn", "consumes": [ "application/json", "text/json", @@ -8916,12 +8946,6 @@ "$ref": "#/definitions/PremierAddOnRequest" } }, - { - "name": "slot", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8943,7 +8967,7 @@ "tags": [ "Sites" ], - "operationId": "Sites_DeleteSiteSlotPremierAddOn", + "operationId": "Sites_DeleteSitePremierAddOn", "consumes": [], "produces": [ "application/json", @@ -8970,12 +8994,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8994,12 +9012,12 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}": { "get": { "tags": [ "Sites" ], - "operationId": "Sites_GetSitePremierAddOn", + "operationId": "Sites_GetSiteSlotPremierAddOn", "consumes": [], "produces": [ "application/json", @@ -9026,6 +9044,12 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -9047,7 +9071,7 @@ "tags": [ "Sites" ], - "operationId": "Sites_AddSitePremierAddOn", + "operationId": "Sites_AddSiteSlotPremierAddOn", "consumes": [ "application/json", "text/json", @@ -9086,6 +9110,12 @@ "$ref": "#/definitions/PremierAddOnRequest" } }, + { + "name": "slot", + "in": "path", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -9107,7 +9137,7 @@ "tags": [ "Sites" ], - "operationId": "Sites_DeleteSitePremierAddOn", + "operationId": "Sites_DeleteSiteSlotPremierAddOn", "consumes": [], "produces": [ "application/json", @@ -9134,6 +9164,12 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -9600,13 +9636,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_DiscoverSiteSlotRestore", "consumes": [ "application/json", "text/json", @@ -9642,6 +9678,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" }, @@ -9660,13 +9703,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_DiscoverSiteSlotRestore", + "operationId": "Sites_DiscoverSiteRestore", "consumes": [ "application/json", "text/json", @@ -9702,13 +9745,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" }, @@ -9727,13 +9763,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_ListSiteSlotBackups", + "operationId": "Sites_ListSiteBackups", "consumes": [], "produces": [ "application/json", @@ -9754,13 +9790,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" }, @@ -9779,13 +9808,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_ListSiteSlotBackups", "consumes": [], "produces": [ "application/json", @@ -9806,6 +9835,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" }, @@ -9824,13 +9860,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_GetSiteSlotBackupStatus", "consumes": [], "produces": [ "application/json", @@ -9860,6 +9896,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" }, @@ -9878,13 +9921,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_GetSiteSlotBackupStatus", + "operationId": "Sites_GetSiteBackupStatus", "consumes": [], "produces": [ "application/json", @@ -9914,13 +9957,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" }, @@ -9969,7 +10005,7 @@ { "name": "$filter", "in": "query", - "description": "Return only usages specified in the filter. Filter is specified by using OData syntax. Example: $filter=name.value eq 'BytesSent' or name.value eq BytesReceived.", + "description": "Return only usages specified in the filter. Filter is specified by using OData syntax. Example: $filter=Filter for resource metrics. 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" }, { @@ -10027,7 +10063,7 @@ { "name": "$filter", "in": "query", - "description": "Return only usages specified in the filter. Filter is specified by using OData syntax. Example: $filter=name.value eq 'BytesSent' or name.value eq BytesReceived.", + "description": "Return only usages specified in the filter. Filter is specified by using OData syntax. Example: $filter=Filter for resource metrics. 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" }, { @@ -10075,10 +10111,16 @@ "required": true, "type": "string" }, + { + "name": "details", + "in": "query", + "description": "If true, metric details are included in response", + "type": "boolean" + }, { "name": "$filter", "in": "query", - "description": "name.value eq 'BytesSent' or name.value eq BytesReceived.", + "description": "Filter for resource metrics. 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" }, { @@ -10133,10 +10175,16 @@ "required": true, "type": "string" }, + { + "name": "details", + "in": "query", + "description": "If true, metric details are included in response", + "type": "boolean" + }, { "name": "$filter", "in": "query", - "description": "name.value eq 'BytesSent' or name.value eq BytesReceived.", + "description": "Filter for resource metrics. 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" }, { @@ -10385,13 +10433,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", @@ -10414,6 +10462,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", @@ -10444,13 +10499,13 @@ "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", @@ -10473,13 +10528,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", @@ -10611,13 +10659,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", @@ -10640,13 +10688,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" }, @@ -10665,13 +10706,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", @@ -10694,6 +10735,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" }, @@ -10907,13 +10955,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_GetSiteSlotRelayServiceConnection", + "operationId": "Sites_GetSiteRelayServiceConnection", "consumes": [], "produces": [ "application/json", @@ -10943,13 +10991,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" }, @@ -10972,7 +11013,7 @@ "Sites" ], "summary": "Creates a new association to a Biztalk Hybrid Connection, or updates an existing one.", - "operationId": "Sites_CreateOrUpdateSiteSlotRelayServiceConnection", + "operationId": "Sites_CreateOrUpdateSiteRelayServiceConnection", "consumes": [ "application/json", "text/json", @@ -11015,13 +11056,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" }, @@ -11044,7 +11078,7 @@ "Sites" ], "summary": "Removes the association to a Biztalk Hybrid Connection, identified by its entity name.", - "operationId": "Sites_DeleteSiteSlotRelayServiceConnection", + "operationId": "Sites_DeleteSiteRelayServiceConnection", "consumes": [], "produces": [ "application/json", @@ -11074,13 +11108,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" }, @@ -11103,7 +11130,7 @@ "Sites" ], "summary": "Creates a new association to a Biztalk Hybrid Connection, or updates an existing one.", - "operationId": "Sites_UpdateSiteSlotRelayServiceConnection", + "operationId": "Sites_UpdateSiteRelayServiceConnection", "consumes": [ "application/json", "text/json", @@ -11143,15 +11170,8 @@ "description": "The details of the Hybrid Connection", "required": true, "schema": { - "$ref": "#/definitions/RelayServiceConnectionEntity" - } - }, - { - "name": "slot", - "in": "path", - "description": "The name of the slot for the web app.", - "required": true, - "type": "string" + "$ref": "#/definitions/RelayServiceConnectionEntity" + } }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -11171,13 +11191,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_GetSiteSlotRelayServiceConnection", "consumes": [], "produces": [ "application/json", @@ -11207,6 +11227,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" }, @@ -11229,7 +11256,7 @@ "Sites" ], "summary": "Creates a new association to a Biztalk Hybrid Connection, or updates an existing one.", - "operationId": "Sites_CreateOrUpdateSiteRelayServiceConnection", + "operationId": "Sites_CreateOrUpdateSiteSlotRelayServiceConnection", "consumes": [ "application/json", "text/json", @@ -11272,6 +11299,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" }, @@ -11294,7 +11328,7 @@ "Sites" ], "summary": "Removes the association to a Biztalk Hybrid Connection, identified by its entity name.", - "operationId": "Sites_DeleteSiteRelayServiceConnection", + "operationId": "Sites_DeleteSiteSlotRelayServiceConnection", "consumes": [], "produces": [ "application/json", @@ -11324,6 +11358,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" }, @@ -11346,7 +11387,7 @@ "Sites" ], "summary": "Creates a new association to a Biztalk Hybrid Connection, or updates an existing one.", - "operationId": "Sites_UpdateSiteRelayServiceConnection", + "operationId": "Sites_UpdateSiteSlotRelayServiceConnection", "consumes": [ "application/json", "text/json", @@ -11389,6 +11430,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" }, @@ -11407,13 +11455,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_ListSiteSlotRelayServiceConnections", "consumes": [], "produces": [ "application/json", @@ -11436,6 +11484,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" }, @@ -11454,13 +11509,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_ListSiteSlotRelayServiceConnections", + "operationId": "Sites_ListSiteRelayServiceConnections", "consumes": [], "produces": [ "application/json", @@ -11483,13 +11538,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" }, @@ -11945,13 +11993,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}": { "get": { "tags": [ "Sites" ], "summary": "Retrieves a specific Virtual Network Connection associated with this web app.", - "operationId": "Sites_GetSiteSlotVNETConnection", + "operationId": "Sites_GetSiteVNETConnection", "consumes": [], "produces": [ "application/json", @@ -11981,13 +12029,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" }, @@ -12010,7 +12051,7 @@ "Sites" ], "summary": "Adds a Virtual Network Connection or updates it's properties.", - "operationId": "Sites_CreateOrUpdateSiteSlotVNETConnection", + "operationId": "Sites_CreateOrUpdateSiteVNETConnection", "consumes": [ "application/json", "text/json", @@ -12053,13 +12094,6 @@ "$ref": "#/definitions/VnetInfo" } }, - { - "name": "slot", - "in": "path", - "description": "The name of the slot for this web app.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -12082,7 +12116,7 @@ "Sites" ], "summary": "Removes the specified Virtual Network Connection association from this web app.", - "operationId": "Sites_DeleteSiteSlotVNETConnection", + "operationId": "Sites_DeleteSiteVNETConnection", "consumes": [], "produces": [ "application/json", @@ -12112,13 +12146,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" }, @@ -12141,7 +12168,7 @@ "Sites" ], "summary": "Adds a Virtual Network Connection or updates it's properties.", - "operationId": "Sites_UpdateSiteSlotVNETConnection", + "operationId": "Sites_UpdateSiteVNETConnection", "consumes": [ "application/json", "text/json", @@ -12184,13 +12211,6 @@ "$ref": "#/definitions/VnetInfo" } }, - { - "name": "slot", - "in": "path", - "description": "The name of the slot for this web app.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -12209,13 +12229,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}": { "get": { "tags": [ "Sites" ], "summary": "Retrieves a specific Virtual Network Connection associated with this web app.", - "operationId": "Sites_GetSiteVNETConnection", + "operationId": "Sites_GetSiteSlotVNETConnection", "consumes": [], "produces": [ "application/json", @@ -12245,6 +12265,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" }, @@ -12267,7 +12294,7 @@ "Sites" ], "summary": "Adds a Virtual Network Connection or updates it's properties.", - "operationId": "Sites_CreateOrUpdateSiteVNETConnection", + "operationId": "Sites_CreateOrUpdateSiteSlotVNETConnection", "consumes": [ "application/json", "text/json", @@ -12310,6 +12337,13 @@ "$ref": "#/definitions/VnetInfo" } }, + { + "name": "slot", + "in": "path", + "description": "The name of the slot for this web app.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -12332,7 +12366,7 @@ "Sites" ], "summary": "Removes the specified Virtual Network Connection association from this web app.", - "operationId": "Sites_DeleteSiteVNETConnection", + "operationId": "Sites_DeleteSiteSlotVNETConnection", "consumes": [], "produces": [ "application/json", @@ -12362,6 +12396,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" }, @@ -12384,7 +12425,7 @@ "Sites" ], "summary": "Adds a Virtual Network Connection or updates it's properties.", - "operationId": "Sites_UpdateSiteVNETConnection", + "operationId": "Sites_UpdateSiteSlotVNETConnection", "consumes": [ "application/json", "text/json", @@ -12427,6 +12468,13 @@ "$ref": "#/definitions/VnetInfo" } }, + { + "name": "slot", + "in": "path", + "description": "The name of the slot for this web app.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -12445,13 +12493,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_GetSiteSlotVNETConnections", "consumes": [], "produces": [ "application/json", @@ -12474,6 +12522,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" }, @@ -12495,13 +12550,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_GetSiteSlotVNETConnections", + "operationId": "Sites_GetSiteVNETConnections", "consumes": [], "produces": [ "application/json", @@ -12524,13 +12579,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" }, @@ -12552,13 +12600,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_GetSiteSlotNetworkFeatures", "consumes": [], "produces": [ "application/json", @@ -12588,6 +12636,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" }, @@ -12609,13 +12664,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_GetSiteSlotNetworkFeatures", + "operationId": "Sites_GetSiteNetworkFeatures", "consumes": [], "produces": [ "application/json", @@ -12645,13 +12700,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" }, @@ -12673,13 +12721,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_GetSiteSlotOperation", + "operationId": "Sites_GetSiteOperation", "consumes": [], "produces": [ "application/json", @@ -12709,13 +12757,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" }, @@ -12734,13 +12775,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_GetSiteSlotOperation", "consumes": [], "produces": [ "application/json", @@ -12770,6 +12811,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" }, @@ -12931,13 +12979,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/slotsdiffs": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotsdiffs": { "post": { "tags": [ "Sites" ], "summary": "Get the difference in configuration settings between two web app slots", - "operationId": "Sites_GetSlotsDifferences", + "operationId": "Sites_GetSlotsDifferencesFromProduction", "consumes": [ "application/json", "text/json", @@ -12973,13 +13021,6 @@ "$ref": "#/definitions/CsmSlotEntity" } }, - { - "name": "slot", - "in": "path", - "description": "Name of the source slot", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -12998,13 +13039,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotsdiffs": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/slotsdiffs": { "post": { "tags": [ "Sites" ], "summary": "Get the difference in configuration settings between two web app slots", - "operationId": "Sites_GetSlotsDifferencesFromProduction", + "operationId": "Sites_GetSlotsDifferences", "consumes": [ "application/json", "text/json", @@ -13040,6 +13081,13 @@ "$ref": "#/definitions/CsmSlotEntity" } }, + { + "name": "slot", + "in": "path", + "description": "Name of the source slot", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -13058,13 +13106,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_ApplySlotConfig", "consumes": [ "application/json", "text/json", @@ -13102,6 +13150,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" }, @@ -13120,13 +13175,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_ApplySlotConfig", + "operationId": "Sites_ApplySlotConfigToProduction", "consumes": [ "application/json", "text/json", @@ -13164,13 +13219,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" }, @@ -13837,13 +13885,11 @@ ], "properties": { "properties": { - "required": [ - "name" - ], "properties": { "name": { "description": "Name used to locate CSR object", - "type": "string" + "type": "string", + "readOnly": true }, "distinguishedName": { "description": "Distinguished name of certificate to be created", @@ -14284,9 +14330,6 @@ ], "properties": { "properties": { - "required": [ - "name" - ], "properties": { "serverFarmId": { "format": "int32", @@ -14296,7 +14339,8 @@ }, "name": { "description": "Name for the App Service Plan", - "type": "string" + "type": "string", + "readOnly": true }, "status": { "description": "App Service Plan Status", From c1b050621b91c4d66d3ea23c2fa1181964ac2300 Mon Sep 17 00:00:00 2001 From: Naveed Aziz Date: Wed, 26 Aug 2015 16:14:06 -0700 Subject: [PATCH 2/3] Change Slot API method names. --- arm-web/2015-08-01/swagger/service.json | 116 ++++++++++++------------ 1 file changed, 58 insertions(+), 58 deletions(-) diff --git a/arm-web/2015-08-01/swagger/service.json b/arm-web/2015-08-01/swagger/service.json index cb6dce059563..e21f2b331bef 100644 --- a/arm-web/2015-08-01/swagger/service.json +++ b/arm-web/2015-08-01/swagger/service.json @@ -6105,7 +6105,7 @@ "Sites" ], "summary": "Returns Snapshots to the user based on their SKU.", - "operationId": "Sites_GetSiteSlotSnapshotsOnSku", + "operationId": "Sites_GetSiteSnapshotsOnSkuSlot", "consumes": [], "produces": [ "application/json", @@ -6291,7 +6291,7 @@ "Sites" ], "summary": "Returns all Snapshots to the user.", - "operationId": "Sites_GetSiteSlotSnapshots", + "operationId": "Sites_GetSiteSnapshotsSlot", "consumes": [], "produces": [ "application/json", @@ -6452,7 +6452,7 @@ "Sites" ], "summary": "Gets all instance of a web app", - "operationId": "Sites_GetSiteSlotInstanceIdentifiers", + "operationId": "Sites_GetSiteInstanceIdentifiersSlot", "consumes": [], "produces": [ "application/json", @@ -6504,7 +6504,7 @@ "Sites" ], "summary": "Get web app hostname bindings", - "operationId": "Sites_GetSiteSlotHostNameBindings", + "operationId": "Sites_GetSiteHostNameBindingsSlot", "consumes": [], "produces": [ "application/json", @@ -6772,7 +6772,7 @@ "Sites" ], "summary": "Get web app binding for a hostname", - "operationId": "Sites_GetSiteSlotHostNameBinding", + "operationId": "Sites_GetSiteHostNameBindingSlot", "consumes": [], "produces": [ "application/json", @@ -6831,7 +6831,7 @@ "Sites" ], "summary": "Creates a web app hostname binding", - "operationId": "Sites_CreateOrUpdateSiteSlotHostNameBinding", + "operationId": "Sites_CreateOrUpdateSiteHostNameBindingSlot", "consumes": [ "application/json", "text/json", @@ -6903,7 +6903,7 @@ "Sites" ], "summary": "Deletes a host name binding", - "operationId": "Sites_DeleteSiteSlotHostNameBinding", + "operationId": "Sites_DeleteSiteHostNameBindingSlot", "consumes": [], "produces": [ "application/json", @@ -7127,7 +7127,7 @@ "Sites" ], "summary": "Gets the configuration of the web app", - "operationId": "Sites_GetSiteSlotConfig", + "operationId": "Sites_GetSiteConfigSlot", "consumes": [], "produces": [ "application/json", @@ -7179,7 +7179,7 @@ "Sites" ], "summary": "Update the configuration of web app", - "operationId": "Sites_CreateOrUpdateSiteSlotConfig", + "operationId": "Sites_CreateOrUpdateSiteConfigSlot", "consumes": [ "application/json", "text/json", @@ -7244,7 +7244,7 @@ "Sites" ], "summary": "Update the configuration of web app", - "operationId": "Sites_UpdateSiteSlotConfig", + "operationId": "Sites_UpdateSiteConfigSlot", "consumes": [ "application/json", "text/json", @@ -7519,7 +7519,7 @@ "Sites" ], "summary": "Get the source control configuration of web app", - "operationId": "Sites_GetSiteSlotSourceControl", + "operationId": "Sites_GetSiteSourceControlSlot", "consumes": [], "produces": [ "application/json", @@ -7571,7 +7571,7 @@ "Sites" ], "summary": "Update the source control configuration of web app", - "operationId": "Sites_CreateOrUpdateSiteSlotSourceControl", + "operationId": "Sites_CreateOrUpdateSiteSourceControlSlot", "consumes": [ "application/json", "text/json", @@ -7636,7 +7636,7 @@ "Sites" ], "summary": "Delete source control configuration of web app", - "operationId": "Sites_DeleteSiteSlotSourceControl", + "operationId": "Sites_DeleteSiteSourceControlSlot", "consumes": [], "produces": [ "application/json", @@ -7688,7 +7688,7 @@ "Sites" ], "summary": "Update the source control configuration of web app", - "operationId": "Sites_UpdateSiteSlotSourceControl", + "operationId": "Sites_UpdateSiteSourceControlSlot", "consumes": [ "application/json", "text/json", @@ -7802,7 +7802,7 @@ "Sites" ], "summary": "Gets the application settings of web app", - "operationId": "Sites_ListSiteSlotAppSettings", + "operationId": "Sites_ListSiteAppSettingsSlot", "consumes": [], "produces": [ "application/json", @@ -7916,7 +7916,7 @@ "Sites" ], "summary": "Updates the application settings of web app", - "operationId": "Sites_UpdateSiteSlotAppSettings", + "operationId": "Sites_UpdateSiteAppSettingsSlot", "consumes": [ "application/json", "text/json", @@ -8030,7 +8030,7 @@ "Sites" ], "summary": "Gets the connection strings associated with web app", - "operationId": "Sites_ListSiteSlotConnectionStrings", + "operationId": "Sites_ListSiteConnectionStringsSlot", "consumes": [], "produces": [ "application/json", @@ -8144,7 +8144,7 @@ "Sites" ], "summary": "Updates the connection strings associated with web app", - "operationId": "Sites_UpdateSiteSlotConnectionStrings", + "operationId": "Sites_UpdateSiteConnectionStringsSlot", "consumes": [ "application/json", "text/json", @@ -8259,7 +8259,7 @@ "Sites" ], "summary": "Gets the web app publishing credentials", - "operationId": "Sites_ListSiteSlotPublishingCredentials", + "operationId": "Sites_ListSitePublishingCredentialsSlot", "consumes": [], "produces": [ "application/json", @@ -8361,7 +8361,7 @@ "Sites" ], "summary": "Gets the web app meta data.", - "operationId": "Sites_ListSiteSlotMetadata", + "operationId": "Sites_ListSiteMetadataSlot", "consumes": [], "produces": [ "application/json", @@ -8475,7 +8475,7 @@ "Sites" ], "summary": "Updates the meta data for web app", - "operationId": "Sites_UpdateSiteSlotMetadata", + "operationId": "Sites_UpdateSiteMetadataSlot", "consumes": [ "application/json", "text/json", @@ -8647,7 +8647,7 @@ "Sites" ], "summary": "Gets the web app logs configuration", - "operationId": "Sites_GetSiteSlotLogsConfig", + "operationId": "Sites_GetSiteLogsConfigSlot", "consumes": [], "produces": [ "application/json", @@ -8699,7 +8699,7 @@ "Sites" ], "summary": "Updates the meta data for web app", - "operationId": "Sites_UpdateSiteSlotLogsConfig", + "operationId": "Sites_UpdateSiteLogsConfigSlot", "consumes": [ "application/json", "text/json", @@ -8809,7 +8809,7 @@ "tags": [ "Sites" ], - "operationId": "Sites_ListSiteSlotPremierAddOns", + "operationId": "Sites_ListSitePremierAddOnsSlot", "consumes": [], "produces": [ "application/json", @@ -9017,7 +9017,7 @@ "tags": [ "Sites" ], - "operationId": "Sites_GetSiteSlotPremierAddOn", + "operationId": "Sites_GetSitePremierAddOnSlot", "consumes": [], "produces": [ "application/json", @@ -9071,7 +9071,7 @@ "tags": [ "Sites" ], - "operationId": "Sites_AddSiteSlotPremierAddOn", + "operationId": "Sites_AddSitePremierAddOnSlot", "consumes": [ "application/json", "text/json", @@ -9137,7 +9137,7 @@ "tags": [ "Sites" ], - "operationId": "Sites_DeleteSiteSlotPremierAddOn", + "operationId": "Sites_DeleteSitePremierAddOnSlot", "consumes": [], "produces": [ "application/json", @@ -9344,7 +9344,7 @@ "Sites" ], "summary": "Gets the backup configuration for a web app", - "operationId": "Sites_GetSiteSlotBackupConfiguration", + "operationId": "Sites_GetSiteBackupConfigurationSlot", "consumes": [], "produces": [ "application/json", @@ -9396,7 +9396,7 @@ "Sites" ], "summary": "Updates backup configuration of web app", - "operationId": "Sites_UpdateSiteSlotBackupConfiguration", + "operationId": "Sites_UpdateSiteBackupConfigurationSlot", "consumes": [ "application/json", "text/json", @@ -9461,7 +9461,7 @@ "Sites" ], "summary": "Lists all backup configurations for a web app", - "operationId": "Sites_ListSiteSlotBackupConfiguration", + "operationId": "Sites_ListSiteBackupConfigurationSlot", "consumes": [], "produces": [ "application/json", @@ -9642,7 +9642,7 @@ "Sites" ], "summary": "Discovers existing web app backups that can be restored", - "operationId": "Sites_DiscoverSiteSlotRestore", + "operationId": "Sites_DiscoverSiteRestoreSlot", "consumes": [ "application/json", "text/json", @@ -9814,7 +9814,7 @@ "Sites" ], "summary": "Lists all available backups for web app", - "operationId": "Sites_ListSiteSlotBackups", + "operationId": "Sites_ListSiteBackupsSlot", "consumes": [], "produces": [ "application/json", @@ -9866,7 +9866,7 @@ "Sites" ], "summary": "Gets status on a web app backup that may be in progress", - "operationId": "Sites_GetSiteSlotBackupStatus", + "operationId": "Sites_GetSiteBackupStatusSlot", "consumes": [], "produces": [ "application/json", @@ -10032,7 +10032,7 @@ "Sites" ], "summary": "Gets the quota usage numbers for web app", - "operationId": "Sites_GetSiteSlotUsages", + "operationId": "Sites_GetSiteUsagesSlot", "consumes": [], "produces": [ "application/json", @@ -10147,7 +10147,7 @@ "Sites" ], "summary": "Gets metrics for web app", - "operationId": "Sites_GetSiteSlotMetrics", + "operationId": "Sites_GetSiteMetricsSlot", "consumes": [], "produces": [ "application/json", @@ -10256,7 +10256,7 @@ "Sites" ], "summary": "Gets metric definitions for web app", - "operationId": "Sites_GetSiteSlotMetricDefinitions", + "operationId": "Sites_GetSiteMetricDefinitionsSlot", "consumes": [], "produces": [ "application/json", @@ -10370,7 +10370,7 @@ "Sites" ], "summary": "Gets the publishing profile for web app", - "operationId": "Sites_ListSiteSlotPublishingProfileXml", + "operationId": "Sites_ListSitePublishingProfileXmlSlot", "consumes": [ "application/json", "text/json", @@ -10809,7 +10809,7 @@ "tags": [ "Sites" ], - "operationId": "Sites_SyncSiteSlotRepository", + "operationId": "Sites_SyncSiteRepositorySlot", "consumes": [], "produces": [ "application/json", @@ -10907,7 +10907,7 @@ "Sites" ], "summary": "Generates new random app publishing password", - "operationId": "Sites_GenerateNewSiteSlotPublishingPassword", + "operationId": "Sites_GenerateNewSitePublishingPasswordSlot", "consumes": [], "produces": [ "application/json", @@ -11197,7 +11197,7 @@ "Sites" ], "summary": "Retrieves a Biztalk Hybrid Connection identified by its entity name.", - "operationId": "Sites_GetSiteSlotRelayServiceConnection", + "operationId": "Sites_GetSiteRelayServiceConnectionSlot", "consumes": [], "produces": [ "application/json", @@ -11256,7 +11256,7 @@ "Sites" ], "summary": "Creates a new association to a Biztalk Hybrid Connection, or updates an existing one.", - "operationId": "Sites_CreateOrUpdateSiteSlotRelayServiceConnection", + "operationId": "Sites_CreateOrUpdateSiteRelayServiceConnectionSlot", "consumes": [ "application/json", "text/json", @@ -11328,7 +11328,7 @@ "Sites" ], "summary": "Removes the association to a Biztalk Hybrid Connection, identified by its entity name.", - "operationId": "Sites_DeleteSiteSlotRelayServiceConnection", + "operationId": "Sites_DeleteSiteRelayServiceConnectionSlot", "consumes": [], "produces": [ "application/json", @@ -11387,7 +11387,7 @@ "Sites" ], "summary": "Creates a new association to a Biztalk Hybrid Connection, or updates an existing one.", - "operationId": "Sites_UpdateSiteSlotRelayServiceConnection", + "operationId": "Sites_UpdateSiteRelayServiceConnectionSlot", "consumes": [ "application/json", "text/json", @@ -11461,7 +11461,7 @@ "Sites" ], "summary": "Retrieves all Biztalk Hybrid Connections associated with this web app.", - "operationId": "Sites_ListSiteSlotRelayServiceConnections", + "operationId": "Sites_ListSiteRelayServiceConnectionsSlot", "consumes": [], "produces": [ "application/json", @@ -11562,7 +11562,7 @@ "Sites" ], "summary": "Retrieves a Virtual Network connection gateway associated with this web app and virtual network.", - "operationId": "Sites_GetSiteSlotVnetGateway", + "operationId": "Sites_GetSiteVnetGatewaySlot", "consumes": [], "produces": [ "application/json", @@ -11631,7 +11631,7 @@ "Sites" ], "summary": "Updates the Virtual Network Gateway.", - "operationId": "Sites_CreateOrUpdateSiteSlotVNETConnectionGateway", + "operationId": "Sites_CreateOrUpdateSiteVNETConnectionGatewaySlot", "consumes": [ "application/json", "text/json", @@ -11710,7 +11710,7 @@ "Sites" ], "summary": "Updates the Virtual Network Gateway.", - "operationId": "Sites_UpdateSiteSlotVNETConnectionGateway", + "operationId": "Sites_UpdateSiteVNETConnectionGatewaySlot", "consumes": [ "application/json", "text/json", @@ -12235,7 +12235,7 @@ "Sites" ], "summary": "Retrieves a specific Virtual Network Connection associated with this web app.", - "operationId": "Sites_GetSiteSlotVNETConnection", + "operationId": "Sites_GetSiteVNETConnectionSlot", "consumes": [], "produces": [ "application/json", @@ -12294,7 +12294,7 @@ "Sites" ], "summary": "Adds a Virtual Network Connection or updates it's properties.", - "operationId": "Sites_CreateOrUpdateSiteSlotVNETConnection", + "operationId": "Sites_CreateOrUpdateSiteVNETConnectionSlot", "consumes": [ "application/json", "text/json", @@ -12366,7 +12366,7 @@ "Sites" ], "summary": "Removes the specified Virtual Network Connection association from this web app.", - "operationId": "Sites_DeleteSiteSlotVNETConnection", + "operationId": "Sites_DeleteSiteVNETConnectionSlot", "consumes": [], "produces": [ "application/json", @@ -12425,7 +12425,7 @@ "Sites" ], "summary": "Adds a Virtual Network Connection or updates it's properties.", - "operationId": "Sites_UpdateSiteSlotVNETConnection", + "operationId": "Sites_UpdateSiteVNETConnectionSlot", "consumes": [ "application/json", "text/json", @@ -12499,7 +12499,7 @@ "Sites" ], "summary": "Retrieves a list of all Virtual Network Connections associated with this web app.", - "operationId": "Sites_GetSiteSlotVNETConnections", + "operationId": "Sites_GetSiteVNETConnectionsSlot", "consumes": [], "produces": [ "application/json", @@ -12606,7 +12606,7 @@ "Sites" ], "summary": "Retrieves a view of all network features in use on this web app.", - "operationId": "Sites_GetSiteSlotNetworkFeatures", + "operationId": "Sites_GetSiteNetworkFeaturesSlot", "consumes": [], "produces": [ "application/json", @@ -12781,7 +12781,7 @@ "Sites" ], "summary": "Gets the operation for a web app", - "operationId": "Sites_GetSiteSlotOperation", + "operationId": "Sites_GetSiteOperationSlot", "consumes": [], "produces": [ "application/json", @@ -12910,7 +12910,7 @@ "Sites" ], "summary": "Swaps web app slots", - "operationId": "Sites_SwapSlots", + "operationId": "Sites_SwapSlotsSlot", "consumes": [ "application/json", "text/json", @@ -13045,7 +13045,7 @@ "Sites" ], "summary": "Get the difference in configuration settings between two web app slots", - "operationId": "Sites_GetSlotsDifferences", + "operationId": "Sites_GetSlotsDifferencesSlot", "consumes": [ "application/json", "text/json", @@ -13112,7 +13112,7 @@ "Sites" ], "summary": "Applies the configuration settings from the target slot onto the current slot", - "operationId": "Sites_ApplySlotConfig", + "operationId": "Sites_ApplySlotConfigSlot", "consumes": [ "application/json", "text/json", @@ -13243,7 +13243,7 @@ "Sites" ], "summary": "Resets the configuration settings of the current slot if they were previously modified by calling ApplySlotConfig API", - "operationId": "Sites_ResetSlotConfig", + "operationId": "Sites_ResetSlotConfigSlot", "consumes": [], "produces": [ "application/json", From fce3902d0f6218acffd575e0ad2b6b2591b6fafd Mon Sep 17 00:00:00 2001 From: Naveed Aziz Date: Wed, 26 Aug 2015 18:21:49 -0700 Subject: [PATCH 3/3] Fix filter descriptions and Move Slot to suffix --- arm-web/2015-08-01/swagger/service.json | 112 +++++++----------------- 1 file changed, 33 insertions(+), 79 deletions(-) diff --git a/arm-web/2015-08-01/swagger/service.json b/arm-web/2015-08-01/swagger/service.json index e21f2b331bef..79e393646c57 100644 --- a/arm-web/2015-08-01/swagger/service.json +++ b/arm-web/2015-08-01/swagger/service.json @@ -10005,7 +10005,7 @@ { "name": "$filter", "in": "query", - "description": "Return only usages specified in the filter. Filter is specified by using OData syntax. Example: $filter=Filter for resource metrics. 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=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]'.", "type": "string" }, { @@ -10063,7 +10063,7 @@ { "name": "$filter", "in": "query", - "description": "Return only usages specified in the filter. Filter is specified by using OData syntax. Example: $filter=Filter for resource metrics. 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=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]'.", "type": "string" }, { @@ -10120,7 +10120,7 @@ { "name": "$filter", "in": "query", - "description": "Filter for resource metrics. 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/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]'.", "type": "string" }, { @@ -10184,7 +10184,7 @@ { "name": "$filter", "in": "query", - "description": "Filter for resource metrics. 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/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]'.", "type": "string" }, { @@ -13712,21 +13712,18 @@ "properties": { "friendlyName": { "description": "Friendly name of the certificate", - "type": "string", - "readOnly": true + "type": "string" }, "subjectName": { "description": "Subject name of the certificate", - "type": "string", - "readOnly": true + "type": "string" }, "hostNames": { "description": "Host names the certificate applies to", "type": "array", "items": { "type": "string" - }, - "readOnly": true + } }, "pfxBlob": { "description": "Pfx blob", @@ -13734,30 +13731,25 @@ }, "siteName": { "description": "App name", - "type": "string", - "readOnly": true + "type": "string" }, "selfLink": { "description": "Self link", - "type": "string", - "readOnly": true + "type": "string" }, "issuer": { "description": "Certificate issuer", - "type": "string", - "readOnly": true + "type": "string" }, "issueDate": { "format": "date-time", "description": "Certificate issue Date", - "type": "string", - "readOnly": true + "type": "string" }, "expirationDate": { "format": "date-time", "description": "Certificate expriration date", - "type": "string", - "readOnly": true + "type": "string" }, "password": { "description": "Certificate password", @@ -13769,8 +13761,7 @@ }, "valid": { "description": "Is the certificate valid?", - "type": "boolean", - "readOnly": true + "type": "boolean" }, "cerBlob": { "description": "Raw bytes of .cer file", @@ -13778,23 +13769,11 @@ }, "publicKeyHash": { "description": "Public key hash", - "type": "string", - "readOnly": true + "type": "string" }, "hostingEnvironmentProfile": { "$ref": "#/definitions/HostingEnvironmentProfile", "description": "Specification for the hosting environment (App Service Environment) to use for the certificate" - }, - "name": { - "description": "Resource name of the certificate", - "type": "string" - }, - "tags": { - "description": "Tags on the certificate", - "type": "object", - "additionalProperties": { - "type": "string" - } } } } @@ -13888,8 +13867,7 @@ "properties": { "name": { "description": "Name used to locate CSR object", - "type": "string", - "readOnly": true + "type": "string" }, "distinguishedName": { "description": "Distinguished name of certificate to be created", @@ -13897,8 +13875,7 @@ }, "csrString": { "description": "Actual CSR string created", - "type": "string", - "readOnly": true + "type": "string" }, "pfxBlob": { "description": "PFX certifcate of created certificate", @@ -14331,16 +14308,9 @@ "properties": { "properties": { "properties": { - "serverFarmId": { - "format": "int32", - "description": "App Service Plan ARM resource ID", - "type": "integer", - "readOnly": true - }, "name": { "description": "Name for the App Service Plan", - "type": "string", - "readOnly": true + "type": "string" }, "status": { "description": "App Service Plan Status", @@ -14358,8 +14328,7 @@ }, "adminSiteName": { "description": "App Service Plan administration site", - "type": "string", - "readOnly": true + "type": "string" }, "hostingEnvironmentProfile": { "$ref": "#/definitions/HostingEnvironmentProfile", @@ -14368,8 +14337,7 @@ "maximumNumberOfWorkers": { "format": "int32", "description": "Maximum number of instances that can be assigned to this App Service Plan", - "type": "integer", - "readOnly": true + "type": "integer" }, "geoRegion": { "description": "Geographical location for the App Service Plan", @@ -14378,8 +14346,7 @@ }, "perSiteScaling": { "description": "If True apps assigned to this App Service Plan can be scaled independently\r\n If False apps assigned to this App Service Plan will scale to all instances of the plan", - "type": "boolean", - "readOnly": true + "type": "boolean" }, "numberOfSites": { "format": "int32", @@ -14387,14 +14354,6 @@ "type": "integer", "readOnly": true }, - "tags": { - "description": "Collection of tags assigned to the App Service Plan", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "readOnly": true - }, "resourceGroup": { "description": "Resource group of the serverfarm", "type": "string", @@ -14449,7 +14408,8 @@ "type": "array", "items": { "type": "string" - } + }, + "readOnly": true }, "repositorySiteName": { "description": "Name of repository site", @@ -14467,8 +14427,7 @@ }, "enabled": { "description": "True if the site is enabled; otherwise, false. Setting this value to false disables the site (takes the site off line).", - "type": "boolean", - "readOnly": true + "type": "boolean" }, "enabledHostNames": { "description": "Hostnames for the web app that are enabled. Hostnames need to be assigned and enabled. If some hostnames are assigned but not enabled\r\n the app is not served on those hostnames", @@ -14524,8 +14483,7 @@ }, "scmSiteAlsoStopped": { "description": "If set indicates whether to stop SCM (KUDU) site when the web app is stopped. Default is false.", - "type": "boolean", - "readOnly": true + "type": "boolean" }, "targetSwapSlot": { "description": "Read-only property that specifies which slot this app will swap into", @@ -14557,7 +14515,8 @@ "type": "array", "items": { "type": "string" - } + }, + "readOnly": true }, "outboundIpAddresses": { "description": "List of comma separated IP addresses that this web app uses for outbound connections. Those can be used when configuring firewall rules for databases accessed by this web app.", @@ -14875,10 +14834,6 @@ "trafficManagerProfileName": { "description": "Name of traffic manager profile to create. This is only needed if traffic manager profile does not already exist", "type": "string" - }, - "ignoreQuotas": { - "description": "Whether quotas should be ignored.", - "type": "boolean" } } }, @@ -16398,8 +16353,7 @@ "deletedTimestamp": { "format": "date-time", "description": "Time when the site was deleted", - "type": "string", - "readOnly": true + "type": "string" }, "name": { "description": "Name of web app", @@ -16415,7 +16369,8 @@ "type": "array", "items": { "type": "string" - } + }, + "readOnly": true }, "repositorySiteName": { "description": "Name of repository site", @@ -16433,8 +16388,7 @@ }, "enabled": { "description": "True if the site is enabled; otherwise, false. Setting this value to false disables the site (takes the site off line).", - "type": "boolean", - "readOnly": true + "type": "boolean" }, "enabledHostNames": { "description": "Hostnames for the web app that are enabled. Hostnames need to be assigned and enabled. If some hostnames are assigned but not enabled\r\n the app is not served on those hostnames", @@ -16490,8 +16444,7 @@ }, "scmSiteAlsoStopped": { "description": "If set indicates whether to stop SCM (KUDU) site when the web app is stopped. Default is false.", - "type": "boolean", - "readOnly": true + "type": "boolean" }, "targetSwapSlot": { "description": "Read-only property that specifies which slot this app will swap into", @@ -16523,7 +16476,8 @@ "type": "array", "items": { "type": "string" - } + }, + "readOnly": true }, "outboundIpAddresses": { "description": "List of comma separated IP addresses that this web app uses for outbound connections. Those can be used when configuring firewall rules for databases accessed by this web app.",