diff --git a/arm-web/2015-08-01/swagger/service.json b/arm-web/2015-08-01/swagger/service.json index c3726cd0fb5a..de91df5b2080 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,1519 @@ "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": "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/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" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$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": [ { - "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/HostingEnvironmentCollection" + } + } + }, + "deprecated": false + } + }, + "/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": [ + "HostingEnvironments" + ], + "summary": "Get global metrics of hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_GetHostingEnvironmentMetrics", + "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" + }, + { + "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" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ResourceMetricCollection" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/metricdefinitions": { + "get": { + "tags": [ + "HostingEnvironments" + ], + "summary": "Get global metric definitions of hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_GetHostingEnvironmentMetricDefinitions", + "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/MetricDefinition" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/usages": { + "get": { + "tags": [ + "HostingEnvironments" + ], + "summary": "Get global usages of hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_GetHostingEnvironmentUsages", + "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" + }, + { + "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" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CsmUsageQuotaCollection" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metrics": { + "get": { + "tags": [ + "HostingEnvironments" + ], + "summary": "Get metrics for a multiRole pool of a hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_GetHostingEnvironmentMultiRoleMetrics", + "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" + }, + { + "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" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ResourceMetricCollection" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/metrics": { + "get": { + "tags": [ + "HostingEnvironments" + ], + "summary": "Get metrics for a worker pool of a hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_GetHostingEnvironmentWebWorkerMetrics", + "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" + }, + { + "name": "workerPoolName", + "in": "path", + "description": "Name 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" @@ -1553,40 +3086,39 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/DomainAvailablilityCheckResult" + "$ref": "#/definitions/ResourceMetricCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/listDomainRecommendations": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metricdefinitions": { + "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 metric definitions for a multiRole pool of a hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_GetHostingEnvironmentMultiRoleMetricDefinitions", + "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" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -1599,41 +3131,46 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/NameIdentifierCollection" + "$ref": "#/definitions/MetricDefinitionCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/metricdefinitions": { + "get": { "tags": [ - "GlobalResourceGroups" + "HostingEnvironments" ], - "operationId": "GlobalResourceGroups_MoveResources", - "consumes": [ + "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", - "application/x-www-form-urlencoded" + "text/json" ], - "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" + }, + { + "name": "workerPoolName", + "in": "path", + "description": "Name of worker pool", + "required": true, + "type": "string" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -1643,26 +3180,27 @@ } ], "responses": { - "204": { - "description": "No Content" + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MetricDefinitionCollection" + } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/usages": { "get": { "tags": [ "HostingEnvironments" ], - "summary": "Get properties of hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironment", + "summary": "Get usages for a multiRole pool of a hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_GetHostingEnvironmentMultiRoleUsages", "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -1690,28 +3228,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HostingEnvironment" + "$ref": "#/definitions/UsageCollection" } } }, "deprecated": false - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/usages": { + "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 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": [ { @@ -1729,13 +3263,11 @@ "type": "string" }, { - "name": "hostingEnvironmentEnvelope", - "in": "body", - "description": "Properties of hostingEnvironment (App Service Environment)", + "name": "workerPoolName", + "in": "path", + "description": "Name of worker pool", "required": true, - "schema": { - "$ref": "#/definitions/HostingEnvironment" - } + "type": "string" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -1748,40 +3280,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HostingEnvironment" - } - }, - "202": { - "description": "Operation is in progress", - "schema": { - "$ref": "#/definitions/HostingEnvironment" + "$ref": "#/definitions/UsageCollection" } - }, - "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}/sites": { + "get": { "tags": [ "HostingEnvironments" ], - "summary": "Delete a hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_DeleteHostingEnvironment", + "summary": "Get all sites on the hostingEnvironment (App Service Environment).", + "operationId": "HostingEnvironments_GetHostingEnvironmentSites", "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -1799,10 +3315,10 @@ "type": "string" }, { - "name": "forceDelete", + "name": "propertiesToInclude", "in": "query", - "description": "Delete even if the hostingEnvironment (App Service Environment) contains resources", - "type": "boolean" + "description": "Comma separated list of site properties to include", + "type": "string" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -1815,42 +3331,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" - } - }, - "202": { - "description": "Operation is in progress", - "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/SiteCollection" } - }, - "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}/serverfarms": { "get": { "tags": [ "HostingEnvironments" ], - "summary": "Get diagnostic information for hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentDiagnostics", + "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": [ { @@ -1878,29 +3376,24 @@ "200": { "description": "OK", "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/HostingEnvironmentDiagnostics" - } + "$ref": "#/definitions/ServerFarmCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics/{diagnosticsName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/webhostingplans": { "get": { "tags": [ "HostingEnvironments" ], - "summary": "Get diagnostic information for hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentDiagnosticsItem", + "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": [ { @@ -1917,13 +3410,6 @@ "required": true, "type": "string" }, - { - "name": "diagnosticsName", - "in": "path", - "description": "Name of the diagnostics", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -1935,20 +3421,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HostingEnvironmentDiagnostics" + "$ref": "#/definitions/ServerFarmCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/compute": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools": { "get": { "tags": [ "HostingEnvironments" ], - "summary": "Get used, available, and total worker capacity for hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentCapacities", + "summary": "Get all multi role pools", + "operationId": "HostingEnvironments_GetMultiRolePools", "consumes": [], "produces": [ "application/json", @@ -1980,20 +3466,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/StampCapacityCollection" + "$ref": "#/definitions/WorkerPoolCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/virtualip": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default": { "get": { "tags": [ "HostingEnvironments" ], - "summary": "Get IP addresses assigned to the hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentVips", + "summary": "Get properties of a multiRool pool.", + "operationId": "HostingEnvironments_GetMultiRolePool", "consumes": [], "produces": [ "application/json", @@ -2027,24 +3513,28 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/AddressResponse" + "$ref": "#/definitions/WorkerPool" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments": { - "get": { + }, + "put": { "tags": [ "HostingEnvironments" ], - "summary": "Get all hostingEnvironments (App Service Environments) in a resource group.", - "operationId": "HostingEnvironments_GetHostingEnvironments", - "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": [ { @@ -2054,6 +3544,22 @@ "required": true, "type": "string" }, + { + "name": "name", + "in": "path", + "description": "Name of hostingEnvironment (App Service Environment)", + "required": true, + "type": "string" + }, + { + "name": "multiRolePoolEnvelope", + "in": "body", + "description": "Properties of multiRole pool", + "required": true, + "schema": { + "$ref": "#/definitions/WorkerPool" + } + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -2065,26 +3571,40 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HostingEnvironmentCollection" + "$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}/reboot": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/skus": { + "get": { "tags": [ "HostingEnvironments" ], - "summary": "Reboots all machines in a hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_RebootHostingEnvironment", + "summary": "Get available skus for scaling a multiRole pool.", + "operationId": "HostingEnvironments_GetMultiRolePoolSkus", "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -2109,38 +3629,27 @@ } ], "responses": { - "202": { - "description": "Asynchronous operation in progress", + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/SkuInfoCollection" } - }, - "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}/workerPools": { "get": { "tags": [ "HostingEnvironments" ], - "summary": "Get status of an operation on a hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentOperation", + "summary": "Get all worker pools", + "operationId": "HostingEnvironments_GetWorkerPools", "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -2157,13 +3666,6 @@ "required": true, "type": "string" }, - { - "name": "operationId", - "in": "path", - "description": "operation identifier GUID", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -2173,38 +3675,28 @@ ], "responses": { "200": { - "description": "Operation completed successfully", - "schema": { - "$ref": "#/definitions/Object" - } - }, - "202": { - "description": "Asynchronous operation in progress", + "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/WorkerPoolCollection" } - }, - "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}/workerPools/{workerPoolName}": { "get": { "tags": [ "HostingEnvironments" ], - "summary": "Get global metrics of hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentMetrics", + "summary": "Get properties of a worker pool.", + "operationId": "HostingEnvironments_GetWorkerPool", "consumes": [], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -2222,15 +3714,10 @@ "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]'.", + "name": "workerPoolName", + "in": "path", + "description": "Name of worker pool", + "required": true, "type": "string" }, { @@ -2244,21 +3731,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/MetricResponseCollection" + "$ref": "#/definitions/WorkerPool" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/metricdefinitions": { - "get": { + }, + "put": { "tags": [ "HostingEnvironments" ], - "summary": "Get global metric definitions of hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentMetricDefinitions", - "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", @@ -2280,6 +3769,22 @@ "required": true, "type": "string" }, + { + "name": "workerPoolName", + "in": "path", + "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" }, @@ -2291,20 +3796,36 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/MetricDefinition" + "$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}/usages": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/skus": { "get": { "tags": [ "HostingEnvironments" ], - "summary": "Get global usages of hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentUsages", + "summary": "Get available skus for scaling a worker pool.", + "operationId": "HostingEnvironments_GetWorkerPoolSkus", "consumes": [], "produces": [ "application/json", @@ -2326,9 +3847,10 @@ "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]'.", + "name": "workerPoolName", + "in": "path", + "description": "Name of worker pool", + "required": true, "type": "string" }, { @@ -2342,24 +3864,26 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/CsmUsageQuotaCollection" + "$ref": "#/definitions/SkuInfoCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metrics": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}/metrics": { "get": { "tags": [ "HostingEnvironments" ], - "summary": "Get metrics for a multiRole pool of a hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentMultiRoleMetrics", + "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": [ { @@ -2377,21 +3901,17 @@ "type": "string" }, { - "name": "startTime", - "in": "query", - "description": "Beginning time of metrics query", - "type": "string" - }, - { - "name": "endTime", - "in": "query", - "description": "End time of metrics query", + "name": "workerPoolName", + "in": "path", + "description": "Name of worker pool", + "required": true, "type": "string" }, { - "name": "timeGrain", - "in": "query", - "description": "Time granularity of metrics query", + "name": "instance", + "in": "path", + "description": "Name of instance in the worker pool", + "required": true, "type": "string" }, { @@ -2417,24 +3937,26 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/MetricResponseCollection" + "$ref": "#/definitions/Object" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerSizeId}/metrics": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}/metricdefinitions": { "get": { "tags": [ "HostingEnvironments" ], - "summary": "Get metrics for a worker pool of a hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentWebWorkerMetrics", + "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": [ { @@ -2452,22 +3974,17 @@ "type": "string" }, { - "name": "workerSizeId", + "name": "workerPoolName", "in": "path", - "description": "Id of worker pool", + "description": "Name 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]'.", + "name": "instance", + "in": "path", + "description": "Name of instance in the worker pool", + "required": true, "type": "string" }, { @@ -2481,24 +3998,26 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/MetricResponseCollection" + "$ref": "#/definitions/Object" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metricdefinitions": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}/metrics": { "get": { "tags": [ "HostingEnvironments" ], - "summary": "Get metric definitions for a multiRole pool of a hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentMultiRoleMetricDefinitions", + "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": [ { @@ -2515,6 +4034,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" }, @@ -2526,24 +4058,26 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/MetricDefinitionCollection" + "$ref": "#/definitions/Object" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerSizeId}/metricdefinitions": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}/metricdefinitions": { "get": { "tags": [ "HostingEnvironments" ], - "summary": "Get metric definitions for a worker pool of a hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentWebWorkerMetricDefinitions", + "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": [ { @@ -2561,9 +4095,9 @@ "type": "string" }, { - "name": "workerSizeId", + "name": "instance", "in": "path", - "description": "Id of worker pool", + "description": "Name of instance in the multiRole pool>", "required": true, "type": "string" }, @@ -2578,20 +4112,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/MetricDefinitionCollection" + "$ref": "#/definitions/Object" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/usages": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/suspend": { + "post": { "tags": [ "HostingEnvironments" ], - "summary": "Get usages for a multiRole pool of a hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentMultiRoleUsages", + "summary": "Suspends the hostingEnvironment.", + "operationId": "HostingEnvironments_SuspendHostingEnvironment", "consumes": [], "produces": [ "application/json", @@ -2623,20 +4157,27 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/UsageCollection" + "$ref": "#/definitions/SiteCollection" + } + }, + "202": { + "description": "Operation is in progress", + "schema": { + "$ref": "#/definitions/SiteCollection" } } }, - "deprecated": false + "deprecated": false, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerSizeId}/usages": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/resume": { + "post": { "tags": [ "HostingEnvironments" ], - "summary": "Get usages for a worker pool of a hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentWebWorkerUsages", + "summary": "Resumes the hostingEnvironment.", + "operationId": "HostingEnvironments_ResumeHostingEnvironment", "consumes": [], "produces": [ "application/json", @@ -2657,13 +4198,6 @@ "required": true, "type": "string" }, - { - "name": "workerSizeId", - "in": "path", - "description": "Id of worker pool", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -2675,49 +4209,33 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/UsageCollection" + "$ref": "#/definitions/SiteCollection" + } + }, + "202": { + "description": "Operation is in progress", + "schema": { + "$ref": "#/definitions/SiteCollection" } } }, - "deprecated": false + "deprecated": false, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/sites": { + "/providers/Microsoft.Web/sourcecontrols": { "get": { "tags": [ - "HostingEnvironments" + "Provider" ], - "summary": "Get all sites on the hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentSites", + "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" - }, - { - "name": "propertiesToInclude", - "in": "query", - "description": "Comma separated list of site properties to include", - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, { "$ref": "#/parameters/apiVersionParameter" } @@ -2726,43 +4244,35 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteCollection" + "$ref": "#/definitions/SourceControlCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/serverfarms": { + "/providers/Microsoft.Web/sourcecontrols/{sourceControlType}": { "get": { "tags": [ - "HostingEnvironments" + "Provider" ], - "summary": "Get all serverfarms (App Service Plans) on the hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentServerFarms", + "summary": "Gets source control token", + "operationId": "Provider_GetSourceControl", "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", + "name": "sourceControlType", "in": "path", - "description": "Name of hostingEnvironment (App Service Environment)", + "description": "Type of source control", "required": true, "type": "string" }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, { "$ref": "#/parameters/apiVersionParameter" } @@ -2771,42 +4281,45 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ServerFarmCollection" + "$ref": "#/definitions/SourceControl" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/webhostingplans": { - "get": { + }, + "put": { "tags": [ - "HostingEnvironments" + "Provider" + ], + "summary": "Updates source control token", + "operationId": "Provider_UpdateSourceControl", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" ], - "summary": "Get all serverfarms (App Service Plans) on the hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetHostingEnvironmentWebHostingPlans", - "consumes": [], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { - "name": "resourceGroupName", + "name": "sourceControlType", "in": "path", - "description": "Name of resource group", + "description": "Type of source control", "required": true, "type": "string" }, { - "name": "name", - "in": "path", - "description": "Name of hostingEnvironment (App Service Environment)", + "name": "requestMessage", + "in": "body", + "description": "Source control token information", "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" + "schema": { + "$ref": "#/definitions/SourceControl" + } }, { "$ref": "#/parameters/apiVersionParameter" @@ -2816,20 +4329,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ServerFarmCollection" + "$ref": "#/definitions/SourceControl" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default": { + "/providers/Microsoft.Web/publishingUsers/{name}": { "get": { "tags": [ - "HostingEnvironments" + "Provider" ], - "summary": "Get properties of a multiRool pool.", - "operationId": "HostingEnvironments_GetMultiRolePool", + "summary": "Gets publishing user", + "operationId": "Provider_GetPublishingUser", "consumes": [], "produces": [ "application/json", @@ -2838,23 +4351,13 @@ "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)", + "description": "Name of user", "required": true, "type": "string" }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, { "$ref": "#/parameters/apiVersionParameter" } @@ -2863,7 +4366,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/WorkerPool" + "$ref": "#/definitions/User" } } }, @@ -2871,10 +4374,10 @@ }, "put": { "tags": [ - "HostingEnvironments" + "Provider" ], - "summary": "Create or update a multiRole pool.", - "operationId": "HostingEnvironments_CreateOrUpdateMultiRolePool", + "summary": "Updates publishing user", + "operationId": "Provider_UpdatePublishingUser", "consumes": [ "application/json", "text/json", @@ -2887,32 +4390,22 @@ "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)", + "description": "Name of user", "required": true, "type": "string" }, { - "name": "multiRolePoolEnvelope", + "name": "requestMessage", "in": "body", - "description": "Properties of multiRole pool", + "description": "Details of publishing user", "required": true, "schema": { - "$ref": "#/definitions/WorkerPool" + "$ref": "#/definitions/User" } }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, { "$ref": "#/parameters/apiVersionParameter" } @@ -2921,36 +4414,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/WorkerPool" - } - }, - "202": { - "description": "Operation is in progress", - "schema": { - "$ref": "#/definitions/WorkerPool" + "$ref": "#/definitions/User" } - }, - "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}/multiRolePools/default/skus": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms": { "get": { "tags": [ - "HostingEnvironments" + "ServerFarms" ], - "summary": "Get available skus for scaling a multiRole pool.", - "operationId": "HostingEnvironments_GetMultiRolePoolSkus", + "summary": "Gets collection of App Service Plans in a resource group for a given subscription.", + "operationId": "ServerFarms_GetServerFarms", "consumes": [], "produces": [ "application/json", @@ -2965,9 +4442,40 @@ "type": "string" }, { - "name": "name", + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ServerFarmCollection" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans": { + "get": { + "tags": [ + "ServerFarms" + ], + "summary": "Gets collection of App Service Plans in a resource group for a given subscription.", + "operationId": "ServerFarms_GetWebHostingPlans", + "consumes": [], + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "name": "resourceGroupName", "in": "path", - "description": "Name of hostingEnvironment (App Service Environment)", + "description": "Name of resource group", "required": true, "type": "string" }, @@ -2982,20 +4490,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SkuInfoCollection" + "$ref": "#/definitions/ServerFarmCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerSizeId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}": { "get": { "tags": [ - "HostingEnvironments" + "ServerFarms" ], - "summary": "Get properties of a worker pool.", - "operationId": "HostingEnvironments_GetWorkerPool", + "summary": "Gets specified App Service Plan in a resource group", + "operationId": "ServerFarms_GetServerFarm", "consumes": [], "produces": [ "application/json", @@ -3014,14 +4522,7 @@ { "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 App Service Plan", "required": true, "type": "string" }, @@ -3036,7 +4537,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/WorkerPool" + "$ref": "#/definitions/ServerFarmWithRichSku" } } }, @@ -3044,10 +4545,10 @@ }, "put": { "tags": [ - "HostingEnvironments" + "ServerFarms" ], - "summary": "Create or update a worker pool.", - "operationId": "HostingEnvironments_CreateOrUpdateWorkerPool", + "summary": "Creates or updates an App Service Plan", + "operationId": "ServerFarms_CreateOrUpdateServerFarm", "consumes": [ "application/json", "text/json", @@ -3070,26 +4571,25 @@ { "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 App Service Plan", "required": true, "type": "string" }, { - "name": "workerPoolEnvelope", + "name": "serverFarmEnvelope", "in": "body", - "description": "Properties of worker pool", + "description": "Details of App Service Plan", "required": true, "schema": { - "$ref": "#/definitions/WorkerPool" + "$ref": "#/definitions/ServerFarmWithRichSku" } }, + { + "name": "allowPendingState", + "in": "query", + "description": "OBSOLETE: If true, allow pending state for App Service Plan", + "type": "boolean" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -3101,40 +4601,31 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/WorkerPool" + "$ref": "#/definitions/ServerFarmWithRichSku" } }, "202": { "description": "Operation is in progress", "schema": { - "$ref": "#/definitions/WorkerPool" + "$ref": "#/definitions/ServerFarmWithRichSku" } - }, - "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}/workerPools/{workerSizeId}/skus": { - "get": { + }, + "delete": { "tags": [ - "HostingEnvironments" + "ServerFarms" ], - "summary": "Get available skus for scaling a worker pool.", - "operationId": "HostingEnvironments_GetWorkerPoolSkus", + "summary": "Deletes a App Service Plan", + "operationId": "ServerFarms_DeleteServerFarm", "consumes": [], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -3147,14 +4638,7 @@ { "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 App Service Plan", "required": true, "type": "string" }, @@ -3169,20 +4653,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SkuInfoCollection" + "$ref": "#/definitions/Object" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerSizeId}/instances/{instance}/metrics": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}": { "get": { "tags": [ - "HostingEnvironments" + "ServerFarms" ], - "summary": "Get metrics for a specific instance of a worker pool of a hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetWorkerPoolInstanceMetrics", + "summary": "Gets specified App Service Plan in a resource group", + "operationId": "ServerFarms_GetWebHostingPlan", "consumes": [], "produces": [ "application/json", @@ -3201,36 +4685,10 @@ { "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", + "description": "Name of App Service Plan", "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" }, @@ -3242,21 +4700,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/ServerFarmWithRichSku" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerSizeId}/instances/{instance}/metricdefinitions": { - "get": { + }, + "put": { "tags": [ - "HostingEnvironments" + "ServerFarms" + ], + "summary": "Creates or updates an App Service Plan", + "operationId": "ServerFarms_CreateOrUpdateWebHostingPlan", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" ], - "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", @@ -3274,23 +4734,24 @@ { "name": "name", "in": "path", - "description": "Name of hostingEnvironment (App Service Environment)", + "description": "Name of App Service Plan", "required": true, "type": "string" }, { - "name": "workerSizeId", - "in": "path", - "description": "Id of worker pool", + "name": "serverFarmEnvelope", + "in": "body", + "description": "Details of App Service Plan", "required": true, - "type": "string" + "schema": { + "$ref": "#/definitions/ServerFarmWithRichSku" + } }, { - "name": "instance", - "in": "path", - "description": "Name of instance in the worker pool", - "required": true, - "type": "string" + "name": "allowPendingState", + "in": "query", + "description": "OBSOLETE: If true, allow pending state for App Service Plan", + "type": "boolean" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -3303,20 +4764,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/ServerFarmWithRichSku" + } + }, + "202": { + "description": "Operation is in progress", + "schema": { + "$ref": "#/definitions/ServerFarmWithRichSku" } } }, - "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}/metrics": { - "get": { + "deprecated": false, + "x-ms-long-running-operation": true + }, + "delete": { "tags": [ - "HostingEnvironments" + "ServerFarms" ], - "summary": "Get metrics for a specific instance of a multiRole pool of a hostingEnvironment (App Service Environment).", - "operationId": "HostingEnvironments_GetMultiRolePoolInstanceMetrics", + "summary": "Deletes a App Service Plan", + "operationId": "ServerFarms_DeleteWebHostingPlan", "consumes": [], "produces": [ "application/json", @@ -3335,23 +4801,10 @@ { "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" }, - { - "name": "details", - "in": "query", - "description": "Include instance details", - "type": "boolean" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -3370,19 +4823,17 @@ "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}/metrics": { "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": "Queries for App Serice Plan metrics", + "operationId": "ServerFarms_GetServerFarmMetrics", "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -3395,15 +4846,20 @@ { "name": "name", "in": "path", - "description": "Name of hostingEnvironment (App Service Environment)", + "description": "Name of App Service Plan", "required": true, "type": "string" }, { - "name": "instance", - "in": "path", - "description": "Name of instance in the multiRole pool>", - "required": true, + "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]'.", "type": "string" }, { @@ -3417,20 +4873,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/ResourceMetricCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/suspend": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/metrics": { + "get": { "tags": [ - "HostingEnvironments" + "ServerFarms" ], - "summary": "Suspends the hostingEnvironment.", - "operationId": "HostingEnvironments_SuspendHostingEnvironment", + "summary": "Queries for App Serice Plan metrics", + "operationId": "ServerFarms_GetWebHostingPlanMetrics", "consumes": [], "produces": [ "application/json", @@ -3447,42 +4903,47 @@ { "name": "name", "in": "path", - "description": "Name of hostingEnvironment (App Service Environment)", + "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": "$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" }, { "$ref": "#/parameters/apiVersionParameter" } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteCollection" - } - }, - "202": { - "description": "Operation is in progress", + ], + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/SiteCollection" + "$ref": "#/definitions/ResourceMetricCollection" } } }, - "deprecated": false, - "x-ms-long-running-operation": true + "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/resume": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/metricdefinitions": { + "get": { "tags": [ - "HostingEnvironments" + "ServerFarms" ], - "summary": "Resumes the hostingEnvironment.", - "operationId": "HostingEnvironments_ResumeHostingEnvironment", + "summary": "List of metrics that can be queried for an App Service Plan", + "operationId": "ServerFarms_GetWebHostingPlanMetricDefinitions", "consumes": [], "produces": [ "application/json", @@ -3499,7 +4960,7 @@ { "name": "name", "in": "path", - "description": "Name of hostingEnvironment (App Service Environment)", + "description": "Name of App Service Plan", "required": true, "type": "string" }, @@ -3514,33 +4975,43 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteCollection" - } - }, - "202": { - "description": "Operation is in progress", - "schema": { - "$ref": "#/definitions/SiteCollection" + "$ref": "#/definitions/MetricDefinitionCollection" } } }, - "deprecated": false, - "x-ms-long-running-operation": true + "deprecated": false } }, - "/providers/Microsoft.Web/sourcecontrols": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/metricdefinitions": { "get": { "tags": [ - "Provider" + "ServerFarms" ], - "summary": "Gets the source controls available for Azure websites", - "operationId": "Provider_GetSourceControls", + "summary": "List of metrics that can be queried for an App Service Plan", + "operationId": "ServerFarms_GetServerFarmMetricDefintions", "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 App Service Plan", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, { "$ref": "#/parameters/apiVersionParameter" } @@ -3549,20 +5020,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SourceControlCollection" + "$ref": "#/definitions/MetricDefinitionCollection" } } }, "deprecated": false } }, - "/providers/Microsoft.Web/sourcecontrols/{sourceControlType}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections": { "get": { "tags": [ - "Provider" + "ServerFarms" ], - "summary": "Gets source control token", - "operationId": "Provider_GetSourceControl", + "summary": "Gets list of vnets associated with App Service Plan", + "operationId": "ServerFarms_GetVnetsForServerFarm", "consumes": [], "produces": [ "application/json", @@ -3572,12 +5043,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,23 +5067,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SourceControl" + "type": "array", + "items": { + "$ref": "#/definitions/VnetInfo" + } } } }, "deprecated": false - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/virtualNetworkConnections": { + "get": { "tags": [ - "Provider" - ], - "summary": "Updates source control token", - "operationId": "Provider_UpdateSourceControl", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" + "ServerFarms" ], + "summary": "Gets list of vnets associated with App Service Plan", + "operationId": "ServerFarms_GetVnetsForWebHostingPlan", + "consumes": [], "produces": [ "application/json", "text/json", @@ -3611,20 +5093,21 @@ ], "parameters": [ { - "name": "sourceControlType", + "name": "resourceGroupName", "in": "path", - "description": "Type of source control", + "description": "Name of resource group", "required": true, "type": "string" }, { - "name": "requestMessage", - "in": "body", - "description": "Source control token information", + "name": "name", + "in": "path", + "description": "Name of App Service Plan", "required": true, - "schema": { - "$ref": "#/definitions/SourceControl" - } + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" }, { "$ref": "#/parameters/apiVersionParameter" @@ -3634,20 +5117,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SourceControl" + "type": "array", + "items": { + "$ref": "#/definitions/VnetInfo" + } } } }, "deprecated": false } }, - "/providers/Microsoft.Web/publishingUsers/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}": { "get": { "tags": [ - "Provider" + "ServerFarms" ], - "summary": "Gets publishing user", - "operationId": "Provider_GetPublishingUser", + "summary": "Gets a vnet associated with an App Service Plan", + "operationId": "ServerFarms_GetVnetFromServerFarm", "consumes": [], "produces": [ "application/json", @@ -3656,13 +5142,30 @@ "text/xml" ], "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "description": "Name of resource group", + "required": true, + "type": "string" + }, { "name": "name", "in": "path", - "description": "Name of user", + "description": "Name of App Service Plan", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of virtual network", "required": true, "type": "string" }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, { "$ref": "#/parameters/apiVersionParameter" } @@ -3671,23 +5174,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/User" + "$ref": "#/definitions/VnetInfo" } + }, + "404": { + "description": "Virtual network could not be found" } }, "deprecated": false - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/virtualNetworkConnections/{vnetName}": { + "get": { "tags": [ - "Provider" - ], - "summary": "Updates publishing user", - "operationId": "Provider_UpdatePublishingUser", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" + "ServerFarms" ], + "summary": "Gets a vnet associated with an App Service Plan", + "operationId": "ServerFarms_GetVnetFromWebHostingPlan", + "consumes": [], "produces": [ "application/json", "text/json", @@ -3695,21 +5199,29 @@ "text/xml" ], "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "description": "Name of resource group", + "required": true, + "type": "string" + }, { "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", + "name": "vnetName", + "in": "path", + "description": "Name of virtual network", "required": true, - "schema": { - "$ref": "#/definitions/User" - } + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" }, { "$ref": "#/parameters/apiVersionParameter" @@ -3719,24 +5231,29 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/User" + "$ref": "#/definitions/VnetInfo" } + }, + "404": { + "description": "Virtual network could not be found" } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes": { "get": { "tags": [ "ServerFarms" ], - "summary": "Gets collection of App Service Plans in a resource group for a given subscription.", - "operationId": "ServerFarms_GetWebHostingPlans", + "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": [ { @@ -3746,6 +5263,20 @@ "required": true, "type": "string" }, + { + "name": "name", + "in": "path", + "description": "Name of App Service Plan", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of virtual network", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -3757,24 +5288,29 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ServerFarmCollection" + "type": "array", + "items": { + "$ref": "#/definitions/VnetRoute" + } } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/virtualNetworkConnections/{vnetName}/routes": { "get": { "tags": [ "ServerFarms" ], - "summary": "Gets collection of App Service Plans in a resource group for a given subscription.", - "operationId": "ServerFarms_GetServerFarms", + "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": [ { @@ -3784,6 +5320,20 @@ "required": true, "type": "string" }, + { + "name": "name", + "in": "path", + "description": "Name of App Service Plan", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of virtual network", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -3795,20 +5345,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ServerFarmCollection" + "type": "array", + "items": { + "$ref": "#/definitions/VnetRoute" + } } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}": { "get": { "tags": [ "ServerFarms" ], - "summary": "Gets specified App Service Plan in a resource group", - "operationId": "ServerFarms_GetWebHostingPlan", + "summary": "Gets a specific route associated with a vnet, in an app service plan", + "operationId": "ServerFarms_GetWebHostingPlanRouteForVnet", "consumes": [], "produces": [ "application/json", @@ -3831,6 +5384,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" }, @@ -3842,8 +5409,14 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ServerFarmWithRichSku" + "type": "array", + "items": { + "$ref": "#/definitions/VnetRoute" + } } + }, + "404": { + "description": "Specified route does not exist" } }, "deprecated": false @@ -3852,8 +5425,8 @@ "tags": [ "ServerFarms" ], - "summary": "Creates or updates an App Service Plan", - "operationId": "ServerFarms_CreateOrUpdateWebHostingPlan", + "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", @@ -3881,20 +5454,28 @@ "type": "string" }, { - "name": "serverFarmEnvelope", + "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": "Details of App Service Plan", + "description": "The route object", "required": true, "schema": { - "$ref": "#/definitions/ServerFarmWithRichSku" + "$ref": "#/definitions/VnetRoute" } }, - { - "name": "allowPendingState", - "in": "query", - "description": "OBSOLETE: If true, allow pending state for App Service Plan", - "type": "boolean" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -3906,25 +5487,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ServerFarmWithRichSku" + "$ref": "#/definitions/VnetRoute" } }, - "202": { - "description": "Operation is in progress", - "schema": { - "$ref": "#/definitions/ServerFarmWithRichSku" - } + "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, - "x-ms-long-running-operation": true + "deprecated": false }, "delete": { "tags": [ "ServerFarms" ], - "summary": "Deletes a App Service Plan", - "operationId": "ServerFarms_DeleteWebHostingPlan", + "summary": "Deletes an existing route for a vnet in an app service plan.", + "operationId": "ServerFarms_DeleteWebHostingPlanVnetRoute", "consumes": [], "produces": [ "application/json", @@ -3947,6 +5527,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" }, @@ -3960,19 +5554,24 @@ "schema": { "$ref": "#/definitions/Object" } + }, + "404": { + "description": "Specified route does not exist." } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}": { - "get": { + }, + "patch": { "tags": [ "ServerFarms" ], - "summary": "Gets specified App Service Plan in a resource group", - "operationId": "ServerFarms_GetServerFarm", - "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", @@ -3994,6 +5593,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" }, @@ -4005,23 +5627,27 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ServerFarmWithRichSku" + "$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 - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}": { + "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 specific route associated with a vnet, in an app service plan", + "operationId": "ServerFarms_GetRouteForVnet", + "consumes": [], "produces": [ "application/json", "text/json", @@ -4044,19 +5670,18 @@ "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" - } + "type": "string" }, { - "name": "allowPendingState", - "in": "query", - "description": "OBSOLETE: If true, allow pending state for App Service Plan", - "type": "boolean" + "name": "routeName", + "in": "path", + "description": "Name of the virtual network route", + "required": true, + "type": "string" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -4069,26 +5694,29 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ServerFarmWithRichSku" + "type": "array", + "items": { + "$ref": "#/definitions/VnetRoute" + } } }, - "202": { - "description": "Operation is in progress", - "schema": { - "$ref": "#/definitions/ServerFarmWithRichSku" - } + "404": { + "description": "Specified route does not exist" } }, - "deprecated": false, - "x-ms-long-running-operation": true + "deprecated": false }, - "delete": { + "put": { "tags": [ "ServerFarms" ], - "summary": "Deletes a App Service Plan", - "operationId": "ServerFarms_DeleteServerFarm", - "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", @@ -4110,6 +5738,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" }, @@ -4121,24 +5772,30 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$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/webhostingplans/{name}/metrics": { - "get": { + }, + "delete": { "tags": [ "ServerFarms" ], - "summary": "Queries for App Serice Plan metrics", - "operationId": "ServerFarms_GetWebHostingPlanMetrics", + "summary": "Deletes an existing route for a vnet in an app service plan.", + "operationId": "ServerFarms_DeleteVnetRoute", "consumes": [], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -4156,15 +5813,17 @@ "type": "string" }, { - "name": "details", - "in": "query", - "description": "If true, metrics are broken down per App Service Plan instance", - "type": "boolean" + "name": "vnetName", + "in": "path", + "description": "Name of virtual network", + "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]'.", + "name": "routeName", + "in": "path", + "description": "Name of the virtual network route", + "required": true, "type": "string" }, { @@ -4178,24 +5837,31 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/MetricResponseCollection" + "$ref": "#/definitions/Object" } + }, + "404": { + "description": "Specified route does not exist." } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/metrics": { - "get": { + }, + "patch": { "tags": [ "ServerFarms" ], - "summary": "Queries for App Serice Plan metrics", - "operationId": "ServerFarms_GetServerFarmMetrics", - "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" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -4213,17 +5879,28 @@ "type": "string" }, { - "name": "details", - "in": "query", - "description": "If true, metrics are broken down per App Service Plan instance", - "type": "boolean" + "name": "vnetName", + "in": "path", + "description": "Name of virtual network", + "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]'.", + "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" }, @@ -4235,24 +5912,32 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/MetricResponseCollection" + "$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}/metricdefinitions": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": { "get": { "tags": [ "ServerFarms" ], - "summary": "List of metrics that can be queried for an App Service Plan", - "operationId": "ServerFarms_GetServerFarmMetricDefintions", + "summary": "Gets the vnet gateway.", + "operationId": "ServerFarms_GetVnetGateway", "consumes": [], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -4265,7 +5950,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 the virtual network", + "required": true, + "type": "string" + }, + { + "name": "gatewayName", + "in": "path", + "description": "Name of the gateway. Only the 'primary' gateway is supported.", "required": true, "type": "string" }, @@ -4280,40 +5979,67 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/MetricDefinitionCollection" + "$ref": "#/definitions/VnetGateway" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/metricdefinitions": { - "get": { + }, + "put": { "tags": [ "ServerFarms" ], - "summary": "List of metrics that can be queried for an App Service Plan", - "operationId": "ServerFarms_GetWebHostingPlanMetricDefinitions", - "consumes": [], + "summary": "Updates the vnet gateway", + "operationId": "ServerFarms_UpdateVnetGateway", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { "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": "The name of the virtual network", + "required": true, + "type": "string" + }, + { + "name": "gatewayName", + "in": "path", + "description": "The name of the gateway. Only 'primary' is supported.", "required": true, "type": "string" }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "The gateway entity.", + "required": true, + "schema": { + "$ref": "#/definitions/VnetGateway" + } + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -4325,20 +6051,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/MetricDefinitionCollection" + "$ref": "#/definitions/VnetGateway" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": { "get": { "tags": [ "ServerFarms" ], - "summary": "Gets list of vnets associated with App Service Plan", - "operationId": "ServerFarms_GetVnetsForServerFarm", + "summary": "Gets the vnet gateway.", + "operationId": "ServerFarms_GetServerFarmVnetGateway", "consumes": [], "produces": [ "application/json", @@ -4357,7 +6083,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 the virtual network", + "required": true, + "type": "string" + }, + { + "name": "gatewayName", + "in": "path", + "description": "Name of the gateway. Only the 'primary' gateway is supported.", "required": true, "type": "string" }, @@ -4372,24 +6112,23 @@ "200": { "description": "OK", "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/VnetInfo" - } + "$ref": "#/definitions/VnetGateway" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/virtualNetworkConnections": { - "get": { + }, + "put": { "tags": [ "ServerFarms" ], - "summary": "Gets list of vnets associated with App Service Plan", - "operationId": "ServerFarms_GetVnetsForWebHostingPlan", - "consumes": [], + "summary": "Updates the vnet gateway", + "operationId": "ServerFarms_UpdateServerFarmVnetGateway", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -4400,17 +6139,40 @@ { "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": "The name of the virtual network", + "required": true, + "type": "string" + }, + { + "name": "gatewayName", + "in": "path", + "description": "The name of the gateway. Only 'primary' is supported.", "required": true, "type": "string" }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "The gateway entity.", + "required": true, + "schema": { + "$ref": "#/definitions/VnetGateway" + } + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -4422,29 +6184,24 @@ "200": { "description": "OK", "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/VnetInfo" - } + "$ref": "#/definitions/VnetGateway" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/sites": { "get": { "tags": [ "ServerFarms" ], - "summary": "Gets a vnet associated with an App Service Plan", - "operationId": "ServerFarms_GetVnetFromServerFarm", + "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": [ { @@ -4462,10 +6219,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": "$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" }, { @@ -4479,29 +6247,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetInfo" + "$ref": "#/definitions/SiteCollection" } - }, - "404": { - "description": "Virtual network could not be found" } }, - "deprecated": false + "deprecated": false, + "x-ms-pageable": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/virtualNetworkConnections/{vnetName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/sites": { "get": { "tags": [ "ServerFarms" ], - "summary": "Gets a vnet associated with an App Service Plan", - "operationId": "ServerFarms_GetVnetFromWebHostingPlan", + "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": [ { @@ -4519,10 +6283,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": "$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" }, { @@ -4536,23 +6311,21 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetInfo" + "$ref": "#/definitions/SiteCollection" } - }, - "404": { - "description": "Virtual network could not be found" } }, - "deprecated": false + "deprecated": false, + "x-ms-pageable": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/workers/{workerName}": { + "post": { "tags": [ "ServerFarms" ], - "summary": "Gets a list of all routes associated with a vnet, in an app service plan", - "operationId": "ServerFarms_GetRoutesForVnet", + "summary": "Submit a reboot request for a worker machine in the specified server farm", + "operationId": "ServerFarms_RebootWorkerForServerFarm", "consumes": [], "produces": [ "application/json", @@ -4571,14 +6344,14 @@ { "name": "name", "in": "path", - "description": "Name of App Service Plan", + "description": "Name of server farm", "required": true, "type": "string" }, { - "name": "vnetName", + "name": "workerName", "in": "path", - "description": "Name of virtual network", + "description": "Name of worker machine, typically IP address", "required": true, "type": "string" }, @@ -4593,23 +6366,20 @@ "200": { "description": "OK", "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/VnetRoute" - } + "$ref": "#/definitions/Object" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/virtualNetworkConnections/{vnetName}/routes": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/workers/{workerName}": { + "post": { "tags": [ "ServerFarms" ], - "summary": "Gets a list of all routes associated with a vnet, in an app service plan", - "operationId": "ServerFarms_GetWebHostingPlanRoutesForVnet", + "summary": "Submit a reboot request for a worker machine in the specified server farm", + "operationId": "ServerFarms_RebootWorkerForWebHostingPlan", "consumes": [], "produces": [ "application/json", @@ -4628,14 +6398,14 @@ { "name": "name", "in": "path", - "description": "Name of App Service Plan", + "description": "Name of server farm", "required": true, "type": "string" }, { - "name": "vnetName", + "name": "workerName", "in": "path", - "description": "Name of virtual network", + "description": "Name of worker machine, typically IP address", "required": true, "type": "string" }, @@ -4650,23 +6420,20 @@ "200": { "description": "OK", "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/VnetRoute" - } + "$ref": "#/definitions/Object" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/restartSites": { + "post": { "tags": [ "ServerFarms" ], - "summary": "Gets a specific route associated with a vnet, in an app service plan", - "operationId": "ServerFarms_GetRouteForVnet", + "summary": "Restarts web apps in a specified App Service Plan", + "operationId": "ServerFarms_RestartSitesForServerFarm", "consumes": [], "produces": [ "application/json", @@ -4690,18 +6457,10 @@ "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": "softRestart", + "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" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -4714,29 +6473,21 @@ "200": { "description": "OK", "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/VnetRoute" - } + "$ref": "#/definitions/Object" } - }, - "404": { - "description": "Specified route does not exist" } }, "deprecated": false - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/operationresults/{operationId}": { + "get": { "tags": [ "ServerFarms" ], - "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" - ], + "summary": "Gets a server farm operation", + "operationId": "ServerFarms_GetServerFarmOperation", + "consumes": [], "produces": [ "application/json", "text/json", @@ -4754,33 +6505,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": "operationId", "in": "path", - "description": "Name of the virtual network route", + "description": "Id of Server farm operation\">", "required": true, "type": "string" }, - { - "name": "route", - "in": "body", - "description": "The route object", - "required": true, - "schema": { - "$ref": "#/definitions/VnetRoute" - } - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -4792,24 +6527,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetRoute" + "$ref": "#/definitions/ServerFarmWithRichSku" } - }, - "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/webhostingplans/{name}/operationresults/{operationId}": { + "get": { "tags": [ "ServerFarms" ], - "summary": "Deletes an existing route for a vnet in an app service plan.", - "operationId": "ServerFarms_DeleteVnetRoute", + "summary": "Gets a server farm operation", + "operationId": "ServerFarms_GetWebHostingPlanOperation", "consumes": [], "produces": [ "application/json", @@ -4828,21 +6559,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": "operationId", "in": "path", - "description": "Name of the virtual network route", + "description": "Id of Server farm operation\">", "required": true, "type": "string" }, @@ -4857,31 +6581,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/ServerFarmWithRichSku" } - }, - "404": { - "description": "Specified route does not exist." } }, "deprecated": false - }, - "patch": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots": { + "get": { "tags": [ - "ServerFarms" - ], - "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" + "Sites" ], + "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": [ { @@ -4894,33 +6611,16 @@ { "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 web app", "required": true, "type": "string" }, { - "name": "routeName", - "in": "path", - "description": "Name of the virtual network route", - "required": true, + "name": "propertiesToInclude", + "in": "query", + "description": "List of app properties to include in the response", "type": "string" }, - { - "name": "route", - "in": "body", - "description": "The route object", - "required": true, - "schema": { - "$ref": "#/definitions/VnetRoute" - } - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -4932,32 +6632,24 @@ "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 } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites": { "get": { "tags": [ - "ServerFarms" + "Sites" ], - "summary": "Gets a specific route associated with a vnet, in an app service plan", - "operationId": "ServerFarms_GetWebHostingPlanRouteForVnet", + "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": [ { @@ -4968,24 +6660,15 @@ "type": "string" }, { - "name": "name", - "in": "path", - "description": "Name of App Service Plan", - "required": true, - "type": "string" - }, - { - "name": "vnetName", - "in": "path", - "description": "Name of virtual network", - "required": true, + "name": "propertiesToInclude", + "in": "query", + "description": "Additional web app properties included in the response", "type": "string" }, { - "name": "routeName", - "in": "path", - "description": "Name of the virtual network route", - "required": true, + "name": "includeSiteTypes", + "in": "query", + "description": "Types of apps included in the response", "type": "string" }, { @@ -4999,29 +6682,21 @@ "200": { "description": "OK", "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/VnetRoute" - } + "$ref": "#/definitions/SiteCollection" } - }, - "404": { - "description": "Specified route does not exist" } }, "deprecated": false - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}": { + "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" + "Sites" ], + "summary": "Get details of a web app", + "operationId": "Sites_GetSite", + "consumes": [], "produces": [ "application/json", "text/json", @@ -5039,33 +6714,16 @@ { "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 web app", "required": true, "type": "string" }, { - "name": "routeName", - "in": "path", - "description": "Name of the virtual network route", - "required": true, + "name": "propertiesToInclude", + "in": "query", + "description": "Additional web app properties included in the response", "type": "string" }, - { - "name": "route", - "in": "body", - "description": "The route object", - "required": true, - "schema": { - "$ref": "#/definitions/VnetRoute" - } - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -5077,25 +6735,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetRoute" + "$ref": "#/definitions/Site" } - }, - "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": { + "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": "Deletes an existing route for a vnet in an app service plan.", - "operationId": "ServerFarms_DeleteWebHostingPlanVnetRoute", - "consumes": [], "produces": [ "application/json", "text/json", @@ -5106,29 +6762,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 App Service Plan", + "description": "Name of the web app", "required": true, "type": "string" }, { - "name": "vnetName", - "in": "path", - "description": "Name of virtual network", + "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": "routeName", - "in": "path", - "description": "Name of the virtual network route", - "required": true, + "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" }, { @@ -5142,26 +6817,26 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/Site" } }, - "404": { - "description": "Specified route does not exist." + "202": { + "description": "Asynchronous operation in progress", + "schema": { + "$ref": "#/definitions/Site" + } } }, - "deprecated": false + "deprecated": false, + "x-ms-long-running-operation": true }, - "patch": { + "delete": { "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" + "Sites" ], + "summary": "Deletes a web app", + "operationId": "Sites_DeleteSite", + "consumes": [], "produces": [ "application/json", "text/json", @@ -5179,32 +6854,33 @@ { "name": "name", "in": "path", - "description": "Name of App Service Plan", + "description": "Name of web app", "required": true, "type": "string" }, { - "name": "vnetName", - "in": "path", - "description": "Name of virtual network", - "required": true, + "name": "deleteMetrics", + "in": "query", + "description": "If true, web app metrics are also deleted", "type": "string" }, { - "name": "routeName", - "in": "path", - "description": "Name of the virtual network route", - "required": true, + "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": "route", - "in": "body", - "description": "The route object", - "required": true, - "schema": { - "$ref": "#/definitions/VnetRoute" - } + "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" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -5217,30 +6893,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": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}": { "get": { "tags": [ - "ServerFarms" + "Sites" ], - "summary": "Gets list of Apps associated with an App Service Plan", - "operationId": "ServerFarms_GetServerFarmSites", + "summary": "Get details of a web app", + "operationId": "Sites_GetSiteSlot", "consumes": [], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -5253,26 +6925,21 @@ { "name": "name", "in": "path", - "description": "Name of App Service Plan", + "description": "Name of web app", "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", + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, "type": "string" }, { - "name": "$top", + "name": "propertiesToInclude", "in": "query", - "description": "List page size. If specified, results are paged.", + "description": "Additional web app properties included in the response", "type": "string" }, { @@ -5286,57 +6953,82 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteCollection" + "$ref": "#/definitions/Site" } } }, - "deprecated": false, - "x-ms-pageable": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/sites": { - "get": { + "deprecated": false + }, + "put": { "tags": [ - "ServerFarms" + "Sites" + ], + "summary": "Creates a new web app or modifies an existing web app.", + "operationId": "Sites_CreateOrUpdateSiteSlot", + "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" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { "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 App Service Plan", + "description": "Name of the web app", "required": true, "type": "string" }, { - "name": "$skipToken", + "name": "siteEnvelope", + "in": "body", + "description": "Details of web app if it exists already", + "required": true, + "schema": { + "$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", - "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", + "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": "$filter", + "name": "skipCustomDomainVerification", "in": "query", - "description": "Supported filter: $filter=state eq running. Returns only web apps that are currently running", + "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": "$top", + "name": "ttlInSeconds", "in": "query", - "description": "List page size. If specified, results are paged.", + "description": "Time to live in seconds for web app's default domain name", "type": "string" }, { @@ -5350,21 +7042,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteCollection" + "$ref": "#/definitions/Site" + } + }, + "202": { + "description": "Asynchronous operation in progress", + "schema": { + "$ref": "#/definitions/Site" } } }, "deprecated": false, - "x-ms-pageable": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/workers/{workerName}": { - "post": { + "x-ms-long-running-operation": true + }, + "delete": { "tags": [ - "ServerFarms" + "Sites" ], - "summary": "Submit a reboot request for a worker machine in the specified server farm", - "operationId": "ServerFarms_RebootWorkerForServerFarm", + "summary": "Deletes a web app", + "operationId": "Sites_DeleteSiteSlot", "consumes": [], "produces": [ "application/json", @@ -5383,17 +7079,41 @@ { "name": "name", "in": "path", - "description": "Name of server farm", + "description": "Name of web app", "required": true, "type": "string" }, { - "name": "workerName", + "name": "slot", "in": "path", - "description": "Name of worker machine, typically IP address", + "description": "Name of web app slot. If not specified then will default to production slot.", "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", + "type": "string" + }, + { + "name": "deleteAllSlots", + "in": "query", + "description": "If true, all slots associated with web app are also deleted", + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -5412,14 +7132,20 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/workers/{workerName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/recover": { "post": { "tags": [ - "ServerFarms" + "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": "Submit a reboot request for a worker machine in the specified server farm", - "operationId": "ServerFarms_RebootWorkerForWebHostingPlan", - "consumes": [], "produces": [ "application/json", "text/json", @@ -5437,16 +7163,18 @@ { "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", + "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" + "schema": { + "$ref": "#/definitions/CsmSiteRecoveryEntity" + } }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -5466,14 +7194,20 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/restartSites": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/recover": { "post": { "tags": [ - "ServerFarms" + "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": "Restarts web apps in a specified App Service Plan", - "operationId": "ServerFarms_RestartSitesForServerFarm", - "consumes": [], "produces": [ "application/json", "text/json", @@ -5491,15 +7225,25 @@ { "name": "name", "in": "path", - "description": "Name of App Service Plan", + "description": "Name of web app", "required": true, "type": "string" }, { - "name": "softRestart", - "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" + "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" @@ -5519,13 +7263,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/operationresults/{operationId}": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restorableSnapshots": { + "put": { "tags": [ - "ServerFarms" + "Sites" ], - "summary": "Gets a server farm operation", - "operationId": "ServerFarms_GetWebHostingPlanOperation", + "summary": "Returns Snapshots to the user based on their SKU.", + "operationId": "Sites_GetSiteSnapshotsOnSku", "consumes": [], "produces": [ "application/json", @@ -5535,23 +7279,29 @@ ], "parameters": [ { - "name": "resourceGroupName", - "in": "path", - "description": "Name of resource group", + "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": "Name of server farm", + "description": "Website Name", "required": true, "type": "string" }, { - "name": "operationId", + "name": "resourceGroupName", "in": "path", - "description": "Id of Server farm operation\">", "required": true, "type": "string" }, @@ -5566,20 +7316,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ServerFarmWithRichSku" + "$ref": "#/definitions/Object" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/operationresults/{operationId}": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restorableSnapshots": { + "put": { "tags": [ - "ServerFarms" + "Sites" ], - "summary": "Gets a server farm operation", - "operationId": "ServerFarms_GetServerFarmOperation", + "summary": "Returns Snapshots to the user based on their SKU.", + "operationId": "Sites_GetSiteSnapshotsOnSkuSlot", "consumes": [], "produces": [ "application/json", @@ -5589,74 +7339,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 server farm", + "name": "webspaceName", + "in": "query", + "description": "Webspace", "required": true, "type": "string" }, { - "name": "operationId", + "name": "name", "in": "path", - "description": "Id of Server farm operation\">", + "description": "Website Name", "required": true, "type": "string" }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ServerFarmWithRichSku" - } - } - }, - "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites": { - "get": { - "tags": [ - "Sites" - ], - "summary": "Gets the web apps for a subscription in the specified resource group", - "operationId": "Sites_GetSites", - "consumes": [], - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ { "name": "resourceGroupName", "in": "path", - "description": "Name of resource group", "required": true, "type": "string" }, { - "name": "propertiesToInclude", - "in": "query", - "description": "Additional web app properties included in the response", - "type": "string" - }, - { - "name": "includeSiteTypes", - "in": "query", - "description": "Types of apps included in the response", + "name": "slot", + "in": "path", + "required": true, "type": "string" }, { @@ -5670,20 +7382,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteCollection" + "$ref": "#/definitions/Object" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/snapshots": { + "put": { "tags": [ "Sites" ], - "summary": "Get details of a web app", - "operationId": "Sites_GetSite", + "summary": "Returns all Snapshots to the user.", + "operationId": "Sites_GetSiteSnapshots", "consumes": [], "produces": [ "application/json", @@ -5693,23 +7405,30 @@ ], "parameters": [ { - "name": "resourceGroupName", - "in": "path", - "description": "Name of resource group", + "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": "Name of web app", + "description": "Website Name", "required": true, "type": "string" }, { - "name": "propertiesToInclude", - "in": "query", - "description": "Additional web app properties included in the response", + "name": "resourceGroupName", + "in": "path", + "required": true, "type": "string" }, { @@ -5723,23 +7442,21 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Site" + "$ref": "#/definitions/Object" } } }, "deprecated": false - }, + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/snapshots": { "put": { "tags": [ "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": "Returns all Snapshots to the user.", + "operationId": "Sites_GetSiteSnapshotsSlot", + "consumes": [], "produces": [ "application/json", "text/json", @@ -5748,50 +7465,36 @@ ], "parameters": [ { - "name": "resourceGroupName", - "in": "path", - "description": "Name of the resource group", + "name": "subscriptionName", + "in": "query", + "description": "Azure subscription", "required": true, "type": "string" }, { - "name": "name", - "in": "path", - "description": "Name of the web app", + "name": "webspaceName", + "in": "query", + "description": "Webspace", "required": true, "type": "string" }, { - "name": "siteEnvelope", - "in": "body", - "description": "Details of web app if it exists already", + "name": "name", + "in": "path", + "description": "Website Name", "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", + "name": "resourceGroupName", + "in": "path", + "required": true, "type": "string" }, { - "name": "ttlInSeconds", - "in": "query", - "description": "Time to live in seconds for web app's default domain name", + "name": "slot", + "in": "path", + "required": true, "type": "string" }, { @@ -5805,31 +7508,24 @@ "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/deletedSites": { + "get": { "tags": [ "Sites" ], - "summary": "Deletes a web app", - "operationId": "Sites_DeleteSite", + "summary": "Gets deleted web apps in subscription", + "operationId": "Sites_GetDeletedSites", "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -5840,34 +7536,15 @@ "type": "string" }, { - "name": "name", - "in": "path", - "description": "Name of web app", - "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", + "name": "propertiesToInclude", "in": "query", - "description": "If true, DNS registration is skipped", + "description": "Additional web app properties included in the response", "type": "string" }, { - "name": "deleteAllSlots", + "name": "includeSiteTypes", "in": "query", - "description": "If true, all slots associated with web app are also deleted", + "description": "Types of apps included in the response", "type": "string" }, { @@ -5881,26 +7558,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/DeletedSiteCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances": { "get": { "tags": [ "Sites" ], - "summary": "Get details of a web app", - "operationId": "Sites_GetSiteSlot", + "summary": "Gets all instance of a web app", + "operationId": "Sites_GetSiteInstanceIdentifiers", "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -5917,19 +7592,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": "propertiesToInclude", - "in": "query", - "description": "Additional web app properties included in the response", - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -5941,53 +7603,40 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Site" + "$ref": "#/definitions/SiteInstanceCollection" } } }, "deprecated": false - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances": { + "get": { "tags": [ "Sites" ], - "summary": "Creates a new web app or modifies an existing web app.", - "operationId": "Sites_CreateOrUpdateSiteSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "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": "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", - "in": "body", - "description": "Details of web app if it exists already", - "required": true, - "schema": { - "$ref": "#/definitions/Site" - } - }, { "name": "slot", "in": "path", @@ -5995,30 +7644,6 @@ "required": true, "type": "string" }, - { - "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" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -6030,31 +7655,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Site" - } - }, - "202": { - "description": "Asynchronous operation in progress", - "schema": { - "$ref": "#/definitions/Site" + "$ref": "#/definitions/SiteInstanceCollection" } } }, - "deprecated": false, - "x-ms-long-running-operation": true - }, - "delete": { + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings": { + "get": { "tags": [ "Sites" ], - "summary": "Deletes a web app", - "operationId": "Sites_DeleteSiteSlot", + "summary": "Get web app hostname bindings", + "operationId": "Sites_GetSiteHostNameBindingsSlot", "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -6078,30 +7696,6 @@ "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", - "type": "string" - }, - { - "name": "deleteAllSlots", - "in": "query", - "description": "If true, all slots associated with web app are also deleted", - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -6113,32 +7707,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/HostNameBindingCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/recover": { - "post": { - "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" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings": { + "get": { + "tags": [ + "Sites" ], + "summary": "Get web app hostname bindings", + "operationId": "Sites_GetSiteHostNameBindings", + "consumes": [], "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -6155,15 +7741,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" - } - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -6175,27 +7752,21 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/HostNameBindingCollection" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/recover": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}": { + "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": "Get web app binding for a hostname", + "operationId": "Sites_GetSiteHostNameBinding", + "consumes": [], "produces": [ "application/json", "text/json", @@ -6218,18 +7789,9 @@ "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", + "name": "hostName", "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", + "description": "Name of host", "required": true, "type": "string" }, @@ -6244,21 +7806,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/HostNameBinding" } } }, "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": [], + "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", @@ -6267,37 +7831,34 @@ ], "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": "hostName", "in": "path", + "description": "Name of host", "required": true, "type": "string" }, { - "name": "slot", - "in": "path", + "name": "hostNameBinding", + "in": "body", + "description": "Host name binding information", "required": true, - "type": "string" + "schema": { + "$ref": "#/definitions/HostNameBinding" + } }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -6310,20 +7871,18 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/HostNameBinding" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restorableSnapshots": { - "put": { + }, + "delete": { "tags": [ "Sites" ], - "summary": "Returns Snapshots to the user based on their SKU.", - "operationId": "Sites_GetSiteSnapshotsOnSku", + "summary": "Deletes a host name binding", + "operationId": "Sites_DeleteSiteHostNameBinding", "consumes": [], "produces": [ "application/json", @@ -6333,29 +7892,23 @@ ], "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": "hostName", "in": "path", + "description": "Name of host", "required": true, "type": "string" }, @@ -6377,13 +7930,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/snapshots": { - "put": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}": { + "get": { "tags": [ "Sites" ], - "summary": "Returns all Snapshots to the user.", - "operationId": "Sites_GetSiteSnapshots", + "summary": "Get web app binding for a hostname", + "operationId": "Sites_GetSiteHostNameBindingSlot", "consumes": [], "produces": [ "application/json", @@ -6393,29 +7946,30 @@ ], "parameters": [ { - "name": "subscriptionName", - "in": "query", - "description": "Azure subscription", + "name": "resourceGroupName", + "in": "path", + "description": "Name of resource group", "required": true, "type": "string" }, { - "name": "webspaceName", - "in": "query", - "description": "Webspace", + "name": "name", + "in": "path", + "description": "Name of web app", "required": true, "type": "string" }, { - "name": "name", + "name": "slot", "in": "path", - "description": "Website Name", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, { - "name": "resourceGroupName", + "name": "hostName", "in": "path", + "description": "Name of host", "required": true, "type": "string" }, @@ -6430,21 +7984,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/HostNameBinding" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/snapshots": { + }, "put": { "tags": [ "Sites" ], - "summary": "Returns all Snapshots to the user.", - "operationId": "Sites_GetSiteSnapshotsSlot", - "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", @@ -6453,35 +8009,39 @@ ], "parameters": [ { - "name": "subscriptionName", - "in": "query", - "description": "Azure subscription", + "name": "resourceGroupName", + "in": "path", + "description": "Name of resource group", "required": true, "type": "string" }, { - "name": "webspaceName", - "in": "query", - "description": "Webspace", + "name": "name", + "in": "path", + "description": "Name of web app", "required": true, "type": "string" }, { - "name": "name", + "name": "hostName", "in": "path", - "description": "Website Name", + "description": "Name of host", "required": true, "type": "string" }, { - "name": "resourceGroupName", - "in": "path", + "name": "hostNameBinding", + "in": "body", + "description": "Host name binding information", "required": true, - "type": "string" + "schema": { + "$ref": "#/definitions/HostNameBinding" + } }, { "name": "slot", "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, @@ -6496,24 +8056,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/HostNameBinding" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/deletedSites": { - "get": { + }, + "delete": { "tags": [ "Sites" ], - "summary": "Gets deleted web apps in subscription", - "operationId": "Sites_GetDeletedSites", + "summary": "Deletes a host name binding", + "operationId": "Sites_DeleteSiteHostNameBindingSlot", "consumes": [], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -6524,59 +8084,23 @@ "type": "string" }, { - "name": "propertiesToInclude", - "in": "query", - "description": "Additional web app properties included in the response", - "type": "string" - }, - { - "name": "includeSiteTypes", - "in": "query", - "description": "Types of apps included in the response", + "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/DeletedSiteCollection" - } - } - }, - "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances": { - "get": { - "tags": [ - "Sites" - ], - "summary": "Gets all instance of a web app", - "operationId": "Sites_GetSiteInstanceIdentifiers", - "consumes": [], - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "name": "resourceGroupName", + "name": "slot", "in": "path", - "description": "Name of resource group", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, { - "name": "name", + "name": "hostName", "in": "path", - "description": "Name of web app", + "description": "Name of host", "required": true, "type": "string" }, @@ -6591,24 +8115,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}/config/web": { "get": { "tags": [ "Sites" ], - "summary": "Gets all instance of a web app", - "operationId": "Sites_GetSiteInstanceIdentifiersSlot", + "summary": "Gets the configuration of the web app", + "operationId": "Sites_GetSiteConfig", "consumes": [], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -6625,13 +8151,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" }, @@ -6643,24 +8162,28 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteInstanceCollection" + "$ref": "#/definitions/SiteConfig" } } }, "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": "Update the configuration of web app", + "operationId": "Sites_CreateOrUpdateSiteConfig", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -6678,11 +8201,13 @@ "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" + } }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -6695,24 +8220,28 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HostNameBindingCollection" + "$ref": "#/definitions/SiteConfig" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings": { - "get": { + }, + "patch": { "tags": [ "Sites" ], - "summary": "Get web app hostname bindings", - "operationId": "Sites_GetSiteHostNameBindings", - "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" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -6729,6 +8258,15 @@ "required": true, "type": "string" }, + { + "name": "siteConfig", + "in": "body", + "description": "Request body that contains the configuraiton setting for the web app", + "required": true, + "schema": { + "$ref": "#/definitions/SiteConfig" + } + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -6740,20 +8278,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HostNameBindingCollection" + "$ref": "#/definitions/SiteConfig" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/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_GetSiteHostNameBinding", + "summary": "Gets the configuration of the web app", + "operationId": "Sites_GetSiteConfigSlot", "consumes": [], "produces": [ "application/json", @@ -6777,9 +8315,9 @@ "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" }, @@ -6794,7 +8332,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HostNameBinding" + "$ref": "#/definitions/SiteConfig" } } }, @@ -6804,8 +8342,8 @@ "tags": [ "Sites" ], - "summary": "Creates a web app hostname binding", - "operationId": "Sites_CreateOrUpdateSiteHostNameBinding", + "summary": "Update the configuration of web app", + "operationId": "Sites_CreateOrUpdateSiteConfigSlot", "consumes": [ "application/json", "text/json", @@ -6833,21 +8371,21 @@ "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" } }, + { + "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" }, @@ -6859,19 +8397,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_UpdateSiteConfigSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -6894,9 +8436,18 @@ "type": "string" }, { - "name": "hostName", + "name": "siteConfig", + "in": "body", + "description": "Request body that contains the configuraiton setting for the web app", + "required": true, + "schema": { + "$ref": "#/definitions/SiteConfig" + } + }, + { + "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" }, @@ -6911,20 +8462,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}/sourcecontrols/web": { "get": { "tags": [ "Sites" ], - "summary": "Get web app binding for a hostname", - "operationId": "Sites_GetSiteHostNameBindingSlot", + "summary": "Get the source control configuration of web app", + "operationId": "Sites_GetSiteSourceControl", "consumes": [], "produces": [ "application/json", @@ -6947,20 +8498,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, - { - "name": "hostName", - "in": "path", - "description": "Name of host", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -6972,7 +8509,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HostNameBinding" + "$ref": "#/definitions/SiteSourceControl" } } }, @@ -6982,8 +8519,8 @@ "tags": [ "Sites" ], - "summary": "Creates a web app hostname binding", - "operationId": "Sites_CreateOrUpdateSiteHostNameBindingSlot", + "summary": "Update the source control configuration of web app", + "operationId": "Sites_CreateOrUpdateSiteSourceControl", "consumes": [ "application/json", "text/json", @@ -7011,28 +8548,14 @@ "type": "string" }, { - "name": "hostName", - "in": "path", - "description": "Name of host", - "required": true, - "type": "string" - }, - { - "name": "hostNameBinding", + "name": "siteSourceControl", "in": "body", - "description": "Host name binding information", + "description": "Request body that contains the source control parameters", "required": true, "schema": { - "$ref": "#/definitions/HostNameBinding" + "$ref": "#/definitions/SiteSourceControl" } }, - { - "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" }, @@ -7044,7 +8567,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HostNameBinding" + "$ref": "#/definitions/SiteSourceControl" } } }, @@ -7054,8 +8577,8 @@ "tags": [ "Sites" ], - "summary": "Deletes a host name binding", - "operationId": "Sites_DeleteSiteHostNameBindingSlot", + "summary": "Delete source control configuration of web app", + "operationId": "Sites_DeleteSiteSourceControl", "consumes": [], "produces": [ "application/json", @@ -7079,19 +8602,63 @@ "type": "string" }, { - "name": "slot", + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Object" + } + } + }, + "deprecated": false + }, + "patch": { + "tags": [ + "Sites" + ], + "summary": "Update the source control configuration of web app", + "operationId": "Sites_UpdateSiteSourceControl", + "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 web app slot. If not specified then will default to production slot.", + "description": "Name of resource group", "required": true, "type": "string" }, { - "name": "hostName", + "name": "name", "in": "path", - "description": "Name of host", + "description": "Name of web app", "required": true, "type": "string" }, + { + "name": "siteSourceControl", + "in": "body", + "description": "Request body that contains the source control parameters", + "required": true, + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -7103,20 +8670,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/SiteSourceControl" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/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_GetSiteConfig", + "summary": "Get the source control configuration of web app", + "operationId": "Sites_GetSiteSourceControlSlot", "consumes": [], "produces": [ "application/json", @@ -7139,6 +8706,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" }, @@ -7150,7 +8724,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteConfig" + "$ref": "#/definitions/SiteSourceControl" } } }, @@ -7160,8 +8734,8 @@ "tags": [ "Sites" ], - "summary": "Update the configuration of web app", - "operationId": "Sites_CreateOrUpdateSiteConfig", + "summary": "Update the source control configuration of web app", + "operationId": "Sites_CreateOrUpdateSiteSourceControlSlot", "consumes": [ "application/json", "text/json", @@ -7189,14 +8763,21 @@ "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" } }, + { + "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" }, @@ -7208,23 +8789,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteConfig" + "$ref": "#/definitions/SiteSourceControl" } } }, "deprecated": false }, - "patch": { + "delete": { "tags": [ "Sites" ], - "summary": "Update the configuration of web app", - "operationId": "Sites_UpdateSiteConfig", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Delete source control configuration of web app", + "operationId": "Sites_DeleteSiteSourceControlSlot", + "consumes": [], "produces": [ "application/json", "text/json", @@ -7247,13 +8824,11 @@ "type": "string" }, { - "name": "siteConfig", - "in": "body", - "description": "Request body that contains the configuraiton setting for the web app", + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, - "schema": { - "$ref": "#/definitions/SiteConfig" - } + "type": "string" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -7266,21 +8841,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteConfig" + "$ref": "#/definitions/Object" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web": { - "get": { + }, + "patch": { "tags": [ "Sites" ], - "summary": "Gets the configuration of the web app", - "operationId": "Sites_GetSiteConfigSlot", - "consumes": [], + "summary": "Update the source control configuration of web app", + "operationId": "Sites_UpdateSiteSourceControlSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -7302,6 +8879,15 @@ "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", @@ -7320,23 +8906,21 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteConfig" + "$ref": "#/definitions/SiteSourceControl" } } }, "deprecated": false - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings/list": { + "post": { "tags": [ "Sites" ], - "summary": "Update the configuration of web app", - "operationId": "Sites_CreateOrUpdateSiteConfigSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Gets the application settings of web app", + "operationId": "Sites_ListSiteAppSettings", + "consumes": [], "produces": [ "application/json", "text/json", @@ -7358,22 +8942,6 @@ "required": true, "type": "string" }, - { - "name": "siteConfig", - "in": "body", - "description": "Request body that contains the configuraiton setting for the web app", - "required": true, - "schema": { - "$ref": "#/definitions/SiteConfig" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -7385,23 +8953,21 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteConfig" + "$ref": "#/definitions/StringDictionary" } } }, "deprecated": false - }, - "patch": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings/list": { + "post": { "tags": [ "Sites" ], - "summary": "Update the configuration of web app", - "operationId": "Sites_UpdateSiteConfigSlot", - "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", @@ -7423,15 +8989,6 @@ "required": true, "type": "string" }, - { - "name": "siteConfig", - "in": "body", - "description": "Request body that contains the configuraiton setting for the web app", - "required": true, - "schema": { - "$ref": "#/definitions/SiteConfig" - } - }, { "name": "slot", "in": "path", @@ -7450,21 +9007,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteConfig" + "$ref": "#/definitions/StringDictionary" } } }, "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": { + "put": { "tags": [ "Sites" ], - "summary": "Get the source control configuration of web app", - "operationId": "Sites_GetSiteSourceControl", - "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", @@ -7486,6 +9047,15 @@ "required": true, "type": "string" }, + { + "name": "appSettings", + "in": "body", + "description": "Application settings of web app", + "required": true, + "schema": { + "$ref": "#/definitions/StringDictionary" + } + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -7497,18 +9067,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteSourceControl" + "$ref": "#/definitions/StringDictionary" } } }, "deprecated": false - }, + } + }, + "/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_CreateOrUpdateSiteSourceControl", + "summary": "Updates the application settings of web app", + "operationId": "Sites_UpdateSiteAppSettingsSlot", "consumes": [ "application/json", "text/json", @@ -7536,14 +9108,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" }, @@ -7555,18 +9134,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteSourceControl" + "$ref": "#/definitions/StringDictionary" } } }, "deprecated": false - }, - "delete": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/connectionstrings/list": { + "post": { "tags": [ "Sites" ], - "summary": "Delete source control configuration of web app", - "operationId": "Sites_DeleteSiteSourceControl", + "summary": "Gets the connection strings associated with web app", + "operationId": "Sites_ListSiteConnectionStrings", "consumes": [], "produces": [ "application/json", @@ -7600,23 +9181,21 @@ "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/list": { + "post": { "tags": [ "Sites" ], - "summary": "Update the source control configuration of web app", - "operationId": "Sites_UpdateSiteSourceControl", - "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", @@ -7639,13 +9218,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" @@ -7658,21 +9235,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteSourceControl" + "$ref": "#/definitions/ConnectionStringDictionary" } } }, "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": { + "put": { "tags": [ "Sites" ], - "summary": "Get the source control configuration of web app", - "operationId": "Sites_GetSiteSourceControlSlot", - "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", @@ -7694,12 +9275,14 @@ "required": true, "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" @@ -7712,18 +9295,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteSourceControl" + "$ref": "#/definitions/ConnectionStringDictionary" } } }, "deprecated": false - }, + } + }, + "/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_CreateOrUpdateSiteSourceControlSlot", + "summary": "Updates the connection strings associated with web app", + "operationId": "Sites_UpdateSiteConnectionStringsSlot", "consumes": [ "application/json", "text/json", @@ -7751,12 +9336,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" } }, { @@ -7777,18 +9362,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteSourceControl" + "$ref": "#/definitions/ConnectionStringDictionary" } } }, "deprecated": false - }, - "delete": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/publishingcredentials/list": { + "post": { "tags": [ "Sites" ], - "summary": "Delete source control configuration of web app", - "operationId": "Sites_DeleteSiteSourceControlSlot", + "summary": "Gets the web app publishing credentials", + "operationId": "Sites_ListSitePublishingCredentials", "consumes": [], "produces": [ "application/json", @@ -7811,13 +9398,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" }, @@ -7829,23 +9409,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/User" } } }, - "deprecated": false - }, - "patch": { + "deprecated": false, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/publishingcredentials/list": { + "post": { "tags": [ "Sites" ], - "summary": "Update the source control configuration of web app", - "operationId": "Sites_UpdateSiteSourceControlSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Gets the web app publishing credentials", + "operationId": "Sites_ListSitePublishingCredentialsSlot", + "consumes": [], "produces": [ "application/json", "text/json", @@ -7867,15 +9446,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", @@ -7894,20 +9464,21 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteSourceControl" + "$ref": "#/definitions/User" } } }, - "deprecated": false + "deprecated": false, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings/list": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata/list": { "post": { "tags": [ "Sites" ], - "summary": "Gets the application settings of web app", - "operationId": "Sites_ListSiteAppSettings", + "summary": "Gets the web app meta data.", + "operationId": "Sites_ListSiteMetadata", "consumes": [], "produces": [ "application/json", @@ -7948,13 +9519,13 @@ "deprecated": false } }, - "/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/metadata/list": { "post": { "tags": [ "Sites" ], - "summary": "Gets the application settings of web app", - "operationId": "Sites_ListSiteAppSettingsSlot", + "summary": "Gets the web app meta data.", + "operationId": "Sites_ListSiteMetadataSlot", "consumes": [], "produces": [ "application/json", @@ -8002,13 +9573,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata": { "put": { "tags": [ "Sites" ], - "summary": "Updates the application settings of web app", - "operationId": "Sites_UpdateSiteAppSettings", + "summary": "Updates the meta data for web app", + "operationId": "Sites_UpdateSiteMetadata", "consumes": [ "application/json", "text/json", @@ -8036,9 +9607,9 @@ "type": "string" }, { - "name": "appSettings", + "name": "metadata", "in": "body", - "description": "Application settings of web app", + "description": "Meta data of web app", "required": true, "schema": { "$ref": "#/definitions/StringDictionary" @@ -8062,13 +9633,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata": { "put": { "tags": [ "Sites" ], - "summary": "Updates the application settings of web app", - "operationId": "Sites_UpdateSiteAppSettingsSlot", + "summary": "Updates the meta data for web app", + "operationId": "Sites_UpdateSiteMetadataSlot", "consumes": [ "application/json", "text/json", @@ -8096,9 +9667,9 @@ "type": "string" }, { - "name": "appSettings", + "name": "metadata", "in": "body", - "description": "Application settings of web app", + "description": "Meta data of web app", "required": true, "schema": { "$ref": "#/definitions/StringDictionary" @@ -8129,13 +9700,13 @@ "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/logs": { + "get": { "tags": [ "Sites" ], - "summary": "Gets the connection strings associated with web app", - "operationId": "Sites_ListSiteConnectionStrings", + "summary": "Gets the web app logs configuration", + "operationId": "Sites_GetSiteLogsConfig", "consumes": [], "produces": [ "application/json", @@ -8169,21 +9740,23 @@ "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/list": { - "post": { + }, + "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_UpdateSiteLogsConfig", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -8206,11 +9779,13 @@ "type": "string" }, { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", + "name": "siteLogsConfig", + "in": "body", + "description": "Site logs configuration", "required": true, - "type": "string" + "schema": { + "$ref": "#/definitions/SiteLogsConfig" + } }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -8223,25 +9798,21 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ConnectionStringDictionary" + "$ref": "#/definitions/SiteLogsConfig" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/connectionstrings": { - "put": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/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_GetSiteLogsConfigSlot", + "consumes": [], "produces": [ "application/json", "text/json", @@ -8264,13 +9835,11 @@ "type": "string" }, { - "name": "connectionStrings", - "in": "body", - "description": "Connection strings associated with web app", + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, - "schema": { - "$ref": "#/definitions/ConnectionStringDictionary" - } + "type": "string" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -8283,20 +9852,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_UpdateSiteLogsConfigSlot", "consumes": [ "application/json", "text/json", @@ -8324,12 +9891,12 @@ "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" } }, { @@ -8350,20 +9917,19 @@ "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}/premieraddons": { + "get": { "tags": [ "Sites" ], - "summary": "Gets the web app publishing credentials", - "operationId": "Sites_ListSitePublishingCredentials", + "operationId": "Sites_ListSitePremierAddOns", "consumes": [], "produces": [ "application/json", @@ -8375,14 +9941,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" }, @@ -8397,20 +9961,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/User" + "$ref": "#/definitions/Object" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/publishingcredentials/list": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons": { + "get": { "tags": [ "Sites" ], - "summary": "Gets the web app publishing credentials", - "operationId": "Sites_ListSitePublishingCredentialsSlot", + "operationId": "Sites_ListSitePremierAddOnsSlot", "consumes": [], "produces": [ "application/json", @@ -8422,68 +9985,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" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/User" - } - } - }, - "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata/list": { - "post": { - "tags": [ - "Sites" - ], - "summary": "Gets the web app meta data.", - "operationId": "Sites_ListSiteMetadata", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "resourceGroupName", + "name": "name", "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" }, @@ -8498,20 +10011,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/{premierAddOnName}": { + "get": { "tags": [ "Sites" ], - "summary": "Gets the web app meta data.", - "operationId": "Sites_ListSiteMetadataSlot", + "operationId": "Sites_GetSitePremierAddOnSlot", "consumes": [], "produces": [ "application/json", @@ -8523,21 +10035,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": "slot", "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, @@ -8552,20 +10067,17 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/StringDictionary" + "$ref": "#/definitions/Object" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata": { + }, "put": { "tags": [ "Sites" ], - "summary": "Updates the meta data for web app", - "operationId": "Sites_UpdateSiteMetadata", + "operationId": "Sites_AddSitePremierAddOnSlot", "consumes": [ "application/json", "text/json", @@ -8581,26 +10093,35 @@ { "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", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8612,25 +10133,18 @@ "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": { + }, + "delete": { "tags": [ "Sites" ], - "summary": "Updates the meta data for web app", - "operationId": "Sites_UpdateSiteMetadataSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "operationId": "Sites_DeleteSitePremierAddOnSlot", + "consumes": [], "produces": [ "application/json", "text/json", @@ -8641,30 +10155,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": "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", - "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, @@ -8679,20 +10187,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/StringDictionary" + "$ref": "#/definitions/Object" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/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_GetSiteLogsConfig", + "operationId": "Sites_GetSitePremierAddOn", "consumes": [], "produces": [ "application/json", @@ -8704,14 +10211,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": "premierAddOnName", + "in": "path", "required": true, "type": "string" }, @@ -8726,7 +10237,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteLogsConfig" + "$ref": "#/definitions/Object" } } }, @@ -8736,8 +10247,7 @@ "tags": [ "Sites" ], - "summary": "Updates the meta data for web app", - "operationId": "Sites_UpdateSiteLogsConfig", + "operationId": "Sites_AddSitePremierAddOn", "consumes": [ "application/json", "text/json", @@ -8753,24 +10263,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" }, { - "name": "siteLogsConfig", + "name": "premierAddOnName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "premierAddOn", "in": "body", - "description": "Site logs configuration", "required": true, "schema": { - "$ref": "#/definitions/SiteLogsConfig" + "$ref": "#/definitions/PremierAddOnRequest" } }, { @@ -8784,20 +10297,17 @@ "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": { - "get": { + }, + "delete": { "tags": [ "Sites" ], - "summary": "Gets the web app logs configuration", - "operationId": "Sites_GetSiteLogsConfigSlot", + "operationId": "Sites_DeleteSitePremierAddOn", "consumes": [], "produces": [ "application/json", @@ -8809,21 +10319,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,18 +10345,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteLogsConfig" + "$ref": "#/definitions/Object" } } }, "deprecated": false - }, + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backupconfig": { "put": { "tags": [ "Sites" ], - "summary": "Updates the meta data for web app", - "operationId": "Sites_UpdateSiteLogsConfigSlot", + "summary": "Updates backup configuration of web app", + "operationId": "Sites_UpdateSiteBackupConfigurationSlot", "consumes": [ "application/json", "text/json", @@ -8877,12 +10386,12 @@ "type": "string" }, { - "name": "siteLogsConfig", + "name": "request", "in": "body", - "description": "Site logs configuration", + "description": "Information on backup request", "required": true, "schema": { - "$ref": "#/definitions/SiteLogsConfig" + "$ref": "#/definitions/BackupRequest" } }, { @@ -8903,63 +10412,18 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteLogsConfig" - } - } - }, - "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons": { - "get": { - "tags": [ - "Sites" - ], - "operationId": "Sites_ListSitePremierAddOns", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "name", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/BackupRequest" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons": { - "get": { + }, + "post": { "tags": [ "Sites" ], - "operationId": "Sites_ListSitePremierAddOnsSlot", + "summary": "Gets the backup configuration for a web app", + "operationId": "Sites_GetSiteBackupConfigurationSlot", "consumes": [], "produces": [ "application/json", @@ -8971,18 +10435,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": "slot", "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, @@ -8997,20 +10464,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/BackupRequest" } } }, "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName}": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backupconfig": { + "put": { "tags": [ "Sites" ], - "operationId": "Sites_GetSitePremierAddOn", - "consumes": [], + "summary": "Updates backup configuration of web app", + "operationId": "Sites_UpdateSiteBackupConfiguration", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -9021,20 +10493,25 @@ { "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" + } }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -9047,22 +10524,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/BackupRequest" } } }, "deprecated": false }, - "put": { + "post": { "tags": [ "Sites" ], - "operationId": "Sites_AddSitePremierAddOn", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Gets the backup configuration for a web app", + "operationId": "Sites_GetSiteBackupConfiguration", + "consumes": [], "produces": [ "application/json", "text/json", @@ -9073,28 +10547,16 @@ { "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", - "required": true, - "type": "string" - }, - { - "name": "premierAddOn", - "in": "body", + "name": "name", + "in": "path", + "description": "Name of web app", "required": true, - "schema": { - "$ref": "#/definitions/PremierAddOnRequest" - } + "type": "string" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -9107,18 +10569,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/BackupRequest" } } }, "deprecated": false - }, - "delete": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backup": { + "put": { "tags": [ "Sites" ], - "operationId": "Sites_DeleteSitePremierAddOn", - "consumes": [], + "summary": "Creates web app backup", + "operationId": "Sites_BackupSiteDeprecatedSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -9129,18 +10598,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", + "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" }, @@ -9155,20 +10636,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/BackupItem" } } }, "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}": { - "get": { + }, + "post": { "tags": [ "Sites" ], - "operationId": "Sites_GetSitePremierAddOnSlot", - "consumes": [], + "summary": "Creates web app backup", + "operationId": "Sites_BackupSiteSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -9179,24 +10663,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 +10701,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/BackupItem" } } }, "deprecated": false - }, + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backup": { "put": { "tags": [ "Sites" ], - "operationId": "Sites_AddSitePremierAddOnSlot", + "summary": "Creates web app backup", + "operationId": "Sites_BackupSiteDeprecated", "consumes": [ "application/json", "text/json", @@ -9237,35 +10730,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": "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", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -9277,18 +10761,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "$ref": "#/definitions/BackupItem" } } }, "deprecated": false }, - "delete": { + "post": { "tags": [ "Sites" ], - "operationId": "Sites_DeleteSitePremierAddOnSlot", - "consumes": [], + "summary": "Creates web app backup", + "operationId": "Sites_BackupSite", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -9299,26 +10788,25 @@ { "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": "slot", - "in": "path", + "name": "request", + "in": "body", + "description": "Information on backup request", "required": true, - "type": "string" + "schema": { + "$ref": "#/definitions/BackupRequest" + } }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -9331,21 +10819,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 +10859,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 +10879,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 +10922,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 +10946,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 +10980,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 +10998,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 +11032,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 +11043,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 +11080,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 +11097,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", @@ -9628,9 +11127,16 @@ "type": "string" }, { - "name": "name", + "name": "name", + "in": "path", + "description": "Name of web app", + "required": true, + "type": "string" + }, + { + "name": "backupId", "in": "path", - "description": "Name of web app", + "description": "Id of backup", "required": true, "type": "string" }, @@ -9652,25 +11158,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 +11194,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 +11205,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 +11252,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 +11263,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 +11297,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 +11308,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 +11344,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 +11362,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 +11400,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 +11427,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 +11461,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 +11479,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 +11514,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 +11531,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 +11565,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 +11576,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 +11610,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 +11641,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 +11668,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", @@ -10284,7 +11742,7 @@ "200": { "description": "OK", "schema": { - "type": "file" + "$ref": "#/definitions/ResourceMetricCollection" } } }, @@ -10348,7 +11806,7 @@ "200": { "description": "OK", "schema": { - "type": "file" + "$ref": "#/definitions/ResourceMetricCollection" } } }, @@ -10452,13 +11910,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 +11954,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 +11972,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 +12016,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 +12267,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 +12296,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 +12314,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 +12343,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 +12368,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 +12394,12 @@ "required": true, "type": "string" }, + { + "name": "slot", + "in": "path", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -10954,12 +12418,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 +12444,6 @@ "required": true, "type": "string" }, - { - "name": "slot", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -11004,13 +12462,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 +12491,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 +12516,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 +12545,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 +14714,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 +14758,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 +14783,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 +14827,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 +14845,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 +14874,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 +14899,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 +14928,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" }, @@ -13593,57 +15051,6 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots": { - "get": { - "tags": [ - "Sites" - ], - "summary": "Gets all the slots for a web apps", - "operationId": "Sites_GetSiteSlots", - "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 web app", - "required": true, - "type": "string" - }, - { - "name": "propertiesToInclude", - "in": "query", - "description": "List of app properties to include in the response", - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteCollection" - } - } - }, - "deprecated": false - } - }, "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains": { "get": { "tags": [ @@ -13827,11 +15234,250 @@ } } }, - "deprecated": false + "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" + } } - } - }, - "definitions": { + }, + "CertificateOrderCertificateCollection": { + "description": "Collection of ceritificateorder certificates", + "type": "object", + "properties": { + "value": { + "description": "Collection of resources", + "type": "array", + "items": { + "$ref": "#/definitions/CertificateOrderCertificate" + } + }, + "nextLink": { + "description": "Link to next page of resources", + "type": "string" + } + } + }, "CertificateCollection": { "description": "Collection of certificates", "type": "object", @@ -13924,6 +15570,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 +15601,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 +16271,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 +16936,7 @@ } }, "HostingEnvironmentCollection": { - "description": "Collection of hosting environment", + "description": "Collection of hosting environments (App Service Environments)", "type": "object", "properties": { "value": { @@ -15518,6 +17107,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 +17596,7 @@ } } }, - "MetricResponseCollection": { + "ResourceMetricCollection": { "description": "Collection of metric responses", "type": "object", "properties": { @@ -16011,7 +17604,7 @@ "description": "Collection of resources", "type": "array", "items": { - "$ref": "#/definitions/MetricResponse" + "$ref": "#/definitions/ResourceMetric" } }, "nextLink": { @@ -16020,107 +17613,105 @@ } } }, - "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", + "description": "Metric end time", "type": "string" }, - "timeGrain": { - "description": "Presented time grain. Supported grains at the moment are PT1M, PT1H, P1D", - "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}", + "metricValues": { + "description": "Metric values", "type": "array", "items": { - "$ref": "#/definitions/MetricSample" + "$ref": "#/definitions/ResourceMetricValue" + } + }, + "properties": { + "description": "Properties", + "type": "object", + "additionalProperties": { + "type": "string" } } } }, - "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" + "localizedValue": { + "description": "Localized metric name value", + "type": "string" + } + } + }, + "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": "int64", - "description": "Minimum value measured during the period", - "type": "integer" + "format": "float", + "description": "Value minimum", + "type": "number" }, "maximum": { - "format": "int64", - "description": "Maximum value measured during period", - "type": "integer" + "format": "float", + "description": "Value maximum", + "type": "number" + }, + "total": { + "format": "float", + "description": "Value total", + "type": "number" }, "count": { - "format": "int64", - "description": "Number of measurements taken during the period", - "type": "integer" + "format": "float", + "description": "Value count", + "type": "number" }, - "instanceName": { - "description": "Name of the server on which the measurement is made", - "type": "string" + "properties": { + "description": "Value properties", + "type": "object", + "additionalProperties": { + "type": "string" + } } } }, @@ -16329,6 +17920,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 +18115,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 +18312,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 +19067,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",