From b0914b2dda3e34da5c9b975cf04a666333df520c Mon Sep 17 00:00:00 2001 From: Naveed Aziz Date: Mon, 5 Oct 2015 19:29:39 -0700 Subject: [PATCH 1/3] Add metrics changes --- arm-web/2015-08-01/swagger/service.json | 7536 ++++++++++++++--------- 1 file changed, 4561 insertions(+), 2975 deletions(-) diff --git a/arm-web/2015-08-01/swagger/service.json b/arm-web/2015-08-01/swagger/service.json index c3726cd0fb5a..594e9c513135 100644 --- a/arm-web/2015-08-01/swagger/service.json +++ b/arm-web/2015-08-01/swagger/service.json @@ -5,75 +5,44 @@ "title": "Microsoft Azure Websites ARM API", "description": "Use these APIs to manage Azure Websites resources through the Azure Resource Manager. All task operations conform to the HTTP/1.1 protocol specification and each operation returns an x-ms-request-id header that can be used to obtain information about the request. You must make sure that requests made to these resources are secure. For more information, see Authenticating Azure Resource Manager requests." }, - "host": "management.azure.com:443", + "host": "management.azure.com", "schemes": [ "https" ], "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}": { "get": { "tags": [ - "Certificates" + "CertificateOrders" ], - "summary": "Get certificates for a subscription in the specified resource group.", - "operationId": "Certificates_GetCertificates", + "summary": "Get certificate associated with the certificate order", + "operationId": "CertificateOrders_GetCertificate", "consumes": [], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { "name": "resourceGroupName", "in": "path", - "description": "Name of the resource group", + "description": "Azure resource group name", "required": true, "type": "string" }, { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CertificateCollection" - } - } - }, - "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}": { - "get": { - "tags": [ - "Certificates" - ], - "summary": "Get a certificate by certificate name for a subscription in the specified resource group.", - "operationId": "Certificates_GetCertificate", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "resourceGroupName", + "name": "certificateOrderName", "in": "path", - "description": "Name of the resource group", + "description": "Certificate name", "required": true, "type": "string" }, { "name": "name", "in": "path", - "description": "Name of the certificate.", + "description": "Certificate name", "required": true, "type": "string" }, @@ -88,7 +57,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Certificate" + "$ref": "#/definitions/CertificateOrderCertificate" } } }, @@ -96,10 +65,10 @@ }, "put": { "tags": [ - "Certificates" + "CertificateOrders" ], - "summary": "Creates or modifies an existing certificate.", - "operationId": "Certificates_CreateOrUpdateCertificate", + "summary": "Associates a Key Vault secret to a certificate store that will be used for storing the certificate once it's ready", + "operationId": "CertificateOrders_CreateOrUpdateCertificate", "consumes": [ "application/json", "text/json", @@ -115,24 +84,31 @@ { "name": "resourceGroupName", "in": "path", - "description": "Name of the resource group", + "description": "Azure resource group name", + "required": true, + "type": "string" + }, + { + "name": "certificateOrderName", + "in": "path", + "description": "Certificate name", "required": true, "type": "string" }, { "name": "name", "in": "path", - "description": "Name of the certificate.", + "description": "Certificate name", "required": true, "type": "string" }, { - "name": "certificateEnvelope", + "name": "keyVaultCertificate", "in": "body", - "description": "Details of certificate if it exists already.", + "description": "Key Vault secret csm Id", "required": true, "schema": { - "$ref": "#/definitions/Certificate" + "$ref": "#/definitions/CertificateOrderCertificate" } }, { @@ -146,7 +122,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Certificate" + "$ref": "#/definitions/CertificateOrderCertificate" } } }, @@ -154,10 +130,10 @@ }, "delete": { "tags": [ - "Certificates" + "CertificateOrders" ], - "summary": "Delete a certificate by name in a specificed subscription and resourcegroup.", - "operationId": "Certificates_DeleteCertificate", + "summary": "Deletes the certificate associated with the certificate order", + "operationId": "CertificateOrders_DeleteCertificate", "consumes": [], "produces": [ "application/json", @@ -169,14 +145,21 @@ { "name": "resourceGroupName", "in": "path", - "description": "Name of the resource group", + "description": "Azure resource group name", + "required": true, + "type": "string" + }, + { + "name": "certificateOrderName", + "in": "path", + "description": "Certificate name", "required": true, "type": "string" }, { "name": "name", "in": "path", - "description": "Name of the certificate to be deleted.", + "description": "Certificate name", "required": true, "type": "string" }, @@ -199,10 +182,10 @@ }, "patch": { "tags": [ - "Certificates" + "CertificateOrders" ], - "summary": "Creates or modifies an existing certificate.", - "operationId": "Certificates_UpdateCertificate", + "summary": "Associates a Key Vault secret to a certificate store that will be used for storing the certificate once it's ready", + "operationId": "CertificateOrders_UpdateCertificate", "consumes": [ "application/json", "text/json", @@ -218,65 +201,32 @@ { "name": "resourceGroupName", "in": "path", - "description": "Name of the resource group", + "description": "Azure resource group name", "required": true, "type": "string" }, { - "name": "name", + "name": "certificateOrderName", "in": "path", - "description": "Name of the certificate.", + "description": "Certificate name", "required": true, "type": "string" }, { - "name": "certificateEnvelope", - "in": "body", - "description": "Details of certificate if it exists already.", + "name": "name", + "in": "path", + "description": "Certificate name", "required": true, - "schema": { - "$ref": "#/definitions/Certificate" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" + "type": "string" }, { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", + "name": "keyVaultCertificate", + "in": "body", + "description": "Key Vault secret csm Id", + "required": true, "schema": { - "$ref": "#/definitions/Certificate" + "$ref": "#/definitions/CertificateOrderCertificate" } - } - }, - "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/csrs": { - "get": { - "tags": [ - "Certificates" - ], - "summary": "Gets the certificate signing requests for a subscription in the specified resource group", - "operationId": "Certificates_GetCsrs", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "description": "Name of the resource group", - "required": true, - "type": "string" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -289,23 +239,20 @@ "200": { "description": "OK", "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/Csr" - } + "$ref": "#/definitions/CertificateOrderCertificate" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/csrs/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{name}": { "get": { "tags": [ - "Certificates" + "CertificateOrders" ], - "summary": "Gets a certificate signing request by certificate name for a subscription in the specified resource group", - "operationId": "Certificates_GetCsr", + "summary": "Get a certificate order", + "operationId": "CertificateOrders_GetCertificateOrder", "consumes": [], "produces": [ "application/json", @@ -317,14 +264,14 @@ { "name": "resourceGroupName", "in": "path", - "description": "Name of the resource group", + "description": "Azure resource group name", "required": true, "type": "string" }, { "name": "name", "in": "path", - "description": "Name of the certificate.", + "description": "Certificate name", "required": true, "type": "string" }, @@ -339,7 +286,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Csr" + "$ref": "#/definitions/CertificateOrder" } } }, @@ -347,10 +294,10 @@ }, "put": { "tags": [ - "Certificates" + "CertificateOrders" ], - "summary": "Creates or modifies an existing certificate signing request.", - "operationId": "Certificates_CreateOrUpdateCsr", + "summary": "Create or update a certificate purchase order", + "operationId": "CertificateOrders_CreateOrUpdateCertificateOrder", "consumes": [ "application/json", "text/json", @@ -366,24 +313,24 @@ { "name": "resourceGroupName", "in": "path", - "description": "Name of the resource group", + "description": "Azure resource group name", "required": true, "type": "string" }, { "name": "name", "in": "path", - "description": "Name of the certificate.", + "description": "Certificate name", "required": true, "type": "string" }, { - "name": "csrEnvelope", + "name": "certificateDistinguishedName", "in": "body", - "description": "Details of certificate signing request if it exists already.", + "description": "Distinguished name to be used for purchasing certificate", "required": true, "schema": { - "$ref": "#/definitions/Csr" + "$ref": "#/definitions/CertificateOrder" } }, { @@ -397,7 +344,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Csr" + "$ref": "#/definitions/CertificateOrder" } } }, @@ -405,10 +352,10 @@ }, "delete": { "tags": [ - "Certificates" + "CertificateOrders" ], - "summary": "Delete the certificate signing request.", - "operationId": "Certificates_DeleteCsr", + "summary": "Delete an existing certificate order", + "operationId": "CertificateOrders_DeleteCertificateOrder", "consumes": [], "produces": [ "application/json", @@ -420,14 +367,14 @@ { "name": "resourceGroupName", "in": "path", - "description": "Name of the resource group", + "description": "Azure resource group name", "required": true, "type": "string" }, { "name": "name", "in": "path", - "description": "Name of the certificate signing request.", + "description": "Certificate name", "required": true, "type": "string" }, @@ -450,10 +397,10 @@ }, "patch": { "tags": [ - "Certificates" + "CertificateOrders" ], - "summary": "Creates or modifies an existing certificate signing request.", - "operationId": "Certificates_UpdateCsr", + "summary": "Create or update a certificate purchase order", + "operationId": "CertificateOrders_UpdateCertificateOrder", "consumes": [ "application/json", "text/json", @@ -469,24 +416,24 @@ { "name": "resourceGroupName", "in": "path", - "description": "Name of the resource group", + "description": "Azure resource group name", "required": true, "type": "string" }, { "name": "name", "in": "path", - "description": "Name of the certificate.", + "description": "Certificate name", "required": true, "type": "string" }, { - "name": "csrEnvelope", + "name": "certificateDistinguishedName", "in": "body", - "description": "Details of certificate signing request if it exists already.", + "description": "Distinguished name to be used for purchasing certificate", "required": true, "schema": { - "$ref": "#/definitions/Csr" + "$ref": "#/definitions/CertificateOrder" } }, { @@ -500,20 +447,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Csr" + "$ref": "#/definitions/CertificateOrder" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/classicMobileServices": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders": { "get": { "tags": [ - "ClassicMobileServices" + "CertificateOrders" ], - "summary": "Get all mobile services in a resource group.", - "operationId": "ClassicMobileServices_GetClassicMobileServices", + "summary": "Get certificate orders in a resource group", + "operationId": "CertificateOrders_GetCertificateOrders", "consumes": [], "produces": [ "application/json", @@ -523,7 +470,7 @@ { "name": "resourceGroupName", "in": "path", - "description": "Name of resource group", + "description": "Azure resource group name", "required": true, "type": "string" }, @@ -538,84 +485,37 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ClassicMobileServiceCollection" + "$ref": "#/definitions/CertificateOrderCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/classicMobileServices/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates": { "get": { "tags": [ - "ClassicMobileServices" - ], - "summary": "Get a mobile service.", - "operationId": "ClassicMobileServices_GetClassicMobileService", - "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 mobile service", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ClassicMobileService" - } - } - }, - "deprecated": false - }, - "delete": { - "tags": [ - "ClassicMobileServices" + "CertificateOrders" ], - "summary": "Delete a mobile service.", - "operationId": "ClassicMobileServices_DeleteClassicMobileService", + "summary": "List all certificates associated with a certificate order (only one certificate can be associated with an order at a time)", + "operationId": "CertificateOrders_GetCertificates", "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { "name": "resourceGroupName", "in": "path", - "description": "Name of resource group", + "description": "Azure resource group name", "required": true, "type": "string" }, { - "name": "name", + "name": "certificateOrderName", "in": "path", - "description": "Name of mobile service", + "description": "Certificate name", "required": true, "type": "string" }, @@ -630,20 +530,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/CertificateOrderCertificateCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates": { "get": { "tags": [ - "Domains" + "Certificates" ], - "summary": "Lists domains under a resource group", - "operationId": "Domains_GetDomains", + "summary": "Get certificates for a subscription in the specified resource group.", + "operationId": "Certificates_GetCertificates", "consumes": [], "produces": [ "application/json", @@ -668,20 +568,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/DomainCollection" + "$ref": "#/definitions/CertificateCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}": { "get": { "tags": [ - "Domains" + "Certificates" ], - "summary": "Gets details of a domain", - "operationId": "Domains_GetDomain", + "summary": "Get a certificate by certificate name for a subscription in the specified resource group.", + "operationId": "Certificates_GetCertificate", "consumes": [], "produces": [ "application/json", @@ -698,9 +598,9 @@ "type": "string" }, { - "name": "domainName", + "name": "name", "in": "path", - "description": "Name of the domain", + "description": "Name of the certificate.", "required": true, "type": "string" }, @@ -715,7 +615,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Domain" + "$ref": "#/definitions/Certificate" } } }, @@ -723,10 +623,10 @@ }, "put": { "tags": [ - "Domains" + "Certificates" ], - "summary": "Creates a domain", - "operationId": "Domains_CreateOrUpdateDomain", + "summary": "Creates or modifies an existing certificate.", + "operationId": "Certificates_CreateOrUpdateCertificate", "consumes": [ "application/json", "text/json", @@ -742,24 +642,24 @@ { "name": "resourceGroupName", "in": "path", - "description": ">Name of the resource group", + "description": "Name of the resource group", "required": true, "type": "string" }, { - "name": "domainName", + "name": "name", "in": "path", - "description": "Name of the domain", + "description": "Name of the certificate.", "required": true, "type": "string" }, { - "name": "domain", + "name": "certificateEnvelope", "in": "body", - "description": "Domain registration information", + "description": "Details of certificate if it exists already.", "required": true, "schema": { - "$ref": "#/definitions/Domain" + "$ref": "#/definitions/Certificate" } }, { @@ -770,16 +670,10 @@ } ], "responses": { - "202": { - "description": "Domain purchase is in progress", - "schema": { - "$ref": "#/definitions/Domain" - } - }, "200": { - "description": "Domain purchase was successful", + "description": "OK", "schema": { - "$ref": "#/definitions/Domain" + "$ref": "#/definitions/Certificate" } } }, @@ -787,10 +681,10 @@ }, "delete": { "tags": [ - "Domains" + "Certificates" ], - "summary": "Deletes a domain", - "operationId": "Domains_DeleteDomain", + "summary": "Delete a certificate by name in a specificed subscription and resourcegroup.", + "operationId": "Certificates_DeleteCertificate", "consumes": [], "produces": [ "application/json", @@ -807,18 +701,12 @@ "type": "string" }, { - "name": "domainName", + "name": "name", "in": "path", - "description": "Name of the domain", + "description": "Name of the certificate to be deleted.", "required": true, "type": "string" }, - { - "name": "forceHardDeleteDomain", - "in": "query", - "description": "If true then the domain will be deleted immediately instead of after 24 hours", - "type": "boolean" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -827,8 +715,8 @@ } ], "responses": { - "204": { - "description": "Domain does not exist in Azure database probably because it has already been deleted", + "200": { + "description": "OK", "schema": { "$ref": "#/definitions/Object" } @@ -838,10 +726,10 @@ }, "patch": { "tags": [ - "Domains" + "Certificates" ], - "summary": "Creates a domain", - "operationId": "Domains_UpdateDomain", + "summary": "Creates or modifies an existing certificate.", + "operationId": "Certificates_UpdateCertificate", "consumes": [ "application/json", "text/json", @@ -857,24 +745,24 @@ { "name": "resourceGroupName", "in": "path", - "description": ">Name of the resource group", + "description": "Name of the resource group", "required": true, "type": "string" }, { - "name": "domainName", + "name": "name", "in": "path", - "description": "Name of the domain", + "description": "Name of the certificate.", "required": true, "type": "string" }, { - "name": "domain", + "name": "certificateEnvelope", "in": "body", - "description": "Domain registration information", + "description": "Details of certificate if it exists already.", "required": true, "schema": { - "$ref": "#/definitions/Domain" + "$ref": "#/definitions/Certificate" } }, { @@ -885,29 +773,23 @@ } ], "responses": { - "202": { - "description": "Domain purchase is in progress", - "schema": { - "$ref": "#/definitions/Domain" - } - }, "200": { - "description": "Domain purchase was successful", + "description": "OK", "schema": { - "$ref": "#/definitions/Domain" + "$ref": "#/definitions/Certificate" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/operationresults/{operationId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/csrs": { "get": { "tags": [ - "Domains" + "Certificates" ], - "summary": "Retrieves the latest status of a domain purchase operation", - "operationId": "Domains_GetDomainOperation", + "summary": "Gets the certificate signing requests for a subscription in the specified resource group", + "operationId": "Certificates_GetCsrs", "consumes": [], "produces": [ "application/json", @@ -923,20 +805,6 @@ "required": true, "type": "string" }, - { - "name": "domainName", - "in": "path", - "description": "Name of the domain", - "required": true, - "type": "string" - }, - { - "name": "operationId", - "in": "path", - "description": "Domain purchase operation Id", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -945,32 +813,26 @@ } ], "responses": { - "202": { - "description": "Domain purchase is in progress", - "schema": { - "$ref": "#/definitions/Domain" - } - }, "200": { - "description": "Domain purchase was successful", + "description": "OK", "schema": { - "$ref": "#/definitions/Domain" + "type": "array", + "items": { + "$ref": "#/definitions/Csr" + } } - }, - "500": { - "description": "Domain purchase request failed" } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/publishingCredentials": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/csrs/{name}": { "get": { "tags": [ - "Global" + "Certificates" ], - "summary": "Gets publishing credentials for the subscription owner", - "operationId": "Global_GetSubscriptionPublishingCredentials", + "summary": "Gets a certificate signing request by certificate name for a subscription in the specified resource group", + "operationId": "Certificates_GetCsr", "consumes": [], "produces": [ "application/json", @@ -979,6 +841,20 @@ "text/xml" ], "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "description": "Name of the resource group", + "required": true, + "type": "string" + }, + { + "name": "name", + "in": "path", + "description": "Name of the certificate.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -990,7 +866,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/User" + "$ref": "#/definitions/Csr" } } }, @@ -998,10 +874,10 @@ }, "put": { "tags": [ - "Global" + "Certificates" ], - "summary": "Updates publishing credentials for the subscription owner", - "operationId": "Global_UpdateSubscriptionPublishingCredentials", + "summary": "Creates or modifies an existing certificate signing request.", + "operationId": "Certificates_CreateOrUpdateCsr", "consumes": [ "application/json", "text/json", @@ -1015,12 +891,26 @@ ], "parameters": [ { - "name": "requestMessage", + "name": "resourceGroupName", + "in": "path", + "description": "Name of the resource group", + "required": true, + "type": "string" + }, + { + "name": "name", + "in": "path", + "description": "Name of the certificate.", + "required": true, + "type": "string" + }, + { + "name": "csrEnvelope", "in": "body", - "description": "requestMessage with new publishing credentials", + "description": "Details of certificate signing request if it exists already.", "required": true, "schema": { - "$ref": "#/definitions/User" + "$ref": "#/definitions/Csr" } }, { @@ -1034,26 +924,40 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/User" + "$ref": "#/definitions/Csr" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/geoRegions": { - "get": { + }, + "delete": { "tags": [ - "Global" + "Certificates" ], - "summary": "Gets list of available geo regions", - "operationId": "Global_GetSubscriptionGeoRegions", + "summary": "Delete the certificate signing request.", + "operationId": "Certificates_DeleteCsr", "consumes": [], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "description": "Name of the resource group", + "required": true, + "type": "string" + }, + { + "name": "name", + "in": "path", + "description": "Name of the certificate signing request.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -1065,31 +969,52 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/GeoRegionCollection" + "$ref": "#/definitions/Object" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/serverfarms": { - "get": { + }, + "patch": { "tags": [ - "Global" + "Certificates" + ], + "summary": "Creates or modifies an existing certificate signing request.", + "operationId": "Certificates_UpdateCsr", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" ], - "summary": "Gets all App Service Plans for a subcription", - "operationId": "Global_GetAllServerFarms", - "consumes": [], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { - "name": "detailed", - "in": "query", - "description": "False to return a subset of App Service Plan properties, true to return all of the properties.\r\n Retrieval of all properties may increase the API latency.", - "type": "boolean" + "name": "resourceGroupName", + "in": "path", + "description": "Name of the resource group", + "required": true, + "type": "string" + }, + { + "name": "name", + "in": "path", + "description": "Name of the certificate.", + "required": true, + "type": "string" + }, + { + "name": "csrEnvelope", + "in": "body", + "description": "Details of certificate signing request if it exists already.", + "required": true, + "schema": { + "$ref": "#/definitions/Csr" + } }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -1102,20 +1027,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ServerFarmCollection" + "$ref": "#/definitions/Csr" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/webhostingplans": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/classicMobileServices": { "get": { "tags": [ - "Global" + "ClassicMobileServices" ], - "summary": "Gets all App Service Plans for a subcription", - "operationId": "Global_GetAllWebHostingPlans", + "summary": "Get all mobile services in a resource group.", + "operationId": "ClassicMobileServices_GetClassicMobileServices", "consumes": [], "produces": [ "application/json", @@ -1123,10 +1048,11 @@ ], "parameters": [ { - "name": "detailed", - "in": "query", - "description": "False to return a subset of App Service Plan properties, true to return all of the properties.\r\n Retrieval of all properties may increase the API latency.", - "type": "boolean" + "name": "resourceGroupName", + "in": "path", + "description": "Name of resource group", + "required": true, + "type": "string" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -1139,26 +1065,42 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ServerFarmCollection" + "$ref": "#/definitions/ClassicMobileServiceCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/sites": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/classicMobileServices/{name}": { "get": { "tags": [ - "Global" + "ClassicMobileServices" ], - "summary": "Gets all Web Apps for a subscription", - "operationId": "Global_GetAllSites", + "summary": "Get a mobile service.", + "operationId": "ClassicMobileServices_GetClassicMobileService", "consumes": [], "produces": [ "application/json", - "text/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 mobile service", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -1170,26 +1112,40 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteCollection" + "$ref": "#/definitions/ClassicMobileService" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/hostingEnvironments": { - "get": { + }, + "delete": { "tags": [ - "Global" + "ClassicMobileServices" ], - "summary": "Gets all hostingEnvironments (App Service Environment) for a subscription", - "operationId": "Global_GetAllHostingEnvironments", + "summary": "Delete a mobile service.", + "operationId": "ClassicMobileServices_DeleteClassicMobileService", "consumes": [], "produces": [ "application/json", - "text/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 mobile service", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -1201,26 +1157,33 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HostingEnvironmentCollection" + "$ref": "#/definitions/Object" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/classicMobileServices": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains": { "get": { "tags": [ - "Global" + "Domains" ], - "summary": "Gets all mobile services for a subscription", - "operationId": "Global_GetAllClassicMobileServices", + "summary": "Lists domains under a resource group", + "operationId": "Domains_GetDomains", "consumes": [], "produces": [ "application/json", "text/json" ], "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "description": "Name of the resource group", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -1232,20 +1195,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ClassicMobileServiceCollection" + "$ref": "#/definitions/DomainCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/premieraddonoffers": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}": { "get": { "tags": [ - "Global" + "Domains" ], - "summary": "List premier add on offers", - "operationId": "Global_ListPremierAddOnOffers", + "summary": "Gets details of a domain", + "operationId": "Domains_GetDomain", "consumes": [], "produces": [ "application/json", @@ -1254,6 +1217,20 @@ "text/xml" ], "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "description": "Name of the resource group", + "required": true, + "type": "string" + }, + { + "name": "domainName", + "in": "path", + "description": "Name of the domain", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -1265,21 +1242,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/Domain" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/ishostingenvironmentnameavailable": { - "get": { + }, + "put": { "tags": [ - "Global" + "Domains" + ], + "summary": "Creates a domain", + "operationId": "Domains_CreateOrUpdateDomain", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" ], - "summary": "Whether hosting environment name is available", - "operationId": "Global_IsHostingEnvironmentNameAvailable", - "consumes": [], "produces": [ "application/json", "text/json", @@ -1288,12 +1267,28 @@ ], "parameters": [ { - "name": "name", - "in": "query", - "description": "Hosting environment name", + "name": "resourceGroupName", + "in": "path", + "description": ">Name of the resource group", + "required": true, + "type": "string" + }, + { + "name": "domainName", + "in": "path", + "description": "Name of the domain", "required": true, "type": "string" }, + { + "name": "domain", + "in": "body", + "description": "Domain registration information", + "required": true, + "schema": { + "$ref": "#/definitions/Domain" + } + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -1302,23 +1297,27 @@ } ], "responses": { + "202": { + "description": "Domain purchase is in progress", + "schema": { + "$ref": "#/definitions/Domain" + } + }, "200": { - "description": "OK", + "description": "Domain purchase was successful", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/Domain" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/ishostingenvironmentnameavailable/{name}": { - "get": { + }, + "delete": { "tags": [ - "Global" + "Domains" ], - "summary": "Whether hosting environment name is available", - "operationId": "Global_IsHostingEnvironmentWithLegacyNameAvailable", + "summary": "Deletes a domain", + "operationId": "Domains_DeleteDomain", "consumes": [], "produces": [ "application/json", @@ -1328,12 +1327,25 @@ ], "parameters": [ { - "name": "name", + "name": "resourceGroupName", "in": "path", - "description": "Hosting environment name", + "description": "Name of the resource group", + "required": true, + "type": "string" + }, + { + "name": "domainName", + "in": "path", + "description": "Name of the domain", "required": true, "type": "string" }, + { + "name": "forceHardDeleteDomain", + "in": "query", + "description": "If true then the domain will be deleted immediately instead of after 24 hours", + "type": "boolean" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -1342,28 +1354,24 @@ } ], "responses": { - "200": { - "description": "OK", + "204": { + "description": "Domain does not exist in Azure database probably because it has already been deleted", "schema": { "$ref": "#/definitions/Object" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/checknameavailability": { - "post": { + }, + "patch": { "tags": [ - "Global" + "Domains" ], - "summary": "Check if resource name is available", - "operationId": "Global_CheckNameAvailability", + "summary": "Creates a domain", + "operationId": "Domains_UpdateDomain", "consumes": [ "application/json", "text/json", - "application/xml", - "text/xml", "application/x-www-form-urlencoded" ], "produces": [ @@ -1374,12 +1382,26 @@ ], "parameters": [ { - "name": "request", + "name": "resourceGroupName", + "in": "path", + "description": ">Name of the resource group", + "required": true, + "type": "string" + }, + { + "name": "domainName", + "in": "path", + "description": "Name of the domain", + "required": true, + "type": "string" + }, + { + "name": "domain", "in": "body", - "description": "Name availability request", + "description": "Domain registration information", "required": true, "schema": { - "$ref": "#/definitions/ResourceNameAvailabilityRequest" + "$ref": "#/definitions/Domain" } }, { @@ -1390,54 +1412,92 @@ } ], "responses": { + "202": { + "description": "Domain purchase is in progress", + "schema": { + "$ref": "#/definitions/Domain" + } + }, "200": { - "description": "OK", + "description": "Domain purchase was successful", "schema": { - "$ref": "#/definitions/ResourceNameAvailability" + "$ref": "#/definitions/Domain" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/domains": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/operationresults/{operationId}": { "get": { "tags": [ - "GlobalDomainRegistration" + "Domains" ], - "summary": "Lists all domains in a subscription", - "operationId": "GlobalDomainRegistration_GetAllDomains", + "summary": "Retrieves the latest status of a domain purchase operation", + "operationId": "Domains_GetDomainOperation", "consumes": [], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { - "$ref": "#/parameters/subscriptionIdParameter" + "name": "resourceGroupName", + "in": "path", + "description": "Name of the resource group", + "required": true, + "type": "string" }, { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DomainCollection" - } - } - }, - "deprecated": false + "name": "domainName", + "in": "path", + "description": "Name of the domain", + "required": true, + "type": "string" + }, + { + "name": "operationId", + "in": "path", + "description": "Domain purchase operation Id", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Domain purchase is in progress", + "schema": { + "$ref": "#/definitions/Domain" + } + }, + "200": { + "description": "Domain purchase was successful", + "schema": { + "$ref": "#/definitions/Domain" + } + }, + "500": { + "description": "Domain purchase request failed" + } + }, + "deprecated": false } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/generateSsoRequest": { - "post": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/publishingCredentials": { + "get": { "tags": [ - "GlobalDomainRegistration" + "Global" ], - "summary": "Generates a single sign on request for domain management portal", - "operationId": "GlobalDomainRegistration_GetDomainControlCenterSsoRequest", + "summary": "Gets publishing credentials for the subscription owner", + "operationId": "Global_GetSubscriptionPublishingCredentials", "consumes": [], "produces": [ "application/json", @@ -1457,25 +1517,21 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/DomainControlCenterSsoRequest" + "$ref": "#/definitions/User" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/validateDomainRegistrationInformation": { - "post": { + }, + "put": { "tags": [ - "GlobalDomainRegistration" + "Global" ], - "summary": "Validates domain registration information", - "operationId": "GlobalDomainRegistration_ValidateDomainPurchaseInformation", + "summary": "Updates publishing credentials for the subscription owner", + "operationId": "Global_UpdateSubscriptionPublishingCredentials", "consumes": [ "application/json", "text/json", - "application/xml", - "text/xml", "application/x-www-form-urlencoded" ], "produces": [ @@ -1486,12 +1542,12 @@ ], "parameters": [ { - "name": "domainRegistrationInput", + "name": "requestMessage", "in": "body", - "description": "Domain registration information", + "description": "requestMessage with new publishing credentials", "required": true, "schema": { - "$ref": "#/definitions/DomainRegistrationInput" + "$ref": "#/definitions/User" } }, { @@ -1505,42 +1561,99 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/User" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/checkDomainAvailability": { - "post": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/geoRegions": { + "get": { "tags": [ - "GlobalDomainRegistration" + "Global" ], - "summary": "Checks if a domain is available for registration", - "operationId": "GlobalDomainRegistration_CheckDomainAvailability", - "consumes": [ + "summary": "Gets list of available geo regions", + "operationId": "Global_GetSubscriptionGeoRegions", + "consumes": [], + "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GeoRegionCollection" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/webhostingplans": { + "get": { + "tags": [ + "Global" ], + "summary": "Gets all App Service Plans for a subcription", + "operationId": "Global_GetAllWebHostingPlans", + "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { - "name": "identifier", - "in": "body", - "description": "Name of the domain", - "required": true, + "name": "detailed", + "in": "query", + "description": "False to return a subset of App Service Plan properties, true to return all of the properties.\r\n Retrieval of all properties may increase the API latency.", + "type": "boolean" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/NameIdentifier" + "$ref": "#/definitions/ServerFarmCollection" } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/serverfarms": { + "get": { + "tags": [ + "Global" + ], + "summary": "Gets all App Service Plans for a subcription", + "operationId": "Global_GetAllServerFarms", + "consumes": [], + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "name": "detailed", + "in": "query", + "description": "False to return a subset of App Service Plan properties, true to return all of the properties.\r\n Retrieval of all properties may increase the API latency.", + "type": "boolean" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -1553,40 +1666,1183 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/DomainAvailablilityCheckResult" + "$ref": "#/definitions/ServerFarmCollection" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/sites": { + "get": { + "tags": [ + "Global" + ], + "summary": "Gets all Web Apps for a subscription", + "operationId": "Global_GetAllSites", + "consumes": [], + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SiteCollection" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/hostingEnvironments": { + "get": { + "tags": [ + "Global" + ], + "summary": "Gets all hostingEnvironments (App Service Environment) for a subscription", + "operationId": "Global_GetAllHostingEnvironments", + "consumes": [], + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/HostingEnvironmentCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/listDomainRecommendations": { - "post": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/classicMobileServices": { + "get": { + "tags": [ + "Global" + ], + "summary": "Gets all mobile services for a subscription", + "operationId": "Global_GetAllClassicMobileServices", + "consumes": [], + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ClassicMobileServiceCollection" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/premieraddonoffers": { + "get": { + "tags": [ + "Global" + ], + "summary": "List premier add on offers", + "operationId": "Global_ListPremierAddOnOffers", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Object" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/ishostingenvironmentnameavailable": { + "get": { + "tags": [ + "Global" + ], + "summary": "Whether hosting environment name is available", + "operationId": "Global_IsHostingEnvironmentNameAvailable", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "name", + "in": "query", + "description": "Hosting environment name", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Object" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/ishostingenvironmentnameavailable/{name}": { + "get": { + "tags": [ + "Global" + ], + "summary": "Whether hosting environment name is available", + "operationId": "Global_IsHostingEnvironmentWithLegacyNameAvailable", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "name", + "in": "path", + "description": "Hosting environment name", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Object" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/checknameavailability": { + "post": { + "tags": [ + "Global" + ], + "summary": "Check if resource name is available", + "operationId": "Global_CheckNameAvailability", + "consumes": [ + "application/json", + "text/json", + "application/xml", + "text/xml", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "request", + "in": "body", + "description": "Name availability request", + "required": true, + "schema": { + "$ref": "#/definitions/ResourceNameAvailabilityRequest" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ResourceNameAvailability" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.CertificateRegistration/certificateOrders": { + "get": { + "tags": [ + "GlobalCertificateOrder" + ], + "summary": "Lists all domains in a subscription", + "operationId": "GlobalCertificateOrder_GetAllCertificateOrders", + "consumes": [], + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CertificateOrderCollection" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/domains": { + "get": { + "tags": [ + "GlobalDomainRegistration" + ], + "summary": "Lists all domains in a subscription", + "operationId": "GlobalDomainRegistration_GetAllDomains", + "consumes": [], + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DomainCollection" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/generateSsoRequest": { + "post": { + "tags": [ + "GlobalDomainRegistration" + ], + "summary": "Generates a single sign on request for domain management portal", + "operationId": "GlobalDomainRegistration_GetDomainControlCenterSsoRequest", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DomainControlCenterSsoRequest" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/validateDomainRegistrationInformation": { + "post": { + "tags": [ + "GlobalDomainRegistration" + ], + "summary": "Validates domain registration information", + "operationId": "GlobalDomainRegistration_ValidateDomainPurchaseInformation", + "consumes": [ + "application/json", + "text/json", + "application/xml", + "text/xml", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "domainRegistrationInput", + "in": "body", + "description": "Domain registration information", + "required": true, + "schema": { + "$ref": "#/definitions/DomainRegistrationInput" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Object" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/checkDomainAvailability": { + "post": { + "tags": [ + "GlobalDomainRegistration" + ], + "summary": "Checks if a domain is available for registration", + "operationId": "GlobalDomainRegistration_CheckDomainAvailability", + "consumes": [ + "application/json", + "text/json", + "application/xml", + "text/xml", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "identifier", + "in": "body", + "description": "Name of the domain", + "required": true, + "schema": { + "$ref": "#/definitions/NameIdentifier" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DomainAvailablilityCheckResult" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/listDomainRecommendations": { + "post": { + "tags": [ + "GlobalDomainRegistration" + ], + "summary": "Lists domain recommendations based on keywords", + "operationId": "GlobalDomainRegistration_ListDomainRecommendations", + "consumes": [ + "application/json", + "text/json", + "application/xml", + "text/xml", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "name": "parameters", + "in": "body", + "description": "Domain recommendation search parameters", + "required": true, + "schema": { + "$ref": "#/definitions/DomainRecommendationSearchParameters" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/NameIdentifierCollection" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources": { + "post": { + "tags": [ + "GlobalResourceGroups" + ], + "operationId": "GlobalResourceGroups_MoveResources", + "consumes": [ + "application/json", + "text/json", + "application/xml", + "text/xml", + "application/x-www-form-urlencoded" + ], + "produces": [], + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "moveResourceEnvelope", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CsmMoveResourceEnvelope" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}": { + "get": { + "tags": [ + "HostingEnvironments" + ], + "summary": "Get properties of hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_GetHostingEnvironment", + "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": { + "$ref": "#/definitions/HostingEnvironment" + } + } + }, + "deprecated": false + }, + "put": { + "tags": [ + "HostingEnvironments" + ], + "summary": "Create or update a hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_CreateOrUpdateHostingEnvironment", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "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": "hostingEnvironmentEnvelope", + "in": "body", + "description": "Properties of hostingEnvironment (App Service Environment)", + "required": true, + "schema": { + "$ref": "#/definitions/HostingEnvironment" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/HostingEnvironment" + } + }, + "202": { + "description": "Operation is in progress", + "schema": { + "$ref": "#/definitions/HostingEnvironment" + } + }, + "400": { + "description": "Bad request" + }, + "404": { + "description": "Not found" + }, + "409": { + "description": "Conflict" + } + }, + "deprecated": false, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "HostingEnvironments" + ], + "summary": "Delete a hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_DeleteHostingEnvironment", + "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": "forceDelete", + "in": "query", + "description": "Delete even if the hostingEnvironment (App Service Environment) contains resources", + "type": "boolean" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Object" + } + }, + "202": { + "description": "Operation is in progress", + "schema": { + "$ref": "#/definitions/Object" + } + }, + "400": { + "description": "Bad request" + }, + "404": { + "description": "Not found" + }, + "409": { + "description": "Conflict" + } + }, + "deprecated": false, + "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": [ + "HostingEnvironments" + ], + "summary": "Get used, available, and total worker capacity for hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_GetHostingEnvironmentCapacities", + "consumes": [], + "produces": [ + "application/json", + "text/json" + ], + "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": { + "$ref": "#/definitions/StampCapacityCollection" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/virtualip": { + "get": { + "tags": [ + "HostingEnvironments" + ], + "summary": "Get IP addresses assigned to the hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_GetHostingEnvironmentVips", + "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": { + "$ref": "#/definitions/AddressResponse" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments": { + "get": { + "tags": [ + "HostingEnvironments" + ], + "summary": "Get all hostingEnvironments (App Service Environments) in a resource group.", + "operationId": "HostingEnvironments_GetHostingEnvironments", + "consumes": [], + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "description": "Name of resource group", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/HostingEnvironmentCollection" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/reboot": { + "post": { + "tags": [ + "HostingEnvironments" + ], + "summary": "Reboots all machines in a hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_RebootHostingEnvironment", + "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": { + "202": { + "description": "Asynchronous operation in progress", + "schema": { + "$ref": "#/definitions/Object" + } + }, + "400": { + "description": "Bad request" + }, + "404": { + "description": "Not found" + }, + "409": { + "description": "Conflict" + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/operations": { + "get": { + "tags": [ + "HostingEnvironments" + ], + "summary": "List all currently running operations on the hostingEnvironment (App Service Environment)", + "operationId": "HostingEnvironments_GetHostingEnvironmentOperations", + "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": { + "$ref": "#/definitions/Object" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/operations/{operationId}": { + "get": { + "tags": [ + "HostingEnvironments" + ], + "summary": "Get status of an operation on a hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_GetHostingEnvironmentOperation", + "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": "operationId", + "in": "path", + "description": "operation identifier GUID", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Operation completed successfully", + "schema": { + "$ref": "#/definitions/Object" + } + }, + "202": { + "description": "Asynchronous operation in progress", + "schema": { + "$ref": "#/definitions/Object" + } + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Operation failed" + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/metrics": { + "get": { "tags": [ - "GlobalDomainRegistration" - ], - "summary": "Lists domain recommendations based on keywords", - "operationId": "GlobalDomainRegistration_ListDomainRecommendations", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" + "HostingEnvironments" ], + "summary": "Get global metrics of hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_GetHostingEnvironmentMetrics", + "consumes": [], "produces": [ "application/json", "text/json" ], "parameters": [ { - "name": "parameters", - "in": "body", - "description": "Domain recommendation search parameters", + "name": "resourceGroupName", + "in": "path", + "description": "Name of resource group", "required": true, - "schema": { - "$ref": "#/definitions/DomainRecommendationSearchParameters" - } + "type": "string" + }, + { + "name": "name", + "in": "path", + "description": "Name of hostingEnvironment (App Service Environment)", + "required": true, + "type": "string" + }, + { + "name": "details", + "in": "query", + "description": "Include instance details", + "type": "boolean" + }, + { + "name": "Accept", + "in": "header", + "type": "string", + "default": "Application/json" + }, + { + "name": "$filter", + "in": "query", + "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" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -1599,41 +2855,41 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/NameIdentifierCollection" + "$ref": "#/definitions/ResourceMetricCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/metricdefinitions": { + "get": { "tags": [ - "GlobalResourceGroups" + "HostingEnvironments" ], - "operationId": "GlobalResourceGroups_MoveResources", - "consumes": [ + "summary": "Get global metric definitions of hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_GetHostingEnvironmentMetricDefinitions", + "consumes": [], + "produces": [ "application/json", "text/json", "application/xml", - "text/xml", - "application/x-www-form-urlencoded" + "text/xml" ], - "produces": [], "parameters": [ { "name": "resourceGroupName", "in": "path", + "description": "Name of resource group", "required": true, "type": "string" }, { - "name": "moveResourceEnvelope", - "in": "body", + "name": "name", + "in": "path", + "description": "Name of hostingEnvironment (App Service Environment)", "required": true, - "schema": { - "$ref": "#/definitions/CsmMoveResourceEnvelope" - } + "type": "string" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -1643,26 +2899,27 @@ } ], "responses": { - "204": { - "description": "No Content" + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MetricDefinition" + } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/usages": { "get": { "tags": [ "HostingEnvironments" ], - "summary": "Get properties of hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironment", + "summary": "Get global usages of hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_GetHostingEnvironmentUsages", "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -1679,6 +2936,12 @@ "required": true, "type": "string" }, + { + "name": "$filter", + "in": "query", + "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" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -1690,28 +2953,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HostingEnvironment" + "$ref": "#/definitions/CsmUsageQuotaCollection" } } }, "deprecated": false - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metrics": { + "get": { "tags": [ "HostingEnvironments" ], - "summary": "Create or update a hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_CreateOrUpdateHostingEnvironment", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Get metrics for a multiRole pool of a hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_GetHostingEnvironmentMultiRoleMetrics", + "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -1729,13 +2988,40 @@ "type": "string" }, { - "name": "hostingEnvironmentEnvelope", - "in": "body", - "description": "Properties of hostingEnvironment (App Service Environment)", - "required": true, - "schema": { - "$ref": "#/definitions/HostingEnvironment" - } + "name": "startTime", + "in": "query", + "description": "Beginning time of metrics query", + "type": "string" + }, + { + "name": "endTime", + "in": "query", + "description": "End time of metrics query", + "type": "string" + }, + { + "name": "timeGrain", + "in": "query", + "description": "Time granularity of metrics query", + "type": "string" + }, + { + "name": "details", + "in": "query", + "description": "Include instance details", + "type": "boolean" + }, + { + "name": "Accept", + "in": "header", + "type": "string", + "default": "Application/json" + }, + { + "name": "$filter", + "in": "query", + "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" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -1748,40 +3034,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HostingEnvironment" - } - }, - "202": { - "description": "Operation is in progress", - "schema": { - "$ref": "#/definitions/HostingEnvironment" + "$ref": "#/definitions/ResourceMetricCollection" } - }, - "400": { - "description": "Bad request" - }, - "404": { - "description": "Not found" - }, - "409": { - "description": "Conflict" } }, - "deprecated": false, - "x-ms-long-running-operation": true - }, - "delete": { + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/metrics": { + "get": { "tags": [ "HostingEnvironments" ], - "summary": "Delete a hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_DeleteHostingEnvironment", + "summary": "Get metrics for a worker pool of a hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_GetHostingEnvironmentWebWorkerMetrics", "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -1799,11 +3069,30 @@ "type": "string" }, { - "name": "forceDelete", + "name": "workerPoolName", + "in": "path", + "description": "Name of worker pool", + "required": true, + "type": "string" + }, + { + "name": "details", "in": "query", - "description": "Delete even if the hostingEnvironment (App Service Environment) contains resources", + "description": "Include instance details", "type": "boolean" }, + { + "name": "Accept", + "in": "header", + "type": "string", + "default": "Application/json" + }, + { + "name": "$filter", + "in": "query", + "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" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -1815,42 +3104,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" - } - }, - "202": { - "description": "Operation is in progress", - "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/ResourceMetricCollection" } - }, - "400": { - "description": "Bad request" - }, - "404": { - "description": "Not found" - }, - "409": { - "description": "Conflict" } }, - "deprecated": false, - "x-ms-long-running-operation": true + "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metricdefinitions": { "get": { "tags": [ "HostingEnvironments" ], - "summary": "Get diagnostic information for hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentDiagnostics", + "summary": "Get metric definitions for a multiRole pool of a hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_GetHostingEnvironmentMultiRoleMetricDefinitions", "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -1878,29 +3149,24 @@ "200": { "description": "OK", "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/HostingEnvironmentDiagnostics" - } + "$ref": "#/definitions/MetricDefinitionCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics/{diagnosticsName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/metricdefinitions": { "get": { "tags": [ "HostingEnvironments" ], - "summary": "Get diagnostic information for hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentDiagnosticsItem", + "summary": "Get metric definitions for a worker pool of a hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_GetHostingEnvironmentWebWorkerMetricDefinitions", "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" + "produces": [ + "application/json", + "text/json" ], "parameters": [ { @@ -1918,9 +3184,9 @@ "type": "string" }, { - "name": "diagnosticsName", + "name": "workerPoolName", "in": "path", - "description": "Name of the diagnostics", + "description": "Name of worker pool", "required": true, "type": "string" }, @@ -1935,20 +3201,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HostingEnvironmentDiagnostics" + "$ref": "#/definitions/MetricDefinitionCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/compute": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/usages": { "get": { "tags": [ "HostingEnvironments" ], - "summary": "Get used, available, and total worker capacity for hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentCapacities", + "summary": "Get usages for a multiRole pool of a hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_GetHostingEnvironmentMultiRoleUsages", "consumes": [], "produces": [ "application/json", @@ -1980,26 +3246,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/StampCapacityCollection" + "$ref": "#/definitions/UsageCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/virtualip": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/usages": { "get": { "tags": [ "HostingEnvironments" ], - "summary": "Get IP addresses assigned to the hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentVips", + "summary": "Get usages for a worker pool of a hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_GetHostingEnvironmentWebWorkerUsages", "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -2016,6 +3280,13 @@ "required": true, "type": "string" }, + { + "name": "workerPoolName", + "in": "path", + "description": "Name of worker pool", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -2027,20 +3298,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/AddressResponse" + "$ref": "#/definitions/UsageCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/sites": { "get": { "tags": [ "HostingEnvironments" ], - "summary": "Get all hostingEnvironments (App Service Environments) in a resource group.", - "operationId": "HostingEnvironments_GetHostingEnvironments", + "summary": "Get all sites on the hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_GetHostingEnvironmentSites", "consumes": [], "produces": [ "application/json", @@ -2054,6 +3325,19 @@ "required": true, "type": "string" }, + { + "name": "name", + "in": "path", + "description": "Name of hostingEnvironment (App Service Environment)", + "required": true, + "type": "string" + }, + { + "name": "propertiesToInclude", + "in": "query", + "description": "Comma separated list of site properties to include", + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -2065,26 +3349,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HostingEnvironmentCollection" + "$ref": "#/definitions/SiteCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/reboot": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/webhostingplans": { + "get": { "tags": [ "HostingEnvironments" ], - "summary": "Reboots all machines in a hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_RebootHostingEnvironment", + "summary": "Get all serverfarms (App Service Plans) on the hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_GetHostingEnvironmentWebHostingPlans", "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -2109,38 +3391,27 @@ } ], "responses": { - "202": { - "description": "Asynchronous operation in progress", + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/ServerFarmCollection" } - }, - "400": { - "description": "Bad request" - }, - "404": { - "description": "Not found" - }, - "409": { - "description": "Conflict" } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/operations/{operationId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/serverfarms": { "get": { "tags": [ "HostingEnvironments" ], - "summary": "Get status of an operation on a hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentOperation", + "summary": "Get all serverfarms (App Service Plans) on the hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_GetHostingEnvironmentServerFarms", "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -2157,13 +3428,6 @@ "required": true, "type": "string" }, - { - "name": "operationId", - "in": "path", - "description": "operation identifier GUID", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -2173,34 +3437,22 @@ ], "responses": { "200": { - "description": "Operation completed successfully", - "schema": { - "$ref": "#/definitions/Object" - } - }, - "202": { - "description": "Asynchronous operation in progress", + "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/ServerFarmCollection" } - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Operation failed" } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/metrics": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools": { "get": { "tags": [ "HostingEnvironments" ], - "summary": "Get global metrics of hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentMetrics", + "summary": "Get all multi role pools", + "operationId": "HostingEnvironments_GetMultiRolePools", "consumes": [], "produces": [ "application/json", @@ -2221,18 +3473,6 @@ "required": true, "type": "string" }, - { - "name": "details", - "in": "query", - "description": "Include instance details", - "type": "boolean" - }, - { - "name": "$filter", - "in": "query", - "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" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -2244,20 +3484,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/MetricResponseCollection" + "$ref": "#/definitions/WorkerPoolCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/metricdefinitions": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default": { "get": { "tags": [ "HostingEnvironments" ], - "summary": "Get global metric definitions of hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentMetricDefinitions", + "summary": "Get properties of a multiRool pool.", + "operationId": "HostingEnvironments_GetMultiRolePool", "consumes": [], "produces": [ "application/json", @@ -2291,24 +3531,28 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/MetricDefinition" + "$ref": "#/definitions/WorkerPool" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/usages": { - "get": { + }, + "put": { "tags": [ "HostingEnvironments" ], - "summary": "Get global usages of hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentUsages", - "consumes": [], + "summary": "Create or update a multiRole pool.", + "operationId": "HostingEnvironments_CreateOrUpdateMultiRolePool", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -2326,10 +3570,13 @@ "type": "string" }, { - "name": "$filter", - "in": "query", - "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" + "name": "multiRolePoolEnvelope", + "in": "body", + "description": "Properties of multiRole pool", + "required": true, + "schema": { + "$ref": "#/definitions/WorkerPool" + } }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -2342,20 +3589,36 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/CsmUsageQuotaCollection" + "$ref": "#/definitions/WorkerPool" } + }, + "202": { + "description": "Operation is in progress", + "schema": { + "$ref": "#/definitions/WorkerPool" + } + }, + "400": { + "description": "Bad request" + }, + "404": { + "description": "Not found" + }, + "409": { + "description": "Conflict" } }, - "deprecated": false + "deprecated": false, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metrics": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/skus": { "get": { "tags": [ "HostingEnvironments" ], - "summary": "Get metrics for a multiRole pool of a hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentMultiRoleMetrics", + "summary": "Get available skus for scaling a multiRole pool.", + "operationId": "HostingEnvironments_GetMultiRolePoolSkus", "consumes": [], "produces": [ "application/json", @@ -2376,36 +3639,6 @@ "required": true, "type": "string" }, - { - "name": "startTime", - "in": "query", - "description": "Beginning time of metrics query", - "type": "string" - }, - { - "name": "endTime", - "in": "query", - "description": "End time of metrics query", - "type": "string" - }, - { - "name": "timeGrain", - "in": "query", - "description": "Time granularity of metrics query", - "type": "string" - }, - { - "name": "details", - "in": "query", - "description": "Include instance details", - "type": "boolean" - }, - { - "name": "$filter", - "in": "query", - "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" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -2417,20 +3650,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/MetricResponseCollection" + "$ref": "#/definitions/SkuInfoCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerSizeId}/metrics": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools": { "get": { "tags": [ "HostingEnvironments" ], - "summary": "Get metrics for a worker pool of a hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentWebWorkerMetrics", + "summary": "Get all worker pools", + "operationId": "HostingEnvironments_GetWorkerPools", "consumes": [], "produces": [ "application/json", @@ -2451,25 +3684,6 @@ "required": true, "type": "string" }, - { - "name": "workerSizeId", - "in": "path", - "description": "Id of worker pool", - "required": true, - "type": "string" - }, - { - "name": "details", - "in": "query", - "description": "Include instance details", - "type": "boolean" - }, - { - "name": "$filter", - "in": "query", - "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" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -2481,24 +3695,26 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/MetricResponseCollection" + "$ref": "#/definitions/WorkerPoolCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metricdefinitions": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}": { "get": { "tags": [ "HostingEnvironments" ], - "summary": "Get metric definitions for a multiRole pool of a hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentMultiRoleMetricDefinitions", + "summary": "Get properties of a worker pool.", + "operationId": "HostingEnvironments_GetWorkerPool", "consumes": [], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -2515,6 +3731,13 @@ "required": true, "type": "string" }, + { + "name": "workerPoolName", + "in": "path", + "description": "Name of worker pool", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -2526,24 +3749,28 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/MetricDefinitionCollection" + "$ref": "#/definitions/WorkerPool" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerSizeId}/metricdefinitions": { - "get": { + }, + "put": { "tags": [ "HostingEnvironments" ], - "summary": "Get metric definitions for a worker pool of a hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentWebWorkerMetricDefinitions", - "consumes": [], + "summary": "Create or update a worker pool.", + "operationId": "HostingEnvironments_CreateOrUpdateWorkerPool", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -2561,12 +3788,21 @@ "type": "string" }, { - "name": "workerSizeId", + "name": "workerPoolName", "in": "path", - "description": "Id of worker pool", + "description": "Name of worker pool", "required": true, "type": "string" }, + { + "name": "workerPoolEnvelope", + "in": "body", + "description": "Properties of worker pool", + "required": true, + "schema": { + "$ref": "#/definitions/WorkerPool" + } + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -2578,20 +3814,36 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/MetricDefinitionCollection" + "$ref": "#/definitions/WorkerPool" } + }, + "202": { + "description": "Operation is in progress", + "schema": { + "$ref": "#/definitions/WorkerPool" + } + }, + "400": { + "description": "Bad request" + }, + "404": { + "description": "Not found" + }, + "409": { + "description": "Conflict" } }, - "deprecated": false + "deprecated": false, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/usages": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/skus": { "get": { "tags": [ "HostingEnvironments" ], - "summary": "Get usages for a multiRole pool of a hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentMultiRoleUsages", + "summary": "Get available skus for scaling a worker pool.", + "operationId": "HostingEnvironments_GetWorkerPoolSkus", "consumes": [], "produces": [ "application/json", @@ -2612,6 +3864,13 @@ "required": true, "type": "string" }, + { + "name": "workerPoolName", + "in": "path", + "description": "Name of worker pool", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -2623,24 +3882,26 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/UsageCollection" + "$ref": "#/definitions/SkuInfoCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerSizeId}/usages": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}/metrics": { "get": { "tags": [ "HostingEnvironments" ], - "summary": "Get usages for a worker pool of a hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentWebWorkerUsages", + "summary": "Get metrics for a specific instance of a worker pool of a hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_GetWorkerPoolInstanceMetrics", "consumes": [], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -2658,12 +3919,31 @@ "type": "string" }, { - "name": "workerSizeId", + "name": "workerPoolName", + "in": "path", + "description": "Name of worker pool", + "required": true, + "type": "string" + }, + { + "name": "instance", "in": "path", - "description": "Id of worker pool", + "description": "Name of instance in the worker pool", "required": true, "type": "string" }, + { + "name": "details", + "in": "query", + "description": "Include instance details", + "type": "boolean" + }, + { + "name": "$filter", + "in": "query", + "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" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -2675,24 +3955,26 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/UsageCollection" + "$ref": "#/definitions/Object" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/sites": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}/metricdefinitions": { "get": { "tags": [ "HostingEnvironments" ], - "summary": "Get all sites on the hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentSites", + "summary": "Get metric definitions for a specific instance of a worker pool of a hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_GetWorkerPoolInstanceMetricDefinitions", "consumes": [], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -2710,9 +3992,17 @@ "type": "string" }, { - "name": "propertiesToInclude", - "in": "query", - "description": "Comma separated list of site properties to include", + "name": "workerPoolName", + "in": "path", + "description": "Name of worker pool", + "required": true, + "type": "string" + }, + { + "name": "instance", + "in": "path", + "description": "Name of instance in the worker pool", + "required": true, "type": "string" }, { @@ -2726,24 +4016,26 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteCollection" + "$ref": "#/definitions/Object" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/serverfarms": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}/metrics": { "get": { "tags": [ "HostingEnvironments" ], - "summary": "Get all serverfarms (App Service Plans) on the hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentServerFarms", + "summary": "Get metrics for a specific instance of a multiRole pool of a hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_GetMultiRolePoolInstanceMetrics", "consumes": [], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -2760,6 +4052,19 @@ "required": true, "type": "string" }, + { + "name": "instance", + "in": "path", + "description": "Name of instance in the multiRole pool", + "required": true, + "type": "string" + }, + { + "name": "details", + "in": "query", + "description": "Include instance details", + "type": "boolean" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -2771,24 +4076,26 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ServerFarmCollection" + "$ref": "#/definitions/Object" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/webhostingplans": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}/metricdefinitions": { "get": { "tags": [ "HostingEnvironments" ], - "summary": "Get all serverfarms (App Service Plans) on the hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentWebHostingPlans", + "summary": "Get metric definitions for a specific instance of a multiRole pool of a hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_GetMultiRolePoolInstanceMetricDefinitions", "consumes": [], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -2805,6 +4112,13 @@ "required": true, "type": "string" }, + { + "name": "instance", + "in": "path", + "description": "Name of instance in the multiRole pool>", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -2816,26 +4130,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ServerFarmCollection" + "$ref": "#/definitions/Object" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/suspend": { + "post": { "tags": [ "HostingEnvironments" ], - "summary": "Get properties of a multiRool pool.", - "operationId": "HostingEnvironments_GetMultiRolePool", + "summary": "Suspends the hostingEnvironment.", + "operationId": "HostingEnvironments_SuspendHostingEnvironment", "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -2863,28 +4175,31 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/WorkerPool" + "$ref": "#/definitions/SiteCollection" + } + }, + "202": { + "description": "Operation is in progress", + "schema": { + "$ref": "#/definitions/SiteCollection" } } }, - "deprecated": false - }, - "put": { + "deprecated": false, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/resume": { + "post": { "tags": [ "HostingEnvironments" ], - "summary": "Create or update a multiRole pool.", - "operationId": "HostingEnvironments_CreateOrUpdateMultiRolePool", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Resumes the hostingEnvironment.", + "operationId": "HostingEnvironments_ResumeHostingEnvironment", + "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -2901,15 +4216,6 @@ "required": true, "type": "string" }, - { - "name": "multiRolePoolEnvelope", - "in": "body", - "description": "Properties of multiRole pool", - "required": true, - "schema": { - "$ref": "#/definitions/WorkerPool" - } - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -2921,59 +4227,33 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/WorkerPool" + "$ref": "#/definitions/SiteCollection" } }, "202": { "description": "Operation is in progress", "schema": { - "$ref": "#/definitions/WorkerPool" + "$ref": "#/definitions/SiteCollection" } - }, - "400": { - "description": "Bad request" - }, - "404": { - "description": "Not found" - }, - "409": { - "description": "Conflict" } }, "deprecated": false, "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/skus": { + "/providers/Microsoft.Web/sourcecontrols": { "get": { "tags": [ - "HostingEnvironments" + "Provider" ], - "summary": "Get available skus for scaling a multiRole pool.", - "operationId": "HostingEnvironments_GetMultiRolePoolSkus", + "summary": "Gets the source controls available for Azure websites", + "operationId": "Provider_GetSourceControls", "consumes": [], "produces": [ "application/json", "text/json" ], "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" } @@ -2982,20 +4262,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SkuInfoCollection" + "$ref": "#/definitions/SourceControlCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerSizeId}": { + "/providers/Microsoft.Web/sourcecontrols/{sourceControlType}": { "get": { "tags": [ - "HostingEnvironments" + "Provider" ], - "summary": "Get properties of a worker pool.", - "operationId": "HostingEnvironments_GetWorkerPool", + "summary": "Gets source control token", + "operationId": "Provider_GetSourceControl", "consumes": [], "produces": [ "application/json", @@ -3005,29 +4285,12 @@ ], "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": "workerSizeId", + "name": "sourceControlType", "in": "path", - "description": "Id of worker pool", + "description": "Type of source control", "required": true, "type": "string" }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, { "$ref": "#/parameters/apiVersionParameter" } @@ -3036,7 +4299,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/WorkerPool" + "$ref": "#/definitions/SourceControl" } } }, @@ -3044,10 +4307,10 @@ }, "put": { "tags": [ - "HostingEnvironments" + "Provider" ], - "summary": "Create or update a worker pool.", - "operationId": "HostingEnvironments_CreateOrUpdateWorkerPool", + "summary": "Updates source control token", + "operationId": "Provider_UpdateSourceControl", "consumes": [ "application/json", "text/json", @@ -3061,38 +4324,21 @@ ], "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": "workerSizeId", + "name": "sourceControlType", "in": "path", - "description": "Id of worker pool", + "description": "Type of source control", "required": true, "type": "string" }, { - "name": "workerPoolEnvelope", + "name": "requestMessage", "in": "body", - "description": "Properties of worker pool", + "description": "Source control token information", "required": true, "schema": { - "$ref": "#/definitions/WorkerPool" + "$ref": "#/definitions/SourceControl" } }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, { "$ref": "#/parameters/apiVersionParameter" } @@ -3101,66 +4347,35 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/WorkerPool" - } - }, - "202": { - "description": "Operation is in progress", - "schema": { - "$ref": "#/definitions/WorkerPool" + "$ref": "#/definitions/SourceControl" } - }, - "400": { - "description": "Bad request" - }, - "404": { - "description": "Not found" - }, - "409": { - "description": "Conflict" } }, - "deprecated": false, - "x-ms-long-running-operation": true + "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerSizeId}/skus": { + "/providers/Microsoft.Web/publishingUsers/{name}": { "get": { "tags": [ - "HostingEnvironments" + "Provider" ], - "summary": "Get available skus for scaling a worker pool.", - "operationId": "HostingEnvironments_GetWorkerPoolSkus", + "summary": "Gets publishing user", + "operationId": "Provider_GetPublishingUser", "consumes": [], "produces": [ "application/json", - "text/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": "workerSizeId", - "in": "path", - "description": "Id of worker pool", + "description": "Name of user", "required": true, "type": "string" }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, { "$ref": "#/parameters/apiVersionParameter" } @@ -3169,21 +4384,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SkuInfoCollection" + "$ref": "#/definitions/User" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerSizeId}/instances/{instance}/metrics": { - "get": { + }, + "put": { "tags": [ - "HostingEnvironments" + "Provider" + ], + "summary": "Updates publishing user", + "operationId": "Provider_UpdatePublishingUser", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" ], - "summary": "Get metrics for a specific instance of a worker pool of a hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetWorkerPoolInstanceMetrics", - "consumes": [], "produces": [ "application/json", "text/json", @@ -3191,48 +4408,21 @@ "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": "workerSizeId", - "in": "path", - "description": "Id of worker pool", + "description": "Name of user", "required": true, "type": "string" }, { - "name": "instance", - "in": "path", - "description": "Name of instance in the worker pool", + "name": "requestMessage", + "in": "body", + "description": "Details of publishing user", "required": true, - "type": "string" - }, - { - "name": "details", - "in": "query", - "description": "Include instance details", - "type": "boolean" - }, - { - "name": "$filter", - "in": "query", - "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" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" + "schema": { + "$ref": "#/definitions/User" + } }, { "$ref": "#/parameters/apiVersionParameter" @@ -3242,26 +4432,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/User" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerSizeId}/instances/{instance}/metricdefinitions": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms": { "get": { "tags": [ - "HostingEnvironments" + "ServerFarms" ], - "summary": "Get metric definitions for a specific instance of a worker pool of a hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetWorkerPoolInstanceMetricDefinitions", + "summary": "Gets collection of App Service Plans in a resource group for a given subscription.", + "operationId": "ServerFarms_GetServerFarms", "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -3271,27 +4459,6 @@ "required": true, "type": "string" }, - { - "name": "name", - "in": "path", - "description": "Name of hostingEnvironment (App Service Environment)", - "required": true, - "type": "string" - }, - { - "name": "workerSizeId", - "in": "path", - "description": "Id of worker pool", - "required": true, - "type": "string" - }, - { - "name": "instance", - "in": "path", - "description": "Name of instance in the worker pool", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -3303,26 +4470,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/ServerFarmCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}/metrics": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans": { "get": { "tags": [ - "HostingEnvironments" + "ServerFarms" ], - "summary": "Get metrics for a specific instance of a multiRole pool of a hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetMultiRolePoolInstanceMetrics", + "summary": "Gets collection of App Service Plans in a resource group for a given subscription.", + "operationId": "ServerFarms_GetWebHostingPlans", "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -3332,26 +4497,6 @@ "required": true, "type": "string" }, - { - "name": "name", - "in": "path", - "description": "Name of hostingEnvironment (App Service Environment)", - "required": true, - "type": "string" - }, - { - "name": "instance", - "in": "path", - "description": "Name of instance in the multiRole pool", - "required": true, - "type": "string" - }, - { - "name": "details", - "in": "query", - "description": "Include instance details", - "type": "boolean" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -3363,20 +4508,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/ServerFarmCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}/metricdefinitions": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}": { "get": { "tags": [ - "HostingEnvironments" + "ServerFarms" ], - "summary": "Get metric definitions for a specific instance of a multiRole pool of a hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetMultiRolePoolInstanceMetricDefinitions", + "summary": "Gets specified App Service Plan in a resource group", + "operationId": "ServerFarms_GetServerFarm", "consumes": [], "produces": [ "application/json", @@ -3395,14 +4540,7 @@ { "name": "name", "in": "path", - "description": "Name of hostingEnvironment (App Service Environment)", - "required": true, - "type": "string" - }, - { - "name": "instance", - "in": "path", - "description": "Name of instance in the multiRole pool>", + "description": "Name of App Service Plan", "required": true, "type": "string" }, @@ -3417,24 +4555,28 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/ServerFarmWithRichSku" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/suspend": { - "post": { + }, + "put": { "tags": [ - "HostingEnvironments" + "ServerFarms" + ], + "summary": "Creates or updates an App Service Plan", + "operationId": "ServerFarms_CreateOrUpdateServerFarm", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" ], - "summary": "Suspends the hostingEnvironment.", - "operationId": "HostingEnvironments_SuspendHostingEnvironment", - "consumes": [], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -3447,10 +4589,25 @@ { "name": "name", "in": "path", - "description": "Name of hostingEnvironment (App Service Environment)", + "description": "Name of App Service Plan", "required": true, "type": "string" }, + { + "name": "serverFarmEnvelope", + "in": "body", + "description": "Details of App Service Plan", + "required": true, + "schema": { + "$ref": "#/definitions/ServerFarmWithRichSku" + } + }, + { + "name": "allowPendingState", + "in": "query", + "description": "OBSOLETE: If true, allow pending state for App Service Plan", + "type": "boolean" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -3462,31 +4619,31 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteCollection" + "$ref": "#/definitions/ServerFarmWithRichSku" } }, "202": { "description": "Operation is in progress", "schema": { - "$ref": "#/definitions/SiteCollection" + "$ref": "#/definitions/ServerFarmWithRichSku" } } }, "deprecated": false, "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/resume": { - "post": { + }, + "delete": { "tags": [ - "HostingEnvironments" + "ServerFarms" ], - "summary": "Resumes the hostingEnvironment.", - "operationId": "HostingEnvironments_ResumeHostingEnvironment", + "summary": "Deletes a App Service Plan", + "operationId": "ServerFarms_DeleteServerFarm", "consumes": [], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -3499,7 +4656,7 @@ { "name": "name", "in": "path", - "description": "Name of hostingEnvironment (App Service Environment)", + "description": "Name of App Service Plan", "required": true, "type": "string" }, @@ -3514,55 +4671,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteCollection" - } - }, - "202": { - "description": "Operation is in progress", - "schema": { - "$ref": "#/definitions/SiteCollection" - } - } - }, - "deprecated": false, - "x-ms-long-running-operation": true - } - }, - "/providers/Microsoft.Web/sourcecontrols": { - "get": { - "tags": [ - "Provider" - ], - "summary": "Gets the source controls available for Azure websites", - "operationId": "Provider_GetSourceControls", - "consumes": [], - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SourceControlCollection" + "$ref": "#/definitions/Object" } } }, "deprecated": false } }, - "/providers/Microsoft.Web/sourcecontrols/{sourceControlType}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}": { "get": { "tags": [ - "Provider" + "ServerFarms" ], - "summary": "Gets source control token", - "operationId": "Provider_GetSourceControl", + "summary": "Gets specified App Service Plan in a resource group", + "operationId": "ServerFarms_GetWebHostingPlan", "consumes": [], "produces": [ "application/json", @@ -3572,12 +4694,22 @@ ], "parameters": [ { - "name": "sourceControlType", + "name": "resourceGroupName", "in": "path", - "description": "Type of source control", + "description": "Name of resource group", + "required": true, + "type": "string" + }, + { + "name": "name", + "in": "path", + "description": "Name of App Service Plan", "required": true, "type": "string" }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, { "$ref": "#/parameters/apiVersionParameter" } @@ -3586,7 +4718,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SourceControl" + "$ref": "#/definitions/ServerFarmWithRichSku" } } }, @@ -3594,10 +4726,10 @@ }, "put": { "tags": [ - "Provider" + "ServerFarms" ], - "summary": "Updates source control token", - "operationId": "Provider_UpdateSourceControl", + "summary": "Creates or updates an App Service Plan", + "operationId": "ServerFarms_CreateOrUpdateWebHostingPlan", "consumes": [ "application/json", "text/json", @@ -3611,21 +4743,37 @@ ], "parameters": [ { - "name": "sourceControlType", + "name": "resourceGroupName", "in": "path", - "description": "Type of source control", + "description": "Name of resource group", "required": true, "type": "string" }, { - "name": "requestMessage", + "name": "name", + "in": "path", + "description": "Name of App Service Plan", + "required": true, + "type": "string" + }, + { + "name": "serverFarmEnvelope", "in": "body", - "description": "Source control token information", + "description": "Details of App Service Plan", "required": true, "schema": { - "$ref": "#/definitions/SourceControl" + "$ref": "#/definitions/ServerFarmWithRichSku" } }, + { + "name": "allowPendingState", + "in": "query", + "description": "OBSOLETE: If true, allow pending state for App Service Plan", + "type": "boolean" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, { "$ref": "#/parameters/apiVersionParameter" } @@ -3634,20 +4782,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SourceControl" + "$ref": "#/definitions/ServerFarmWithRichSku" + } + }, + "202": { + "description": "Operation is in progress", + "schema": { + "$ref": "#/definitions/ServerFarmWithRichSku" } } }, - "deprecated": false - } - }, - "/providers/Microsoft.Web/publishingUsers/{name}": { - "get": { + "deprecated": false, + "x-ms-long-running-operation": true + }, + "delete": { "tags": [ - "Provider" + "ServerFarms" ], - "summary": "Gets publishing user", - "operationId": "Provider_GetPublishingUser", + "summary": "Deletes a App Service Plan", + "operationId": "ServerFarms_DeleteWebHostingPlan", "consumes": [], "produces": [ "application/json", @@ -3657,59 +4810,21 @@ ], "parameters": [ { - "name": "name", + "name": "resourceGroupName", "in": "path", - "description": "Name of user", + "description": "Name of resource group", "required": true, "type": "string" }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/User" - } - } - }, - "deprecated": false - }, - "put": { - "tags": [ - "Provider" - ], - "summary": "Updates publishing user", - "operationId": "Provider_UpdatePublishingUser", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ { "name": "name", "in": "path", - "description": "Name of user", + "description": "Name of App Service Plan", "required": true, "type": "string" }, { - "name": "requestMessage", - "in": "body", - "description": "Details of publishing user", - "required": true, - "schema": { - "$ref": "#/definitions/User" - } + "$ref": "#/parameters/subscriptionIdParameter" }, { "$ref": "#/parameters/apiVersionParameter" @@ -3719,20 +4834,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/User" + "$ref": "#/definitions/Object" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/metrics": { "get": { "tags": [ "ServerFarms" ], - "summary": "Gets collection of App Service Plans in a resource group for a given subscription.", - "operationId": "ServerFarms_GetWebHostingPlans", + "summary": "Queries for App Serice Plan metrics", + "operationId": "ServerFarms_GetServerFarmMetrics", "consumes": [], "produces": [ "application/json", @@ -3746,6 +4861,31 @@ "required": true, "type": "string" }, + { + "name": "name", + "in": "path", + "description": "Name of App Service Plan", + "required": true, + "type": "string" + }, + { + "name": "details", + "in": "query", + "description": "If true, metrics are broken down per App Service Plan instance", + "type": "boolean" + }, + { + "name": "Accept", + "in": "header", + "type": "string", + "default": "Application/json" + }, + { + "name": "$filter", + "in": "query", + "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" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -3757,20 +4897,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ServerFarmCollection" + "$ref": "#/definitions/ResourceMetricCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/metrics": { "get": { "tags": [ "ServerFarms" ], - "summary": "Gets collection of App Service Plans in a resource group for a given subscription.", - "operationId": "ServerFarms_GetServerFarms", + "summary": "Queries for App Serice Plan metrics", + "operationId": "ServerFarms_GetWebHostingPlanMetrics", "consumes": [], "produces": [ "application/json", @@ -3784,6 +4924,31 @@ "required": true, "type": "string" }, + { + "name": "name", + "in": "path", + "description": "Name of App Service Plan", + "required": true, + "type": "string" + }, + { + "name": "details", + "in": "query", + "description": "If true, metrics are broken down per App Service Plan instance", + "type": "boolean" + }, + { + "name": "Accept", + "in": "header", + "type": "string", + "default": "Application/json" + }, + { + "name": "$filter", + "in": "query", + "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" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -3795,26 +4960,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ServerFarmCollection" + "$ref": "#/definitions/ResourceMetricCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/metricdefinitions": { "get": { "tags": [ "ServerFarms" ], - "summary": "Gets specified App Service Plan in a resource group", - "operationId": "ServerFarms_GetWebHostingPlan", + "summary": "List of metrics that can be queried for an App Service Plan", + "operationId": "ServerFarms_GetWebHostingPlanMetricDefinitions", "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -3842,28 +5005,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ServerFarmWithRichSku" + "$ref": "#/definitions/MetricDefinitionCollection" } } }, "deprecated": false - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/metricdefinitions": { + "get": { "tags": [ "ServerFarms" ], - "summary": "Creates or updates an App Service Plan", - "operationId": "ServerFarms_CreateOrUpdateWebHostingPlan", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "List of metrics that can be queried for an App Service Plan", + "operationId": "ServerFarms_GetServerFarmMetricDefintions", + "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -3880,21 +5039,6 @@ "required": true, "type": "string" }, - { - "name": "serverFarmEnvelope", - "in": "body", - "description": "Details of App Service Plan", - "required": true, - "schema": { - "$ref": "#/definitions/ServerFarmWithRichSku" - } - }, - { - "name": "allowPendingState", - "in": "query", - "description": "OBSOLETE: If true, allow pending state for App Service Plan", - "type": "boolean" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -3906,25 +5050,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ServerFarmWithRichSku" - } - }, - "202": { - "description": "Operation is in progress", - "schema": { - "$ref": "#/definitions/ServerFarmWithRichSku" + "$ref": "#/definitions/MetricDefinitionCollection" } } }, - "deprecated": false, - "x-ms-long-running-operation": true - }, - "delete": { + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections": { + "get": { "tags": [ "ServerFarms" ], - "summary": "Deletes a App Service Plan", - "operationId": "ServerFarms_DeleteWebHostingPlan", + "summary": "Gets list of vnets associated with App Service Plan", + "operationId": "ServerFarms_GetVnetsForServerFarm", "consumes": [], "produces": [ "application/json", @@ -3958,20 +5097,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "type": "array", + "items": { + "$ref": "#/definitions/VnetInfo" + } } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/virtualNetworkConnections": { "get": { "tags": [ "ServerFarms" ], - "summary": "Gets specified App Service Plan in a resource group", - "operationId": "ServerFarms_GetServerFarm", + "summary": "Gets list of vnets associated with App Service Plan", + "operationId": "ServerFarms_GetVnetsForWebHostingPlan", "consumes": [], "produces": [ "application/json", @@ -4005,23 +5147,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ServerFarmWithRichSku" + "type": "array", + "items": { + "$ref": "#/definitions/VnetInfo" + } } } }, "deprecated": false - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}": { + "get": { "tags": [ "ServerFarms" ], - "summary": "Creates or updates an App Service Plan", - "operationId": "ServerFarms_CreateOrUpdateServerFarm", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Gets a vnet associated with an App Service Plan", + "operationId": "ServerFarms_GetVnetFromServerFarm", + "consumes": [], "produces": [ "application/json", "text/json", @@ -4044,19 +5187,11 @@ "type": "string" }, { - "name": "serverFarmEnvelope", - "in": "body", - "description": "Details of App Service Plan", + "name": "vnetName", + "in": "path", + "description": "Name of virtual network", "required": true, - "schema": { - "$ref": "#/definitions/ServerFarmWithRichSku" - } - }, - { - "name": "allowPendingState", - "in": "query", - "description": "OBSOLETE: If true, allow pending state for App Service Plan", - "type": "boolean" + "type": "string" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -4069,25 +5204,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ServerFarmWithRichSku" + "$ref": "#/definitions/VnetInfo" } }, - "202": { - "description": "Operation is in progress", - "schema": { - "$ref": "#/definitions/ServerFarmWithRichSku" - } + "404": { + "description": "Virtual network could not be found" } }, - "deprecated": false, - "x-ms-long-running-operation": true - }, - "delete": { + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/virtualNetworkConnections/{vnetName}": { + "get": { "tags": [ "ServerFarms" ], - "summary": "Deletes a App Service Plan", - "operationId": "ServerFarms_DeleteServerFarm", + "summary": "Gets a vnet associated with an App Service Plan", + "operationId": "ServerFarms_GetVnetFromWebHostingPlan", "consumes": [], "produces": [ "application/json", @@ -4110,6 +5243,13 @@ "required": true, "type": "string" }, + { + "name": "vnetName", + "in": "path", + "description": "Name of virtual network", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -4121,24 +5261,29 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/VnetInfo" } + }, + "404": { + "description": "Virtual network could not be found" } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/metrics": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes": { "get": { "tags": [ "ServerFarms" ], - "summary": "Queries for App Serice Plan metrics", - "operationId": "ServerFarms_GetWebHostingPlanMetrics", + "summary": "Gets a list of all routes associated with a vnet, in an app service plan", + "operationId": "ServerFarms_GetRoutesForVnet", "consumes": [], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -4156,15 +5301,10 @@ "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": "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]'.", + "name": "vnetName", + "in": "path", + "description": "Name of virtual network", + "required": true, "type": "string" }, { @@ -4178,24 +5318,29 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/MetricResponseCollection" + "type": "array", + "items": { + "$ref": "#/definitions/VnetRoute" + } } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/metrics": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/virtualNetworkConnections/{vnetName}/routes": { "get": { "tags": [ "ServerFarms" ], - "summary": "Queries for App Serice Plan metrics", - "operationId": "ServerFarms_GetServerFarmMetrics", + "summary": "Gets a list of all routes associated with a vnet, in an app service plan", + "operationId": "ServerFarms_GetWebHostingPlanRoutesForVnet", "consumes": [], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -4213,15 +5358,10 @@ "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": "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]'.", + "name": "vnetName", + "in": "path", + "description": "Name of virtual network", + "required": true, "type": "string" }, { @@ -4235,24 +5375,29 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/MetricResponseCollection" + "type": "array", + "items": { + "$ref": "#/definitions/VnetRoute" + } } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/metricdefinitions": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}": { "get": { "tags": [ "ServerFarms" ], - "summary": "List of metrics that can be queried for an App Service Plan", - "operationId": "ServerFarms_GetServerFarmMetricDefintions", + "summary": "Gets a specific route associated with a vnet, in an app service plan", + "operationId": "ServerFarms_GetRouteForVnet", "consumes": [], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -4269,6 +5414,20 @@ "required": true, "type": "string" }, + { + "name": "vnetName", + "in": "path", + "description": "Name of virtual network", + "required": true, + "type": "string" + }, + { + "name": "routeName", + "in": "path", + "description": "Name of the virtual network route", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -4280,24 +5439,34 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/MetricDefinitionCollection" + "type": "array", + "items": { + "$ref": "#/definitions/VnetRoute" + } } + }, + "404": { + "description": "Specified route does not exist" } }, - "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/metricdefinitions": { - "get": { + "deprecated": false + }, + "put": { "tags": [ "ServerFarms" ], - "summary": "List of metrics that can be queried for an App Service Plan", - "operationId": "ServerFarms_GetWebHostingPlanMetricDefinitions", - "consumes": [], + "summary": "Creates a new route or updates an existing route for a vnet in an app service plan.", + "operationId": "ServerFarms_CreateOrUpdateVnetRoute", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -4314,6 +5483,29 @@ "required": true, "type": "string" }, + { + "name": "vnetName", + "in": "path", + "description": "Name of virtual network", + "required": true, + "type": "string" + }, + { + "name": "routeName", + "in": "path", + "description": "Name of the virtual network route", + "required": true, + "type": "string" + }, + { + "name": "route", + "in": "body", + "description": "The route object", + "required": true, + "schema": { + "$ref": "#/definitions/VnetRoute" + } + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -4325,20 +5517,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/MetricDefinitionCollection" + "$ref": "#/definitions/VnetRoute" } + }, + "400": { + "description": "Invalid request. Ensure that required parameters are given, and that addresses and address spaces are valid" + }, + "404": { + "description": "Route not found. This will only occur when using the PATCH verb." } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections": { - "get": { + }, + "delete": { "tags": [ "ServerFarms" ], - "summary": "Gets list of vnets associated with App Service Plan", - "operationId": "ServerFarms_GetVnetsForServerFarm", + "summary": "Deletes an existing route for a vnet in an app service plan.", + "operationId": "ServerFarms_DeleteVnetRoute", "consumes": [], "produces": [ "application/json", @@ -4361,6 +5557,20 @@ "required": true, "type": "string" }, + { + "name": "vnetName", + "in": "path", + "description": "Name of virtual network", + "required": true, + "type": "string" + }, + { + "name": "routeName", + "in": "path", + "description": "Name of the virtual network route", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -4372,24 +5582,26 @@ "200": { "description": "OK", "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/VnetInfo" - } + "$ref": "#/definitions/Object" } + }, + "404": { + "description": "Specified route does not exist." } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/virtualNetworkConnections": { - "get": { + }, + "patch": { "tags": [ "ServerFarms" ], - "summary": "Gets list of vnets associated with App Service Plan", - "operationId": "ServerFarms_GetVnetsForWebHostingPlan", - "consumes": [], + "summary": "Creates a new route or updates an existing route for a vnet in an app service plan.", + "operationId": "ServerFarms_UpdateVnetRoute", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -4411,6 +5623,29 @@ "required": true, "type": "string" }, + { + "name": "vnetName", + "in": "path", + "description": "Name of virtual network", + "required": true, + "type": "string" + }, + { + "name": "routeName", + "in": "path", + "description": "Name of the virtual network route", + "required": true, + "type": "string" + }, + { + "name": "route", + "in": "body", + "description": "The route object", + "required": true, + "schema": { + "$ref": "#/definitions/VnetRoute" + } + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -4422,23 +5657,26 @@ "200": { "description": "OK", "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/VnetInfo" - } + "$ref": "#/definitions/VnetRoute" } + }, + "400": { + "description": "Invalid request. Ensure that required parameters are given, and that addresses and address spaces are valid" + }, + "404": { + "description": "Route not found. This will only occur when using the PATCH verb." } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}": { "get": { "tags": [ "ServerFarms" ], - "summary": "Gets a vnet associated with an App Service Plan", - "operationId": "ServerFarms_GetVnetFromServerFarm", + "summary": "Gets a specific route associated with a vnet, in an app service plan", + "operationId": "ServerFarms_GetWebHostingPlanRouteForVnet", "consumes": [], "produces": [ "application/json", @@ -4468,6 +5706,13 @@ "required": true, "type": "string" }, + { + "name": "routeName", + "in": "path", + "description": "Name of the virtual network route", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -4479,24 +5724,29 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetInfo" + "type": "array", + "items": { + "$ref": "#/definitions/VnetRoute" + } } }, "404": { - "description": "Virtual network could not be found" + "description": "Specified route does not exist" } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/virtualNetworkConnections/{vnetName}": { - "get": { + }, + "put": { "tags": [ "ServerFarms" ], - "summary": "Gets a vnet associated with an App Service Plan", - "operationId": "ServerFarms_GetVnetFromWebHostingPlan", - "consumes": [], + "summary": "Creates a new route or updates an existing route for a vnet in an app service plan.", + "operationId": "ServerFarms_CreateOrUpdateWebHostingPlanVnetRoute", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -4525,6 +5775,22 @@ "required": true, "type": "string" }, + { + "name": "routeName", + "in": "path", + "description": "Name of the virtual network route", + "required": true, + "type": "string" + }, + { + "name": "route", + "in": "body", + "description": "The route object", + "required": true, + "schema": { + "$ref": "#/definitions/VnetRoute" + } + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -4536,23 +5802,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetInfo" + "$ref": "#/definitions/VnetRoute" } }, + "400": { + "description": "Invalid request. Ensure that required parameters are given, and that addresses and address spaces are valid" + }, "404": { - "description": "Virtual network could not be found" + "description": "Route not found. This will only occur when using the PATCH verb." } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes": { - "get": { + }, + "delete": { "tags": [ "ServerFarms" ], - "summary": "Gets a list of all routes associated with a vnet, in an app service plan", - "operationId": "ServerFarms_GetRoutesForVnet", + "summary": "Deletes an existing route for a vnet in an app service plan.", + "operationId": "ServerFarms_DeleteWebHostingPlanVnetRoute", "consumes": [], "produces": [ "application/json", @@ -4582,6 +5849,13 @@ "required": true, "type": "string" }, + { + "name": "routeName", + "in": "path", + "description": "Name of the virtual network route", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -4593,24 +5867,26 @@ "200": { "description": "OK", "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/VnetRoute" - } + "$ref": "#/definitions/Object" } + }, + "404": { + "description": "Specified route does not exist." } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/virtualNetworkConnections/{vnetName}/routes": { - "get": { + }, + "patch": { "tags": [ "ServerFarms" ], - "summary": "Gets a list of all routes associated with a vnet, in an app service plan", - "operationId": "ServerFarms_GetWebHostingPlanRoutesForVnet", - "consumes": [], + "summary": "Creates a new route or updates an existing route for a vnet in an app service plan.", + "operationId": "ServerFarms_UpdateWebHostingPlanVnetRoute", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -4639,6 +5915,22 @@ "required": true, "type": "string" }, + { + "name": "routeName", + "in": "path", + "description": "Name of the virtual network route", + "required": true, + "type": "string" + }, + { + "name": "route", + "in": "body", + "description": "The route object", + "required": true, + "schema": { + "$ref": "#/definitions/VnetRoute" + } + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -4650,23 +5942,26 @@ "200": { "description": "OK", "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/VnetRoute" - } + "$ref": "#/definitions/VnetRoute" } + }, + "400": { + "description": "Invalid request. Ensure that required parameters are given, and that addresses and address spaces are valid" + }, + "404": { + "description": "Route not found. This will only occur when using the PATCH verb." } }, "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}/gateways/{gatewayName}": { "get": { "tags": [ "ServerFarms" ], - "summary": "Gets a specific route associated with a vnet, in an app service plan", - "operationId": "ServerFarms_GetRouteForVnet", + "summary": "Gets the vnet gateway.", + "operationId": "ServerFarms_GetVnetGateway", "consumes": [], "produces": [ "application/json", @@ -4685,21 +5980,21 @@ { "name": "name", "in": "path", - "description": "Name of App Service Plan", + "description": "Name of the App Service Plan", "required": true, "type": "string" }, { "name": "vnetName", "in": "path", - "description": "Name of virtual network", + "description": "Name of the virtual network", "required": true, "type": "string" }, { - "name": "routeName", + "name": "gatewayName", "in": "path", - "description": "Name of the virtual network route", + "description": "Name of the gateway. Only the 'primary' gateway is supported.", "required": true, "type": "string" }, @@ -4714,14 +6009,8 @@ "200": { "description": "OK", "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/VnetRoute" - } + "$ref": "#/definitions/VnetGateway" } - }, - "404": { - "description": "Specified route does not exist" } }, "deprecated": false @@ -4730,8 +6019,8 @@ "tags": [ "ServerFarms" ], - "summary": "Creates a new route or updates an existing route for a vnet in an app service plan.", - "operationId": "ServerFarms_CreateOrUpdateVnetRoute", + "summary": "Updates the vnet gateway", + "operationId": "ServerFarms_UpdateVnetGateway", "consumes": [ "application/json", "text/json", @@ -4747,38 +6036,38 @@ { "name": "resourceGroupName", "in": "path", - "description": "Name of resource group", + "description": "The resource group", "required": true, "type": "string" }, { "name": "name", "in": "path", - "description": "Name of App Service Plan", + "description": "The name of the App Service Plan", "required": true, "type": "string" }, { "name": "vnetName", "in": "path", - "description": "Name of virtual network", + "description": "The name of the virtual network", "required": true, "type": "string" }, { - "name": "routeName", + "name": "gatewayName", "in": "path", - "description": "Name of the virtual network route", + "description": "The name of the gateway. Only 'primary' is supported.", "required": true, "type": "string" }, { - "name": "route", + "name": "connectionEnvelope", "in": "body", - "description": "The route object", + "description": "The gateway entity.", "required": true, "schema": { - "$ref": "#/definitions/VnetRoute" + "$ref": "#/definitions/VnetGateway" } }, { @@ -4792,24 +6081,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetRoute" + "$ref": "#/definitions/VnetGateway" } - }, - "400": { - "description": "Invalid request. Ensure that required parameters are given, and that addresses and address spaces are valid" - }, - "404": { - "description": "Route not found. This will only occur when using the PATCH verb." } }, "deprecated": false - }, - "delete": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": { + "get": { "tags": [ "ServerFarms" ], - "summary": "Deletes an existing route for a vnet in an app service plan.", - "operationId": "ServerFarms_DeleteVnetRoute", + "summary": "Gets the vnet gateway.", + "operationId": "ServerFarms_GetServerFarmVnetGateway", "consumes": [], "produces": [ "application/json", @@ -4828,21 +6113,21 @@ { "name": "name", "in": "path", - "description": "Name of App Service Plan", + "description": "Name of the App Service Plan", "required": true, "type": "string" }, { "name": "vnetName", "in": "path", - "description": "Name of virtual network", + "description": "Name of the virtual network", "required": true, "type": "string" }, { - "name": "routeName", + "name": "gatewayName", "in": "path", - "description": "Name of the virtual network route", + "description": "Name of the gateway. Only the 'primary' gateway is supported.", "required": true, "type": "string" }, @@ -4857,21 +6142,18 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/VnetGateway" } - }, - "404": { - "description": "Specified route does not exist." } }, "deprecated": false }, - "patch": { + "put": { "tags": [ "ServerFarms" ], - "summary": "Creates a new route or updates an existing route for a vnet in an app service plan.", - "operationId": "ServerFarms_UpdateVnetRoute", + "summary": "Updates the vnet gateway", + "operationId": "ServerFarms_UpdateServerFarmVnetGateway", "consumes": [ "application/json", "text/json", @@ -4887,38 +6169,38 @@ { "name": "resourceGroupName", "in": "path", - "description": "Name of resource group", + "description": "The resource group", "required": true, "type": "string" }, { "name": "name", "in": "path", - "description": "Name of App Service Plan", + "description": "The name of the App Service Plan", "required": true, "type": "string" }, { "name": "vnetName", "in": "path", - "description": "Name of virtual network", + "description": "The name of the virtual network", "required": true, "type": "string" }, { - "name": "routeName", + "name": "gatewayName", "in": "path", - "description": "Name of the virtual network route", + "description": "The name of the gateway. Only 'primary' is supported.", "required": true, "type": "string" }, { - "name": "route", + "name": "connectionEnvelope", "in": "body", - "description": "The route object", + "description": "The gateway entity.", "required": true, "schema": { - "$ref": "#/definitions/VnetRoute" + "$ref": "#/definitions/VnetGateway" } }, { @@ -4932,32 +6214,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetRoute" + "$ref": "#/definitions/VnetGateway" } - }, - "400": { - "description": "Invalid request. Ensure that required parameters are given, and that addresses and address spaces are valid" - }, - "404": { - "description": "Route not found. This will only occur when using the PATCH verb." } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/sites": { "get": { "tags": [ "ServerFarms" ], - "summary": "Gets a specific route associated with a vnet, in an app service plan", - "operationId": "ServerFarms_GetWebHostingPlanRouteForVnet", + "summary": "Gets list of Apps associated with an App Service Plan", + "operationId": "ServerFarms_GetServerFarmSites", "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -4975,17 +6249,21 @@ "type": "string" }, { - "name": "vnetName", - "in": "path", - "description": "Name of virtual network", - "required": true, + "name": "$skipToken", + "in": "query", + "description": "Skip to of web apps in a list. If specified, the resulting list will contain web apps starting from (including) the skipToken. Else, the resulting list contains web apps from the start of the list", "type": "string" }, { - "name": "routeName", - "in": "path", - "description": "Name of the virtual network route", - "required": true, + "name": "$filter", + "in": "query", + "description": "Supported filter: $filter=state eq running. Returns only web apps that are currently running", + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "List page size. If specified, results are paged.", "type": "string" }, { @@ -4999,34 +6277,25 @@ "200": { "description": "OK", "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/VnetRoute" - } + "$ref": "#/definitions/SiteCollection" } - }, - "404": { - "description": "Specified route does not exist" } }, - "deprecated": false - }, - "put": { + "deprecated": false, + "x-ms-pageable": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/sites": { + "get": { "tags": [ "ServerFarms" ], - "summary": "Creates a new route or updates an existing route for a vnet in an app service plan.", - "operationId": "ServerFarms_CreateOrUpdateWebHostingPlanVnetRoute", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Gets list of Apps associated with an App Service Plan", + "operationId": "ServerFarms_GetWebHostingPlanSites", + "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -5044,27 +6313,22 @@ "type": "string" }, { - "name": "vnetName", - "in": "path", - "description": "Name of virtual network", - "required": true, + "name": "$skipToken", + "in": "query", + "description": "Skip to of web apps in a list. If specified, the resulting list will contain web apps starting from (including) the skipToken. Else, the resulting list contains web apps from the start of the list", "type": "string" }, { - "name": "routeName", - "in": "path", - "description": "Name of the virtual network route", - "required": true, + "name": "$filter", + "in": "query", + "description": "Supported filter: $filter=state eq running. Returns only web apps that are currently running", "type": "string" }, { - "name": "route", - "in": "body", - "description": "The route object", - "required": true, - "schema": { - "$ref": "#/definitions/VnetRoute" - } + "name": "$top", + "in": "query", + "description": "List page size. If specified, results are paged.", + "type": "string" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -5077,24 +6341,21 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetRoute" + "$ref": "#/definitions/SiteCollection" } - }, - "400": { - "description": "Invalid request. Ensure that required parameters are given, and that addresses and address spaces are valid" - }, - "404": { - "description": "Route not found. This will only occur when using the PATCH verb." } }, - "deprecated": false - }, - "delete": { + "deprecated": false, + "x-ms-pageable": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/workers/{workerName}": { + "post": { "tags": [ "ServerFarms" ], - "summary": "Deletes an existing route for a vnet in an app service plan.", - "operationId": "ServerFarms_DeleteWebHostingPlanVnetRoute", + "summary": "Submit a reboot request for a worker machine in the specified server farm", + "operationId": "ServerFarms_RebootWorkerForServerFarm", "consumes": [], "produces": [ "application/json", @@ -5113,21 +6374,14 @@ { "name": "name", "in": "path", - "description": "Name of App Service Plan", - "required": true, - "type": "string" - }, - { - "name": "vnetName", - "in": "path", - "description": "Name of virtual network", + "description": "Name of server farm", "required": true, "type": "string" }, { - "name": "routeName", + "name": "workerName", "in": "path", - "description": "Name of the virtual network route", + "description": "Name of worker machine, typically IP address", "required": true, "type": "string" }, @@ -5144,24 +6398,19 @@ "schema": { "$ref": "#/definitions/Object" } - }, - "404": { - "description": "Specified route does not exist." } }, "deprecated": false - }, - "patch": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/workers/{workerName}": { + "post": { "tags": [ "ServerFarms" ], - "summary": "Creates a new route or updates an existing route for a vnet in an app service plan.", - "operationId": "ServerFarms_UpdateWebHostingPlanVnetRoute", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Submit a reboot request for a worker machine in the specified server farm", + "operationId": "ServerFarms_RebootWorkerForWebHostingPlan", + "consumes": [], "produces": [ "application/json", "text/json", @@ -5179,33 +6428,17 @@ { "name": "name", "in": "path", - "description": "Name of App Service Plan", - "required": true, - "type": "string" - }, - { - "name": "vnetName", - "in": "path", - "description": "Name of virtual network", + "description": "Name of server farm", "required": true, "type": "string" }, { - "name": "routeName", + "name": "workerName", "in": "path", - "description": "Name of the virtual network route", + "description": "Name of worker machine, typically IP address", "required": true, "type": "string" }, - { - "name": "route", - "in": "body", - "description": "The route object", - "required": true, - "schema": { - "$ref": "#/definitions/VnetRoute" - } - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -5217,30 +6450,26 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetRoute" + "$ref": "#/definitions/Object" } - }, - "400": { - "description": "Invalid request. Ensure that required parameters are given, and that addresses and address spaces are valid" - }, - "404": { - "description": "Route not found. This will only occur when using the PATCH verb." } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/sites": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/restartSites": { + "post": { "tags": [ "ServerFarms" ], - "summary": "Gets list of Apps associated with an App Service Plan", - "operationId": "ServerFarms_GetServerFarmSites", + "summary": "Restarts web apps in a specified App Service Plan", + "operationId": "ServerFarms_RestartSitesForServerFarm", "consumes": [], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -5258,22 +6487,10 @@ "type": "string" }, { - "name": "$skipToken", - "in": "query", - "description": "Skip to of web apps in a list. If specified, the resulting list will contain web apps starting from (including) the skipToken. Else, the resulting list contains web apps from the start of the list", - "type": "string" - }, - { - "name": "$filter", - "in": "query", - "description": "Supported filter: $filter=state eq running. Returns only web apps that are currently running", - "type": "string" - }, - { - "name": "$top", + "name": "softRestart", "in": "query", - "description": "List page size. If specified, results are paged.", - "type": "string" + "description": "Soft restart applies the configuration settings and restarts the apps if necessary. Hard restart always restarts and reprovisions the apps", + "type": "boolean" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -5286,25 +6503,26 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteCollection" + "$ref": "#/definitions/Object" } } }, - "deprecated": false, - "x-ms-pageable": true + "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/sites": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/operationresults/{operationId}": { "get": { "tags": [ "ServerFarms" ], - "summary": "Gets list of Apps associated with an App Service Plan", - "operationId": "ServerFarms_GetWebHostingPlanSites", + "summary": "Gets a server farm operation", + "operationId": "ServerFarms_GetServerFarmOperation", "consumes": [], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -5317,26 +6535,15 @@ { "name": "name", "in": "path", - "description": "Name of App Service Plan", + "description": "Name of server farm", "required": true, "type": "string" }, { - "name": "$skipToken", - "in": "query", - "description": "Skip to of web apps in a list. If specified, the resulting list will contain web apps starting from (including) the skipToken. Else, the resulting list contains web apps from the start of the list", - "type": "string" - }, - { - "name": "$filter", - "in": "query", - "description": "Supported filter: $filter=state eq running. Returns only web apps that are currently running", - "type": "string" - }, - { - "name": "$top", - "in": "query", - "description": "List page size. If specified, results are paged.", + "name": "operationId", + "in": "path", + "description": "Id of Server farm operation\">", + "required": true, "type": "string" }, { @@ -5350,21 +6557,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteCollection" + "$ref": "#/definitions/ServerFarmWithRichSku" } } }, - "deprecated": false, - "x-ms-pageable": true + "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/workers/{workerName}": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/operationresults/{operationId}": { + "get": { "tags": [ "ServerFarms" ], - "summary": "Submit a reboot request for a worker machine in the specified server farm", - "operationId": "ServerFarms_RebootWorkerForServerFarm", + "summary": "Gets a server farm operation", + "operationId": "ServerFarms_GetWebHostingPlanOperation", "consumes": [], "produces": [ "application/json", @@ -5388,9 +6594,9 @@ "type": "string" }, { - "name": "workerName", + "name": "operationId", "in": "path", - "description": "Name of worker machine, typically IP address", + "description": "Id of Server farm operation\">", "required": true, "type": "string" }, @@ -5405,26 +6611,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/ServerFarmWithRichSku" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/workers/{workerName}": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots": { + "get": { "tags": [ - "ServerFarms" + "Sites" ], - "summary": "Submit a reboot request for a worker machine in the specified server farm", - "operationId": "ServerFarms_RebootWorkerForWebHostingPlan", + "summary": "Gets all the slots for a web apps", + "operationId": "Sites_GetSiteSlots", "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -5437,15 +6641,14 @@ { "name": "name", "in": "path", - "description": "Name of server farm", + "description": "Name of web app", "required": true, "type": "string" }, { - "name": "workerName", - "in": "path", - "description": "Name of worker machine, typically IP address", - "required": true, + "name": "propertiesToInclude", + "in": "query", + "description": "List of app properties to include in the response", "type": "string" }, { @@ -5459,26 +6662,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/SiteCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/restartSites": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites": { + "get": { "tags": [ - "ServerFarms" + "Sites" ], - "summary": "Restarts web apps in a specified App Service Plan", - "operationId": "ServerFarms_RestartSitesForServerFarm", + "summary": "Gets the web apps for a subscription in the specified resource group", + "operationId": "Sites_GetSites", "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -5489,17 +6690,16 @@ "type": "string" }, { - "name": "name", - "in": "path", - "description": "Name of App Service Plan", - "required": true, + "name": "propertiesToInclude", + "in": "query", + "description": "Additional web app properties included in the response", "type": "string" }, { - "name": "softRestart", + "name": "includeSiteTypes", "in": "query", - "description": "Soft restart applies the configuration settings and restarts the apps if necessary. Hard restart always restarts and reprovisions the apps", - "type": "boolean" + "description": "Types of apps included in the response", + "type": "string" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -5512,20 +6712,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/SiteCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/operationresults/{operationId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}": { "get": { "tags": [ - "ServerFarms" + "Sites" ], - "summary": "Gets a server farm operation", - "operationId": "ServerFarms_GetWebHostingPlanOperation", + "summary": "Get details of a web app", + "operationId": "Sites_GetSite", "consumes": [], "produces": [ "application/json", @@ -5544,15 +6744,14 @@ { "name": "name", "in": "path", - "description": "Name of server farm", + "description": "Name of web app", "required": true, "type": "string" }, { - "name": "operationId", - "in": "path", - "description": "Id of Server farm operation\">", - "required": true, + "name": "propertiesToInclude", + "in": "query", + "description": "Additional web app properties included in the response", "type": "string" }, { @@ -5566,21 +6765,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ServerFarmWithRichSku" + "$ref": "#/definitions/Site" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/operationresults/{operationId}": { - "get": { + }, + "put": { "tags": [ - "ServerFarms" + "Sites" + ], + "summary": "Creates a new web app or modifies an existing web app.", + "operationId": "Sites_CreateOrUpdateSite", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" ], - "summary": "Gets a server farm operation", - "operationId": "ServerFarms_GetServerFarmOperation", - "consumes": [], "produces": [ "application/json", "text/json", @@ -5591,22 +6792,48 @@ { "name": "resourceGroupName", "in": "path", - "description": "Name of resource group", + "description": "Name of the resource group", "required": true, "type": "string" }, { "name": "name", "in": "path", - "description": "Name of server farm", + "description": "Name of the web app", "required": true, "type": "string" }, { - "name": "operationId", - "in": "path", - "description": "Id of Server farm operation\">", + "name": "siteEnvelope", + "in": "body", + "description": "Details of web app if it exists already", "required": true, + "schema": { + "$ref": "#/definitions/Site" + } + }, + { + "name": "skipDnsRegistration", + "in": "query", + "description": "If true web app hostname is not registered with DNS on creation. This parameter is\r\n only used for app creation", + "type": "string" + }, + { + "name": "skipCustomDomainVerification", + "in": "query", + "description": "If true, custom (non *.azurewebsites.net) domains associated with web app are not verified.", + "type": "string" + }, + { + "name": "forceDnsRegistration", + "in": "query", + "description": "If true, web app hostname is force registered with DNS", + "type": "string" + }, + { + "name": "ttlInSeconds", + "in": "query", + "description": "Time to live in seconds for web app's default domain name", "type": "string" }, { @@ -5620,24 +6847,31 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ServerFarmWithRichSku" + "$ref": "#/definitions/Site" + } + }, + "202": { + "description": "Asynchronous operation in progress", + "schema": { + "$ref": "#/definitions/Site" } } }, - "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites": { - "get": { + "deprecated": false, + "x-ms-long-running-operation": true + }, + "delete": { "tags": [ "Sites" ], - "summary": "Gets the web apps for a subscription in the specified resource group", - "operationId": "Sites_GetSites", + "summary": "Deletes a web app", + "operationId": "Sites_DeleteSite", "consumes": [], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -5648,15 +6882,34 @@ "type": "string" }, { - "name": "propertiesToInclude", + "name": "name", + "in": "path", + "description": "Name of web app", + "required": true, + "type": "string" + }, + { + "name": "deleteMetrics", "in": "query", - "description": "Additional web app properties included in the response", + "description": "If true, web app metrics are also deleted", "type": "string" }, { - "name": "includeSiteTypes", + "name": "deleteEmptyServerFarm", "in": "query", - "description": "Types of apps included in the response", + "description": "If true and App Service Plan is empty after web app deletion, App Service Plan is also deleted", + "type": "string" + }, + { + "name": "skipDnsRegistration", + "in": "query", + "description": "If true, DNS registration is skipped", + "type": "string" + }, + { + "name": "deleteAllSlots", + "in": "query", + "description": "If true, all slots associated with web app are also deleted", "type": "string" }, { @@ -5670,20 +6923,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteCollection" + "$ref": "#/definitions/Object" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}": { "get": { "tags": [ "Sites" ], "summary": "Get details of a web app", - "operationId": "Sites_GetSite", + "operationId": "Sites_GetSiteSlot", "consumes": [], "produces": [ "application/json", @@ -5706,6 +6959,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": "propertiesToInclude", "in": "query", @@ -5734,7 +6994,7 @@ "Sites" ], "summary": "Creates a new web app or modifies an existing web app.", - "operationId": "Sites_CreateOrUpdateSite", + "operationId": "Sites_CreateOrUpdateSiteSlot", "consumes": [ "application/json", "text/json", @@ -5770,6 +7030,13 @@ "$ref": "#/definitions/Site" } }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, { "name": "skipDnsRegistration", "in": "query", @@ -5823,7 +7090,7 @@ "Sites" ], "summary": "Deletes a web app", - "operationId": "Sites_DeleteSite", + "operationId": "Sites_DeleteSiteSlot", "consumes": [], "produces": [ "application/json", @@ -5846,6 +7113,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": "deleteMetrics", "in": "query", @@ -5888,14 +7162,20 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/recover": { + "post": { "tags": [ "Sites" ], - "summary": "Get details of a web app", - "operationId": "Sites_GetSiteSlot", - "consumes": [], + "summary": "Recovers a deleted web app", + "operationId": "Sites_RecoverSite", + "consumes": [ + "application/json", + "text/json", + "application/xml", + "text/xml", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -5918,17 +7198,13 @@ "type": "string" }, { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", + "name": "snapshot", + "in": "body", + "description": "Snapshot data used for web app recovery. Snapshot information can be obtained by call GetDeletedSites API.", "required": true, - "type": "string" - }, - { - "name": "propertiesToInclude", - "in": "query", - "description": "Additional web app properties included in the response", - "type": "string" + "schema": { + "$ref": "#/definitions/CsmSiteRecoveryEntity" + } }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -5941,21 +7217,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Site" + "$ref": "#/definitions/Object" } } }, "deprecated": false - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/recover": { + "post": { "tags": [ "Sites" ], - "summary": "Creates a new web app or modifies an existing web app.", - "operationId": "Sites_CreateOrUpdateSiteSlot", + "summary": "Recovers a deleted web app", + "operationId": "Sites_RecoverSiteSlot", "consumes": [ "application/json", "text/json", + "application/xml", + "text/xml", "application/x-www-form-urlencoded" ], "produces": [ @@ -5968,24 +7248,24 @@ { "name": "resourceGroupName", "in": "path", - "description": "Name of the resource group", + "description": "Name of resource group", "required": true, "type": "string" }, { "name": "name", "in": "path", - "description": "Name of the web app", + "description": "Name of web app", "required": true, "type": "string" }, { - "name": "siteEnvelope", + "name": "snapshot", "in": "body", - "description": "Details of web app if it exists already", + "description": "Snapshot data used for web app recovery. Snapshot information can be obtained by call GetDeletedSites API.", "required": true, "schema": { - "$ref": "#/definitions/Site" + "$ref": "#/definitions/CsmSiteRecoveryEntity" } }, { @@ -5996,27 +7276,189 @@ "type": "string" }, { - "name": "skipDnsRegistration", + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Object" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restorableSnapshots": { + "put": { + "tags": [ + "Sites" + ], + "summary": "Returns Snapshots to the user based on their SKU.", + "operationId": "Sites_GetSiteSnapshotsOnSku", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "subscriptionName", "in": "query", - "description": "If true web app hostname is not registered with DNS on creation. This parameter is\r\n only used for app creation", + "description": "Azure subscription", + "required": true, "type": "string" }, { - "name": "skipCustomDomainVerification", + "name": "webspaceName", "in": "query", - "description": "If true, custom (non *.azurewebsites.net) domains associated with web app are not verified.", + "description": "Webspace", + "required": true, "type": "string" }, { - "name": "forceDnsRegistration", + "name": "name", + "in": "path", + "description": "Website Name", + "required": true, + "type": "string" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Object" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restorableSnapshots": { + "put": { + "tags": [ + "Sites" + ], + "summary": "Returns Snapshots to the user based on their SKU.", + "operationId": "Sites_GetSiteSnapshotsOnSkuSlot", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "subscriptionName", "in": "query", - "description": "If true, web app hostname is force registered with DNS", + "description": "Azure subscription", + "required": true, + "type": "string" + }, + { + "name": "webspaceName", + "in": "query", + "description": "Webspace", + "required": true, + "type": "string" + }, + { + "name": "name", + "in": "path", + "description": "Website Name", + "required": true, + "type": "string" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Object" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/snapshots": { + "put": { + "tags": [ + "Sites" + ], + "summary": "Returns all Snapshots to the user.", + "operationId": "Sites_GetSiteSnapshots", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "subscriptionName", + "in": "query", + "description": "Azure subscription", + "required": true, + "type": "string" + }, + { + "name": "webspaceName", + "in": "query", + "description": "Webspace", + "required": true, + "type": "string" + }, + { + "name": "name", + "in": "path", + "description": "Website Name", + "required": true, "type": "string" }, { - "name": "ttlInSeconds", - "in": "query", - "description": "Time to live in seconds for web app's default domain name", + "name": "resourceGroupName", + "in": "path", + "required": true, "type": "string" }, { @@ -6030,25 +7472,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Site" - } - }, - "202": { - "description": "Asynchronous operation in progress", - "schema": { - "$ref": "#/definitions/Site" + "$ref": "#/definitions/Object" } } }, - "deprecated": false, - "x-ms-long-running-operation": true - }, - "delete": { + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/snapshots": { + "put": { "tags": [ "Sites" ], - "summary": "Deletes a web app", - "operationId": "Sites_DeleteSiteSlot", + "summary": "Returns all Snapshots to the user.", + "operationId": "Sites_GetSiteSnapshotsSlot", "consumes": [], "produces": [ "application/json", @@ -6058,48 +7495,36 @@ ], "parameters": [ { - "name": "resourceGroupName", - "in": "path", - "description": "Name of resource group", + "name": "subscriptionName", + "in": "query", + "description": "Azure subscription", "required": true, "type": "string" }, { - "name": "name", - "in": "path", - "description": "Name of web app", + "name": "webspaceName", + "in": "query", + "description": "Webspace", "required": true, "type": "string" }, { - "name": "slot", + "name": "name", "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", + "description": "Website Name", "required": true, "type": "string" }, { - "name": "deleteMetrics", - "in": "query", - "description": "If true, web app metrics are also deleted", - "type": "string" - }, - { - "name": "deleteEmptyServerFarm", - "in": "query", - "description": "If true and App Service Plan is empty after web app deletion, App Service Plan is also deleted", - "type": "string" - }, - { - "name": "skipDnsRegistration", - "in": "query", - "description": "If true, DNS registration is skipped", + "name": "resourceGroupName", + "in": "path", + "required": true, "type": "string" }, { - "name": "deleteAllSlots", - "in": "query", - "description": "If true, all slots associated with web app are also deleted", + "name": "slot", + "in": "path", + "required": true, "type": "string" }, { @@ -6120,25 +7545,17 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/recover": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/deletedSites": { + "get": { "tags": [ "Sites" ], - "summary": "Recovers a deleted web app", - "operationId": "Sites_RecoverSite", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], + "summary": "Gets deleted web apps in subscription", + "operationId": "Sites_GetDeletedSites", + "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -6149,20 +7566,16 @@ "type": "string" }, { - "name": "name", - "in": "path", - "description": "Name of web app", - "required": true, + "name": "propertiesToInclude", + "in": "query", + "description": "Additional web app properties included in the response", "type": "string" }, { - "name": "snapshot", - "in": "body", - "description": "Snapshot data used for web app recovery. Snapshot information can be obtained by call GetDeletedSites API.", - "required": true, - "schema": { - "$ref": "#/definitions/CsmSiteRecoveryEntity" - } + "name": "includeSiteTypes", + "in": "query", + "description": "Types of apps included in the response", + "type": "string" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -6175,32 +7588,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/DeletedSiteCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/recover": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances": { + "get": { "tags": [ "Sites" ], - "summary": "Recovers a deleted web app", - "operationId": "Sites_RecoverSiteSlot", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], + "summary": "Gets all instance of a web app", + "operationId": "Sites_GetSiteInstanceIdentifiers", + "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -6217,22 +7622,6 @@ "required": true, "type": "string" }, - { - "name": "snapshot", - "in": "body", - "description": "Snapshot data used for web app recovery. Snapshot information can be obtained by call GetDeletedSites API.", - "required": true, - "schema": { - "$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" }, @@ -6244,58 +7633,44 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/SiteInstanceCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restorableSnapshots": { - "put": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances": { + "get": { "tags": [ "Sites" ], - "summary": "Returns Snapshots to the user based on their SKU.", - "operationId": "Sites_GetSiteSnapshotsOnSkuSlot", + "summary": "Gets all instance of a web app", + "operationId": "Sites_GetSiteInstanceIdentifiersSlot", "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { - "name": "subscriptionName", - "in": "query", - "description": "Azure subscription", - "required": true, - "type": "string" - }, - { - "name": "webspaceName", - "in": "query", - "description": "Webspace", - "required": true, - "type": "string" - }, - { - "name": "name", + "name": "resourceGroupName", "in": "path", - "description": "Website Name", + "description": "Name of resource group", "required": true, "type": "string" }, { - "name": "resourceGroupName", + "name": "name", "in": "path", + "description": "Name of web app", "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" }, @@ -6310,52 +7685,44 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/SiteInstanceCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restorableSnapshots": { - "put": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings": { + "get": { "tags": [ "Sites" ], - "summary": "Returns Snapshots to the user based on their SKU.", - "operationId": "Sites_GetSiteSnapshotsOnSku", + "summary": "Get web app hostname bindings", + "operationId": "Sites_GetSiteHostNameBindingsSlot", "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { - "name": "subscriptionName", - "in": "query", - "description": "Azure subscription", - "required": true, - "type": "string" - }, - { - "name": "webspaceName", - "in": "query", - "description": "Webspace", + "name": "resourceGroupName", + "in": "path", + "description": "Name of resource group", "required": true, "type": "string" }, { "name": "name", "in": "path", - "description": "Website Name", + "description": "Name of web app", "required": true, "type": "string" }, { - "name": "resourceGroupName", + "name": "slot", "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, @@ -6370,52 +7737,37 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/HostNameBindingCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/snapshots": { - "put": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings": { + "get": { "tags": [ "Sites" ], - "summary": "Returns all Snapshots to the user.", - "operationId": "Sites_GetSiteSnapshots", + "summary": "Get web app hostname bindings", + "operationId": "Sites_GetSiteHostNameBindings", "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { - "name": "subscriptionName", - "in": "query", - "description": "Azure subscription", - "required": true, - "type": "string" - }, - { - "name": "webspaceName", - "in": "query", - "description": "Webspace", - "required": true, - "type": "string" - }, - { - "name": "name", + "name": "resourceGroupName", "in": "path", - "description": "Website Name", + "description": "Name of resource group", "required": true, "type": "string" }, { - "name": "resourceGroupName", + "name": "name", "in": "path", + "description": "Name of web app", "required": true, "type": "string" }, @@ -6430,20 +7782,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/HostNameBindingCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/snapshots": { - "put": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}": { + "get": { "tags": [ "Sites" ], - "summary": "Returns all Snapshots to the user.", - "operationId": "Sites_GetSiteSnapshotsSlot", + "summary": "Get web app binding for a hostname", + "operationId": "Sites_GetSiteHostNameBinding", "consumes": [], "produces": [ "application/json", @@ -6453,35 +7805,23 @@ ], "parameters": [ { - "name": "subscriptionName", - "in": "query", - "description": "Azure subscription", - "required": true, - "type": "string" - }, - { - "name": "webspaceName", - "in": "query", - "description": "Webspace", - "required": true, - "type": "string" - }, - { - "name": "name", + "name": "resourceGroupName", "in": "path", - "description": "Website Name", + "description": "Name of resource group", "required": true, "type": "string" }, { - "name": "resourceGroupName", + "name": "name", "in": "path", + "description": "Name of web app", "required": true, "type": "string" }, { - "name": "slot", + "name": "hostName", "in": "path", + "description": "Name of host", "required": true, "type": "string" }, @@ -6496,24 +7836,28 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/HostNameBinding" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/deletedSites": { - "get": { + }, + "put": { "tags": [ "Sites" ], - "summary": "Gets deleted web apps in subscription", - "operationId": "Sites_GetDeletedSites", - "consumes": [], + "summary": "Creates a web app hostname binding", + "operationId": "Sites_CreateOrUpdateSiteHostNameBinding", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -6524,17 +7868,28 @@ "type": "string" }, { - "name": "propertiesToInclude", - "in": "query", - "description": "Additional web app properties included in the response", + "name": "name", + "in": "path", + "description": "Name of web app", + "required": true, "type": "string" }, { - "name": "includeSiteTypes", - "in": "query", - "description": "Types of apps included in the response", + "name": "hostName", + "in": "path", + "description": "Name of host", + "required": true, "type": "string" }, + { + "name": "hostNameBinding", + "in": "body", + "description": "Host name binding information", + "required": true, + "schema": { + "$ref": "#/definitions/HostNameBinding" + } + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -6546,24 +7901,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/DeletedSiteCollection" + "$ref": "#/definitions/HostNameBinding" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances": { - "get": { + }, + "delete": { "tags": [ "Sites" ], - "summary": "Gets all instance of a web app", - "operationId": "Sites_GetSiteInstanceIdentifiers", + "summary": "Deletes a host name binding", + "operationId": "Sites_DeleteSiteHostNameBinding", "consumes": [], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -6580,6 +7935,13 @@ "required": true, "type": "string" }, + { + "name": "hostName", + "in": "path", + "description": "Name of host", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -6591,24 +7953,26 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteInstanceCollection" + "$ref": "#/definitions/Object" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}": { "get": { "tags": [ "Sites" ], - "summary": "Gets all instance of a web app", - "operationId": "Sites_GetSiteInstanceIdentifiersSlot", + "summary": "Get web app binding for a hostname", + "operationId": "Sites_GetSiteHostNameBindingSlot", "consumes": [], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -6632,6 +7996,13 @@ "required": true, "type": "string" }, + { + "name": "hostName", + "in": "path", + "description": "Name of host", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -6643,24 +8014,28 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteInstanceCollection" + "$ref": "#/definitions/HostNameBinding" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings": { - "get": { + }, + "put": { "tags": [ "Sites" ], - "summary": "Get web app hostname bindings", - "operationId": "Sites_GetSiteHostNameBindingsSlot", - "consumes": [], + "summary": "Creates a web app hostname binding", + "operationId": "Sites_CreateOrUpdateSiteHostNameBindingSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -6677,6 +8052,22 @@ "required": true, "type": "string" }, + { + "name": "hostName", + "in": "path", + "description": "Name of host", + "required": true, + "type": "string" + }, + { + "name": "hostNameBinding", + "in": "body", + "description": "Host name binding information", + "required": true, + "schema": { + "$ref": "#/definitions/HostNameBinding" + } + }, { "name": "slot", "in": "path", @@ -6695,24 +8086,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HostNameBindingCollection" + "$ref": "#/definitions/HostNameBinding" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings": { - "get": { + }, + "delete": { "tags": [ "Sites" ], - "summary": "Get web app hostname bindings", - "operationId": "Sites_GetSiteHostNameBindings", + "summary": "Deletes a host name binding", + "operationId": "Sites_DeleteSiteHostNameBindingSlot", "consumes": [], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -6729,6 +8120,20 @@ "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", + "description": "Name of host", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -6740,20 +8145,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HostNameBindingCollection" + "$ref": "#/definitions/Object" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web": { "get": { "tags": [ "Sites" ], - "summary": "Get web app binding for a hostname", - "operationId": "Sites_GetSiteHostNameBinding", + "summary": "Gets the configuration of the web app", + "operationId": "Sites_GetSiteConfig", "consumes": [], "produces": [ "application/json", @@ -6776,13 +8181,6 @@ "required": true, "type": "string" }, - { - "name": "hostName", - "in": "path", - "description": "Name of host", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -6794,7 +8192,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HostNameBinding" + "$ref": "#/definitions/SiteConfig" } } }, @@ -6804,8 +8202,8 @@ "tags": [ "Sites" ], - "summary": "Creates a web app hostname binding", - "operationId": "Sites_CreateOrUpdateSiteHostNameBinding", + "summary": "Update the configuration of web app", + "operationId": "Sites_CreateOrUpdateSiteConfig", "consumes": [ "application/json", "text/json", @@ -6833,19 +8231,12 @@ "type": "string" }, { - "name": "hostName", - "in": "path", - "description": "Name of host", - "required": true, - "type": "string" - }, - { - "name": "hostNameBinding", + "name": "siteConfig", "in": "body", - "description": "Host name binding information", + "description": "Request body that contains the configuraiton setting for the web app", "required": true, "schema": { - "$ref": "#/definitions/HostNameBinding" + "$ref": "#/definitions/SiteConfig" } }, { @@ -6859,19 +8250,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HostNameBinding" + "$ref": "#/definitions/SiteConfig" } } }, "deprecated": false }, - "delete": { + "patch": { "tags": [ "Sites" ], - "summary": "Deletes a host name binding", - "operationId": "Sites_DeleteSiteHostNameBinding", - "consumes": [], + "summary": "Update the configuration of web app", + "operationId": "Sites_UpdateSiteConfig", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -6894,11 +8289,13 @@ "type": "string" }, { - "name": "hostName", - "in": "path", - "description": "Name of host", + "name": "siteConfig", + "in": "body", + "description": "Request body that contains the configuraiton setting for the web app", "required": true, - "type": "string" + "schema": { + "$ref": "#/definitions/SiteConfig" + } }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -6911,20 +8308,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/SiteConfig" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web": { "get": { "tags": [ "Sites" ], - "summary": "Get web app binding for a hostname", - "operationId": "Sites_GetSiteHostNameBindingSlot", + "summary": "Gets the configuration of the web app", + "operationId": "Sites_GetSiteConfigSlot", "consumes": [], "produces": [ "application/json", @@ -6943,21 +8340,14 @@ { "name": "name", "in": "path", - "description": "Name of web app", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", + "description": "Name of web app", "required": true, "type": "string" }, { - "name": "hostName", + "name": "slot", "in": "path", - "description": "Name of host", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, @@ -6972,7 +8362,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HostNameBinding" + "$ref": "#/definitions/SiteConfig" } } }, @@ -6982,8 +8372,8 @@ "tags": [ "Sites" ], - "summary": "Creates a web app hostname binding", - "operationId": "Sites_CreateOrUpdateSiteHostNameBindingSlot", + "summary": "Update the configuration of web app", + "operationId": "Sites_CreateOrUpdateSiteConfigSlot", "consumes": [ "application/json", "text/json", @@ -7011,19 +8401,12 @@ "type": "string" }, { - "name": "hostName", - "in": "path", - "description": "Name of host", - "required": true, - "type": "string" - }, - { - "name": "hostNameBinding", + "name": "siteConfig", "in": "body", - "description": "Host name binding information", + "description": "Request body that contains the configuraiton setting for the web app", "required": true, "schema": { - "$ref": "#/definitions/HostNameBinding" + "$ref": "#/definitions/SiteConfig" } }, { @@ -7044,19 +8427,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HostNameBinding" + "$ref": "#/definitions/SiteConfig" } } }, "deprecated": false }, - "delete": { + "patch": { "tags": [ "Sites" ], - "summary": "Deletes a host name binding", - "operationId": "Sites_DeleteSiteHostNameBindingSlot", - "consumes": [], + "summary": "Update the configuration of web app", + "operationId": "Sites_UpdateSiteConfigSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -7079,16 +8466,18 @@ "type": "string" }, { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", + "name": "siteConfig", + "in": "body", + "description": "Request body that contains the configuraiton setting for the web app", "required": true, - "type": "string" + "schema": { + "$ref": "#/definitions/SiteConfig" + } }, { - "name": "hostName", + "name": "slot", "in": "path", - "description": "Name of host", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, @@ -7103,20 +8492,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/SiteConfig" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web": { "get": { "tags": [ "Sites" ], - "summary": "Gets the configuration of the web app", - "operationId": "Sites_GetSiteConfig", + "summary": "Get the source control configuration of web app", + "operationId": "Sites_GetSiteSourceControl", "consumes": [], "produces": [ "application/json", @@ -7150,7 +8539,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteConfig" + "$ref": "#/definitions/SiteSourceControl" } } }, @@ -7160,8 +8549,8 @@ "tags": [ "Sites" ], - "summary": "Update the configuration of web app", - "operationId": "Sites_CreateOrUpdateSiteConfig", + "summary": "Update the source control configuration of web app", + "operationId": "Sites_CreateOrUpdateSiteSourceControl", "consumes": [ "application/json", "text/json", @@ -7189,12 +8578,12 @@ "type": "string" }, { - "name": "siteConfig", + "name": "siteSourceControl", "in": "body", - "description": "Request body that contains the configuraiton setting for the web app", + "description": "Request body that contains the source control parameters", "required": true, "schema": { - "$ref": "#/definitions/SiteConfig" + "$ref": "#/definitions/SiteSourceControl" } }, { @@ -7208,7 +8597,52 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteConfig" + "$ref": "#/definitions/SiteSourceControl" + } + } + }, + "deprecated": false + }, + "delete": { + "tags": [ + "Sites" + ], + "summary": "Delete source control configuration of web app", + "operationId": "Sites_DeleteSiteSourceControl", + "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 web app", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Object" } } }, @@ -7218,8 +8652,8 @@ "tags": [ "Sites" ], - "summary": "Update the configuration of web app", - "operationId": "Sites_UpdateSiteConfig", + "summary": "Update the source control configuration of web app", + "operationId": "Sites_UpdateSiteSourceControl", "consumes": [ "application/json", "text/json", @@ -7247,12 +8681,12 @@ "type": "string" }, { - "name": "siteConfig", + "name": "siteSourceControl", "in": "body", - "description": "Request body that contains the configuraiton setting for the web app", + "description": "Request body that contains the source control parameters", "required": true, "schema": { - "$ref": "#/definitions/SiteConfig" + "$ref": "#/definitions/SiteSourceControl" } }, { @@ -7266,20 +8700,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteConfig" + "$ref": "#/definitions/SiteSourceControl" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web": { "get": { "tags": [ "Sites" ], - "summary": "Gets the configuration of the web app", - "operationId": "Sites_GetSiteConfigSlot", + "summary": "Get the source control configuration of web app", + "operationId": "Sites_GetSiteSourceControlSlot", "consumes": [], "produces": [ "application/json", @@ -7320,7 +8754,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteConfig" + "$ref": "#/definitions/SiteSourceControl" } } }, @@ -7330,8 +8764,8 @@ "tags": [ "Sites" ], - "summary": "Update the configuration of web app", - "operationId": "Sites_CreateOrUpdateSiteConfigSlot", + "summary": "Update the source control configuration of web app", + "operationId": "Sites_CreateOrUpdateSiteSourceControlSlot", "consumes": [ "application/json", "text/json", @@ -7359,12 +8793,12 @@ "type": "string" }, { - "name": "siteConfig", + "name": "siteSourceControl", "in": "body", - "description": "Request body that contains the configuraiton setting for the web app", + "description": "Request body that contains the source control parameters", "required": true, "schema": { - "$ref": "#/definitions/SiteConfig" + "$ref": "#/definitions/SiteSourceControl" } }, { @@ -7385,7 +8819,59 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteConfig" + "$ref": "#/definitions/SiteSourceControl" + } + } + }, + "deprecated": false + }, + "delete": { + "tags": [ + "Sites" + ], + "summary": "Delete source control configuration of web app", + "operationId": "Sites_DeleteSiteSourceControlSlot", + "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 web app", + "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" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Object" } } }, @@ -7395,8 +8881,8 @@ "tags": [ "Sites" ], - "summary": "Update the configuration of web app", - "operationId": "Sites_UpdateSiteConfigSlot", + "summary": "Update the source control configuration of web app", + "operationId": "Sites_UpdateSiteSourceControlSlot", "consumes": [ "application/json", "text/json", @@ -7424,12 +8910,12 @@ "type": "string" }, { - "name": "siteConfig", + "name": "siteSourceControl", "in": "body", - "description": "Request body that contains the configuraiton setting for the web app", + "description": "Request body that contains the source control parameters", "required": true, "schema": { - "$ref": "#/definitions/SiteConfig" + "$ref": "#/definitions/SiteSourceControl" } }, { @@ -7450,20 +8936,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteConfig" + "$ref": "#/definitions/SiteSourceControl" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings/list": { + "post": { "tags": [ "Sites" ], - "summary": "Get the source control configuration of web app", - "operationId": "Sites_GetSiteSourceControl", + "summary": "Gets the application settings of web app", + "operationId": "Sites_ListSiteAppSettings", "consumes": [], "produces": [ "application/json", @@ -7497,23 +8983,21 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteSourceControl" + "$ref": "#/definitions/StringDictionary" } } }, "deprecated": false - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings/list": { + "post": { "tags": [ "Sites" ], - "summary": "Update the source control configuration of web app", - "operationId": "Sites_CreateOrUpdateSiteSourceControl", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Gets the application settings of web app", + "operationId": "Sites_ListSiteAppSettingsSlot", + "consumes": [], "produces": [ "application/json", "text/json", @@ -7536,13 +9020,11 @@ "type": "string" }, { - "name": "siteSourceControl", - "in": "body", - "description": "Request body that contains the source control parameters", + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, - "schema": { - "$ref": "#/definitions/SiteSourceControl" - } + "type": "string" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -7555,19 +9037,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteSourceControl" + "$ref": "#/definitions/StringDictionary" } } }, "deprecated": false - }, - "delete": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings": { + "put": { "tags": [ "Sites" ], - "summary": "Delete source control configuration of web app", - "operationId": "Sites_DeleteSiteSourceControl", - "consumes": [], + "summary": "Updates the application settings of web app", + "operationId": "Sites_UpdateSiteAppSettings", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -7589,6 +9077,15 @@ "required": true, "type": "string" }, + { + "name": "appSettings", + "in": "body", + "description": "Application settings of web app", + "required": true, + "schema": { + "$ref": "#/definitions/StringDictionary" + } + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -7600,18 +9097,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/StringDictionary" } } }, "deprecated": false - }, - "patch": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings": { + "put": { "tags": [ "Sites" ], - "summary": "Update the source control configuration of web app", - "operationId": "Sites_UpdateSiteSourceControl", + "summary": "Updates the application settings of web app", + "operationId": "Sites_UpdateSiteAppSettingsSlot", "consumes": [ "application/json", "text/json", @@ -7639,14 +9138,21 @@ "type": "string" }, { - "name": "siteSourceControl", + "name": "appSettings", "in": "body", - "description": "Request body that contains the source control parameters", + "description": "Application settings of web app", "required": true, "schema": { - "$ref": "#/definitions/SiteSourceControl" + "$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" }, @@ -7658,20 +9164,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteSourceControl" + "$ref": "#/definitions/StringDictionary" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/connectionstrings/list": { + "post": { "tags": [ "Sites" ], - "summary": "Get the source control configuration of web app", - "operationId": "Sites_GetSiteSourceControlSlot", + "summary": "Gets the connection strings associated with web app", + "operationId": "Sites_ListSiteConnectionStrings", "consumes": [], "produces": [ "application/json", @@ -7694,13 +9200,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" }, @@ -7712,23 +9211,21 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteSourceControl" + "$ref": "#/definitions/ConnectionStringDictionary" } } }, "deprecated": false - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings/list": { + "post": { "tags": [ "Sites" ], - "summary": "Update the source control configuration of web app", - "operationId": "Sites_CreateOrUpdateSiteSourceControlSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Gets the connection strings associated with web app", + "operationId": "Sites_ListSiteConnectionStringsSlot", + "consumes": [], "produces": [ "application/json", "text/json", @@ -7750,15 +9247,6 @@ "required": true, "type": "string" }, - { - "name": "siteSourceControl", - "in": "body", - "description": "Request body that contains the source control parameters", - "required": true, - "schema": { - "$ref": "#/definitions/SiteSourceControl" - } - }, { "name": "slot", "in": "path", @@ -7777,19 +9265,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteSourceControl" + "$ref": "#/definitions/ConnectionStringDictionary" } } }, "deprecated": false - }, - "delete": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/connectionstrings": { + "put": { "tags": [ "Sites" ], - "summary": "Delete source control configuration of web app", - "operationId": "Sites_DeleteSiteSourceControlSlot", - "consumes": [], + "summary": "Updates the connection strings associated with web app", + "operationId": "Sites_UpdateSiteConnectionStrings", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -7812,11 +9306,13 @@ "type": "string" }, { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", + "name": "connectionStrings", + "in": "body", + "description": "Connection strings associated with web app", "required": true, - "type": "string" + "schema": { + "$ref": "#/definitions/ConnectionStringDictionary" + } }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -7829,18 +9325,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/ConnectionStringDictionary" } } }, "deprecated": false - }, - "patch": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings": { + "put": { "tags": [ "Sites" ], - "summary": "Update the source control configuration of web app", - "operationId": "Sites_UpdateSiteSourceControlSlot", + "summary": "Updates the connection strings associated with web app", + "operationId": "Sites_UpdateSiteConnectionStringsSlot", "consumes": [ "application/json", "text/json", @@ -7868,12 +9366,12 @@ "type": "string" }, { - "name": "siteSourceControl", + "name": "connectionStrings", "in": "body", - "description": "Request body that contains the source control parameters", + "description": "Connection strings associated with web app", "required": true, "schema": { - "$ref": "#/definitions/SiteSourceControl" + "$ref": "#/definitions/ConnectionStringDictionary" } }, { @@ -7894,20 +9392,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteSourceControl" + "$ref": "#/definitions/ConnectionStringDictionary" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings/list": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/publishingcredentials/list": { "post": { "tags": [ "Sites" ], - "summary": "Gets the application settings of web app", - "operationId": "Sites_ListSiteAppSettings", + "summary": "Gets the web app publishing credentials", + "operationId": "Sites_ListSitePublishingCredentials", "consumes": [], "produces": [ "application/json", @@ -7941,20 +9439,21 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/StringDictionary" + "$ref": "#/definitions/User" } } }, - "deprecated": false + "deprecated": false, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings/list": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/publishingcredentials/list": { "post": { "tags": [ "Sites" ], - "summary": "Gets the application settings of web app", - "operationId": "Sites_ListSiteAppSettingsSlot", + "summary": "Gets the web app publishing credentials", + "operationId": "Sites_ListSitePublishingCredentialsSlot", "consumes": [], "produces": [ "application/json", @@ -7995,25 +9494,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/StringDictionary" + "$ref": "#/definitions/User" } } }, - "deprecated": false + "deprecated": false, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings": { - "put": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata/list": { + "post": { "tags": [ "Sites" ], - "summary": "Updates the application settings of web app", - "operationId": "Sites_UpdateSiteAppSettings", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Gets the web app meta data.", + "operationId": "Sites_ListSiteMetadata", + "consumes": [], "produces": [ "application/json", "text/json", @@ -8035,15 +9531,6 @@ "required": true, "type": "string" }, - { - "name": "appSettings", - "in": "body", - "description": "Application settings of web app", - "required": true, - "schema": { - "$ref": "#/definitions/StringDictionary" - } - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8062,18 +9549,14 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings": { - "put": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata/list": { + "post": { "tags": [ "Sites" ], - "summary": "Updates the application settings of web app", - "operationId": "Sites_UpdateSiteAppSettingsSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Gets the web app meta data.", + "operationId": "Sites_ListSiteMetadataSlot", + "consumes": [], "produces": [ "application/json", "text/json", @@ -8095,15 +9578,6 @@ "required": true, "type": "string" }, - { - "name": "appSettings", - "in": "body", - "description": "Application settings of web app", - "required": true, - "schema": { - "$ref": "#/definitions/StringDictionary" - } - }, { "name": "slot", "in": "path", @@ -8129,14 +9603,18 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/connectionstrings/list": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata": { + "put": { "tags": [ "Sites" ], - "summary": "Gets the connection strings associated with web app", - "operationId": "Sites_ListSiteConnectionStrings", - "consumes": [], + "summary": "Updates the meta data for web app", + "operationId": "Sites_UpdateSiteMetadata", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -8158,6 +9636,15 @@ "required": true, "type": "string" }, + { + "name": "metadata", + "in": "body", + "description": "Meta data of web app", + "required": true, + "schema": { + "$ref": "#/definitions/StringDictionary" + } + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8169,21 +9656,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ConnectionStringDictionary" + "$ref": "#/definitions/StringDictionary" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings/list": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata": { + "put": { "tags": [ "Sites" ], - "summary": "Gets the connection strings associated with web app", - "operationId": "Sites_ListSiteConnectionStringsSlot", - "consumes": [], + "summary": "Updates the meta data for web app", + "operationId": "Sites_UpdateSiteMetadataSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -8205,6 +9696,15 @@ "required": true, "type": "string" }, + { + "name": "metadata", + "in": "body", + "description": "Meta data of web app", + "required": true, + "schema": { + "$ref": "#/definitions/StringDictionary" + } + }, { "name": "slot", "in": "path", @@ -8223,25 +9723,21 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ConnectionStringDictionary" + "$ref": "#/definitions/StringDictionary" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/connectionstrings": { - "put": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/logs": { + "get": { "tags": [ "Sites" ], - "summary": "Updates the connection strings associated with web app", - "operationId": "Sites_UpdateSiteConnectionStrings", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Gets the web app logs configuration", + "operationId": "Sites_GetSiteLogsConfig", + "consumes": [], "produces": [ "application/json", "text/json", @@ -8263,15 +9759,6 @@ "required": true, "type": "string" }, - { - "name": "connectionStrings", - "in": "body", - "description": "Connection strings associated with web app", - "required": true, - "schema": { - "$ref": "#/definitions/ConnectionStringDictionary" - } - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8283,20 +9770,18 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ConnectionStringDictionary" + "$ref": "#/definitions/SiteLogsConfig" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings": { + }, "put": { "tags": [ "Sites" ], - "summary": "Updates the connection strings associated with web app", - "operationId": "Sites_UpdateSiteConnectionStringsSlot", + "summary": "Updates the meta data for web app", + "operationId": "Sites_UpdateSiteLogsConfig", "consumes": [ "application/json", "text/json", @@ -8324,21 +9809,14 @@ "type": "string" }, { - "name": "connectionStrings", + "name": "siteLogsConfig", "in": "body", - "description": "Connection strings associated with web app", + "description": "Site logs configuration", "required": true, "schema": { - "$ref": "#/definitions/ConnectionStringDictionary" + "$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" }, @@ -8350,20 +9828,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ConnectionStringDictionary" + "$ref": "#/definitions/SiteLogsConfig" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/publishingcredentials/list": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/logs": { + "get": { "tags": [ "Sites" ], - "summary": "Gets the web app publishing credentials", - "operationId": "Sites_ListSitePublishingCredentials", + "summary": "Gets the web app logs configuration", + "operationId": "Sites_GetSiteLogsConfigSlot", "consumes": [], "produces": [ "application/json", @@ -8386,6 +9864,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" }, @@ -8397,21 +9882,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/User" + "$ref": "#/definitions/SiteLogsConfig" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/publishingcredentials/list": { - "post": { + }, + "put": { "tags": [ "Sites" ], - "summary": "Gets the web app publishing credentials", - "operationId": "Sites_ListSitePublishingCredentialsSlot", - "consumes": [], + "summary": "Updates the meta data for web app", + "operationId": "Sites_UpdateSiteLogsConfigSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -8433,6 +9920,15 @@ "required": true, "type": "string" }, + { + "name": "siteLogsConfig", + "in": "body", + "description": "Site logs configuration", + "required": true, + "schema": { + "$ref": "#/definitions/SiteLogsConfig" + } + }, { "name": "slot", "in": "path", @@ -8451,20 +9947,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/User" + "$ref": "#/definitions/SiteLogsConfig" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata/list": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons": { + "get": { "tags": [ "Sites" ], - "summary": "Gets the web app meta data.", - "operationId": "Sites_ListSiteMetadata", + "operationId": "Sites_ListSitePremierAddOns", "consumes": [], "produces": [ "application/json", @@ -8476,14 +9971,12 @@ { "name": "resourceGroupName", "in": "path", - "description": "Name of resource group", "required": true, "type": "string" }, { "name": "name", "in": "path", - "description": "Name of web app", "required": true, "type": "string" }, @@ -8498,20 +9991,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/StringDictionary" + "$ref": "#/definitions/Object" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata/list": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons": { + "get": { "tags": [ "Sites" ], - "summary": "Gets the web app meta data.", - "operationId": "Sites_ListSiteMetadataSlot", + "operationId": "Sites_ListSitePremierAddOnsSlot", "consumes": [], "produces": [ "application/json", @@ -8523,21 +10015,18 @@ { "name": "resourceGroupName", "in": "path", - "description": "Name of resource group", "required": true, "type": "string" }, { "name": "name", "in": "path", - "description": "Name of web app", "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" }, @@ -8552,25 +10041,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/StringDictionary" + "$ref": "#/definitions/Object" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata": { - "put": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}": { + "get": { "tags": [ "Sites" ], - "summary": "Updates the meta data for web app", - "operationId": "Sites_UpdateSiteMetadata", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "operationId": "Sites_GetSitePremierAddOnSlot", + "consumes": [], "produces": [ "application/json", "text/json", @@ -8581,25 +10065,26 @@ { "name": "resourceGroupName", "in": "path", - "description": "Name of resource group", "required": true, "type": "string" }, { "name": "name", "in": "path", - "description": "Name of web app", "required": true, "type": "string" }, { - "name": "metadata", - "in": "body", - "description": "Meta data of web app", + "name": "premierAddOnName", + "in": "path", "required": true, - "schema": { - "$ref": "#/definitions/StringDictionary" - } + "type": "string" + }, + { + "name": "slot", + "in": "path", + "required": true, + "type": "string" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -8612,20 +10097,17 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/StringDictionary" + "$ref": "#/definitions/Object" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata": { + }, "put": { "tags": [ "Sites" ], - "summary": "Updates the meta data for web app", - "operationId": "Sites_UpdateSiteMetadataSlot", + "operationId": "Sites_AddSitePremierAddOnSlot", "consumes": [ "application/json", "text/json", @@ -8641,30 +10123,32 @@ { "name": "resourceGroupName", "in": "path", - "description": "Name of resource group", "required": true, "type": "string" }, { "name": "name", "in": "path", - "description": "Name of web app", "required": true, "type": "string" }, { - "name": "metadata", + "name": "premierAddOnName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "premierAddOn", "in": "body", - "description": "Meta data of web app", "required": true, "schema": { - "$ref": "#/definitions/StringDictionary" + "$ref": "#/definitions/PremierAddOnRequest" } }, { "name": "slot", "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, @@ -8679,20 +10163,17 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/StringDictionary" + "$ref": "#/definitions/Object" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/logs": { - "get": { + }, + "delete": { "tags": [ "Sites" ], - "summary": "Gets the web app logs configuration", - "operationId": "Sites_GetSiteLogsConfig", + "operationId": "Sites_DeleteSitePremierAddOnSlot", "consumes": [], "produces": [ "application/json", @@ -8704,75 +10185,27 @@ { "name": "resourceGroupName", "in": "path", - "description": "Name of resource group", "required": true, "type": "string" }, { "name": "name", "in": "path", - "description": "Name of web app", "required": true, "type": "string" }, { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteLogsConfig" - } - } - }, - "deprecated": false - }, - "put": { - "tags": [ - "Sites" - ], - "summary": "Updates the meta data for web app", - "operationId": "Sites_UpdateSiteLogsConfig", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "resourceGroupName", + "name": "premierAddOnName", "in": "path", - "description": "Name of resource group", "required": true, "type": "string" }, { - "name": "name", + "name": "slot", "in": "path", - "description": "Name of web app", "required": true, "type": "string" }, - { - "name": "siteLogsConfig", - "in": "body", - "description": "Site logs configuration", - "required": true, - "schema": { - "$ref": "#/definitions/SiteLogsConfig" - } - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8784,20 +10217,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteLogsConfig" + "$ref": "#/definitions/Object" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/logs": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName}": { "get": { "tags": [ "Sites" ], - "summary": "Gets the web app logs configuration", - "operationId": "Sites_GetSiteLogsConfigSlot", + "operationId": "Sites_GetSitePremierAddOn", "consumes": [], "produces": [ "application/json", @@ -8809,21 +10241,18 @@ { "name": "resourceGroupName", "in": "path", - "description": "Name of resource group", "required": true, "type": "string" }, { "name": "name", "in": "path", - "description": "Name of web app", "required": true, "type": "string" }, { - "name": "slot", + "name": "premierAddOnName", "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, @@ -8838,7 +10267,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteLogsConfig" + "$ref": "#/definitions/Object" } } }, @@ -8848,8 +10277,7 @@ "tags": [ "Sites" ], - "summary": "Updates the meta data for web app", - "operationId": "Sites_UpdateSiteLogsConfigSlot", + "operationId": "Sites_AddSitePremierAddOn", "consumes": [ "application/json", "text/json", @@ -8865,33 +10293,29 @@ { "name": "resourceGroupName", "in": "path", - "description": "Name of resource group", "required": true, "type": "string" }, { - "name": "name", + "name": "name", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "premierAddOnName", "in": "path", - "description": "Name of web app", "required": true, "type": "string" }, { - "name": "siteLogsConfig", + "name": "premierAddOn", "in": "body", - "description": "Site logs configuration", "required": true, "schema": { - "$ref": "#/definitions/SiteLogsConfig" + "$ref": "#/definitions/PremierAddOnRequest" } }, - { - "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" }, @@ -8903,19 +10327,17 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteLogsConfig" + "$ref": "#/definitions/Object" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons": { - "get": { + }, + "delete": { "tags": [ "Sites" ], - "operationId": "Sites_ListSitePremierAddOns", + "operationId": "Sites_DeleteSitePremierAddOn", "consumes": [], "produces": [ "application/json", @@ -8936,6 +10358,12 @@ "required": true, "type": "string" }, + { + "name": "premierAddOnName", + "in": "path", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8954,13 +10382,18 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backupconfig": { + "put": { "tags": [ "Sites" ], - "operationId": "Sites_ListSitePremierAddOnsSlot", - "consumes": [], + "summary": "Updates backup configuration of web app", + "operationId": "Sites_UpdateSiteBackupConfigurationSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -8971,18 +10404,30 @@ { "name": "resourceGroupName", "in": "path", + "description": "Name of resource group", "required": true, "type": "string" }, { "name": "name", "in": "path", + "description": "Name of web app", "required": true, "type": "string" }, + { + "name": "request", + "in": "body", + "description": "Information on backup request", + "required": true, + "schema": { + "$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" }, @@ -8997,19 +10442,18 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/BackupRequest" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName}": { - "get": { + }, + "post": { "tags": [ "Sites" ], - "operationId": "Sites_GetSitePremierAddOn", + "summary": "Gets the backup configuration for a web app", + "operationId": "Sites_GetSiteBackupConfigurationSlot", "consumes": [], "produces": [ "application/json", @@ -9021,18 +10465,21 @@ { "name": "resourceGroupName", "in": "path", + "description": "Name of resource group", "required": true, "type": "string" }, { "name": "name", "in": "path", + "description": "Name of web app", "required": true, "type": "string" }, { - "name": "premierAddOnName", + "name": "slot", "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, @@ -9047,17 +10494,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/BackupRequest" } } }, "deprecated": false - }, + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backupconfig": { "put": { "tags": [ "Sites" ], - "operationId": "Sites_AddSitePremierAddOn", + "summary": "Updates backup configuration of web app", + "operationId": "Sites_UpdateSiteBackupConfiguration", "consumes": [ "application/json", "text/json", @@ -9073,27 +10523,24 @@ { "name": "resourceGroupName", "in": "path", + "description": "Name of resource group", "required": true, "type": "string" }, { "name": "name", "in": "path", + "description": "Name of web app", "required": true, "type": "string" }, { - "name": "premierAddOnName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "premierAddOn", + "name": "request", "in": "body", + "description": "Information on backup request", "required": true, "schema": { - "$ref": "#/definitions/PremierAddOnRequest" + "$ref": "#/definitions/BackupRequest" } }, { @@ -9107,17 +10554,18 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/BackupRequest" } } }, "deprecated": false }, - "delete": { + "post": { "tags": [ "Sites" ], - "operationId": "Sites_DeleteSitePremierAddOn", + "summary": "Gets the backup configuration for a web app", + "operationId": "Sites_GetSiteBackupConfiguration", "consumes": [], "produces": [ "application/json", @@ -9129,18 +10577,14 @@ { "name": "resourceGroupName", "in": "path", + "description": "Name of resource group", "required": true, "type": "string" }, { "name": "name", "in": "path", - "required": true, - "type": "string" - }, - { - "name": "premierAddOnName", - "in": "path", + "description": "Name of web app", "required": true, "type": "string" }, @@ -9155,20 +10599,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/BackupRequest" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backup": { + "put": { "tags": [ "Sites" ], - "operationId": "Sites_GetSitePremierAddOnSlot", - "consumes": [], + "summary": "Creates web app backup", + "operationId": "Sites_BackupSiteDeprecatedSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -9179,24 +10628,30 @@ { "name": "resourceGroupName", "in": "path", + "description": "Name of resource group", "required": true, "type": "string" }, { "name": "name", "in": "path", + "description": "Name of web app", "required": true, "type": "string" }, { - "name": "premierAddOnName", - "in": "path", + "name": "request", + "in": "body", + "description": "Information on backup request", "required": true, - "type": "string" + "schema": { + "$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" }, @@ -9211,17 +10666,18 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/BackupItem" } } }, "deprecated": false }, - "put": { + "post": { "tags": [ "Sites" ], - "operationId": "Sites_AddSitePremierAddOnSlot", + "summary": "Creates web app backup", + "operationId": "Sites_BackupSiteSlot", "consumes": [ "application/json", "text/json", @@ -9237,32 +10693,30 @@ { "name": "resourceGroupName", "in": "path", + "description": "Name of resource group", "required": true, "type": "string" }, { "name": "name", "in": "path", + "description": "Name of web app", "required": true, "type": "string" }, { - "name": "premierAddOnName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "premierAddOn", + "name": "request", "in": "body", + "description": "Information on backup request", "required": true, "schema": { - "$ref": "#/definitions/PremierAddOnRequest" + "$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" }, @@ -9277,18 +10731,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/BackupItem" } } }, "deprecated": false - }, - "delete": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backup": { + "put": { "tags": [ "Sites" ], - "operationId": "Sites_DeleteSitePremierAddOnSlot", - "consumes": [], + "summary": "Creates web app backup", + "operationId": "Sites_BackupSiteDeprecated", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -9299,27 +10760,84 @@ { "name": "resourceGroupName", "in": "path", + "description": "Name of resource group", "required": true, "type": "string" }, { "name": "name", "in": "path", + "description": "Name of web app", "required": true, "type": "string" }, { - "name": "premierAddOnName", + "name": "request", + "in": "body", + "description": "Information on backup request", + "required": true, + "schema": { + "$ref": "#/definitions/BackupRequest" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/BackupItem" + } + } + }, + "deprecated": false + }, + "post": { + "tags": [ + "Sites" + ], + "summary": "Creates web app backup", + "operationId": "Sites_BackupSite", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "resourceGroupName", "in": "path", + "description": "Name of resource group", "required": true, "type": "string" }, { - "name": "slot", + "name": "name", "in": "path", + "description": "Name of web app", "required": true, "type": "string" }, + { + "name": "request", + "in": "body", + "description": "Information on backup request", + "required": true, + "schema": { + "$ref": "#/definitions/BackupRequest" + } + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -9331,21 +10849,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/BackupItem" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backup/config": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restore/discover": { + "put": { "tags": [ "Sites" ], - "summary": "Gets the backup configuration for a web app", - "operationId": "Sites_GetSiteBackupConfiguration", - "consumes": [], + "summary": "Discovers existing web app backups that can be restored", + "operationId": "Sites_DiscoverSiteRestore", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -9367,6 +10889,15 @@ "required": true, "type": "string" }, + { + "name": "request", + "in": "body", + "description": "Information on restore request", + "required": true, + "schema": { + "$ref": "#/definitions/RestoreRequest" + } + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -9378,18 +10909,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/BackupRequest" + "$ref": "#/definitions/RestoreRequest" } } }, "deprecated": false - }, + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restore/discover": { "put": { "tags": [ "Sites" ], - "summary": "Updates backup configuration of web app", - "operationId": "Sites_UpdateSiteBackupConfiguration", + "summary": "Discovers existing web app backups that can be restored", + "operationId": "Sites_DiscoverSiteRestoreSlot", "consumes": [ "application/json", "text/json", @@ -9419,12 +10952,19 @@ { "name": "request", "in": "body", - "description": "Information on backup request", + "description": "Information on restore request", "required": true, "schema": { - "$ref": "#/definitions/BackupRequest" + "$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" }, @@ -9436,24 +10976,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/BackupRequest" + "$ref": "#/definitions/RestoreRequest" } } }, "deprecated": false - }, - "post": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups": { + "get": { "tags": [ "Sites" ], - "summary": "Lists all backup configurations for a web app", - "operationId": "Sites_ListSiteBackupConfiguration", + "summary": "Lists all available backups for web app", + "operationId": "Sites_ListSiteBackupsSlot", "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -9470,6 +11010,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" }, @@ -9481,26 +11028,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/BackupRequest" + "$ref": "#/definitions/BackupItemCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backup/config": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups": { "get": { "tags": [ "Sites" ], - "summary": "Gets the backup configuration for a web app", - "operationId": "Sites_GetSiteBackupConfigurationSlot", + "summary": "Lists all available backups for web app", + "operationId": "Sites_ListSiteBackups", "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -9517,13 +11062,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" }, @@ -9535,23 +11073,21 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/BackupRequest" + "$ref": "#/definitions/BackupItemCollection" } } }, "deprecated": false - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}": { + "get": { "tags": [ "Sites" ], - "summary": "Updates backup configuration of web app", - "operationId": "Sites_UpdateSiteBackupConfigurationSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Gets status on a web app backup that may be in progress", + "operationId": "Sites_GetSiteBackupStatus", + "consumes": [], "produces": [ "application/json", "text/json", @@ -9574,18 +11110,9 @@ "type": "string" }, { - "name": "request", - "in": "body", - "description": "Information on backup request", - "required": true, - "schema": { - "$ref": "#/definitions/BackupRequest" - } - }, - { - "name": "slot", + "name": "backupId", "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", + "description": "Id of backup", "required": true, "type": "string" }, @@ -9600,18 +11127,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/BackupRequest" + "$ref": "#/definitions/BackupItem" } } }, "deprecated": false - }, - "post": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}": { + "get": { "tags": [ "Sites" ], - "summary": "Lists all backup configurations for a web app", - "operationId": "Sites_ListSiteBackupConfigurationSlot", + "summary": "Gets status on a web app backup that may be in progress", + "operationId": "Sites_GetSiteBackupStatusSlot", "consumes": [], "produces": [ "application/json", @@ -9634,6 +11163,13 @@ "required": true, "type": "string" }, + { + "name": "backupId", + "in": "path", + "description": "Id of backup", + "required": true, + "type": "string" + }, { "name": "slot", "in": "path", @@ -9652,25 +11188,21 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/BackupRequest" + "$ref": "#/definitions/BackupItem" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backup": { - "put": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backup/config": { + "get": { "tags": [ "Sites" ], - "summary": "Creates web app backup", - "operationId": "Sites_BackupSite", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Gets the backup configuration for a web app", + "operationId": "Sites_GetSiteBackupConfigurationDeprecated", + "consumes": [], "produces": [ "application/json", "text/json", @@ -9692,15 +11224,6 @@ "required": true, "type": "string" }, - { - "name": "request", - "in": "body", - "description": "Information on backup request", - "required": true, - "schema": { - "$ref": "#/definitions/BackupRequest" - } - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -9712,20 +11235,18 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/BackupItem" + "$ref": "#/definitions/BackupRequest" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backup": { + }, "put": { "tags": [ "Sites" ], - "summary": "Creates web app backup", - "operationId": "Sites_BackupSiteSlot", + "summary": "Updates backup configuration of web app", + "operationId": "Sites_UpdateSiteBackupConfigurationDeprecated", "consumes": [ "application/json", "text/json", @@ -9761,13 +11282,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" }, @@ -9779,25 +11293,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/BackupItem" + "$ref": "#/definitions/BackupRequest" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restore/discover": { - "put": { + }, + "post": { "tags": [ "Sites" ], - "summary": "Discovers existing web app backups that can be restored", - "operationId": "Sites_DiscoverSiteRestore", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Lists all backup configurations for a web app", + "operationId": "Sites_ListSiteBackupConfigurationDeprecated", + "consumes": [], "produces": [ "application/json", "text/json", @@ -9819,15 +11327,6 @@ "required": true, "type": "string" }, - { - "name": "request", - "in": "body", - "description": "Information on restore request", - "required": true, - "schema": { - "$ref": "#/definitions/RestoreRequest" - } - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -9839,25 +11338,21 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/RestoreRequest" + "$ref": "#/definitions/BackupRequest" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restore/discover": { - "put": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backup/config": { + "get": { "tags": [ "Sites" ], - "summary": "Discovers existing web app backups that can be restored", - "operationId": "Sites_DiscoverSiteRestoreSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Gets the backup configuration for a web app", + "operationId": "Sites_GetSiteBackupConfigurationDeprecatedSlot", + "consumes": [], "produces": [ "application/json", "text/json", @@ -9879,15 +11374,6 @@ "required": true, "type": "string" }, - { - "name": "request", - "in": "body", - "description": "Information on restore request", - "required": true, - "schema": { - "$ref": "#/definitions/RestoreRequest" - } - }, { "name": "slot", "in": "path", @@ -9906,24 +11392,28 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/RestoreRequest" + "$ref": "#/definitions/BackupRequest" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restore": { - "get": { + }, + "put": { "tags": [ "Sites" ], - "summary": "Lists all available backups for web app", - "operationId": "Sites_ListSiteBackupsSlot", - "consumes": [], + "summary": "Updates backup configuration of web app", + "operationId": "Sites_UpdateSiteBackupConfigurationDeprecatedSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -9940,6 +11430,15 @@ "required": true, "type": "string" }, + { + "name": "request", + "in": "body", + "description": "Information on backup request", + "required": true, + "schema": { + "$ref": "#/definitions/BackupRequest" + } + }, { "name": "slot", "in": "path", @@ -9958,24 +11457,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/BackupItemCollection" + "$ref": "#/definitions/BackupRequest" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restore": { - "get": { + }, + "post": { "tags": [ "Sites" ], - "summary": "Lists all available backups for web app", - "operationId": "Sites_ListSiteBackups", + "summary": "Lists all backup configurations for a web app", + "operationId": "Sites_ListSiteBackupConfigurationDeprecatedSlot", "consumes": [], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -9992,6 +11491,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" }, @@ -10003,26 +11509,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/BackupItemCollection" + "$ref": "#/definitions/BackupRequest" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restore": { "get": { "tags": [ "Sites" ], - "summary": "Gets status on a web app backup that may be in progress", - "operationId": "Sites_GetSiteBackupStatus", + "summary": "Lists all available backups for web app", + "operationId": "Sites_ListSiteBackupsDeprecatedSlot", "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -10040,9 +11544,9 @@ "type": "string" }, { - "name": "backupId", + "name": "slot", "in": "path", - "description": "Id of backup", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, @@ -10057,26 +11561,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/BackupItem" + "$ref": "#/definitions/BackupItemCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restore": { "get": { "tags": [ "Sites" ], - "summary": "Gets status on a web app backup that may be in progress", - "operationId": "Sites_GetSiteBackupStatusSlot", + "summary": "Lists all available backups for web app", + "operationId": "Sites_ListSiteBackupsDeprecated", "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -10093,20 +11595,6 @@ "required": true, "type": "string" }, - { - "name": "backupId", - "in": "path", - "description": "Id of backup", - "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" }, @@ -10118,20 +11606,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/BackupItem" + "$ref": "#/definitions/BackupItemCollection" } } }, "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", @@ -10152,6 +11640,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", @@ -10176,13 +11671,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", @@ -10203,13 +11698,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", @@ -10267,6 +11755,12 @@ "description": "If true, metric details are included in response", "type": "boolean" }, + { + "name": "Accept", + "in": "header", + "type": "string", + "default": "Application/json" + }, { "name": "$filter", "in": "query", @@ -10284,7 +11778,7 @@ "200": { "description": "OK", "schema": { - "type": "file" + "$ref": "#/definitions/ResourceMetricCollection" } } }, @@ -10331,6 +11825,12 @@ "description": "If true, metric details are included in response", "type": "boolean" }, + { + "name": "Accept", + "in": "header", + "type": "string", + "default": "Application/json" + }, { "name": "$filter", "in": "query", @@ -10348,7 +11848,7 @@ "200": { "description": "OK", "schema": { - "type": "file" + "$ref": "#/definitions/ResourceMetricCollection" } } }, @@ -10452,13 +11952,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", @@ -10496,13 +11996,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" }, @@ -10521,13 +12014,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", @@ -10565,6 +12058,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" }, @@ -10809,13 +12309,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", @@ -10838,13 +12338,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" }, @@ -10863,13 +12356,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", @@ -10892,6 +12385,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" }, @@ -10910,12 +12410,12 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sync": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sync": { "post": { "tags": [ "Sites" ], - "operationId": "Sites_SyncSiteRepository", + "operationId": "Sites_SyncSiteRepositorySlot", "consumes": [], "produces": [ "application/json", @@ -10936,6 +12436,12 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -10954,12 +12460,12 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sync": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sync": { "post": { "tags": [ "Sites" ], - "operationId": "Sites_SyncSiteRepositorySlot", + "operationId": "Sites_SyncSiteRepository", "consumes": [], "produces": [ "application/json", @@ -10980,12 +12486,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -11004,13 +12504,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", @@ -11033,6 +12533,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" }, @@ -11051,13 +12558,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", @@ -11080,13 +12587,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" }, @@ -13256,13 +14756,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", @@ -13300,6 +14800,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" }, @@ -13318,13 +14825,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", @@ -13362,13 +14869,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" }, @@ -13387,13 +14887,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", @@ -13416,6 +14916,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" }, @@ -13434,13 +14941,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", @@ -13463,13 +14970,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" }, @@ -13510,70 +15010,12 @@ "required": true, "type": "string" }, - { - "name": "name", - "in": "path", - "description": "Name of web app", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SlotConfigNamesResource" - } - } - }, - "deprecated": false - }, - "put": { - "tags": [ - "Sites" - ], - "summary": "Updates the names of application settings and connection string that remain with the slot during swap operation", - "operationId": "Sites_UpdateSlotConfigNames", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "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 web app", - "required": true, - "type": "string" - }, - { - "name": "slotConfigNames", - "in": "body", - "description": "Request body containing the names of application settings and connection strings", + { + "name": "name", + "in": "path", + "description": "Name of web app", "required": true, - "schema": { - "$ref": "#/definitions/SlotConfigNamesResource" - } + "type": "string" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -13591,19 +15033,23 @@ } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots": { - "get": { + }, + "put": { "tags": [ "Sites" ], - "summary": "Gets all the slots for a web apps", - "operationId": "Sites_GetSiteSlots", - "consumes": [], + "summary": "Updates the names of application settings and connection string that remain with the slot during swap operation", + "operationId": "Sites_UpdateSlotConfigNames", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -13621,10 +15067,13 @@ "type": "string" }, { - "name": "propertiesToInclude", - "in": "query", - "description": "List of app properties to include in the response", - "type": "string" + "name": "slotConfigNames", + "in": "body", + "description": "Request body containing the names of application settings and connection strings", + "required": true, + "schema": { + "$ref": "#/definitions/SlotConfigNamesResource" + } }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -13637,7 +15086,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteCollection" + "$ref": "#/definitions/SlotConfigNamesResource" } } }, @@ -13768,70 +15217,309 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web.Admin/environments/{environmentName}/usage": { - "get": { - "tags": [ - "Usage" - ], - "summary": "Returns usage records for specified subscription and resource groups", - "operationId": "Usage_GetUsage", - "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": "environmentName", - "in": "path", - "description": "Environment name", - "required": true, - "type": "string" - }, - { - "name": "lastId", - "in": "query", - "description": "Last marker that was returned from the batch", - "required": true, - "type": "string" - }, - { - "name": "batchSize", - "in": "query", - "description": "size of the batch to be returned.", - "required": true, - "type": "integer", - "format": "int32" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Object" - } + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web.Admin/environments/{environmentName}/usage": { + "get": { + "tags": [ + "Usage" + ], + "summary": "Returns usage records for specified subscription and resource groups", + "operationId": "Usage_GetUsage", + "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": "environmentName", + "in": "path", + "description": "Environment name", + "required": true, + "type": "string" + }, + { + "name": "lastId", + "in": "query", + "description": "Last marker that was returned from the batch", + "required": true, + "type": "string" + }, + { + "name": "batchSize", + "in": "query", + "description": "size of the batch to be returned.", + "required": true, + "type": "integer", + "format": "int32" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Object" + } + } + }, + "deprecated": false + } + } + }, + "definitions": { + "ArmPlan": { + "description": "The plan object in an ARM, represents a marketplace plan", + "type": "object", + "properties": { + "name": { + "description": "The name", + "type": "string" + }, + "publisher": { + "description": "The publisher", + "type": "string" + }, + "product": { + "description": "The product", + "type": "string" + }, + "promotionCode": { + "description": "The promotion code", + "type": "string" + }, + "version": { + "description": "Version of product", + "type": "string" + } + } + }, + "CertificateOrderCertificate": { + "description": "Class representing the Key Vault container for certificate purchased through Azure", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "properties": { + "keyVaultCsmId": { + "description": "Key Vault Csm resource Id", + "type": "string" + }, + "keyVaultSecretName": { + "description": "Key Vault secret name", + "type": "string" + }, + "provisioningState": { + "description": "Status of the Key Vault secret", + "enum": [ + "Initialized", + "WaitingOnCertificateOrder", + "Succeeded", + "CertificateOrderFailed", + "OperationNotPermittedOnKeyVault", + "AzureServiceUnauthorizedToAccessKeyVault", + "KeyVaultDoesNotExist", + "KeyVaultSecretDoesNotExist", + "UnknownError", + "Unknown" + ], + "type": "string", + "x-ms-enum": "KeyVaultSecretStatus" + }, + "thumbprint": { + "description": "Thumbprint of the certificate stored in KeyVault", + "type": "string" + } + } + } + } + }, + "SkuDescription": { + "description": "Describes a sku for a scalable resource", + "type": "object", + "properties": { + "name": { + "description": "Name of the resource sku", + "type": "string" + }, + "tier": { + "description": "Service Tier of the resource sku", + "type": "string" + }, + "size": { + "description": "Size specifier of the resource sku", + "type": "string" + }, + "family": { + "description": "Family code of the resource sku", + "type": "string" + }, + "capacity": { + "format": "int32", + "description": "Current number of instances assigned to the resource", + "type": "integer" + } + } + }, + "Object": { + "type": "object", + "properties": {} + }, + "CertificateOrder": { + "description": "Certificate purchase order", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "properties": { + "certificates": { + "description": "State of the Key Vault secret", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/CertificateOrderCertificate" + } + }, + "distinguishedName": { + "description": "Certificate distinguished name", + "type": "string" + }, + "domainVerificationToken": { + "description": "Domain Verification Token", + "type": "string" + }, + "validityInYears": { + "format": "int32", + "description": "Duration in years (must be between 1 and 3)", + "type": "integer" + }, + "keySize": { + "format": "int32", + "description": "Certificate Key Size", + "type": "integer" + }, + "productType": { + "description": "Certificate product type", + "enum": [ + "StandardDomainValidatedSsl", + "StandardDomainValidatedWildCardSsl" + ], + "type": "string", + "x-ms-enum": "CertificateProductType" + }, + "status": { + "description": "Current order status", + "enum": [ + "Pendingissuance", + "Issued", + "Revoked", + "Canceled", + "Denied", + "Pendingrevocation", + "PendingRekey", + "Unused", + "Expired", + "NotSubmitted" + ], + "type": "string", + "x-ms-enum": "CertificateOrderStatus" + }, + "signedCertificate": { + "description": "Signed certificate", + "type": "string" + }, + "csr": { + "description": "Last CSR that was created for this order", + "type": "string" + }, + "intermediate": { + "description": "Intermediate certificate", + "type": "string" + }, + "root": { + "description": "Root certificate", + "type": "string" + }, + "serialNumber": { + "description": "Current serial number of the certificate", + "type": "string" + }, + "action": { + "description": "Requested action on existing certificate order", + "enum": [ + "Rekey", + "Renew" + ], + "type": "string", + "x-ms-enum": "CertificateAction" + }, + "keyVaultCsmId": { + "description": "Key Vault Csm resource Id", + "type": "string" + }, + "delayExistingRevokeInHours": { + "format": "int32", + "description": "Delay in hours to revoke existing certificate after the new certificate is issued", + "type": "integer" + } + } + } + } + }, + "CertificateOrderCollection": { + "description": "Collection of ceritificate orders", + "type": "object", + "properties": { + "value": { + "description": "Collection of resources", + "type": "array", + "items": { + "$ref": "#/definitions/CertificateOrder" + } + }, + "nextLink": { + "description": "Link to next page of resources", + "type": "string" + } + } + }, + "CertificateOrderCertificateCollection": { + "description": "Collection of ceritificateorder certificates", + "type": "object", + "properties": { + "value": { + "description": "Collection of resources", + "type": "array", + "items": { + "$ref": "#/definitions/CertificateOrderCertificate" } }, - "deprecated": false + "nextLink": { + "description": "Link to next page of resources", + "type": "string" + } } - } - }, - "definitions": { + }, "CertificateCollection": { "description": "Collection of certificates", "type": "object", @@ -13924,6 +15612,14 @@ "hostingEnvironmentProfile": { "$ref": "#/definitions/HostingEnvironmentProfile", "description": "Specification for the hosting environment (App Service Environment) to use for the certificate" + }, + "keyVaultCsmId": { + "description": "Key Vault Csm resource Id", + "type": "string" + }, + "keyVaultSecretName": { + "description": "Key Vault secret name", + "type": "string" } } } @@ -13947,63 +15643,6 @@ } } }, - "ArmPlan": { - "description": "The plan object in an ARM, represents a marketplace plan", - "type": "object", - "properties": { - "name": { - "description": "The name", - "type": "string" - }, - "publisher": { - "description": "The publisher", - "type": "string" - }, - "product": { - "description": "The product", - "type": "string" - }, - "promotionCode": { - "description": "The promotion code", - "type": "string" - }, - "version": { - "description": "Version of product", - "type": "string" - } - } - }, - "SkuDescription": { - "description": "Describes a sku for a scalable resource", - "type": "object", - "properties": { - "name": { - "description": "Name of the resource sku", - "type": "string" - }, - "tier": { - "description": "Service Tier of the resource sku", - "type": "string" - }, - "size": { - "description": "Size specifier of the resource sku", - "type": "string" - }, - "family": { - "description": "Family code of the resource sku", - "type": "string" - }, - "capacity": { - "format": "int32", - "description": "Current number of instances assigned to the resource", - "type": "integer" - } - } - }, - "Object": { - "type": "object", - "properties": {} - }, "Csr": { "description": "Certificate signing request object", "type": "object", @@ -14674,14 +16313,6 @@ "description": "Specifies if the client certificate is enabled for the web app", "type": "boolean" }, - "domainVerificationIdentifiers": { - "description": "List of identifiers that verify the custom domains assigned to the web app (e.g. to a CA for purchasing SSL certificate).", - "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.", "type": "string", @@ -15347,7 +16978,7 @@ } }, "HostingEnvironmentCollection": { - "description": "Collection of hosting environment", + "description": "Collection of hosting environments (App Service Environments)", "type": "object", "properties": { "value": { @@ -15518,6 +17149,10 @@ "description": "Resource group of the hostingEnvironment (App Service Environment)", "type": "string" }, + "apiManagementAccountId": { + "description": "Api Management Account associated with this Hosting Environment", + "type": "string" + }, "suspended": { "description": "True/false indicating whether the hostingEnvironment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available\r\n (most likely because NSG blocked the incoming traffic)", "type": "boolean" @@ -16003,7 +17638,7 @@ } } }, - "MetricResponseCollection": { + "ResourceMetricCollection": { "description": "Collection of metric responses", "type": "object", "properties": { @@ -16011,7 +17646,7 @@ "description": "Collection of resources", "type": "array", "items": { - "$ref": "#/definitions/MetricResponse" + "$ref": "#/definitions/ResourceMetric" } }, "nextLink": { @@ -16020,106 +17655,48 @@ } } }, - "MetricResponse": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "properties": { - "code": { - "description": "Gets or sets the response code.", - "type": "string" - }, - "message": { - "description": "Gets or sets the message.", - "type": "string" - }, - "data": { - "$ref": "#/definitions/MetricSet", - "description": "Gets or sets the metrics." - } - } - } - } - }, - "MetricSet": { - "description": "Class containing metric information", + "ResourceMetric": { + "description": "Object representing a metric for any resource", "type": "object", "properties": { - "displayName": { - "description": "Display name of the metric", - "type": "string" - }, "name": { - "description": "Unique key name of the metric", - "type": "string" + "$ref": "#/definitions/ResourceMetricName", + "description": "Name of metric" }, "unit": { - "description": "Metric's unit", + "description": "Metric unit", + "type": "string" + }, + "timeGrain": { + "description": "Metric granularity. E.g PT1H, PT5M, P1D", "type": "string" }, "startTime": { "format": "date-time", - "description": "Start time of the period", + "description": "Metric start time", "type": "string" }, "endTime": { "format": "date-time", - "description": "End time of the period", - "type": "string" - }, - "timeGrain": { - "description": "Presented time grain. Supported grains at the moment are PT1M, PT1H, P1D", + "description": "Metric end time", "type": "string" }, - "primaryAggregationType": { - "description": "Aggregation type", + "resourceId": { + "description": "Metric resource Id", "type": "string" - }, - "values": { - "description": "Collection of metric values for the selected period based on the {Microsoft.Web.Hosting.Administration.MetricSet.TimeGrain}", - "type": "array", - "items": { - "$ref": "#/definitions/MetricSample" - } } } }, - "MetricSample": { - "description": "Class representing the metric", + "ResourceMetricName": { + "description": "Name of a metric for any resource", "type": "object", "properties": { - "timeCreated": { - "format": "date-time", - "description": "Point in time for which meric was measured", + "value": { + "description": "metric name value", "type": "string" }, - "total": { - "format": "int64", - "description": "Total value. If multiple measurements are made this will have sum of all.", - "type": "integer" - }, - "minimum": { - "format": "int64", - "description": "Minimum value measured during the period", - "type": "integer" - }, - "maximum": { - "format": "int64", - "description": "Maximum value measured during period", - "type": "integer" - }, - "count": { - "format": "int64", - "description": "Number of measurements taken during the period", - "type": "integer" - }, - "instanceName": { - "description": "Name of the server on which the measurement is made", + "localizedValue": { + "description": "Localized metric name value", "type": "string" } } @@ -16329,6 +17906,23 @@ } } }, + "WorkerPoolCollection": { + "description": "Collection of worker pools", + "type": "object", + "properties": { + "value": { + "description": "Collection of resources", + "type": "array", + "items": { + "$ref": "#/definitions/WorkerPool" + } + }, + "nextLink": { + "description": "Link to next page of resources", + "type": "string" + } + } + }, "SkuInfoCollection": { "description": "Collection of SkuInfos", "type": "object", @@ -16507,6 +18101,29 @@ } } }, + "VnetGateway": { + "description": "The VnetGateway contract. This is used to give the vnet gateway access to the VPN package.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "properties": { + "vnetName": { + "description": "The VNET name.", + "type": "string" + }, + "vpnPackageUri": { + "description": "The URI where the Vpn package can be downloaded", + "type": "string" + } + } + } + } + }, "CsmSiteRecoveryEntity": { "description": "Class containting details about site recovery operation.", "type": "object", @@ -16681,14 +18298,6 @@ "description": "Specifies if the client certificate is enabled for the web app", "type": "boolean" }, - "domainVerificationIdentifiers": { - "description": "List of identifiers that verify the custom domains assigned to the web app (e.g. to a CA for purchasing SSL certificate).", - "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.", "type": "string", @@ -17444,29 +19053,6 @@ } } }, - "VnetGateway": { - "description": "The VnetGateway contract. This is used to give the vnet gateway access to the VPN package.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "properties": { - "vnetName": { - "description": "The VNET name.", - "type": "string" - }, - "vpnPackageUri": { - "description": "The URI where the Vpn package can be downloaded", - "type": "string" - } - } - } - } - }, "NetworkFeatures": { "description": "This is an object used to store a full view of network features (presently VNET integration and Hybrid Connections)\r\n for a web app.", "type": "object", From a205652ec6ead49584a3111d6689bd6a4e292f91 Mon Sep 17 00:00:00 2001 From: Naveed Aziz Date: Tue, 6 Oct 2015 13:00:49 -0700 Subject: [PATCH 2/3] Remove accept header from metrics --- arm-web/2015-08-01/swagger/service.json | 42 ------------------------- 1 file changed, 42 deletions(-) diff --git a/arm-web/2015-08-01/swagger/service.json b/arm-web/2015-08-01/swagger/service.json index 594e9c513135..0e25909b663c 100644 --- a/arm-web/2015-08-01/swagger/service.json +++ b/arm-web/2015-08-01/swagger/service.json @@ -2832,12 +2832,6 @@ "description": "Include instance details", "type": "boolean" }, - { - "name": "Accept", - "in": "header", - "type": "string", - "default": "Application/json" - }, { "name": "$filter", "in": "query", @@ -3011,12 +3005,6 @@ "description": "Include instance details", "type": "boolean" }, - { - "name": "Accept", - "in": "header", - "type": "string", - "default": "Application/json" - }, { "name": "$filter", "in": "query", @@ -3081,12 +3069,6 @@ "description": "Include instance details", "type": "boolean" }, - { - "name": "Accept", - "in": "header", - "type": "string", - "default": "Application/json" - }, { "name": "$filter", "in": "query", @@ -4874,12 +4856,6 @@ "description": "If true, metrics are broken down per App Service Plan instance", "type": "boolean" }, - { - "name": "Accept", - "in": "header", - "type": "string", - "default": "Application/json" - }, { "name": "$filter", "in": "query", @@ -4937,12 +4913,6 @@ "description": "If true, metrics are broken down per App Service Plan instance", "type": "boolean" }, - { - "name": "Accept", - "in": "header", - "type": "string", - "default": "Application/json" - }, { "name": "$filter", "in": "query", @@ -11755,12 +11725,6 @@ "description": "If true, metric details are included in response", "type": "boolean" }, - { - "name": "Accept", - "in": "header", - "type": "string", - "default": "Application/json" - }, { "name": "$filter", "in": "query", @@ -11825,12 +11789,6 @@ "description": "If true, metric details are included in response", "type": "boolean" }, - { - "name": "Accept", - "in": "header", - "type": "string", - "default": "Application/json" - }, { "name": "$filter", "in": "query", From 00c59e2cf2721b3029a094135246c78c84e7affe Mon Sep 17 00:00:00 2001 From: Naveed Aziz Date: Tue, 6 Oct 2015 15:36:55 -0700 Subject: [PATCH 3/3] Add metric details --- arm-web/2015-08-01/swagger/service.json | 84 ++++++++++++++++++++----- 1 file changed, 70 insertions(+), 14 deletions(-) diff --git a/arm-web/2015-08-01/swagger/service.json b/arm-web/2015-08-01/swagger/service.json index 0e25909b663c..de91df5b2080 100644 --- a/arm-web/2015-08-01/swagger/service.json +++ b/arm-web/2015-08-01/swagger/service.json @@ -3338,13 +3338,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", @@ -3383,13 +3383,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", @@ -5355,13 +5355,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", @@ -5426,7 +5426,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", @@ -5504,7 +5504,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", @@ -5566,7 +5566,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", @@ -5640,13 +5640,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", @@ -5711,7 +5711,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", @@ -5789,7 +5789,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", @@ -5851,7 +5851,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", @@ -17642,6 +17642,20 @@ "resourceId": { "description": "Metric resource Id", "type": "string" + }, + "metricValues": { + "description": "Metric values", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricValue" + } + }, + "properties": { + "description": "Properties", + "type": "object", + "additionalProperties": { + "type": "string" + } } } }, @@ -17659,6 +17673,48 @@ } } }, + "ResourceMetricValue": { + "description": "Value of resource metric", + "type": "object", + "properties": { + "timeStamp": { + "description": "Value timestamp", + "type": "string" + }, + "average": { + "format": "float", + "description": "Value average", + "type": "number" + }, + "minimum": { + "format": "float", + "description": "Value minimum", + "type": "number" + }, + "maximum": { + "format": "float", + "description": "Value maximum", + "type": "number" + }, + "total": { + "format": "float", + "description": "Value total", + "type": "number" + }, + "count": { + "format": "float", + "description": "Value count", + "type": "number" + }, + "properties": { + "description": "Value properties", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, "MetricDefinition": { "description": "Class repesenting metadata for the metrics", "type": "object",