From 7a491a86dd310a62b5dca987469838990cf8ea42 Mon Sep 17 00:00:00 2001 From: Naveed Aziz Date: Mon, 8 May 2017 17:09:34 -0700 Subject: [PATCH 01/27] Fix regression where Get source control API was accidentally removed from swagger --- .../2016-03-01/swagger/ResourceProvider.json | 33 ++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/arm-web/2016-03-01/swagger/ResourceProvider.json b/arm-web/2016-03-01/swagger/ResourceProvider.json index adffaa9e633d..7ceabd20d0d4 100644 --- a/arm-web/2016-03-01/swagger/ResourceProvider.json +++ b/arm-web/2016-03-01/swagger/ResourceProvider.json @@ -101,6 +101,37 @@ } }, "/providers/Microsoft.Web/sourcecontrols/{sourceControlType}": { + "get": { + "summary": "Gets source control token", + "description": "Gets source control token", + "operationId": "GetSourceControl", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "sourceControlType", + "in": "path", + "description": "Type of source control", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SourceControl" + } + } + } + }, "put": { "summary": "Updates source control token", "description": "Updates source control token", @@ -1026,4 +1057,4 @@ ] } ] -} +} \ No newline at end of file From 5d1d2ec0e494ffa64ee4859d1b7344fc9b92427a Mon Sep 17 00:00:00 2001 From: Navy Aziz Date: Wed, 5 Jul 2017 10:51:27 -0700 Subject: [PATCH 02/27] Add PublicCertificates API, MSDeploy API and remove obsolete microService and gateway API --- .../swagger/AppServiceCertificateOrders.json | 2 +- arm-web/2016-03-01/swagger/Certificates.json | 2 +- .../2016-03-01/swagger/Recommendations.json | 8 +- .../2016-03-01/swagger/ResourceProvider.json | 11 +- arm-web/2016-08-01/swagger/WebApps.json | 2196 +++++++++++++---- .../swagger/AppServiceEnvironments.json | 54 +- .../2016-09-01/swagger/AppServicePlans.json | 35 +- 7 files changed, 1812 insertions(+), 496 deletions(-) diff --git a/arm-web/2015-08-01/swagger/AppServiceCertificateOrders.json b/arm-web/2015-08-01/swagger/AppServiceCertificateOrders.json index 990bcc5ff39f..977901d1a510 100644 --- a/arm-web/2015-08-01/swagger/AppServiceCertificateOrders.json +++ b/arm-web/2015-08-01/swagger/AppServiceCertificateOrders.json @@ -1405,4 +1405,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/arm-web/2016-03-01/swagger/Certificates.json b/arm-web/2016-03-01/swagger/Certificates.json index 1393e3cc306d..d87d050632a8 100644 --- a/arm-web/2016-03-01/swagger/Certificates.json +++ b/arm-web/2016-03-01/swagger/Certificates.json @@ -532,4 +532,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/arm-web/2016-03-01/swagger/Recommendations.json b/arm-web/2016-03-01/swagger/Recommendations.json index 8be8eeff17ea..61b623f4e924 100644 --- a/arm-web/2016-03-01/swagger/Recommendations.json +++ b/arm-web/2016-03-01/swagger/Recommendations.json @@ -294,6 +294,12 @@ "description": "Specify true to update the last-seen timestamp of the recommendation object.", "type": "boolean" }, + { + "name": "recommendationId", + "in": "query", + "description": "The GUID of the recommedation object if you query an expired one. You don't need to specify it to query an active entry.", + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -572,4 +578,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/arm-web/2016-03-01/swagger/ResourceProvider.json b/arm-web/2016-03-01/swagger/ResourceProvider.json index 7ceabd20d0d4..54198518bcbd 100644 --- a/arm-web/2016-03-01/swagger/ResourceProvider.json +++ b/arm-web/2016-03-01/swagger/ResourceProvider.json @@ -250,7 +250,8 @@ "Standard", "Premium", "Dynamic", - "Isolated" + "Isolated", + "PremiumV2" ] }, { @@ -566,6 +567,14 @@ "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": { "$ref": "#/definitions/SkuCapacity", "description": "Min, max, and default scale values of the SKU." diff --git a/arm-web/2016-08-01/swagger/WebApps.json b/arm-web/2016-08-01/swagger/WebApps.json index 0e0e29a57d14..5e767b032265 100644 --- a/arm-web/2016-08-01/swagger/WebApps.json +++ b/arm-web/2016-08-01/swagger/WebApps.json @@ -2362,6 +2362,189 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/MSDeploy": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Invoke the MSDeploy web app extension as pass-through API", + "description": "Invoke the MSDeploy web app extension as pass-through API", + "operationId": "WebApps_GetMSDeployStatus", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "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/MSDeployStatus" + } + } + } + }, + "put": { + "tags": [ + "WebApps" + ], + "summary": "Invoke the MSDeploy web app extension as pass-through API", + "description": "Invoke the MSDeploy web app extension as pass-through API", + "operationId": "WebApps_CreateMSDeployOperation", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app", + "required": true, + "type": "string" + }, + { + "name": "MSDeploy", + "in": "body", + "description": "Details of MSDeploy operation", + "required": true, + "schema": { + "$ref": "#/definitions/MSDeploy" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/MSDeployStatus" + } + }, + "409": { + "description": "Another deployment is in progress" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/MSDeploy/log": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Invoke the MSDeploy Log web app extension as pass-through API", + "description": "Invoke the MSDeploy Log web app extension as pass-through API", + "operationId": "WebApps_GetMSDeployLog", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "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/MSDeployLog" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/admin/token": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Fetch a short lived token that can be exchanged for a master key.", + "description": "Fetch a short lived token that can be exchanged for a master key.", + "operationId": "WebApps_GetFunctionsAdminToken", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings": { "get": { "tags": [ @@ -3413,14 +3596,14 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/iscloneable": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/MSDeploy": { + "get": { "tags": [ "WebApps" ], - "summary": "Shows whether an app can be cloned to another resource group or subscription.", - "description": "Shows whether an app can be cloned to another resource group or subscription.", - "operationId": "WebApps_IsCloneable", + "summary": "Invoke the MSDeploy web app extension as pass-through API", + "description": "Invoke the MSDeploy web app extension as pass-through API", + "operationId": "WebApps_GetMSDeployStatus", "produces": [ "application/json", "text/json", @@ -3434,7 +3617,14 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Name of web app", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "Id of web app instance", "required": true, "type": "string" }, @@ -3449,23 +3639,28 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteCloneability" + "$ref": "#/definitions/MSDeployStatus" } } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/metricdefinitions": { - "get": { + }, + "put": { "tags": [ "WebApps" ], - "summary": "Gets all metric definitions of an app (or deployment slot, if specified).", - "description": "Gets all metric definitions of an app (or deployment slot, if specified).", - "operationId": "WebApps_ListMetricDefinitions", + "summary": "Invoke the MSDeploy web app extension as pass-through API", + "description": "Invoke the MSDeploy web app extension as pass-through API", + "operationId": "WebApps_CreateMSDeployOperation", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -3474,10 +3669,26 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Name of web app", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "Id of web app instance", "required": true, "type": "string" }, + { + "name": "MSDeploy", + "in": "body", + "description": "Details of MSDeploy operation", + "required": true, + "schema": { + "$ref": "#/definitions/MSDeploy" + } + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -3486,29 +3697,31 @@ } ], "responses": { - "200": { - "description": "OK", + "201": { + "description": "Accepted", "schema": { - "$ref": "#/definitions/ResourceMetricDefinitionCollection" + "$ref": "#/definitions/MSDeployStatus" } + }, + "409": { + "description": "Another deployment is in progress" } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/metrics": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/MSDeploy/log": { "get": { "tags": [ "WebApps" ], - "summary": "Gets performance metrics of an app (or deployment slot, if specified).", - "description": "Gets performance metrics of an app (or deployment slot, if specified).", - "operationId": "WebApps_ListMetrics", + "summary": "Invoke the MSDeploy Log web app extension as pass-through API", + "description": "Invoke the MSDeploy Log web app extension as pass-through API", + "operationId": "WebApps_GetMSDeployLog", "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -3517,21 +3730,15 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Name of web app", "required": true, "type": "string" }, { - "name": "details", - "in": "query", - "description": "Specify \"true\" to include metric details in the response. It is \"false\" by default.", - "type": "boolean" - }, - { - "name": "$filter", - "in": "query", - "description": "Return only metrics specified in the filter (using OData syntax). For 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]'.", - "x-ms-skip-url-encoding": true, + "name": "instanceId", + "in": "path", + "description": "Id of web app instance", + "required": true, "type": "string" }, { @@ -3545,28 +3752,166 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ResourceMetricCollection" + "$ref": "#/definitions/MSDeployLog" } } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migrate": { - "put": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/iscloneable": { + "post": { "tags": [ "WebApps" ], - "summary": "Restores a web app.", - "description": "Restores a web app.", - "operationId": "WebApps_MigrateStorage", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Shows whether an app can be cloned to another resource group or subscription.", + "description": "Shows whether an app can be cloned to another resource group or subscription.", + "operationId": "WebApps_IsCloneable", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SiteCloneability" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/metricdefinitions": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Gets all metric definitions of an app (or deployment slot, if specified).", + "description": "Gets all metric definitions of an app (or deployment slot, if specified).", + "operationId": "WebApps_ListMetricDefinitions", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ResourceMetricDefinitionCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/metrics": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Gets performance metrics of an app (or deployment slot, if specified).", + "description": "Gets performance metrics of an app (or deployment slot, if specified).", + "operationId": "WebApps_ListMetrics", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "details", + "in": "query", + "description": "Specify \"true\" to include metric details in the response. It is \"false\" by default.", + "type": "boolean" + }, + { + "name": "$filter", + "in": "query", + "description": "Return only metrics specified in the filter (using OData syntax). For 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]'.", + "x-ms-skip-url-encoding": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ResourceMetricCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migrate": { + "put": { + "tags": [ + "WebApps" + ], + "summary": "Restores a web app.", + "description": "Restores a web app.", + "operationId": "WebApps_MigrateStorage", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -4188,21 +4533,57 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publishxml": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates": { + "get": { "tags": [ "WebApps" ], - "summary": "Gets the publishing profile for an app (or deployment slot, if specified).", - "description": "Gets the publishing profile for an app (or deployment slot, if specified).", - "operationId": "WebApps_ListPublishingProfileXmlWithSecrets", - "consumes": [ + "summary": "Get public certificates for an app or a deployment slot.", + "description": "Get public certificates for an app or a deployment slot.", + "operationId": "WebApps_ListPublicCertificates", + "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PublicCertificateCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates/{publicCertificateName}": { + "get": { + "tags": [ + "WebApps" ], + "summary": "Get the named public certificate for an app (or deployment slot, if specified).", + "description": "Get the named public certificate for an app (or deployment slot, if specified).", + "operationId": "WebApps_GetPublicCertificate", "produces": [ "application/json", "text/json", @@ -4221,13 +4602,11 @@ "type": "string" }, { - "name": "publishingProfileOptions", - "in": "body", - "description": "Specifies publishingProfileOptions for publishing profile. For example, use {\"format\": \"FileZilla3\"} to get a FileZilla publishing profile.", + "name": "publicCertificateName", + "in": "path", + "description": "Public CertificateName", "required": true, - "schema": { - "$ref": "#/definitions/CsmPublishingProfileOptions" - } + "type": "string" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -4240,25 +4619,21 @@ "200": { "description": "OK", "schema": { - "type": "file" + "$ref": "#/definitions/PublicCertificate" } } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/recover": { - "post": { + }, + "put": { "tags": [ "WebApps" ], - "summary": "Recovers a deleted web app.", - "description": "Recovers a deleted web app.", - "operationId": "WebApps_Recover", + "summary": "Creates a hostname binding for an app.", + "description": "Creates a hostname binding for an app.", + "operationId": "WebApps_CreateOrUpdatePublicCertificate", "consumes": [ "application/json", "text/json", - "application/xml", - "text/xml", "application/x-www-form-urlencoded" ], "produces": [ @@ -4274,17 +4649,24 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Name of the app.", "required": true, "type": "string" }, { - "name": "recoveryEntity", + "name": "publicCertificateName", + "in": "path", + "description": "Public certificate name.", + "required": true, + "type": "string" + }, + { + "name": "publicCertificate", "in": "body", - "description": "Snapshot data used for web app recovery. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API.", + "description": "Public certificate details. This is the JSON representation of a PublicCertificate object.", "required": true, "schema": { - "$ref": "#/definitions/CsmSiteRecoveryEntity" + "$ref": "#/definitions/PublicCertificate" } }, { @@ -4298,21 +4680,18 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/RecoverResponse" + "$ref": "#/definitions/PublicCertificate" } } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resetSlotConfig": { - "post": { + } + }, + "delete": { "tags": [ "WebApps" ], - "summary": "Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.", - "description": "Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.", - "operationId": "WebApps_ResetProductionSlotConfig", + "summary": "Deletes a hostname binding for an app.", + "description": "Deletes a hostname binding for an app.", + "operationId": "WebApps_DeletePublicCertificate", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4324,6 +4703,13 @@ "required": true, "type": "string" }, + { + "name": "publicCertificateName", + "in": "path", + "description": "Public Certificate Name.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -4333,23 +4719,89 @@ ], "responses": { "200": { - "description": "OK" + "description": "Succesfully deleted hostname binding" + }, + "204": { + "description": "Hostname binding does not exist" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resourceHealthMetadata": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publishxml": { + "post": { "tags": [ "WebApps" ], - "summary": "Gets the category of ResourceHealthMetadata to use for the given site", - "description": "Gets the category of ResourceHealthMetadata to use for the given site", - "operationId": "WebApps_GetResourceHealthMetadata", - "produces": [ - "application/json", - "text/json", - "application/xml", + "summary": "Gets the publishing profile for an app (or deployment slot, if specified).", + "description": "Gets the publishing profile for an app (or deployment slot, if specified).", + "operationId": "WebApps_ListPublishingProfileXmlWithSecrets", + "consumes": [ + "application/json", + "text/json", + "application/xml", + "text/xml", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "publishingProfileOptions", + "in": "body", + "description": "Specifies publishingProfileOptions for publishing profile. For example, use {\"format\": \"FileZilla3\"} to get a FileZilla publishing profile.", + "required": true, + "schema": { + "$ref": "#/definitions/CsmPublishingProfileOptions" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "file" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/recover": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Recovers a deleted web app.", + "description": "Recovers a deleted web app.", + "operationId": "WebApps_Recover", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", "text/xml" ], "parameters": [ @@ -4363,6 +4815,15 @@ "required": true, "type": "string" }, + { + "name": "recoveryEntity", + "in": "body", + "description": "Snapshot data used for web app recovery. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API.", + "required": true, + "schema": { + "$ref": "#/definitions/SnapshotRecoveryRequest" + } + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -4374,9 +4835,43 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ResourceHealthMetadata" + "$ref": "#/definitions/RecoverResponse" } } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resetSlotConfig": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.", + "description": "Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.", + "operationId": "WebApps_ResetProductionSlotConfig", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + } } } }, @@ -6958,17 +7453,19 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy": { "get": { "tags": [ "WebApps" ], - "summary": "Get hostname bindings for an app or a deployment slot.", - "description": "Get hostname bindings for an app or a deployment slot.", - "operationId": "WebApps_ListHostNameBindingsSlot", + "summary": "Invoke the MSDeploy web app extension as pass-through API", + "description": "Invoke the MSDeploy web app extension as pass-through API", + "operationId": "WebApps_GetMSDeployStatusSlot", "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -6977,14 +7474,14 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Name of web app", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API gets hostname bindings for the production slot.", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, @@ -6999,23 +7496,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HostNameBindingCollection" + "$ref": "#/definitions/MSDeployStatus" } } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}": { - "get": { + }, + "put": { "tags": [ "WebApps" ], - "summary": "Get the named hostname binding for an app (or deployment slot, if specified).", - "description": "Get the named hostname binding for an app (or deployment slot, if specified).", - "operationId": "WebApps_GetHostNameBindingSlot", + "summary": "Invoke the MSDeploy web app extension as pass-through API", + "description": "Invoke the MSDeploy web app extension as pass-through API", + "operationId": "WebApps_CreateMSDeployOperationSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -7029,23 +7526,25 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Name of web app", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API the named binding for the production slot.", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, { - "name": "hostName", - "in": "path", - "description": "Hostname in the hostname binding.", + "name": "MSDeploy", + "in": "body", + "description": "Details of MSDeploy operation", "required": true, - "type": "string" + "schema": { + "$ref": "#/definitions/MSDeploy" + } }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -7055,26 +7554,26 @@ } ], "responses": { - "200": { - "description": "OK", + "201": { + "description": "Accepted", "schema": { - "$ref": "#/definitions/HostNameBinding" + "$ref": "#/definitions/MSDeployStatus" } + }, + "409": { + "description": "Another deployment is in progress" } } - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy/log": { + "get": { "tags": [ "WebApps" ], - "summary": "Creates a hostname binding for an app.", - "description": "Creates a hostname binding for an app.", - "operationId": "WebApps_CreateOrUpdateHostNameBindingSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Invoke the MSDeploy Log web app extension as pass-through API", + "description": "Invoke the MSDeploy Log web app extension as pass-through API", + "operationId": "WebApps_GetMSDeployLogSlot", "produces": [ "application/json", "text/json", @@ -7088,30 +7587,14 @@ { "name": "name", "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "hostName", - "in": "path", - "description": "Hostname in the hostname binding.", + "description": "Name of web app", "required": true, "type": "string" }, - { - "name": "hostNameBinding", - "in": "body", - "description": "Binding details. This is the JSON representation of a HostNameBinding object.", - "required": true, - "schema": { - "$ref": "#/definitions/HostNameBinding" - } - }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, @@ -7126,18 +7609,26 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HostNameBinding" + "$ref": "#/definitions/MSDeployLog" } } } - }, - "delete": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/admin/token": { + "get": { "tags": [ "WebApps" ], - "summary": "Deletes a hostname binding for an app.", - "description": "Deletes a hostname binding for an app.", - "operationId": "WebApps_DeleteHostNameBindingSlot", + "summary": "Fetch a short lived token that can be exchanged for a master key.", + "description": "Fetch a short lived token that can be exchanged for a master key.", + "operationId": "WebApps_GetFunctionsAdminTokenSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7145,21 +7636,14 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Name of web app", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", - "required": true, - "type": "string" - }, - { - "name": "hostName", - "in": "path", - "description": "Hostname in the hostname binding.", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, @@ -7172,27 +7656,25 @@ ], "responses": { "200": { - "description": "Succesfully deleted hostname binding" - }, - "204": { - "description": "Hostname binding does not exist" + "description": "OK", + "schema": { + "type": "string" + } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings": { "get": { "tags": [ "WebApps" ], - "summary": "Retrieves a specific Service Bus Hybrid Connection used by this Web App.", - "description": "Retrieves a specific Service Bus Hybrid Connection used by this Web App.", - "operationId": "WebApps_GetHybridConnectionSlot", + "summary": "Get hostname bindings for an app or a deployment slot.", + "description": "Get hostname bindings for an app or a deployment slot.", + "operationId": "WebApps_ListHostNameBindingsSlot", "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -7201,28 +7683,252 @@ { "name": "name", "in": "path", - "description": "The name of the web app", - "required": true, - "type": "string" - }, - { - "name": "namespaceName", - "in": "path", - "description": "The namespace for this hybrid connection", - "required": true, - "type": "string" - }, - { - "name": "relayName", - "in": "path", - "description": "The relay name for this hybrid connection", + "description": "Name of the app.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "The name of the slot for the web app.", + "description": "Name of the deployment slot. If a slot is not specified, the API gets hostname bindings for the production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/HostNameBindingCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Get the named hostname binding for an app (or deployment slot, if specified).", + "description": "Get the named hostname binding for an app (or deployment slot, if specified).", + "operationId": "WebApps_GetHostNameBindingSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API the named binding for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "hostName", + "in": "path", + "description": "Hostname in the hostname binding.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/HostNameBinding" + } + } + } + }, + "put": { + "tags": [ + "WebApps" + ], + "summary": "Creates a hostname binding for an app.", + "description": "Creates a hostname binding for an app.", + "operationId": "WebApps_CreateOrUpdateHostNameBindingSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "hostName", + "in": "path", + "description": "Hostname in the hostname binding.", + "required": true, + "type": "string" + }, + { + "name": "hostNameBinding", + "in": "body", + "description": "Binding details. This is the JSON representation of a HostNameBinding object.", + "required": true, + "schema": { + "$ref": "#/definitions/HostNameBinding" + } + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/HostNameBinding" + } + } + } + }, + "delete": { + "tags": [ + "WebApps" + ], + "summary": "Deletes a hostname binding for an app.", + "description": "Deletes a hostname binding for an app.", + "operationId": "WebApps_DeleteHostNameBindingSlot", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "hostName", + "in": "path", + "description": "Hostname in the hostname binding.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Succesfully deleted hostname binding" + }, + "204": { + "description": "Hostname binding does not exist" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Retrieves a specific Service Bus Hybrid Connection used by this Web App.", + "description": "Retrieves a specific Service Bus Hybrid Connection used by this Web App.", + "operationId": "WebApps_GetHybridConnectionSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "The name of the web app", + "required": true, + "type": "string" + }, + { + "name": "namespaceName", + "in": "path", + "description": "The namespace for this hybrid connection", + "required": true, + "type": "string" + }, + { + "name": "relayName", + "in": "path", + "description": "The relay name for this hybrid connection", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "The name of the slot for the web app.", "required": true, "type": "string" }, @@ -8149,14 +8855,14 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/iscloneable": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/extensions/MSDeploy": { + "get": { "tags": [ "WebApps" ], - "summary": "Shows whether an app can be cloned to another resource group or subscription.", - "description": "Shows whether an app can be cloned to another resource group or subscription.", - "operationId": "WebApps_IsCloneableSlot", + "summary": "Invoke the MSDeploy web app extension as pass-through API", + "description": "Invoke the MSDeploy web app extension as pass-through API", + "operationId": "WebApps_GetMSDeployStatusSlot", "produces": [ "application/json", "text/json", @@ -8170,14 +8876,21 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Name of web app", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. By default, this API returns information on the production slot.", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "Id of web app instance", "required": true, "type": "string" }, @@ -8192,11 +8905,187 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteCloneability" + "$ref": "#/definitions/MSDeployStatus" } } } - } + }, + "put": { + "tags": [ + "WebApps" + ], + "summary": "Invoke the MSDeploy web app extension as pass-through API", + "description": "Invoke the MSDeploy web app extension as pass-through API", + "operationId": "WebApps_CreateMSDeployOperationSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "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" + }, + { + "name": "instanceId", + "in": "path", + "description": "Id of web app instance", + "required": true, + "type": "string" + }, + { + "name": "MSDeploy", + "in": "body", + "description": "Details of MSDeploy operation", + "required": true, + "schema": { + "$ref": "#/definitions/MSDeploy" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/MSDeployStatus" + } + }, + "409": { + "description": "Another deployment is in progress" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/extensions/MSDeploy/log": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Invoke the MSDeploy Log web app extension as pass-through API", + "description": "Invoke the MSDeploy Log web app extension as pass-through API", + "operationId": "WebApps_GetMSDeployLogSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "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" + }, + { + "name": "instanceId", + "in": "path", + "description": "Id of web app instance", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MSDeployLog" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/iscloneable": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Shows whether an app can be cloned to another resource group or subscription.", + "description": "Shows whether an app can be cloned to another resource group or subscription.", + "operationId": "WebApps_IsCloneableSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns information on the production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SiteCloneability" + } + } + } + } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/metricdefinitions": { "get": { @@ -8531,20 +9420,221 @@ "200": { "description": "OK", "schema": { - "type": "string" + "type": "string" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/newpassword": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Generates a new publishing password for an app (or deployment slot, if specified).", + "description": "Generates a new publishing password for an app (or deployment slot, if specified).", + "operationId": "WebApps_GenerateNewSitePublishingPasswordSlot", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API generate a new publishing password for the production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/perfcounters": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Gets perfmon counters for web app.", + "description": "Gets perfmon counters for web app.", + "operationId": "WebApps_ListPerfMonCountersSlot", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "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" + }, + { + "name": "$filter", + "in": "query", + "description": "Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.", + "x-ms-skip-url-encoding": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PerfMonCounterCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/phplogging": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Gets web app's event logs.", + "description": "Gets web app's event logs.", + "operationId": "WebApps_GetSitePhpErrorLogFlagSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "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/SitePhpErrorLogFlag" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Gets the premier add-ons of an app.", + "description": "Gets the premier add-ons of an app.", + "operationId": "WebApps_ListPremierAddOnsSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the premier add-ons for the production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PremierAddOn" } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/newpassword": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}": { + "get": { "tags": [ "WebApps" ], - "summary": "Generates a new publishing password for an app (or deployment slot, if specified).", - "description": "Generates a new publishing password for an app (or deployment slot, if specified).", - "operationId": "WebApps_GenerateNewSitePublishingPasswordSlot", + "summary": "Gets a named add-on of an app.", + "description": "Gets a named add-on of an app.", + "operationId": "WebApps_GetPremierAddOnSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8556,10 +9646,17 @@ "required": true, "type": "string" }, + { + "name": "premierAddOnName", + "in": "path", + "description": "Add-on name.", + "required": true, + "type": "string" + }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API generate a new publishing password for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the named add-on for the production slot.", "required": true, "type": "string" }, @@ -8571,23 +9668,31 @@ } ], "responses": { - "204": { - "description": "No Content" + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PremierAddOn" + } } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/perfcounters": { - "get": { + }, + "put": { "tags": [ "WebApps" ], - "summary": "Gets perfmon counters for web app.", - "description": "Gets perfmon counters for web app.", - "operationId": "WebApps_ListPerfMonCountersSlot", + "summary": "Updates a named add-on of an app.", + "description": "Updates a named add-on of an app.", + "operationId": "WebApps_AddPremierAddOnSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -8596,22 +9701,31 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Name of the 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. **** CURRENTLY UNUSED *****", + "description": "Add-on name.", "required": true, "type": "string" }, { - "name": "$filter", - "in": "query", - "description": "Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.", - "x-ms-skip-url-encoding": true, + "name": "premierAddOn", + "in": "body", + "description": "A JSON representation of the edited premier add-on.", + "required": true, + "schema": { + "$ref": "#/definitions/PremierAddOn" + } + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will update the named add-on for the production slot.", + "required": true, "type": "string" }, { @@ -8625,29 +9739,18 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/PerfMonCounterCollection" + "$ref": "#/definitions/PremierAddOn" } } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/phplogging": { - "get": { + }, + "delete": { "tags": [ "WebApps" ], - "summary": "Gets web app's event logs.", - "description": "Gets web app's event logs.", - "operationId": "WebApps_GetSitePhpErrorLogFlagSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], + "summary": "Delete a premier add-on from an app.", + "description": "Delete a premier add-on from an app.", + "operationId": "WebApps_DeletePremierAddOnSlot", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8655,14 +9758,21 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "premierAddOnName", + "in": "path", + "description": "Add-on name.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will delete the named add-on for the production slot.", "required": true, "type": "string" }, @@ -8675,27 +9785,22 @@ ], "responses": { "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SitePhpErrorLogFlag" - } + "description": "Succesfully deleted premier add-on." } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates": { "get": { "tags": [ "WebApps" ], - "summary": "Gets the premier add-ons of an app.", - "description": "Gets the premier add-ons of an app.", - "operationId": "WebApps_ListPremierAddOnsSlot", + "summary": "Get public certificates for an app or a deployment slot.", + "description": "Get public certificates for an app or a deployment slot.", + "operationId": "WebApps_ListPublicCertificatesSlot", "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -8711,7 +9816,7 @@ { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the premier add-ons for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API gets hostname bindings for the production slot.", "required": true, "type": "string" }, @@ -8726,20 +9831,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/PremierAddOn" + "$ref": "#/definitions/PublicCertificateCollection" } } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates/{publicCertificateName}": { "get": { "tags": [ "WebApps" ], - "summary": "Gets a named add-on of an app.", - "description": "Gets a named add-on of an app.", - "operationId": "WebApps_GetPremierAddOnSlot", + "summary": "Get the named public certificate for an app (or deployment slot, if specified).", + "description": "Get the named public certificate for an app (or deployment slot, if specified).", + "operationId": "WebApps_GetPublicCertificateSlot", "produces": [ "application/json", "text/json", @@ -8758,16 +9866,16 @@ "type": "string" }, { - "name": "premierAddOnName", + "name": "slot", "in": "path", - "description": "Add-on name.", + "description": "Name of the deployment slot. If a slot is not specified, the API the named binding for the production slot.", "required": true, "type": "string" }, { - "name": "slot", + "name": "publicCertificateName", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the named add-on for the production slot.", + "description": "Public CertificateName", "required": true, "type": "string" }, @@ -8782,7 +9890,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/PremierAddOn" + "$ref": "#/definitions/PublicCertificate" } } } @@ -8791,9 +9899,9 @@ "tags": [ "WebApps" ], - "summary": "Updates a named add-on of an app.", - "description": "Updates a named add-on of an app.", - "operationId": "WebApps_AddPremierAddOnSlot", + "summary": "Creates a hostname binding for an app.", + "description": "Creates a hostname binding for an app.", + "operationId": "WebApps_CreateOrUpdatePublicCertificateSlot", "consumes": [ "application/json", "text/json", @@ -8817,25 +9925,25 @@ "type": "string" }, { - "name": "premierAddOnName", + "name": "publicCertificateName", "in": "path", - "description": "Add-on name.", + "description": "Public certificate name.", "required": true, "type": "string" }, { - "name": "premierAddOn", + "name": "publicCertificate", "in": "body", - "description": "A JSON representation of the edited premier add-on.", + "description": "Public certificate details. This is the JSON representation of a PublicCertificate object.", "required": true, "schema": { - "$ref": "#/definitions/PremierAddOn" + "$ref": "#/definitions/PublicCertificate" } }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will update the named add-on for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.", "required": true, "type": "string" }, @@ -8850,7 +9958,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/PremierAddOn" + "$ref": "#/definitions/PublicCertificate" } } } @@ -8859,9 +9967,9 @@ "tags": [ "WebApps" ], - "summary": "Delete a premier add-on from an app.", - "description": "Delete a premier add-on from an app.", - "operationId": "WebApps_DeletePremierAddOnSlot", + "summary": "Deletes a hostname binding for an app.", + "description": "Deletes a hostname binding for an app.", + "operationId": "WebApps_DeletePublicCertificateSlot", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8874,16 +9982,16 @@ "type": "string" }, { - "name": "premierAddOnName", + "name": "slot", "in": "path", - "description": "Add-on name.", + "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", "required": true, "type": "string" }, { - "name": "slot", + "name": "publicCertificateName", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete the named add-on for the production slot.", + "description": "Public Certificate Name.", "required": true, "type": "string" }, @@ -8896,7 +10004,10 @@ ], "responses": { "200": { - "description": "Succesfully deleted premier add-on." + "description": "Succesfully deleted hostname binding" + }, + "204": { + "description": "Hostname binding does not exist" } } } @@ -8977,8 +10088,6 @@ "consumes": [ "application/json", "text/json", - "application/xml", - "text/xml", "application/x-www-form-urlencoded" ], "produces": [ @@ -9004,7 +10113,7 @@ "description": "Snapshot data used for web app recovery. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API.", "required": true, "schema": { - "$ref": "#/definitions/CsmSiteRecoveryEntity" + "$ref": "#/definitions/SnapshotRecoveryRequest" } }, { @@ -9072,55 +10181,6 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resourceHealthMetadata": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets the category of ResourceHealthMetadata to use for the given site", - "description": "Gets the category of ResourceHealthMetadata to use for the given site", - "operationId": "WebApps_GetResourceHealthMetadataSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "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/ResourceHealthMetadata" - } - } - } - } - }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restart": { "post": { "tags": [ @@ -9472,6 +10532,12 @@ "summary": "Deletes the source control configuration of an app.", "description": "Deletes the source control configuration of an app.", "operationId": "WebApps_DeleteSourceControlSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9499,10 +10565,16 @@ ], "responses": { "200": { - "description": "Succesfully deleted source control for web app." + "description": "Succesfully deleted source control for web app.", + "schema": { + "$ref": "#/definitions/Object" + } }, "202": { - "description": "Source control delete operation in progress." + "description": "Source control delete operation in progress.", + "schema": { + "$ref": "#/definitions/Object" + } }, "404": { "description": "Source control does not exist." @@ -9624,8 +10696,8 @@ } ], "responses": { - "204": { - "description": "No Content" + "200": { + "description": "Successfully sync sourcecontrol." } } } @@ -10499,6 +11571,12 @@ "summary": "Deletes the source control configuration of an app.", "description": "Deletes the source control configuration of an app.", "operationId": "WebApps_DeleteSourceControl", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10519,10 +11597,16 @@ ], "responses": { "200": { - "description": "Succesfully deleted source control for web app." + "description": "Succesfully deleted source control for web app.", + "schema": { + "$ref": "#/definitions/Object" + } }, "202": { - "description": "Source control delete operation in progress." + "description": "Source control delete operation in progress.", + "schema": { + "$ref": "#/definitions/Object" + } }, "404": { "description": "Source control does not exist." @@ -10623,8 +11707,8 @@ } ], "responses": { - "204": { - "description": "No Content" + "200": { + "description": "Successfully sync sourcecontrol." } } } @@ -11530,7 +12614,8 @@ "enum": [ "Default", "Clone", - "Relocation" + "Relocation", + "Snapshot" ], "type": "string", "x-ms-enum": { @@ -11773,25 +12858,6 @@ } } }, - "CsmSiteRecoveryEntity": { - "description": "Details about app recovery operation.", - "type": "object", - "properties": { - "snapshotTime": { - "format": "date-time", - "description": "Point in time in which the app recovery should be attempted.", - "type": "string" - }, - "siteName": { - "description": "[Optional] Destination app name into which app should be recovered. This is case when new app should be created instead.", - "type": "string" - }, - "slotName": { - "description": "[Optional] Destination app slot name into which app should be recovered.", - "type": "string" - } - } - }, "CsmSlotEntity": { "description": "Deployment slot parameters.", "required": [ @@ -12086,6 +13152,14 @@ "description": "Body of the error response returned from the API.", "type": "object", "properties": { + "code": { + "description": "Basic error code.", + "type": "string" + }, + "message": { + "description": "Any details of the error.", + "type": "string" + }, "extendedCode": { "description": "Type of error.", "type": "string" @@ -12107,14 +13181,6 @@ "items": { "$ref": "#/definitions/ErrorEntity" } - }, - "code": { - "description": "Basic error code.", - "type": "string" - }, - "message": { - "description": "Any details of the error.", - "type": "string" } } }, @@ -12474,6 +13540,10 @@ "sendKeyValue": { "description": "The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned\n normally, use the POST /listKeys API instead.", "type": "string" + }, + "serviceBusSuffix": { + "description": "The suffix for the service bus endpoint. By default this is .servicebus.windows.net", + "type": "string" } }, "x-ms-client-flatten": true @@ -12579,6 +13649,190 @@ } } }, + "MSDeploy": { + "description": "MSDeploy ARM PUT information", + "type": "object", + "properties": { + "addOnPackages": { + "description": "List of Add-On packages. Add-On packages implicitly enable the Do Not Delete MSDeploy rule.", + "type": "array", + "items": { + "$ref": "#/definitions/MSDeployCore" + } + }, + "packageUri": { + "description": "Package URI", + "type": "string" + }, + "connectionString": { + "description": "SQL Connection String", + "type": "string" + }, + "dbType": { + "description": "Database Type", + "type": "string" + }, + "setParametersXmlFileUri": { + "description": "URI of MSDeploy Parameters file. Must not be set if SetParameters is used.", + "type": "string" + }, + "setParameters": { + "description": "MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used.", + "type": "array", + "items": { + "$ref": "#/definitions/MSDeployParameterEntry" + } + }, + "skipAppData": { + "description": "Controls whether the MSDeploy operation skips the AppData directory. If set to true, the existing AppData directory on the destination will not be deleted and overwritten.", + "type": "boolean" + }, + "appOffline": { + "description": "Sets the AppOffline rule while the MSDeploy operation executes.", + "type": "boolean" + } + } + }, + "MSDeployCore": { + "description": "MSDeploy ARM PUT core information", + "type": "object", + "properties": { + "packageUri": { + "description": "Package URI", + "type": "string" + }, + "connectionString": { + "description": "SQL Connection String", + "type": "string" + }, + "dbType": { + "description": "Database Type", + "type": "string" + }, + "setParametersXmlFileUri": { + "description": "URI of MSDeploy Parameters file. Must not be set if SetParameters is used.", + "type": "string" + }, + "setParameters": { + "description": "MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used.", + "type": "array", + "items": { + "$ref": "#/definitions/MSDeployParameterEntry" + } + }, + "skipAppData": { + "description": "Controls whether the MSDeploy operation skips the AppData directory. If set to true, the existing AppData directory on the destination will not be deleted and overwritten.", + "type": "boolean" + }, + "appOffline": { + "description": "Sets the AppOffline rule while the MSDeploy operation executes.", + "type": "boolean" + } + } + }, + "MSDeployLog": { + "description": "MSDeploy log", + "type": "object", + "properties": { + "entries": { + "description": "List of log entry messages", + "type": "array", + "items": { + "$ref": "#/definitions/MSDeployLogEntry" + }, + "readOnly": true + } + } + }, + "MSDeployLogEntry": { + "description": "MSDeploy log entry", + "type": "object", + "properties": { + "time": { + "format": "date-time", + "description": "Timestamp of log entry", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Log entry type", + "enum": [ + "Message", + "Warning", + "Error" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "MSDeployLogEntryType", + "modelAsString": false + } + }, + "message": { + "description": "Log entry message", + "type": "string", + "readOnly": true + } + } + }, + "MSDeployParameterEntry": { + "description": "MSDeploy ARM PUT core information", + "type": "object", + "properties": { + "name": { + "description": "Parameter name", + "type": "string" + }, + "value": { + "description": "Parameter value", + "type": "string" + } + } + }, + "MSDeployStatus": { + "description": "MSDeploy ARM response", + "type": "object", + "properties": { + "deployer": { + "description": "Username of deployer", + "type": "string", + "readOnly": true + }, + "provisioningState": { + "description": "Provisioning state", + "enum": [ + "accepted", + "running", + "succeeded", + "failed", + "canceled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "MSDeployProvisioningState", + "modelAsString": false + } + }, + "startTime": { + "format": "date-time", + "description": "Start time of deploy operation", + "type": "string", + "readOnly": true + }, + "endTime": { + "format": "date-time", + "description": "End time of deploy operation", + "type": "string", + "readOnly": true + }, + "complete": { + "description": "Whether the deployment operation has completed", + "type": "boolean", + "readOnly": true + } + } + }, "MigrateMySqlRequest": { "description": "MySQL migration request.", "type": "object", @@ -12703,6 +13957,10 @@ } } }, + "Object": { + "type": "object", + "properties": {} + }, "Operation": { "description": "Operation.", "type": "object", @@ -12813,6 +14071,11 @@ "format": "double", "description": "Value of counter at a certain time.", "type": "number" + }, + "coreCount": { + "format": "int32", + "description": "Core Count of worker. Not a data member", + "type": "integer" } } }, @@ -12900,6 +14163,65 @@ } } }, + "PublicCertificate": { + "description": "Public certificate object", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "PublicCertificate resource specific properties", + "properties": { + "blob": { + "description": "Public Certificate byte array", + "type": "string" + }, + "publicCertificateLocation": { + "description": "Public Certificate Location", + "enum": [ + "CurrentUserMy", + "LocalMachineMy", + "Unknown" + ], + "type": "string", + "x-ms-enum": { + "name": "PublicCertificateLocation", + "modelAsString": false + } + }, + "thumbprint": { + "description": "Certificate Thumbprint", + "type": "string", + "readOnly": true + } + }, + "x-ms-client-flatten": true + } + } + }, + "PublicCertificateCollection": { + "description": "Collection of public certificates", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/PublicCertificate" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, "PushSettings": { "description": "Push settings for the App.", "required": [ @@ -13081,35 +14403,6 @@ }, "x-ms-azure-resource": true }, - "ResourceHealthMetadata": { - "description": "Used for getting ResourceHealthCheck settings.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "ResourceHealthMetadata resource specific properties", - "properties": { - "id": { - "description": "ARM Resource Id", - "type": "string" - }, - "category": { - "description": "The category that the resource matches in the RHC Policy File", - "type": "string" - }, - "signalAvailability": { - "description": "Is there a health signal for the resource", - "type": "boolean" - } - }, - "x-ms-client-flatten": true - } - } - }, "ResourceMetric": { "description": "Object representing a metric for any resource .", "type": "object", @@ -13412,7 +14705,8 @@ "enum": [ "Default", "Clone", - "Relocation" + "Relocation", + "Snapshot" ], "type": "string", "x-ms-enum": { @@ -13562,11 +14856,6 @@ }, "readOnly": true }, - "premiumAppDeployed": { - "description": "Indicates whether app is deployed as a premium app.", - "type": "boolean", - "readOnly": true - }, "scmSiteAlsoStopped": { "description": "true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", "default": false, @@ -13585,23 +14874,6 @@ "read" ] }, - "microService": { - "description": "Micro services like apps, logic apps.", - "default": "WebSites", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "gatewaySiteName": { - "description": "Name of gateway app associated with the app.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, "clientAffinityEnabled": { "description": "true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.", "type": "boolean" @@ -13615,7 +14887,12 @@ "type": "boolean" }, "outboundIpAddresses": { - "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Read-only.", + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only.", + "type": "string", + "readOnly": true + }, + "possibleOutboundIpAddresses": { + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only.", "type": "string", "readOnly": true }, @@ -14561,6 +15838,57 @@ } } }, + "SnapshotRecoveryRequest": { + "description": "Details about app recovery operation.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "SnapshotRecoveryRequest resource specific properties", + "required": [ + "overwrite" + ], + "properties": { + "snapshotTime": { + "format": "date-time", + "description": "Point in time in which the app recovery should be attempted.", + "type": "string" + }, + "recoveryTarget": { + "$ref": "#/definitions/SnapshotRecoveryTarget", + "description": "Specifies the web app that snapshot contents will be written to." + }, + "overwrite": { + "description": "true if the recovery operation can overwrite source app; otherwise, false.", + "type": "boolean" + }, + "recoverConfiguration": { + "description": "Site configuration, in addition to content, will be reverted if this is true.", + "type": "boolean" + } + }, + "x-ms-client-flatten": true + } + } + }, + "SnapshotRecoveryTarget": { + "description": "Specifies the web app that snapshot contents will be written to.", + "type": "object", + "properties": { + "location": { + "description": "Geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS", + "type": "string" + }, + "id": { + "description": "ARM resource ID of the target app. \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "type": "string" + } + } + }, "StatusCodesBasedTrigger": { "description": "Trigger based on status code.", "type": "object", @@ -14971,4 +16299,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/arm-web/2016-09-01/swagger/AppServiceEnvironments.json b/arm-web/2016-09-01/swagger/AppServiceEnvironments.json index 3aeba06f6886..41a583a3821e 100644 --- a/arm-web/2016-09-01/swagger/AppServiceEnvironments.json +++ b/arm-web/2016-09-01/swagger/AppServiceEnvironments.json @@ -2513,6 +2513,14 @@ "description": "Body of the error response returned from the API.", "type": "object", "properties": { + "code": { + "description": "Basic error code.", + "type": "string" + }, + "message": { + "description": "Any details of the error.", + "type": "string" + }, "extendedCode": { "description": "Type of error.", "type": "string" @@ -2534,14 +2542,6 @@ "items": { "$ref": "#/definitions/ErrorEntity" } - }, - "code": { - "description": "Basic error code.", - "type": "string" - }, - "message": { - "description": "Any details of the error.", - "type": "string" } } }, @@ -3326,11 +3326,6 @@ }, "readOnly": true }, - "premiumAppDeployed": { - "description": "Indicates whether app is deployed as a premium app.", - "type": "boolean", - "readOnly": true - }, "scmSiteAlsoStopped": { "description": "true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", "default": false, @@ -3349,23 +3344,6 @@ "read" ] }, - "microService": { - "description": "Micro services like apps, logic apps.", - "default": "WebSites", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "gatewaySiteName": { - "description": "Name of gateway app associated with the app.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, "clientAffinityEnabled": { "description": "true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.", "type": "boolean" @@ -3379,7 +3357,12 @@ "type": "boolean" }, "outboundIpAddresses": { - "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Read-only.", + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only.", + "type": "string", + "readOnly": true + }, + "possibleOutboundIpAddresses": { + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only.", "type": "string", "readOnly": true }, @@ -3911,10 +3894,13 @@ "workerSize": { "description": "Size of the machines.", "enum": [ - "Default", "Small", + "Default", "Medium", - "Large" + "Large", + "D1", + "D2", + "D3" ], "type": "string", "x-ms-enum": { @@ -4317,4 +4303,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/arm-web/2016-09-01/swagger/AppServicePlans.json b/arm-web/2016-09-01/swagger/AppServicePlans.json index 417f1c1e8f46..5bd6a8f8ea0a 100644 --- a/arm-web/2016-09-01/swagger/AppServicePlans.json +++ b/arm-web/2016-09-01/swagger/AppServicePlans.json @@ -1840,6 +1840,10 @@ "sendKeyValue": { "description": "The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned\n normally, use the POST /listKeys API instead.", "type": "string" + }, + "serviceBusSuffix": { + "description": "The suffix for the service bus endpoint. By default this is .servicebus.windows.net", + "type": "string" } }, "x-ms-client-flatten": true @@ -2452,11 +2456,6 @@ }, "readOnly": true }, - "premiumAppDeployed": { - "description": "Indicates whether app is deployed as a premium app.", - "type": "boolean", - "readOnly": true - }, "scmSiteAlsoStopped": { "description": "true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", "default": false, @@ -2475,23 +2474,6 @@ "read" ] }, - "microService": { - "description": "Micro services like apps, logic apps.", - "default": "WebSites", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "gatewaySiteName": { - "description": "Name of gateway app associated with the app.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, "clientAffinityEnabled": { "description": "true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.", "type": "boolean" @@ -2505,7 +2487,12 @@ "type": "boolean" }, "outboundIpAddresses": { - "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Read-only.", + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only.", + "type": "string", + "readOnly": true + }, + "possibleOutboundIpAddresses": { + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only.", "type": "string", "readOnly": true }, @@ -3215,4 +3202,4 @@ ] } ] -} +} \ No newline at end of file From dc0352d250148e16e43761dac39ed62d3f2ba857 Mon Sep 17 00:00:00 2001 From: Navy Aziz Date: Tue, 25 Jul 2017 17:02:14 -0700 Subject: [PATCH 03/27] Add public certificates, Functions Admin Token and MSDeploy APIs --- .../Microsoft.Web/2016-08-01/WebApps.json | 2216 +++++++++++++---- 1 file changed, 1782 insertions(+), 434 deletions(-) diff --git a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json index 0e0e29a57d14..ebc4c78a4f5d 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json @@ -2362,6 +2362,189 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/MSDeploy": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Invoke the MSDeploy web app extension as pass-through API", + "description": "Invoke the MSDeploy web app extension as pass-through API", + "operationId": "WebApps_GetMSDeployStatus", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "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/MSDeployStatus" + } + } + } + }, + "put": { + "tags": [ + "WebApps" + ], + "summary": "Invoke the MSDeploy web app extension as pass-through API", + "description": "Invoke the MSDeploy web app extension as pass-through API", + "operationId": "WebApps_CreateMSDeployOperation", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app", + "required": true, + "type": "string" + }, + { + "name": "MSDeploy", + "in": "body", + "description": "Details of MSDeploy operation", + "required": true, + "schema": { + "$ref": "#/definitions/MSDeploy" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/MSDeployStatus" + } + }, + "409": { + "description": "Another deployment is in progress" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/MSDeploy/log": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Invoke the MSDeploy Log web app extension as pass-through API", + "description": "Invoke the MSDeploy Log web app extension as pass-through API", + "operationId": "WebApps_GetMSDeployLog", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "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/MSDeployLog" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/admin/token": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Fetch a short lived token that can be exchanged for a master key.", + "description": "Fetch a short lived token that can be exchanged for a master key.", + "operationId": "WebApps_GetFunctionsAdminToken", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings": { "get": { "tags": [ @@ -3413,14 +3596,14 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/iscloneable": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/MSDeploy": { + "get": { "tags": [ "WebApps" ], - "summary": "Shows whether an app can be cloned to another resource group or subscription.", - "description": "Shows whether an app can be cloned to another resource group or subscription.", - "operationId": "WebApps_IsCloneable", + "summary": "Invoke the MSDeploy web app extension as pass-through API", + "description": "Invoke the MSDeploy web app extension as pass-through API", + "operationId": "WebApps_GetInstanceMsDeployStatus", "produces": [ "application/json", "text/json", @@ -3434,7 +3617,14 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Name of web app", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "Id of web app instance", "required": true, "type": "string" }, @@ -3449,23 +3639,28 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteCloneability" + "$ref": "#/definitions/MSDeployStatus" } } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/metricdefinitions": { - "get": { + }, + "put": { "tags": [ "WebApps" ], - "summary": "Gets all metric definitions of an app (or deployment slot, if specified).", - "description": "Gets all metric definitions of an app (or deployment slot, if specified).", - "operationId": "WebApps_ListMetricDefinitions", + "summary": "Invoke the MSDeploy web app extension as pass-through API", + "description": "Invoke the MSDeploy web app extension as pass-through API", + "operationId": "WebApps_CreateInstanceMSDeployOperation", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -3474,10 +3669,26 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Name of web app", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "Id of web app instance", "required": true, "type": "string" }, + { + "name": "MSDeploy", + "in": "body", + "description": "Details of MSDeploy operation", + "required": true, + "schema": { + "$ref": "#/definitions/MSDeploy" + } + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -3486,29 +3697,31 @@ } ], "responses": { - "200": { - "description": "OK", + "201": { + "description": "Accepted", "schema": { - "$ref": "#/definitions/ResourceMetricDefinitionCollection" + "$ref": "#/definitions/MSDeployStatus" } + }, + "409": { + "description": "Another deployment is in progress" } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/metrics": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/MSDeploy/log": { "get": { "tags": [ "WebApps" ], - "summary": "Gets performance metrics of an app (or deployment slot, if specified).", - "description": "Gets performance metrics of an app (or deployment slot, if specified).", - "operationId": "WebApps_ListMetrics", + "summary": "Invoke the MSDeploy Log web app extension as pass-through API", + "description": "Invoke the MSDeploy Log web app extension as pass-through API", + "operationId": "WebApps_GetInstanceMSDeployLog", "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -3517,21 +3730,15 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Name of web app", "required": true, "type": "string" }, { - "name": "details", - "in": "query", - "description": "Specify \"true\" to include metric details in the response. It is \"false\" by default.", - "type": "boolean" - }, - { - "name": "$filter", - "in": "query", - "description": "Return only metrics specified in the filter (using OData syntax). For 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]'.", - "x-ms-skip-url-encoding": true, + "name": "instanceId", + "in": "path", + "description": "Id of web app instance", + "required": true, "type": "string" }, { @@ -3545,28 +3752,166 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ResourceMetricCollection" + "$ref": "#/definitions/MSDeployLog" } } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migrate": { - "put": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/iscloneable": { + "post": { "tags": [ "WebApps" ], - "summary": "Restores a web app.", - "description": "Restores a web app.", - "operationId": "WebApps_MigrateStorage", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Shows whether an app can be cloned to another resource group or subscription.", + "description": "Shows whether an app can be cloned to another resource group or subscription.", + "operationId": "WebApps_IsCloneable", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SiteCloneability" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/metricdefinitions": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Gets all metric definitions of an app (or deployment slot, if specified).", + "description": "Gets all metric definitions of an app (or deployment slot, if specified).", + "operationId": "WebApps_ListMetricDefinitions", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ResourceMetricDefinitionCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/metrics": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Gets performance metrics of an app (or deployment slot, if specified).", + "description": "Gets performance metrics of an app (or deployment slot, if specified).", + "operationId": "WebApps_ListMetrics", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "details", + "in": "query", + "description": "Specify \"true\" to include metric details in the response. It is \"false\" by default.", + "type": "boolean" + }, + { + "name": "$filter", + "in": "query", + "description": "Return only metrics specified in the filter (using OData syntax). For 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]'.", + "x-ms-skip-url-encoding": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ResourceMetricCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migrate": { + "put": { + "tags": [ + "WebApps" + ], + "summary": "Restores a web app.", + "description": "Restores a web app.", + "operationId": "WebApps_MigrateStorage", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -4188,21 +4533,57 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publishxml": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates": { + "get": { "tags": [ "WebApps" ], - "summary": "Gets the publishing profile for an app (or deployment slot, if specified).", - "description": "Gets the publishing profile for an app (or deployment slot, if specified).", - "operationId": "WebApps_ListPublishingProfileXmlWithSecrets", - "consumes": [ + "summary": "Get public certificates for an app or a deployment slot.", + "description": "Get public certificates for an app or a deployment slot.", + "operationId": "WebApps_ListPublicCertificates", + "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PublicCertificateCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates/{publicCertificateName}": { + "get": { + "tags": [ + "WebApps" ], + "summary": "Get the named public certificate for an app (or deployment slot, if specified).", + "description": "Get the named public certificate for an app (or deployment slot, if specified).", + "operationId": "WebApps_GetPublicCertificate", "produces": [ "application/json", "text/json", @@ -4221,13 +4602,11 @@ "type": "string" }, { - "name": "publishingProfileOptions", - "in": "body", - "description": "Specifies publishingProfileOptions for publishing profile. For example, use {\"format\": \"FileZilla3\"} to get a FileZilla publishing profile.", + "name": "publicCertificateName", + "in": "path", + "description": "Public CertificateName", "required": true, - "schema": { - "$ref": "#/definitions/CsmPublishingProfileOptions" - } + "type": "string" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -4240,25 +4619,21 @@ "200": { "description": "OK", "schema": { - "type": "file" + "$ref": "#/definitions/PublicCertificate" } } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/recover": { - "post": { + }, + "put": { "tags": [ "WebApps" ], - "summary": "Recovers a deleted web app.", - "description": "Recovers a deleted web app.", - "operationId": "WebApps_Recover", + "summary": "Creates a hostname binding for an app.", + "description": "Creates a hostname binding for an app.", + "operationId": "WebApps_CreateOrUpdatePublicCertificate", "consumes": [ "application/json", "text/json", - "application/xml", - "text/xml", "application/x-www-form-urlencoded" ], "produces": [ @@ -4274,17 +4649,24 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Name of the app.", "required": true, "type": "string" }, { - "name": "recoveryEntity", + "name": "publicCertificateName", + "in": "path", + "description": "Public certificate name.", + "required": true, + "type": "string" + }, + { + "name": "publicCertificate", "in": "body", - "description": "Snapshot data used for web app recovery. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API.", + "description": "Public certificate details. This is the JSON representation of a PublicCertificate object.", "required": true, "schema": { - "$ref": "#/definitions/CsmSiteRecoveryEntity" + "$ref": "#/definitions/PublicCertificate" } }, { @@ -4298,21 +4680,18 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/RecoverResponse" + "$ref": "#/definitions/PublicCertificate" } } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resetSlotConfig": { - "post": { + } + }, + "delete": { "tags": [ "WebApps" ], - "summary": "Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.", - "description": "Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.", - "operationId": "WebApps_ResetProductionSlotConfig", + "summary": "Deletes a hostname binding for an app.", + "description": "Deletes a hostname binding for an app.", + "operationId": "WebApps_DeletePublicCertificate", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4324,6 +4703,13 @@ "required": true, "type": "string" }, + { + "name": "publicCertificateName", + "in": "path", + "description": "Public Certificate Name.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -4333,23 +4719,89 @@ ], "responses": { "200": { - "description": "OK" + "description": "Succesfully deleted hostname binding" + }, + "204": { + "description": "Hostname binding does not exist" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resourceHealthMetadata": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publishxml": { + "post": { "tags": [ "WebApps" ], - "summary": "Gets the category of ResourceHealthMetadata to use for the given site", - "description": "Gets the category of ResourceHealthMetadata to use for the given site", - "operationId": "WebApps_GetResourceHealthMetadata", - "produces": [ - "application/json", - "text/json", - "application/xml", + "summary": "Gets the publishing profile for an app (or deployment slot, if specified).", + "description": "Gets the publishing profile for an app (or deployment slot, if specified).", + "operationId": "WebApps_ListPublishingProfileXmlWithSecrets", + "consumes": [ + "application/json", + "text/json", + "application/xml", + "text/xml", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "publishingProfileOptions", + "in": "body", + "description": "Specifies publishingProfileOptions for publishing profile. For example, use {\"format\": \"FileZilla3\"} to get a FileZilla publishing profile.", + "required": true, + "schema": { + "$ref": "#/definitions/CsmPublishingProfileOptions" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "file" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/recover": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Recovers a deleted web app.", + "description": "Recovers a deleted web app.", + "operationId": "WebApps_Recover", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", "text/xml" ], "parameters": [ @@ -4363,6 +4815,15 @@ "required": true, "type": "string" }, + { + "name": "recoveryEntity", + "in": "body", + "description": "Snapshot data used for web app recovery. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API.", + "required": true, + "schema": { + "$ref": "#/definitions/SnapshotRecoveryRequest" + } + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -4374,9 +4835,43 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ResourceHealthMetadata" + "$ref": "#/definitions/RecoverResponse" } } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resetSlotConfig": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.", + "description": "Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.", + "operationId": "WebApps_ResetProductionSlotConfig", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + } } } }, @@ -6958,17 +7453,19 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy": { "get": { "tags": [ "WebApps" ], - "summary": "Get hostname bindings for an app or a deployment slot.", - "description": "Get hostname bindings for an app or a deployment slot.", - "operationId": "WebApps_ListHostNameBindingsSlot", + "summary": "Invoke the MSDeploy web app extension as pass-through API", + "description": "Invoke the MSDeploy web app extension as pass-through API", + "operationId": "WebApps_GetMSDeployStatusSlot", "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -6977,14 +7474,14 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Name of web app", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API gets hostname bindings for the production slot.", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, @@ -6999,23 +7496,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HostNameBindingCollection" + "$ref": "#/definitions/MSDeployStatus" } } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}": { - "get": { + }, + "put": { "tags": [ "WebApps" ], - "summary": "Get the named hostname binding for an app (or deployment slot, if specified).", - "description": "Get the named hostname binding for an app (or deployment slot, if specified).", - "operationId": "WebApps_GetHostNameBindingSlot", + "summary": "Invoke the MSDeploy web app extension as pass-through API", + "description": "Invoke the MSDeploy web app extension as pass-through API", + "operationId": "WebApps_CreateMSDeployOperationSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -7029,23 +7526,25 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Name of web app", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API the named binding for the production slot.", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, { - "name": "hostName", - "in": "path", - "description": "Hostname in the hostname binding.", + "name": "MSDeploy", + "in": "body", + "description": "Details of MSDeploy operation", "required": true, - "type": "string" + "schema": { + "$ref": "#/definitions/MSDeploy" + } }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -7055,26 +7554,26 @@ } ], "responses": { - "200": { - "description": "OK", + "201": { + "description": "Accepted", "schema": { - "$ref": "#/definitions/HostNameBinding" + "$ref": "#/definitions/MSDeployStatus" } + }, + "409": { + "description": "Another deployment is in progress" } } - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy/log": { + "get": { "tags": [ "WebApps" ], - "summary": "Creates a hostname binding for an app.", - "description": "Creates a hostname binding for an app.", - "operationId": "WebApps_CreateOrUpdateHostNameBindingSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Invoke the MSDeploy Log web app extension as pass-through API", + "description": "Invoke the MSDeploy Log web app extension as pass-through API", + "operationId": "WebApps_GetMSDeployLogSlot", "produces": [ "application/json", "text/json", @@ -7088,30 +7587,14 @@ { "name": "name", "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "hostName", - "in": "path", - "description": "Hostname in the hostname binding.", + "description": "Name of web app", "required": true, "type": "string" }, - { - "name": "hostNameBinding", - "in": "body", - "description": "Binding details. This is the JSON representation of a HostNameBinding object.", - "required": true, - "schema": { - "$ref": "#/definitions/HostNameBinding" - } - }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, @@ -7126,18 +7609,26 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HostNameBinding" + "$ref": "#/definitions/MSDeployLog" } } } - }, - "delete": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/admin/token": { + "get": { "tags": [ "WebApps" ], - "summary": "Deletes a hostname binding for an app.", - "description": "Deletes a hostname binding for an app.", - "operationId": "WebApps_DeleteHostNameBindingSlot", + "summary": "Fetch a short lived token that can be exchanged for a master key.", + "description": "Fetch a short lived token that can be exchanged for a master key.", + "operationId": "WebApps_GetFunctionsAdminTokenSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7145,21 +7636,14 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Name of web app", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", - "required": true, - "type": "string" - }, - { - "name": "hostName", - "in": "path", - "description": "Hostname in the hostname binding.", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, @@ -7172,27 +7656,25 @@ ], "responses": { "200": { - "description": "Succesfully deleted hostname binding" - }, - "204": { - "description": "Hostname binding does not exist" + "description": "OK", + "schema": { + "type": "string" + } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings": { "get": { "tags": [ "WebApps" ], - "summary": "Retrieves a specific Service Bus Hybrid Connection used by this Web App.", - "description": "Retrieves a specific Service Bus Hybrid Connection used by this Web App.", - "operationId": "WebApps_GetHybridConnectionSlot", + "summary": "Get hostname bindings for an app or a deployment slot.", + "description": "Get hostname bindings for an app or a deployment slot.", + "operationId": "WebApps_ListHostNameBindingsSlot", "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -7201,28 +7683,252 @@ { "name": "name", "in": "path", - "description": "The name of the web app", - "required": true, - "type": "string" - }, - { - "name": "namespaceName", - "in": "path", - "description": "The namespace for this hybrid connection", - "required": true, - "type": "string" - }, - { - "name": "relayName", - "in": "path", - "description": "The relay name for this hybrid connection", + "description": "Name of the app.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "The name of the slot for the web app.", + "description": "Name of the deployment slot. If a slot is not specified, the API gets hostname bindings for the production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/HostNameBindingCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Get the named hostname binding for an app (or deployment slot, if specified).", + "description": "Get the named hostname binding for an app (or deployment slot, if specified).", + "operationId": "WebApps_GetHostNameBindingSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API the named binding for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "hostName", + "in": "path", + "description": "Hostname in the hostname binding.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/HostNameBinding" + } + } + } + }, + "put": { + "tags": [ + "WebApps" + ], + "summary": "Creates a hostname binding for an app.", + "description": "Creates a hostname binding for an app.", + "operationId": "WebApps_CreateOrUpdateHostNameBindingSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "hostName", + "in": "path", + "description": "Hostname in the hostname binding.", + "required": true, + "type": "string" + }, + { + "name": "hostNameBinding", + "in": "body", + "description": "Binding details. This is the JSON representation of a HostNameBinding object.", + "required": true, + "schema": { + "$ref": "#/definitions/HostNameBinding" + } + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/HostNameBinding" + } + } + } + }, + "delete": { + "tags": [ + "WebApps" + ], + "summary": "Deletes a hostname binding for an app.", + "description": "Deletes a hostname binding for an app.", + "operationId": "WebApps_DeleteHostNameBindingSlot", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "hostName", + "in": "path", + "description": "Hostname in the hostname binding.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Succesfully deleted hostname binding" + }, + "204": { + "description": "Hostname binding does not exist" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Retrieves a specific Service Bus Hybrid Connection used by this Web App.", + "description": "Retrieves a specific Service Bus Hybrid Connection used by this Web App.", + "operationId": "WebApps_GetHybridConnectionSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "The name of the web app", + "required": true, + "type": "string" + }, + { + "name": "namespaceName", + "in": "path", + "description": "The namespace for this hybrid connection", + "required": true, + "type": "string" + }, + { + "name": "relayName", + "in": "path", + "description": "The relay name for this hybrid connection", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "The name of the slot for the web app.", "required": true, "type": "string" }, @@ -8149,14 +8855,14 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/iscloneable": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/extensions/MSDeploy": { + "get": { "tags": [ "WebApps" ], - "summary": "Shows whether an app can be cloned to another resource group or subscription.", - "description": "Shows whether an app can be cloned to another resource group or subscription.", - "operationId": "WebApps_IsCloneableSlot", + "summary": "Invoke the MSDeploy web app extension as pass-through API", + "description": "Invoke the MSDeploy web app extension as pass-through API", + "operationId": "WebApps_GetInstanceMsDeployStatusSlot", "produces": [ "application/json", "text/json", @@ -8170,14 +8876,21 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Name of web app", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. By default, this API returns information on the production slot.", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "Id of web app instance", "required": true, "type": "string" }, @@ -8192,11 +8905,187 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteCloneability" + "$ref": "#/definitions/MSDeployStatus" } } } - } + }, + "put": { + "tags": [ + "WebApps" + ], + "summary": "Invoke the MSDeploy web app extension as pass-through API", + "description": "Invoke the MSDeploy web app extension as pass-through API", + "operationId": "WebApps_CreateInstanceMSDeployOperationSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "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" + }, + { + "name": "instanceId", + "in": "path", + "description": "Id of web app instance", + "required": true, + "type": "string" + }, + { + "name": "MSDeploy", + "in": "body", + "description": "Details of MSDeploy operation", + "required": true, + "schema": { + "$ref": "#/definitions/MSDeploy" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/MSDeployStatus" + } + }, + "409": { + "description": "Another deployment is in progress" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/extensions/MSDeploy/log": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Invoke the MSDeploy Log web app extension as pass-through API", + "description": "Invoke the MSDeploy Log web app extension as pass-through API", + "operationId": "WebApps_GetInstanceMSDeployLogSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "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" + }, + { + "name": "instanceId", + "in": "path", + "description": "Id of web app instance", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MSDeployLog" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/iscloneable": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Shows whether an app can be cloned to another resource group or subscription.", + "description": "Shows whether an app can be cloned to another resource group or subscription.", + "operationId": "WebApps_IsCloneableSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns information on the production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SiteCloneability" + } + } + } + } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/metricdefinitions": { "get": { @@ -8603,7 +9492,7 @@ { "name": "slot", "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot. **** CURRENTLY UNUSED *****", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, @@ -8655,14 +9544,235 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "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/SitePhpErrorLogFlag" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Gets the premier add-ons of an app.", + "description": "Gets the premier add-ons of an app.", + "operationId": "WebApps_ListPremierAddOnsSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the premier add-ons for the production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PremierAddOn" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Gets a named add-on of an app.", + "description": "Gets a named add-on of an app.", + "operationId": "WebApps_GetPremierAddOnSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "premierAddOnName", + "in": "path", + "description": "Add-on name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the named add-on for the production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PremierAddOn" + } + } + } + }, + "put": { + "tags": [ + "WebApps" + ], + "summary": "Updates a named add-on of an app.", + "description": "Updates a named add-on of an app.", + "operationId": "WebApps_AddPremierAddOnSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "premierAddOnName", + "in": "path", + "description": "Add-on name.", + "required": true, + "type": "string" + }, + { + "name": "premierAddOn", + "in": "body", + "description": "A JSON representation of the edited premier add-on.", + "required": true, + "schema": { + "$ref": "#/definitions/PremierAddOn" + } + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will update the named add-on for the production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PremierAddOn" + } + } + } + }, + "delete": { + "tags": [ + "WebApps" + ], + "summary": "Delete a premier add-on from an app.", + "description": "Delete a premier add-on from an app.", + "operationId": "WebApps_DeletePremierAddOnSlot", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "premierAddOnName", + "in": "path", + "description": "Add-on name.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will delete the named add-on for the production slot.", "required": true, "type": "string" }, @@ -8675,27 +9785,22 @@ ], "responses": { "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SitePhpErrorLogFlag" - } + "description": "Succesfully deleted premier add-on." } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates": { "get": { "tags": [ "WebApps" ], - "summary": "Gets the premier add-ons of an app.", - "description": "Gets the premier add-ons of an app.", - "operationId": "WebApps_ListPremierAddOnsSlot", + "summary": "Get public certificates for an app or a deployment slot.", + "description": "Get public certificates for an app or a deployment slot.", + "operationId": "WebApps_ListPublicCertificatesSlot", "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -8711,7 +9816,7 @@ { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the premier add-ons for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API gets hostname bindings for the production slot.", "required": true, "type": "string" }, @@ -8726,20 +9831,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/PremierAddOn" + "$ref": "#/definitions/PublicCertificateCollection" } } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates/{publicCertificateName}": { "get": { "tags": [ "WebApps" ], - "summary": "Gets a named add-on of an app.", - "description": "Gets a named add-on of an app.", - "operationId": "WebApps_GetPremierAddOnSlot", + "summary": "Get the named public certificate for an app (or deployment slot, if specified).", + "description": "Get the named public certificate for an app (or deployment slot, if specified).", + "operationId": "WebApps_GetPublicCertificateSlot", "produces": [ "application/json", "text/json", @@ -8758,16 +9866,16 @@ "type": "string" }, { - "name": "premierAddOnName", + "name": "slot", "in": "path", - "description": "Add-on name.", + "description": "Name of the deployment slot. If a slot is not specified, the API the named binding for the production slot.", "required": true, "type": "string" }, { - "name": "slot", + "name": "publicCertificateName", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the named add-on for the production slot.", + "description": "Public CertificateName", "required": true, "type": "string" }, @@ -8782,7 +9890,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/PremierAddOn" + "$ref": "#/definitions/PublicCertificate" } } } @@ -8791,9 +9899,9 @@ "tags": [ "WebApps" ], - "summary": "Updates a named add-on of an app.", - "description": "Updates a named add-on of an app.", - "operationId": "WebApps_AddPremierAddOnSlot", + "summary": "Creates a hostname binding for an app.", + "description": "Creates a hostname binding for an app.", + "operationId": "WebApps_CreateOrUpdatePublicCertificateSlot", "consumes": [ "application/json", "text/json", @@ -8817,25 +9925,25 @@ "type": "string" }, { - "name": "premierAddOnName", + "name": "publicCertificateName", "in": "path", - "description": "Add-on name.", + "description": "Public certificate name.", "required": true, "type": "string" }, { - "name": "premierAddOn", + "name": "publicCertificate", "in": "body", - "description": "A JSON representation of the edited premier add-on.", + "description": "Public certificate details. This is the JSON representation of a PublicCertificate object.", "required": true, "schema": { - "$ref": "#/definitions/PremierAddOn" + "$ref": "#/definitions/PublicCertificate" } }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will update the named add-on for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.", "required": true, "type": "string" }, @@ -8850,7 +9958,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/PremierAddOn" + "$ref": "#/definitions/PublicCertificate" } } } @@ -8859,9 +9967,9 @@ "tags": [ "WebApps" ], - "summary": "Delete a premier add-on from an app.", - "description": "Delete a premier add-on from an app.", - "operationId": "WebApps_DeletePremierAddOnSlot", + "summary": "Deletes a hostname binding for an app.", + "description": "Deletes a hostname binding for an app.", + "operationId": "WebApps_DeletePublicCertificateSlot", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8874,16 +9982,16 @@ "type": "string" }, { - "name": "premierAddOnName", + "name": "slot", "in": "path", - "description": "Add-on name.", + "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", "required": true, "type": "string" }, { - "name": "slot", + "name": "publicCertificateName", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete the named add-on for the production slot.", + "description": "Public Certificate Name.", "required": true, "type": "string" }, @@ -8896,7 +10004,10 @@ ], "responses": { "200": { - "description": "Succesfully deleted premier add-on." + "description": "Succesfully deleted hostname binding" + }, + "204": { + "description": "Hostname binding does not exist" } } } @@ -8977,8 +10088,6 @@ "consumes": [ "application/json", "text/json", - "application/xml", - "text/xml", "application/x-www-form-urlencoded" ], "produces": [ @@ -9004,7 +10113,7 @@ "description": "Snapshot data used for web app recovery. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API.", "required": true, "schema": { - "$ref": "#/definitions/CsmSiteRecoveryEntity" + "$ref": "#/definitions/SnapshotRecoveryRequest" } }, { @@ -9072,55 +10181,6 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resourceHealthMetadata": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets the category of ResourceHealthMetadata to use for the given site", - "description": "Gets the category of ResourceHealthMetadata to use for the given site", - "operationId": "WebApps_GetResourceHealthMetadataSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "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/ResourceHealthMetadata" - } - } - } - } - }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restart": { "post": { "tags": [ @@ -9624,8 +10684,8 @@ } ], "responses": { - "204": { - "description": "No Content" + "200": { + "description": "Successfully sync sourcecontrol." } } } @@ -10623,8 +11683,8 @@ } ], "responses": { - "204": { - "description": "No Content" + "200": { + "description": "Successfully sync sourcecontrol." } } } @@ -11530,7 +12590,8 @@ "enum": [ "Default", "Clone", - "Relocation" + "Relocation", + "Snapshot" ], "type": "string", "x-ms-enum": { @@ -11773,25 +12834,6 @@ } } }, - "CsmSiteRecoveryEntity": { - "description": "Details about app recovery operation.", - "type": "object", - "properties": { - "snapshotTime": { - "format": "date-time", - "description": "Point in time in which the app recovery should be attempted.", - "type": "string" - }, - "siteName": { - "description": "[Optional] Destination app name into which app should be recovered. This is case when new app should be created instead.", - "type": "string" - }, - "slotName": { - "description": "[Optional] Destination app slot name into which app should be recovered.", - "type": "string" - } - } - }, "CsmSlotEntity": { "description": "Deployment slot parameters.", "required": [ @@ -12086,6 +13128,14 @@ "description": "Body of the error response returned from the API.", "type": "object", "properties": { + "code": { + "description": "Basic error code.", + "type": "string" + }, + "message": { + "description": "Any details of the error.", + "type": "string" + }, "extendedCode": { "description": "Type of error.", "type": "string" @@ -12107,14 +13157,6 @@ "items": { "$ref": "#/definitions/ErrorEntity" } - }, - "code": { - "description": "Basic error code.", - "type": "string" - }, - "message": { - "description": "Any details of the error.", - "type": "string" } } }, @@ -12474,6 +13516,10 @@ "sendKeyValue": { "description": "The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned\n normally, use the POST /listKeys API instead.", "type": "string" + }, + "serviceBusSuffix": { + "description": "The suffix for the service bus endpoint. By default this is .servicebus.windows.net", + "type": "string" } }, "x-ms-client-flatten": true @@ -12507,75 +13553,259 @@ } } }, - "Identifier": { - "description": "Identifier.", + "Identifier": { + "description": "Identifier.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Identifier resource specific properties", + "properties": { + "id": { + "description": "ID.", + "type": "string" + } + }, + "x-ms-client-flatten": true + } + } + }, + "IdentifierCollection": { + "description": "Collection of identifiers.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/Identifier" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "IpSecurityRestriction": { + "description": "IP security restriction on an app.", + "required": [ + "ipAddress" + ], + "type": "object", + "properties": { + "ipAddress": { + "description": "IP address the security restriction is valid for.", + "type": "string" + }, + "subnetMask": { + "description": "Subnet mask for the range of IP addresses the restriction is valid for.", + "type": "string" + } + } + }, + "LocalizableString": { + "description": "Localizable string object containing the name and a localized value.", + "type": "object", + "properties": { + "value": { + "description": "Non-localized name.", + "type": "string" + }, + "localizedValue": { + "description": "Localized name.", + "type": "string" + } + } + }, + "MSDeploy": { + "description": "MSDeploy ARM PUT information", + "type": "object", + "properties": { + "addOnPackages": { + "description": "List of Add-On packages. Add-On packages implicitly enable the Do Not Delete MSDeploy rule.", + "type": "array", + "items": { + "$ref": "#/definitions/MSDeployCore" + } + }, + "packageUri": { + "description": "Package URI", + "type": "string" + }, + "connectionString": { + "description": "SQL Connection String", + "type": "string" + }, + "dbType": { + "description": "Database Type", + "type": "string" + }, + "setParametersXmlFileUri": { + "description": "URI of MSDeploy Parameters file. Must not be set if SetParameters is used.", + "type": "string" + }, + "setParameters": { + "description": "MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used.", + "type": "array", + "items": { + "$ref": "#/definitions/MSDeployParameterEntry" + } + }, + "skipAppData": { + "description": "Controls whether the MSDeploy operation skips the AppData directory. If set to true, the existing AppData directory on the destination will not be deleted and overwritten.", + "type": "boolean" + }, + "appOffline": { + "description": "Sets the AppOffline rule while the MSDeploy operation executes.", + "type": "boolean" + } + } + }, + "MSDeployCore": { + "description": "MSDeploy ARM PUT core information", "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], "properties": { - "properties": { - "description": "Identifier resource specific properties", - "properties": { - "id": { - "description": "ID.", - "type": "string" - } - }, - "x-ms-client-flatten": true + "packageUri": { + "description": "Package URI", + "type": "string" + }, + "connectionString": { + "description": "SQL Connection String", + "type": "string" + }, + "dbType": { + "description": "Database Type", + "type": "string" + }, + "setParametersXmlFileUri": { + "description": "URI of MSDeploy Parameters file. Must not be set if SetParameters is used.", + "type": "string" + }, + "setParameters": { + "description": "MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used.", + "type": "array", + "items": { + "$ref": "#/definitions/MSDeployParameterEntry" + } + }, + "skipAppData": { + "description": "Controls whether the MSDeploy operation skips the AppData directory. If set to true, the existing AppData directory on the destination will not be deleted and overwritten.", + "type": "boolean" + }, + "appOffline": { + "description": "Sets the AppOffline rule while the MSDeploy operation executes.", + "type": "boolean" } } }, - "IdentifierCollection": { - "description": "Collection of identifiers.", - "required": [ - "value" - ], + "MSDeployLog": { + "description": "MSDeploy log", "type": "object", "properties": { - "value": { - "description": "Collection of resources.", + "entries": { + "description": "List of log entry messages", "type": "array", "items": { - "$ref": "#/definitions/Identifier" + "$ref": "#/definitions/MSDeployLogEntry" + }, + "readOnly": true + } + } + }, + "MSDeployLogEntry": { + "description": "MSDeploy log entry", + "type": "object", + "properties": { + "time": { + "format": "date-time", + "description": "Timestamp of log entry", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Log entry type", + "enum": [ + "Message", + "Warning", + "Error" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "MSDeployLogEntryType", + "modelAsString": false } }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" + "message": { + "description": "Log entry message", + "type": "string", + "readOnly": true } } }, - "IpSecurityRestriction": { - "description": "IP security restriction on an app.", - "required": [ - "ipAddress" - ], + "MSDeployParameterEntry": { + "description": "MSDeploy ARM PUT core information", "type": "object", "properties": { - "ipAddress": { - "description": "IP address the security restriction is valid for.", + "name": { + "description": "Parameter name", "type": "string" }, - "subnetMask": { - "description": "Subnet mask for the range of IP addresses the restriction is valid for.", + "value": { + "description": "Parameter value", "type": "string" } } }, - "LocalizableString": { - "description": "Localizable string object containing the name and a localized value.", + "MSDeployStatus": { + "description": "MSDeploy ARM response", "type": "object", "properties": { - "value": { - "description": "Non-localized name.", - "type": "string" + "deployer": { + "description": "Username of deployer", + "type": "string", + "readOnly": true }, - "localizedValue": { - "description": "Localized name.", - "type": "string" + "provisioningState": { + "description": "Provisioning state", + "enum": [ + "accepted", + "running", + "succeeded", + "failed", + "canceled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "MSDeployProvisioningState", + "modelAsString": false + } + }, + "startTime": { + "format": "date-time", + "description": "Start time of deploy operation", + "type": "string", + "readOnly": true + }, + "endTime": { + "format": "date-time", + "description": "End time of deploy operation", + "type": "string", + "readOnly": true + }, + "complete": { + "description": "Whether the deployment operation has completed", + "type": "boolean", + "readOnly": true } } }, @@ -12591,12 +13821,25 @@ "properties": { "description": "MigrateMySqlRequest resource specific properties", "required": [ - "connectionString" + "connectionString", + "migrationType" ], "properties": { "connectionString": { - "description": "Connection string to the remote MySQL database to which data should be migrated.", + "description": "Connection string to the remote MySQL database.", "type": "string" + }, + "migrationType": { + "description": "The type of migration operation to be done", + "enum": [ + "LocalToRemote", + "RemoteToLocal" + ], + "type": "string", + "x-ms-enum": { + "name": "MySqlMigrationType", + "modelAsString": false + } } }, "x-ms-client-flatten": true @@ -12813,6 +14056,11 @@ "format": "double", "description": "Value of counter at a certain time.", "type": "number" + }, + "coreCount": { + "format": "int32", + "description": "Core Count of worker. Not a data member", + "type": "integer" } } }, @@ -12900,6 +14148,65 @@ } } }, + "PublicCertificate": { + "description": "Public certificate object", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "PublicCertificate resource specific properties", + "properties": { + "blob": { + "description": "Public Certificate byte array", + "type": "string" + }, + "publicCertificateLocation": { + "description": "Public Certificate Location", + "enum": [ + "CurrentUserMy", + "LocalMachineMy", + "Unknown" + ], + "type": "string", + "x-ms-enum": { + "name": "PublicCertificateLocation", + "modelAsString": false + } + }, + "thumbprint": { + "description": "Certificate Thumbprint", + "type": "string", + "readOnly": true + } + }, + "x-ms-client-flatten": true + } + } + }, + "PublicCertificateCollection": { + "description": "Collection of public certificates", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/PublicCertificate" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, "PushSettings": { "description": "Push settings for the App.", "required": [ @@ -13077,38 +14384,39 @@ "additionalProperties": { "type": "string" } - } - }, - "x-ms-azure-resource": true - }, - "ResourceHealthMetadata": { - "description": "Used for getting ResourceHealthCheck settings.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "ResourceHealthMetadata resource specific properties", + }, + "identity": { + "description": "Managed service identity.", + "type": "object", "properties": { - "id": { - "description": "ARM Resource Id", - "type": "string" + "type": { + "description": "Type of managed service identity.", + "enum": [ + "SystemAssigned" + ], + "x-ms-enum": { + "name": "ManagedServiceIdentityType", + "modelAsString": true + } }, - "category": { - "description": "The category that the resource matches in the RHC Policy File", - "type": "string" + "tenantId": { + "description": "Tenant of managed service identity.", + "type": "string", + "x-ms-mutability": [ + "read" + ] }, - "signalAvailability": { - "description": "Is there a health signal for the resource", - "type": "boolean" + "principalId": { + "description": "Principal Id of managed service identity.", + "type": "string", + "x-ms-mutability": [ + "read" + ] } - }, - "x-ms-client-flatten": true + } } - } + }, + "x-ms-azure-resource": true }, "ResourceMetric": { "description": "Object representing a metric for any resource .", @@ -13406,13 +14714,19 @@ "default": false, "type": "boolean" }, + "ignoreDatabases": { + "description": "Ignore the databases and only restore the site content", + "default": false, + "type": "boolean" + }, "operationType": { "description": "Operation type.", "default": "Default", "enum": [ "Default", "Clone", - "Relocation" + "Relocation", + "Snapshot" ], "type": "string", "x-ms-enum": { @@ -13562,11 +14876,6 @@ }, "readOnly": true }, - "premiumAppDeployed": { - "description": "Indicates whether app is deployed as a premium app.", - "type": "boolean", - "readOnly": true - }, "scmSiteAlsoStopped": { "description": "true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", "default": false, @@ -13585,23 +14894,6 @@ "read" ] }, - "microService": { - "description": "Micro services like apps, logic apps.", - "default": "WebSites", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "gatewaySiteName": { - "description": "Name of gateway app associated with the app.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, "clientAffinityEnabled": { "description": "true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.", "type": "boolean" @@ -13615,7 +14907,12 @@ "type": "boolean" }, "outboundIpAddresses": { - "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Read-only.", + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only.", + "type": "string", + "readOnly": true + }, + "possibleOutboundIpAddresses": { + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only.", "type": "string", "readOnly": true }, @@ -14561,6 +15858,57 @@ } } }, + "SnapshotRecoveryRequest": { + "description": "Details about app recovery operation.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "SnapshotRecoveryRequest resource specific properties", + "required": [ + "overwrite" + ], + "properties": { + "snapshotTime": { + "format": "date-time", + "description": "Point in time in which the app recovery should be attempted.", + "type": "string" + }, + "recoveryTarget": { + "$ref": "#/definitions/SnapshotRecoveryTarget", + "description": "Specifies the web app that snapshot contents will be written to." + }, + "overwrite": { + "description": "true if the recovery operation can overwrite source app; otherwise, false.", + "type": "boolean" + }, + "recoverConfiguration": { + "description": "Site configuration, in addition to content, will be reverted if this is true.", + "type": "boolean" + } + }, + "x-ms-client-flatten": true + } + } + }, + "SnapshotRecoveryTarget": { + "description": "Specifies the web app that snapshot contents will be written to.", + "type": "object", + "properties": { + "location": { + "description": "Geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS", + "type": "string" + }, + "id": { + "description": "ARM resource ID of the target app. \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "type": "string" + } + } + }, "StatusCodesBasedTrigger": { "description": "Trigger based on status code.", "type": "object", @@ -14971,4 +16319,4 @@ ] } ] -} +} \ No newline at end of file From 549a9de920ccc1712564b206c25caeef471fe72e Mon Sep 17 00:00:00 2001 From: Navy Aziz Date: Wed, 26 Jul 2017 11:09:34 -0700 Subject: [PATCH 04/27] Revert resource definition changes and description change for site properties --- .../Microsoft.Web/2016-08-01/WebApps.json | 40 +------------------ 1 file changed, 2 insertions(+), 38 deletions(-) diff --git a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json index ebc4c78a4f5d..1b60cf8fb6a5 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json @@ -14384,39 +14384,8 @@ "additionalProperties": { "type": "string" } - }, - "identity": { - "description": "Managed service identity.", - "type": "object", - "properties": { - "type": { - "description": "Type of managed service identity.", - "enum": [ - "SystemAssigned" - ], - "x-ms-enum": { - "name": "ManagedServiceIdentityType", - "modelAsString": true - } - }, - "tenantId": { - "description": "Tenant of managed service identity.", - "type": "string", - "x-ms-mutability": [ - "read" - ] - }, - "principalId": { - "description": "Principal Id of managed service identity.", - "type": "string", - "x-ms-mutability": [ - "read" - ] - } - } } - }, - "x-ms-azure-resource": true + } }, "ResourceMetric": { "description": "Object representing a metric for any resource .", @@ -14907,12 +14876,7 @@ "type": "boolean" }, "outboundIpAddresses": { - "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only.", - "type": "string", - "readOnly": true - }, - "possibleOutboundIpAddresses": { - "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only.", + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Read-only.", "type": "string", "readOnly": true }, From ba5ad4f616b9707df83d3c6c880bedf6186ab084 Mon Sep 17 00:00:00 2001 From: Navy Aziz Date: Fri, 28 Jul 2017 11:29:42 -0700 Subject: [PATCH 05/27] Make type and name readonly properties. Add ARM envelope to MSDeployStatus object --- .../2016-03-01/Certificates.json | 6 +- .../2016-03-01/DeletedWebApps.json | 6 +- .../2016-03-01/ResourceProvider.json | 6 +- .../Microsoft.Web/2016-08-01/WebApps.json | 91 +++++++++++-------- .../2016-09-01/AppServiceEnvironments.json | 6 +- .../2016-09-01/AppServicePlans.json | 6 +- 6 files changed, 72 insertions(+), 49 deletions(-) diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json index 1393e3cc306d..fdcd383d3d1e 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json @@ -462,7 +462,8 @@ }, "name": { "description": "Resource Name.", - "type": "string" + "type": "string", + "readOnly": true }, "kind": { "description": "Kind of resource.", @@ -474,7 +475,8 @@ }, "type": { "description": "Resource type.", - "type": "string" + "type": "string", + "readOnly": true }, "tags": { "description": "Resource tags.", diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/DeletedWebApps.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/DeletedWebApps.json index fdec627cdef5..791aae74bc72 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/DeletedWebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/DeletedWebApps.json @@ -744,7 +744,8 @@ }, "name": { "description": "Resource Name.", - "type": "string" + "type": "string", + "readOnly": true }, "kind": { "description": "Kind of resource.", @@ -756,7 +757,8 @@ }, "type": { "description": "Resource type.", - "type": "string" + "type": "string", + "readOnly": true }, "tags": { "description": "Resource tags.", diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json index adffaa9e633d..66f315d478e6 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json @@ -662,7 +662,8 @@ }, "name": { "description": "Resource Name.", - "type": "string" + "type": "string", + "readOnly": true }, "kind": { "description": "Kind of resource.", @@ -674,7 +675,8 @@ }, "type": { "description": "Resource type.", - "type": "string" + "type": "string, + "readOnly": true }, "tags": { "description": "Resource tags.", diff --git a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json index 1b60cf8fb6a5..00fca00164ad 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json @@ -13768,44 +13768,55 @@ "MSDeployStatus": { "description": "MSDeploy ARM response", "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], "properties": { - "deployer": { - "description": "Username of deployer", - "type": "string", - "readOnly": true - }, - "provisioningState": { - "description": "Provisioning state", - "enum": [ - "accepted", - "running", - "succeeded", - "failed", - "canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "MSDeployProvisioningState", - "modelAsString": false - } - }, - "startTime": { - "format": "date-time", - "description": "Start time of deploy operation", - "type": "string", - "readOnly": true - }, - "endTime": { - "format": "date-time", - "description": "End time of deploy operation", - "type": "string", - "readOnly": true - }, - "complete": { - "description": "Whether the deployment operation has completed", - "type": "boolean", - "readOnly": true + "properties": { + "description": "MSDeployStatus resource specific properties", + "properties": { + "deployer": { + "description": "Username of deployer", + "type": "string", + "readOnly": true + }, + "provisioningState": { + "description": "Provisioning state", + "enum": [ + "accepted", + "running", + "succeeded", + "failed", + "canceled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "MSDeployProvisioningState", + "modelAsString": false + } + }, + "startTime": { + "format": "date-time", + "description": "Start time of deploy operation", + "type": "string", + "readOnly": true + }, + "endTime": { + "format": "date-time", + "description": "End time of deploy operation", + "type": "string", + "readOnly": true + }, + "complete": { + "description": "Whether the deployment operation has completed", + "type": "boolean", + "readOnly": true + } + }, + "x-ms-client-flatten": true } } }, @@ -14364,7 +14375,8 @@ }, "name": { "description": "Resource Name.", - "type": "string" + "type": "string", + "readOnly": true }, "kind": { "description": "Kind of resource.", @@ -14376,7 +14388,8 @@ }, "type": { "description": "Resource type.", - "type": "string" + "type": "string", + "readOnly": true }, "tags": { "description": "Resource tags.", diff --git a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json index 3aeba06f6886..7e97521e5654 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json @@ -2943,7 +2943,8 @@ }, "name": { "description": "Resource Name.", - "type": "string" + "type": "string", + "readOnly": true }, "kind": { "description": "Kind of resource.", @@ -2955,7 +2956,8 @@ }, "type": { "description": "Resource type.", - "type": "string" + "type": "string", + "readOnly": true }, "tags": { "description": "Resource tags.", diff --git a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json index 417f1c1e8f46..cc9990895ed2 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json @@ -2049,7 +2049,8 @@ }, "name": { "description": "Resource Name.", - "type": "string" + "type": "string", + "readOnly": true }, "kind": { "description": "Kind of resource.", @@ -2061,7 +2062,8 @@ }, "type": { "description": "Resource type.", - "type": "string" + "type": "string", + "readOnly": true }, "tags": { "description": "Resource tags.", From a82a87c2c45d2cad7e069d23d4a031f721c7baaa Mon Sep 17 00:00:00 2001 From: Navy Aziz Date: Fri, 28 Jul 2017 11:45:24 -0700 Subject: [PATCH 06/27] Fix missing quotation issue. --- .../Microsoft.Web/2016-03-01/ResourceProvider.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json index 66f315d478e6..2382b1b69851 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json @@ -675,7 +675,7 @@ }, "type": { "description": "Resource type.", - "type": "string, + "type": "string", "readOnly": true }, "tags": { From e0fd751642b9a751070cd646dc7570f72a41dda1 Mon Sep 17 00:00:00 2001 From: Navy Aziz Date: Fri, 28 Jul 2017 16:30:33 -0700 Subject: [PATCH 07/27] Add long running operation to MS deploy --- .../Microsoft.Web/2016-08-01/WebApps.json | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json index 00fca00164ad..70a81e865d99 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json @@ -2450,7 +2450,7 @@ ], "responses": { "201": { - "description": "Accepted", + "description": "Deployment is scheduled", "schema": { "$ref": "#/definitions/MSDeployStatus" } @@ -2458,7 +2458,8 @@ "409": { "description": "Another deployment is in progress" } - } + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/MSDeploy/log": { @@ -3698,7 +3699,7 @@ ], "responses": { "201": { - "description": "Accepted", + "description": "Deployment is scheduled", "schema": { "$ref": "#/definitions/MSDeployStatus" } @@ -3706,7 +3707,8 @@ "409": { "description": "Another deployment is in progress" } - } + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/MSDeploy/log": { @@ -7555,7 +7557,7 @@ ], "responses": { "201": { - "description": "Accepted", + "description": "Deployment is scheduled", "schema": { "$ref": "#/definitions/MSDeployStatus" } @@ -7563,7 +7565,8 @@ "409": { "description": "Another deployment is in progress" } - } + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy/log": { @@ -8971,7 +8974,7 @@ ], "responses": { "201": { - "description": "Accepted", + "description": "Deployment is scheduled", "schema": { "$ref": "#/definitions/MSDeployStatus" } @@ -8979,7 +8982,8 @@ "409": { "description": "Another deployment is in progress" } - } + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/extensions/MSDeploy/log": { From 4dab1f8d9b3b276d9cf5ba0bfd1250951b53ecbe Mon Sep 17 00:00:00 2001 From: Navy Aziz Date: Mon, 7 Aug 2017 11:55:50 -0700 Subject: [PATCH 08/27] Make MsDeploy and MsDeployLog Azure resources --- .../Microsoft.Web/2016-08-01/WebApps.json | 77 ++++++++----------- 1 file changed, 34 insertions(+), 43 deletions(-) diff --git a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json index 70a81e865d99..c296fa02abb5 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json @@ -13632,44 +13632,24 @@ "MSDeploy": { "description": "MSDeploy ARM PUT information", "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], "properties": { - "addOnPackages": { - "description": "List of Add-On packages. Add-On packages implicitly enable the Do Not Delete MSDeploy rule.", - "type": "array", - "items": { - "$ref": "#/definitions/MSDeployCore" - } - }, - "packageUri": { - "description": "Package URI", - "type": "string" - }, - "connectionString": { - "description": "SQL Connection String", - "type": "string" - }, - "dbType": { - "description": "Database Type", - "type": "string" - }, - "setParametersXmlFileUri": { - "description": "URI of MSDeploy Parameters file. Must not be set if SetParameters is used.", - "type": "string" - }, - "setParameters": { - "description": "MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used.", - "type": "array", - "items": { - "$ref": "#/definitions/MSDeployParameterEntry" - } - }, - "skipAppData": { - "description": "Controls whether the MSDeploy operation skips the AppData directory. If set to true, the existing AppData directory on the destination will not be deleted and overwritten.", - "type": "boolean" - }, - "appOffline": { - "description": "Sets the AppOffline rule while the MSDeploy operation executes.", - "type": "boolean" + "properties": { + "$ref": "#/definitions/MSDeployCore", + "properties": { + "addOnPackages": { + "description": "List of Add-On packages. Add-On packages implicitly enable the Do Not Delete MSDeploy rule.", + "type": "array", + "items": { + "$ref": "#/definitions/MSDeployCore" + } + } + }, + "x-ms-client-flatten": true } } }, @@ -13713,14 +13693,25 @@ "MSDeployLog": { "description": "MSDeploy log", "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], "properties": { - "entries": { - "description": "List of log entry messages", - "type": "array", - "items": { - "$ref": "#/definitions/MSDeployLogEntry" + "properties": { + "description": "MSDeployLog resource specific properties", + "properties": { + "entries": { + "description": "List of log entry messages", + "type": "array", + "items": { + "$ref": "#/definitions/MSDeployLogEntry" + }, + "readOnly": true + } }, - "readOnly": true + "x-ms-client-flatten": true } } }, From d4abb2fda133457c43c0bfc3c89517a50bf3eb66 Mon Sep 17 00:00:00 2001 From: Navy Aziz Date: Mon, 7 Aug 2017 18:50:22 -0700 Subject: [PATCH 09/27] Fix some AutoRest validation issues. Use dictionary for msdeploy.setparameters --- .../Microsoft.Web/2016-08-01/WebApps.json | 259 ++++++++++-------- 1 file changed, 145 insertions(+), 114 deletions(-) diff --git a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json index c296fa02abb5..de2febd66ccc 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json @@ -12383,7 +12383,7 @@ "type": "integer" }, "enabled": { - "description": "Enabled.", + "description": "True if configuration is enabled, false if it is disabled and null if configuration is not set.", "type": "boolean" } } @@ -12421,7 +12421,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -12554,7 +12554,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -12792,7 +12792,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -12910,7 +12910,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -13035,7 +13035,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -13043,7 +13043,7 @@ "description": "Deployment resource specific properties", "properties": { "id": { - "description": "ID.", + "description": "Identifier for deployment.", "type": "string", "x-ms-mutability": [ "create", @@ -13052,19 +13052,19 @@ }, "status": { "format": "int32", - "description": "Status.", + "description": "Deployment status.", "type": "integer" }, "message": { - "description": "Message.", + "description": "Details about deployment status.", "type": "string" }, "author": { - "description": "Author.", + "description": "Who authored the deployment.", "type": "string" }, "deployer": { - "description": "Deployer.", + "description": "Who performed the deployment.", "type": "string" }, "authorEmail": { @@ -13086,11 +13086,11 @@ "type": "string" }, "active": { - "description": "Active.", + "description": "True if deployment is currently active, false if completed and null if not started.", "type": "boolean" }, "details": { - "description": "Detail.", + "description": "Details on deployment.", "type": "string" } }, @@ -13123,7 +13123,7 @@ "type": "object", "properties": { "enabled": { - "description": "Enabled.", + "description": "True if configuration is enabled, false if it is disabled and null if configuration is not set.", "type": "boolean" } } @@ -13216,7 +13216,7 @@ "type": "integer" }, "enabled": { - "description": "Enabled.", + "description": "True if configuration is enabled, false if it is disabled and null if configuration is not set.", "type": "boolean" } } @@ -13244,7 +13244,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -13362,9 +13362,7 @@ "virtualIP": { "description": "Virtual IP address assigned to the hostname if IP based SSL is enabled.", "type": "string", - "x-ms-mutability": [ - "read" - ] + "readOnly": true } }, "x-ms-client-flatten": true @@ -13477,7 +13475,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -13535,7 +13533,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -13562,7 +13560,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -13570,7 +13568,7 @@ "description": "Identifier resource specific properties", "properties": { "id": { - "description": "ID.", + "description": "String representation of the identity.", "type": "string" } }, @@ -13634,7 +13632,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -13675,9 +13673,9 @@ }, "setParameters": { "description": "MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used.", - "type": "array", - "items": { - "$ref": "#/definitions/MSDeployParameterEntry" + "type": "object", + "additionalProperties": { + "type": "string" } }, "skipAppData": { @@ -13695,7 +13693,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -13746,26 +13744,12 @@ } } }, - "MSDeployParameterEntry": { - "description": "MSDeploy ARM PUT core information", - "type": "object", - "properties": { - "name": { - "description": "Parameter name", - "type": "string" - }, - "value": { - "description": "Parameter value", - "type": "string" - } - } - }, "MSDeployStatus": { "description": "MSDeploy ARM response", "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -13820,7 +13804,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -13857,7 +13841,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -13914,7 +13898,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -14154,12 +14138,37 @@ } } }, + "ProxyOnlyResource": { + "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", + "properties": { + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource Name.", + "type": "string", + "readOnly": true + }, + "kind": { + "description": "Kind of resource.", + "type": "string" + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, "PublicCertificate": { "description": "Public certificate object", "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -14215,26 +14224,37 @@ }, "PushSettings": { "description": "Push settings for the App.", - "required": [ - "isPushEnabled" - ], "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], "properties": { - "isPushEnabled": { - "description": "Gets or sets a flag indicating whether the Push endpoint is enabled.", - "type": "boolean" - }, - "tagWhitelistJson": { - "description": "Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", - "type": "string" - }, - "tagsRequiringAuth": { - "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\n Tags can consist of alphanumeric characters and the following:\n '_', '@', '#', '.', ':', '-'. \n Validation should be performed at the PushRequestHandler.", - "type": "string" - }, - "dynamicTagsJson": { - "description": "Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", - "type": "string" + "properties": { + "description": "PushSettings resource specific properties", + "required": [ + "isPushEnabled" + ], + "properties": { + "isPushEnabled": { + "description": "Gets or sets a flag indicating whether the Push endpoint is enabled.", + "type": "boolean" + }, + "tagWhitelistJson": { + "description": "Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", + "type": "string" + }, + "tagsRequiringAuth": { + "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\n Tags can consist of alphanumeric characters and the following:\n '_', '@', '#', '.', ':', '-'. \n Validation should be performed at the PushRequestHandler.", + "type": "string" + }, + "dynamicTagsJson": { + "description": "Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", + "type": "string" + } + }, + "x-ms-client-flatten": true } } }, @@ -14308,7 +14328,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -14495,7 +14515,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -14652,7 +14672,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -14729,7 +14749,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -14947,7 +14967,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -15392,7 +15412,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -15427,7 +15447,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -15456,7 +15476,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -15499,7 +15519,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -15554,7 +15574,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -15587,7 +15607,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -15664,7 +15684,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -15679,7 +15699,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -15792,7 +15812,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -15835,7 +15855,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -15916,7 +15936,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -15967,7 +15987,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -15989,7 +16009,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -16008,7 +16028,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -16091,7 +16111,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -16125,36 +16145,47 @@ "VnetInfo": { "description": "Virtual Network information contract.", "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], "properties": { - "vnetResourceId": { - "description": "The Virtual Network's resource ID.", - "type": "string" - }, - "certThumbprint": { - "description": "The client certificate thumbprint.", - "type": "string", - "readOnly": true - }, - "certBlob": { - "description": "A certificate file (.cer) blob containing the public key of the private key used to authenticate a \n Point-To-Site VPN connection.", - "type": "string" - }, - "routes": { - "description": "The routes that this Virtual Network connection uses.", - "type": "array", - "items": { - "$ref": "#/definitions/VnetRoute" + "properties": { + "description": "VnetInfo resource specific properties", + "properties": { + "vnetResourceId": { + "description": "The Virtual Network's resource ID.", + "type": "string" + }, + "certThumbprint": { + "description": "The client certificate thumbprint.", + "type": "string", + "readOnly": true + }, + "certBlob": { + "description": "A certificate file (.cer) blob containing the public key of the private key used to authenticate a \n Point-To-Site VPN connection.", + "type": "string" + }, + "routes": { + "description": "The routes that this Virtual Network connection uses.", + "type": "array", + "items": { + "$ref": "#/definitions/VnetRoute" + }, + "readOnly": true + }, + "resyncRequired": { + "description": "true if a resync is required; otherwise, false.", + "type": "boolean", + "readOnly": true + }, + "dnsServers": { + "description": "DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses.", + "type": "string" + } }, - "readOnly": true - }, - "resyncRequired": { - "description": "true if a resync is required; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "dnsServers": { - "description": "DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses.", - "type": "string" + "x-ms-client-flatten": true } } }, @@ -16163,7 +16194,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { From b47c0d52423577a7dfd9132362dbb3ffec98cba1 Mon Sep 17 00:00:00 2001 From: Navy Aziz Date: Mon, 7 Aug 2017 19:20:19 -0700 Subject: [PATCH 10/27] Ensure models are same across all schemas in Microsoft.Web --- .../web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json index de2febd66ccc..b42d5817bc58 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json @@ -14378,7 +14378,7 @@ } }, "Resource": { - "description": "Azure resource.", + "description": "Azure resource. This resource is tracked in Azure Resource Manager", "required": [ "location" ], From 26c40f9a3c9a73255f4054f984024debddff9b3e Mon Sep 17 00:00:00 2001 From: Navy Aziz Date: Mon, 7 Aug 2017 19:30:28 -0700 Subject: [PATCH 11/27] Fix azure resource type across all models --- .../AppServiceCertificateOrders.json | 35 ++- .../2015-04-01/Domains.json | 8 +- .../2015-04-01/TopLevelDomains.json | 26 +-- .../2016-03-01/Certificates.json | 2 +- .../2016-03-01/DeletedWebApps.json | 2 +- .../Microsoft.Web/2016-03-01/Provider.json | 216 ++++++++++++++++++ .../2016-03-01/ResourceProvider.json | 26 +-- .../2016-09-01/AppServiceEnvironments.json | 80 +++++-- .../2016-09-01/AppServicePlans.json | 151 +++++++----- 9 files changed, 424 insertions(+), 122 deletions(-) diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json index 990bcc5ff39f..8cf78faf1edc 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json @@ -1152,7 +1152,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -1229,6 +1229,31 @@ } } }, + "ProxyOnlyResource": { + "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", + "properties": { + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource Name.", + "type": "string", + "readOnly": true + }, + "kind": { + "description": "Kind of resource.", + "type": "string" + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, "ReissueCertificateOrderRequest": { "description": "Class representing certificate reissue request.", "type": "object", @@ -1295,7 +1320,7 @@ } }, "Resource": { - "description": "Azure resource.", + "description": "Azure resource. This resource is tracked in Azure Resource Manager", "required": [ "location" ], @@ -1307,7 +1332,8 @@ }, "name": { "description": "Resource Name.", - "type": "string" + "type": "string", + "readOnly": true }, "kind": { "description": "Kind of resource.", @@ -1319,7 +1345,8 @@ }, "type": { "description": "Resource type.", - "type": "string" + "type": "string", + "readOnly": true }, "tags": { "description": "Resource tags.", diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json b/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json index 1661c24ac9fd..c2bdfeea7da9 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json @@ -1129,7 +1129,7 @@ } }, "Resource": { - "description": "Azure resource.", + "description": "Azure resource. This resource is tracked in Azure Resource Manager", "required": [ "location" ], @@ -1141,7 +1141,8 @@ }, "name": { "description": "Resource Name.", - "type": "string" + "type": "string", + "readOnly": true }, "kind": { "description": "Kind of resource.", @@ -1153,7 +1154,8 @@ }, "type": { "description": "Resource type.", - "type": "string" + "type": "string", + "readOnly": true }, "tags": { "description": "Resource tags.", diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/TopLevelDomains.json b/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/TopLevelDomains.json index c256e40f01e3..55ac48d6e6c4 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/TopLevelDomains.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/TopLevelDomains.json @@ -139,11 +139,8 @@ } }, "definitions": { - "Resource": { - "description": "Azure resource.", - "required": [ - "location" - ], + "ProxyOnlyResource": { + "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", "properties": { "id": { "description": "Resource Id.", @@ -152,26 +149,17 @@ }, "name": { "description": "Resource Name.", - "type": "string" + "type": "string", + "readOnly": true }, "kind": { "description": "Kind of resource.", "type": "string" }, - "location": { - "description": "Resource Location.", - "type": "string" - }, "type": { "description": "Resource type.", - "type": "string" - }, - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } + "type": "string", + "readOnly": true } }, "x-ms-azure-resource": true @@ -228,7 +216,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json index fdcd383d3d1e..796275822261 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json @@ -450,7 +450,7 @@ } }, "Resource": { - "description": "Azure resource.", + "description": "Azure resource. This resource is tracked in Azure Resource Manager", "required": [ "location" ], diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/DeletedWebApps.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/DeletedWebApps.json index 791aae74bc72..a2a771b0b5f6 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/DeletedWebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/DeletedWebApps.json @@ -732,7 +732,7 @@ } }, "Resource": { - "description": "Azure resource.", + "description": "Azure resource. This resource is tracked in Azure Resource Manager", "required": [ "location" ], diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Provider.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Provider.json index 08b23473d243..91688daffe12 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Provider.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Provider.json @@ -38,6 +38,34 @@ } } }, + "/providers/Microsoft.Web/operations": { + "get": { + "tags": [ + "Provider" + ], + "operationId": "Provider_ListOperations", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CsmOperationCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, "/subscriptions/{subscriptionId}/providers/Microsoft.Web/availableStacks": { "get": { "tags": [ @@ -69,12 +97,200 @@ } } } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/operations": { + "get": { + "tags": [ + "Provider" + ], + "operationId": "Provider_ListOperations", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CsmOperationCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } } }, "definitions": { + "CsmOperationCollection": { + "description": "Collection of Azure resource manager operation metadata.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/CsmOperationDescription" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "CsmOperationDescription": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "display": { + "$ref": "#/definitions/CsmOperationDisplay" + }, + "origin": { + "type": "string" + }, + "properties": { + "$ref": "#/definitions/CsmOperationDescriptionProperties" + } + } + }, + "CsmOperationDescriptionProperties": { + "type": "object", + "properties": { + "serviceSpecification": { + "$ref": "#/definitions/ServiceSpecification" + } + } + }, + "CsmOperationDisplay": { + "type": "object", + "properties": { + "provider": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "operation": { + "type": "string" + }, + "description": { + "type": "string" + } + } + }, + "Dimension": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "internalName": { + "type": "string" + }, + "toBeExportedForShoebox": { + "type": "boolean" + } + } + }, + "MetricAvailability": { + "type": "object", + "properties": { + "timeGrain": { + "type": "string" + }, + "blobDuration": { + "type": "string" + } + } + }, + "MetricSpecification": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "displayDescription": { + "type": "string" + }, + "unit": { + "type": "string" + }, + "aggregationType": { + "type": "string" + }, + "supportsInstanceLevelAggregation": { + "type": "boolean" + }, + "enableRegionalMdmAccount": { + "type": "boolean" + }, + "sourceMdmAccount": { + "type": "string" + }, + "sourceMdmNamespace": { + "type": "string" + }, + "metricFilterPattern": { + "type": "string" + }, + "fillGapWithZero": { + "type": "boolean" + }, + "isInternal": { + "type": "boolean" + }, + "dimensions": { + "type": "array", + "items": { + "$ref": "#/definitions/Dimension" + } + }, + "category": { + "type": "string" + }, + "availabilities": { + "type": "array", + "items": { + "$ref": "#/definitions/MetricAvailability" + } + } + } + }, "Object": { "type": "object", "properties": {} + }, + "ServiceSpecification": { + "type": "object", + "properties": { + "metricSpecifications": { + "type": "array", + "items": { + "$ref": "#/definitions/MetricSpecification" + } + } + } } }, "parameters": { diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json index 2382b1b69851..b83279672898 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json @@ -476,7 +476,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -560,7 +560,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -649,11 +649,8 @@ } } }, - "Resource": { - "description": "Azure resource.", - "required": [ - "location" - ], + "ProxyOnlyResource": { + "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", "properties": { "id": { "description": "Resource Id.", @@ -669,21 +666,10 @@ "description": "Kind of resource.", "type": "string" }, - "location": { - "description": "Resource Location.", - "type": "string" - }, "type": { "description": "Resource type.", "type": "string", "readOnly": true - }, - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } } }, "x-ms-azure-resource": true @@ -792,7 +778,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -850,7 +836,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { diff --git a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json index 7e97521e5654..c24107d6da69 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json @@ -2707,7 +2707,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -2847,28 +2847,64 @@ } } }, - "PushSettings": { - "description": "Push settings for the App.", - "required": [ - "isPushEnabled" - ], - "type": "object", + "ProxyOnlyResource": { + "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", "properties": { - "isPushEnabled": { - "description": "Gets or sets a flag indicating whether the Push endpoint is enabled.", - "type": "boolean" + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true }, - "tagWhitelistJson": { - "description": "Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", - "type": "string" + "name": { + "description": "Resource Name.", + "type": "string", + "readOnly": true }, - "tagsRequiringAuth": { - "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\n Tags can consist of alphanumeric characters and the following:\n '_', '@', '#', '.', ':', '-'. \n Validation should be performed at the PushRequestHandler.", + "kind": { + "description": "Kind of resource.", "type": "string" }, - "dynamicTagsJson": { - "description": "Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", - "type": "string" + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "PushSettings": { + "description": "Push settings for the App.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "PushSettings resource specific properties", + "required": [ + "isPushEnabled" + ], + "properties": { + "isPushEnabled": { + "description": "Gets or sets a flag indicating whether the Push endpoint is enabled.", + "type": "boolean" + }, + "tagWhitelistJson": { + "description": "Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", + "type": "string" + }, + "tagsRequiringAuth": { + "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\n Tags can consist of alphanumeric characters and the following:\n '_', '@', '#', '.', ':', '-'. \n Validation should be performed at the PushRequestHandler.", + "type": "string" + }, + "dynamicTagsJson": { + "description": "Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", + "type": "string" + } + }, + "x-ms-client-flatten": true } } }, @@ -2931,7 +2967,7 @@ } }, "Resource": { - "description": "Azure resource.", + "description": "Azure resource. This resource is tracked in Azure Resource Manager", "required": [ "location" ], @@ -3069,7 +3105,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -3998,7 +4034,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -4260,7 +4296,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { diff --git a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json index cc9990895ed2..bcec1ee56a75 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json @@ -1797,7 +1797,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -1871,7 +1871,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -1898,7 +1898,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -1953,28 +1953,64 @@ } } }, - "PushSettings": { - "description": "Push settings for the App.", - "required": [ - "isPushEnabled" - ], - "type": "object", + "ProxyOnlyResource": { + "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", "properties": { - "isPushEnabled": { - "description": "Gets or sets a flag indicating whether the Push endpoint is enabled.", - "type": "boolean" + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true }, - "tagWhitelistJson": { - "description": "Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", - "type": "string" + "name": { + "description": "Resource Name.", + "type": "string", + "readOnly": true }, - "tagsRequiringAuth": { - "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\n Tags can consist of alphanumeric characters and the following:\n '_', '@', '#', '.', ':', '-'. \n Validation should be performed at the PushRequestHandler.", + "kind": { + "description": "Kind of resource.", "type": "string" }, - "dynamicTagsJson": { - "description": "Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", - "type": "string" + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "PushSettings": { + "description": "Push settings for the App.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "PushSettings resource specific properties", + "required": [ + "isPushEnabled" + ], + "properties": { + "isPushEnabled": { + "description": "Gets or sets a flag indicating whether the Push endpoint is enabled.", + "type": "boolean" + }, + "tagWhitelistJson": { + "description": "Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", + "type": "string" + }, + "tagsRequiringAuth": { + "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\n Tags can consist of alphanumeric characters and the following:\n '_', '@', '#', '.', ':', '-'. \n Validation should be performed at the PushRequestHandler.", + "type": "string" + }, + "dynamicTagsJson": { + "description": "Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", + "type": "string" + } + }, + "x-ms-client-flatten": true } } }, @@ -2037,7 +2073,7 @@ } }, "Resource": { - "description": "Azure resource.", + "description": "Azure resource. This resource is tracked in Azure Resource Manager", "required": [ "location" ], @@ -2195,7 +2231,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -3037,7 +3073,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -3071,36 +3107,47 @@ "VnetInfo": { "description": "Virtual Network information contract.", "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], "properties": { - "vnetResourceId": { - "description": "The Virtual Network's resource ID.", - "type": "string" - }, - "certThumbprint": { - "description": "The client certificate thumbprint.", - "type": "string", - "readOnly": true - }, - "certBlob": { - "description": "A certificate file (.cer) blob containing the public key of the private key used to authenticate a \n Point-To-Site VPN connection.", - "type": "string" - }, - "routes": { - "description": "The routes that this Virtual Network connection uses.", - "type": "array", - "items": { - "$ref": "#/definitions/VnetRoute" + "properties": { + "description": "VnetInfo resource specific properties", + "properties": { + "vnetResourceId": { + "description": "The Virtual Network's resource ID.", + "type": "string" + }, + "certThumbprint": { + "description": "The client certificate thumbprint.", + "type": "string", + "readOnly": true + }, + "certBlob": { + "description": "A certificate file (.cer) blob containing the public key of the private key used to authenticate a \n Point-To-Site VPN connection.", + "type": "string" + }, + "routes": { + "description": "The routes that this Virtual Network connection uses.", + "type": "array", + "items": { + "$ref": "#/definitions/VnetRoute" + }, + "readOnly": true + }, + "resyncRequired": { + "description": "true if a resync is required; otherwise, false.", + "type": "boolean", + "readOnly": true + }, + "dnsServers": { + "description": "DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses.", + "type": "string" + } }, - "readOnly": true - }, - "resyncRequired": { - "description": "true if a resync is required; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "dnsServers": { - "description": "DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses.", - "type": "string" + "x-ms-client-flatten": true } } }, @@ -3109,7 +3156,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { From 49b19679d8929e80fc07737bf4bee06646c3f410 Mon Sep 17 00:00:00 2001 From: Navy Aziz Date: Tue, 8 Aug 2017 11:20:54 -0700 Subject: [PATCH 12/27] Remove conflicting ListOperations. It is not used for public Azure. --- .../Microsoft.Web/2016-03-01/Provider.json | 31 ------------------- 1 file changed, 31 deletions(-) diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Provider.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Provider.json index 91688daffe12..53d02bfbe046 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Provider.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Provider.json @@ -97,37 +97,6 @@ } } } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/operations": { - "get": { - "tags": [ - "Provider" - ], - "operationId": "Provider_ListOperations", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CsmOperationCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } } }, "definitions": { From 0937c56a7dd48814beed7f9cc3cde26b89eaa572 Mon Sep 17 00:00:00 2001 From: Navy Aziz Date: Fri, 6 Oct 2017 10:18:10 -0700 Subject: [PATCH 13/27] Expose Patch operations. Expose missing provider level operations --- .../2016-03-01/Certificates.json | 1 + .../2016-03-01/DeletedWebApps.json | 651 ------------------ .../Microsoft.Web/2016-03-01/Provider.json | 8 +- .../2016-03-01/Recommendations.json | 9 +- .../Microsoft.Web/2016-08-01/WebApps.json | 448 ++++++++++-- .../2016-09-01/AppServiceEnvironments.json | 276 +++++++- .../2016-09-01/AppServicePlans.json | 267 ++++++- 7 files changed, 878 insertions(+), 782 deletions(-) diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json index 796275822261..3255ef36697c 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json @@ -346,6 +346,7 @@ "readOnly": true }, "cerBlob": { + "format": "byte", "description": "Raw bytes of .cer file", "type": "string", "readOnly": true diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/DeletedWebApps.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/DeletedWebApps.json index 244b70f4d5df..48906a350390 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/DeletedWebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/DeletedWebApps.json @@ -94,657 +94,6 @@ "type": "string" } } -<<<<<<< HEAD -======= - }, - "Experiments": { - "description": "Routing rules in production experiments.", - "type": "object", - "properties": { - "rampUpRules": { - "description": "List of ramp-up rules.", - "type": "array", - "items": { - "$ref": "#/definitions/RampUpRule" - } - } - } - }, - "HandlerMapping": { - "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \n For example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", - "type": "object", - "properties": { - "extension": { - "description": "Requests with this extension will be handled using the specified FastCGI application.", - "type": "string" - }, - "scriptProcessor": { - "description": "The absolute path to the FastCGI application.", - "type": "string" - }, - "arguments": { - "description": "Command-line arguments to be passed to the script processor.", - "type": "string" - } - } - }, - "HostNameSslState": { - "description": "SSL-enabled hostname.", - "type": "object", - "properties": { - "name": { - "description": "Hostname.", - "type": "string" - }, - "sslState": { - "description": "SSL type.", - "enum": [ - "Disabled", - "SniEnabled", - "IpBasedEnabled" - ], - "type": "string", - "x-ms-enum": { - "name": "SslState", - "modelAsString": false - } - }, - "virtualIP": { - "description": "Virtual IP address assigned to the hostname if IP based SSL is enabled.", - "type": "string" - }, - "thumbprint": { - "description": "SSL certificate thumbprint.", - "type": "string" - }, - "toUpdate": { - "description": "Set to true to update existing hostname.", - "type": "boolean" - }, - "hostType": { - "description": "Indicates whether the hostname is a standard or repository hostname.", - "enum": [ - "Standard", - "Repository" - ], - "type": "string", - "x-ms-enum": { - "name": "HostType", - "modelAsString": false - } - } - } - }, - "HostingEnvironmentProfile": { - "description": "Specification for an App Service Environment to use for this resource.", - "type": "object", - "properties": { - "id": { - "description": "Resource ID of the App Service Environment.", - "type": "string" - }, - "name": { - "description": "Name of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Resource type of the App Service Environment.", - "type": "string", - "readOnly": true - } - } - }, - "IpSecurityRestriction": { - "description": "IP security restriction on an app.", - "required": [ - "ipAddress" - ], - "type": "object", - "properties": { - "ipAddress": { - "description": "IP address the security restriction is valid for.", - "type": "string" - }, - "subnetMask": { - "description": "Subnet mask for the range of IP addresses the restriction is valid for.", - "type": "string" - } - } - }, - "NameValuePair": { - "description": "Name value pair.", - "type": "object", - "properties": { - "name": { - "description": "Pair name.", - "type": "string" - }, - "value": { - "description": "Pair value.", - "type": "string" - } - } - }, - "PushSettings": { - "description": "Push settings for the App.", - "required": [ - "isPushEnabled" - ], - "type": "object", - "properties": { - "isPushEnabled": { - "description": "Gets or sets a flag indicating whether the Push endpoint is enabled.", - "type": "boolean" - }, - "tagWhitelistJson": { - "description": "Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", - "type": "string" - }, - "tagsRequiringAuth": { - "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\n Tags can consist of alphanumeric characters and the following:\n '_', '@', '#', '.', ':', '-'. \n Validation should be performed at the PushRequestHandler.", - "type": "string" - }, - "dynamicTagsJson": { - "description": "Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", - "type": "string" - } - } - }, - "RampUpRule": { - "description": "Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance.", - "type": "object", - "properties": { - "actionHostName": { - "description": "Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net.", - "type": "string" - }, - "reroutePercentage": { - "format": "double", - "description": "Percentage of the traffic which will be redirected to ActionHostName.", - "type": "number" - }, - "changeStep": { - "format": "double", - "description": "In auto ramp up scenario this is the step to to add/remove from ReroutePercentage until it reaches \n MinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specificed in ChangeIntervalInMinutes.\n Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", - "type": "number" - }, - "changeIntervalInMinutes": { - "format": "int32", - "description": "Specifies interval in mimuntes to reevaluate ReroutePercentage.", - "type": "integer" - }, - "minReroutePercentage": { - "format": "double", - "description": "Specifies lower boundary above which ReroutePercentage will stay.", - "type": "number" - }, - "maxReroutePercentage": { - "format": "double", - "description": "Specifies upper boundary below which ReroutePercentage will stay.", - "type": "number" - }, - "changeDecisionCallbackUrl": { - "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\n https://www.siteextensions.net/packages/TiPCallback/", - "type": "string" - }, - "name": { - "description": "Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment.", - "type": "string" - } - } - }, - "RequestsBasedTrigger": { - "description": "Trigger based on total requests.", - "type": "object", - "properties": { - "count": { - "format": "int32", - "description": "Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } - }, - "Resource": { - "description": "Azure resource. This resource is tracked in Azure Resource Manager", - "required": [ - "location" - ], - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "location": { - "description": "Resource Location.", - "type": "string" - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - }, - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "x-ms-azure-resource": true - }, - "SiteConfig": { - "description": "Configuration of an App Service app.", - "type": "object", - "properties": { - "numberOfWorkers": { - "format": "int32", - "description": "Number of workers.", - "type": "integer" - }, - "defaultDocuments": { - "description": "Default documents.", - "type": "array", - "items": { - "type": "string" - } - }, - "netFrameworkVersion": { - "description": ".NET Framework version.", - "default": "v4.6", - "type": "string" - }, - "phpVersion": { - "description": "Version of PHP.", - "type": "string" - }, - "pythonVersion": { - "description": "Version of Python.", - "type": "string" - }, - "nodeVersion": { - "description": "Version of Node.js.", - "type": "string" - }, - "linuxFxVersion": { - "description": "Linux App Framework and version", - "type": "string" - }, - "requestTracingEnabled": { - "description": "true if request tracing is enabled; otherwise, false.", - "type": "boolean" - }, - "requestTracingExpirationTime": { - "format": "date-time", - "description": "Request tracing expiration time.", - "type": "string" - }, - "remoteDebuggingEnabled": { - "description": "true if remote debugging is enabled; otherwise, false.", - "type": "boolean" - }, - "remoteDebuggingVersion": { - "description": "Remote debugging version.", - "type": "string" - }, - "httpLoggingEnabled": { - "description": "true if HTTP logging is enabled; otherwise, false.", - "type": "boolean" - }, - "logsDirectorySizeLimit": { - "format": "int32", - "description": "HTTP logs directory size limit.", - "type": "integer" - }, - "detailedErrorLoggingEnabled": { - "description": "true if detailed error logging is enabled; otherwise, false.", - "type": "boolean" - }, - "publishingUsername": { - "description": "Publishing user name.", - "type": "string" - }, - "appSettings": { - "description": "Application settings.", - "type": "array", - "items": { - "$ref": "#/definitions/NameValuePair" - } - }, - "connectionStrings": { - "description": "Connection strings.", - "type": "array", - "items": { - "$ref": "#/definitions/ConnStringInfo" - } - }, - "machineKey": { - "$ref": "#/definitions/SiteMachineKey", - "description": "Site MachineKey.", - "readOnly": true - }, - "handlerMappings": { - "description": "Handler mappings.", - "type": "array", - "items": { - "$ref": "#/definitions/HandlerMapping" - } - }, - "documentRoot": { - "description": "Document root.", - "type": "string" - }, - "scmType": { - "description": "SCM type.", - "enum": [ - "None", - "Dropbox", - "Tfs", - "LocalGit", - "GitHub", - "CodePlexGit", - "CodePlexHg", - "BitbucketGit", - "BitbucketHg", - "ExternalGit", - "ExternalHg", - "OneDrive", - "VSO" - ], - "type": "string", - "x-ms-enum": { - "name": "ScmType", - "modelAsString": true - } - }, - "use32BitWorkerProcess": { - "description": "true to use 32-bit worker process; otherwise, false.", - "type": "boolean" - }, - "webSocketsEnabled": { - "description": "true if WebSocket is enabled; otherwise, false.", - "type": "boolean" - }, - "alwaysOn": { - "description": "true if Always On is enabled; otherwise, false.", - "type": "boolean" - }, - "javaVersion": { - "description": "Java version.", - "type": "string" - }, - "javaContainer": { - "description": "Java container.", - "type": "string" - }, - "javaContainerVersion": { - "description": "Java container version.", - "type": "string" - }, - "appCommandLine": { - "description": "App command line to launch.", - "type": "string" - }, - "managedPipelineMode": { - "description": "Managed pipeline mode.", - "enum": [ - "Integrated", - "Classic" - ], - "type": "string", - "x-ms-enum": { - "name": "ManagedPipelineMode", - "modelAsString": false - } - }, - "virtualApplications": { - "description": "Virtual applications.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualApplication" - } - }, - "loadBalancing": { - "description": "Site load balancing.", - "enum": [ - "WeightedRoundRobin", - "LeastRequests", - "LeastResponseTime", - "WeightedTotalTraffic", - "RequestHash" - ], - "type": "string", - "x-ms-enum": { - "name": "SiteLoadBalancing", - "modelAsString": false - } - }, - "experiments": { - "$ref": "#/definitions/Experiments", - "description": "This is work around for polymophic types." - }, - "limits": { - "$ref": "#/definitions/SiteLimits", - "description": "Site limits." - }, - "autoHealEnabled": { - "description": "true if Auto Heal is enabled; otherwise, false.", - "type": "boolean" - }, - "autoHealRules": { - "$ref": "#/definitions/AutoHealRules", - "description": "Auto Heal rules." - }, - "tracingOptions": { - "description": "Tracing options.", - "type": "string" - }, - "vnetName": { - "description": "Virtual Network name.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "cors": { - "$ref": "#/definitions/CorsSettings", - "description": "Cross-Origin Resource Sharing (CORS) settings." - }, - "push": { - "$ref": "#/definitions/PushSettings", - "description": "Push endpoint settings." - }, - "apiDefinition": { - "$ref": "#/definitions/ApiDefinitionInfo", - "description": "Information about the formal API definition for the app." - }, - "autoSwapSlotName": { - "description": "Auto-swap slot name.", - "type": "string" - }, - "localMySqlEnabled": { - "description": "true to enable local MySQL; otherwise, false.", - "default": false, - "type": "boolean" - }, - "ipSecurityRestrictions": { - "description": "IP security restrictions.", - "type": "array", - "items": { - "$ref": "#/definitions/IpSecurityRestriction" - } - } - } - }, - "SiteLimits": { - "description": "Metric limits set on an app.", - "type": "object", - "properties": { - "maxPercentageCpu": { - "format": "double", - "description": "Maximum allowed CPU usage percentage.", - "type": "number" - }, - "maxMemoryInMb": { - "format": "int64", - "description": "Maximum allowed memory usage in MB.", - "type": "integer" - }, - "maxDiskSizeInMb": { - "format": "int64", - "description": "Maximum allowed disk size usage in MB.", - "type": "integer" - } - } - }, - "SiteMachineKey": { - "description": "MachineKey of an app.", - "type": "object", - "properties": { - "validation": { - "description": "MachineKey validation.", - "type": "string" - }, - "validationKey": { - "description": "Validation key.", - "type": "string" - }, - "decryption": { - "description": "Decryption.", - "type": "string" - }, - "decryptionKey": { - "description": "Decryption key.", - "type": "string" - } - } - }, - "SlotSwapStatus": { - "description": "The status of the last successfull slot swap operation.", - "type": "object", - "properties": { - "timestampUtc": { - "format": "date-time", - "description": "The time the last successful slot swap completed.", - "type": "string", - "readOnly": true - }, - "sourceSlotName": { - "description": "The source slot of the last swap operation.", - "type": "string", - "readOnly": true - }, - "destinationSlotName": { - "description": "The destination slot of the last swap operation.", - "type": "string", - "readOnly": true - } - } - }, - "SlowRequestsBasedTrigger": { - "description": "Trigger based on request execution time.", - "type": "object", - "properties": { - "timeTaken": { - "description": "Time taken.", - "type": "string" - }, - "count": { - "format": "int32", - "description": "Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } - }, - "StatusCodesBasedTrigger": { - "description": "Trigger based on status code.", - "type": "object", - "properties": { - "status": { - "format": "int32", - "description": "HTTP status code.", - "type": "integer" - }, - "subStatus": { - "format": "int32", - "description": "SubStatus.", - "type": "integer" - }, - "win32Status": { - "format": "int32", - "description": "Win32 error code.", - "type": "integer" - }, - "count": { - "format": "int32", - "description": "Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } - }, - "VirtualApplication": { - "description": "Virtual application in an app.", - "type": "object", - "properties": { - "virtualPath": { - "description": "Virtual path.", - "type": "string" - }, - "physicalPath": { - "description": "Physical path.", - "type": "string" - }, - "preloadEnabled": { - "description": "true if preloading is enabled; otherwise, false.", - "type": "boolean" - }, - "virtualDirectories": { - "description": "Virtual directories for virtual application.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualDirectory" - } - } - } - }, - "VirtualDirectory": { - "description": "Directory for virtual application.", - "type": "object", - "properties": { - "virtualPath": { - "description": "Path to virtual application.", - "type": "string" - }, - "physicalPath": { - "description": "Physical path.", - "type": "string" - } - } ->>>>>>> 39cbd9ee301825a5ca350797a41bacdf1402cb03 } }, "parameters": { diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Provider.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Provider.json index 53d02bfbe046..9fc5575c1837 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Provider.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Provider.json @@ -32,7 +32,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "type": "object" } } } @@ -92,7 +92,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "type": "object" } } } @@ -246,10 +246,6 @@ } } }, - "Object": { - "type": "object", - "properties": {} - }, "ServiceSpecification": { "type": "object", "properties": { diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Recommendations.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Recommendations.json index 61b623f4e924..9f3724b6934a 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Recommendations.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Recommendations.json @@ -329,8 +329,10 @@ "type": "string" }, "recommendationId": { + "format": "uuid", "description": "A GUID value that each recommendation object is associated with.", - "type": "string" + "type": "string", + "example": "00000000-0000-0000-0000-000000000000" }, "resourceId": { "description": "Full ARM resource ID string that this recommendation object is associated with.", @@ -467,8 +469,9 @@ }, "recommendationId": { "format": "uuid", - "description": "Recommendation ID of an associated recommendation object tied to the rule, if exists.\n If such an object doesn't exist, it is set to null.", - "type": "string" + "description": "Recommendation ID of an associated recommendation object tied to the rule, if exists.\nIf such an object doesn't exist, it is set to null.", + "type": "string", + "example": "00000000-0000-0000-0000-000000000000" }, "description": { "description": "Localized detailed description of the rule.", diff --git a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json index e5da79293eb6..6d80179eb9d7 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json @@ -261,6 +261,90 @@ "description": "Web app not found." } } + }, + "patch": { + "tags": [ + "WebApps" + ], + "summary": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", + "description": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", + "operationId": "WebApps_Update", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter.", + "required": true, + "type": "string" + }, + { + "name": "siteEnvelope", + "in": "body", + "description": "A JSON representation of the app properties. See example.", + "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\n only used for app creation.", + "type": "boolean" + }, + { + "name": "skipCustomDomainVerification", + "in": "query", + "description": "If true, custom (non *.azurewebsites.net) domains associated with web app are not verified.", + "type": "boolean" + }, + { + "name": "forceDnsRegistration", + "in": "query", + "description": "If true, web app hostname is force registered with DNS.", + "type": "boolean" + }, + { + "name": "ttlInSeconds", + "in": "query", + "description": "Time to live in seconds for web app's default domain name.", + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/Site" + } + }, + "202": { + "description": "Asynchronous operation in progress.", + "schema": { + "$ref": "#/definitions/Site" + } + } + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/analyzeCustomHostname": { @@ -6625,6 +6709,97 @@ "description": "Web app not found." } } + }, + "patch": { + "tags": [ + "WebApps" + ], + "summary": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", + "description": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", + "operationId": "WebApps_UpdateSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter.", + "required": true, + "type": "string" + }, + { + "name": "siteEnvelope", + "in": "body", + "description": "A JSON representation of the app properties. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/Site" + } + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot.", + "required": true, + "type": "string" + }, + { + "name": "skipDnsRegistration", + "in": "query", + "description": "If true web app hostname is not registered with DNS on creation. This parameter is\n only used for app creation.", + "type": "boolean" + }, + { + "name": "skipCustomDomainVerification", + "in": "query", + "description": "If true, custom (non *.azurewebsites.net) domains associated with web app are not verified.", + "type": "boolean" + }, + { + "name": "forceDnsRegistration", + "in": "query", + "description": "If true, web app hostname is force registered with DNS.", + "type": "boolean" + }, + { + "name": "ttlInSeconds", + "in": "query", + "description": "Time to live in seconds for web app's default domain name.", + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/Site" + } + }, + "202": { + "description": "Asynchronous operation in progress.", + "schema": { + "$ref": "#/definitions/Site" + } + } + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/analyzeCustomHostname": { @@ -13692,6 +13867,73 @@ "description": "Source control does not exist." } } + }, + "patch": { + "tags": [ + "WebApps" + ], + "summary": "Updates the source control configuration of an app.", + "description": "Updates the source control configuration of an app.", + "operationId": "WebApps_UpdateSourceControlSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "siteSourceControl", + "in": "body", + "description": "JSON representation of a SiteSourceControl object. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will update the source control configuration for the production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Succesfully created or updated source control for web app.", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + }, + "201": { + "description": "Create or update source control for web app in progress.", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + } + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/start": { @@ -15181,6 +15423,66 @@ "description": "Source control does not exist." } } + }, + "patch": { + "tags": [ + "WebApps" + ], + "summary": "Updates the source control configuration of an app.", + "description": "Updates the source control configuration of an app.", + "operationId": "WebApps_UpdateSourceControl", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "siteSourceControl", + "in": "body", + "description": "JSON representation of a SiteSourceControl object. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Succesfully created or updated source control for web app.", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + }, + "201": { + "description": "Create or update source control for web app in progress.", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + } + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/start": { @@ -16282,13 +16584,13 @@ "description": "Custom action to be taken." }, "minProcessExecutionTime": { - "description": "Minimum time the process must execute\n before taking the action", + "description": "Minimum time the process must execute\nbefore taking the action", "type": "string" } } }, "AutoHealCustomAction": { - "description": "Custom action to be executed\n when an auto heal rule is triggered.", + "description": "Custom action to be executed\nwhen an auto heal rule is triggered.", "type": "object", "properties": { "exe": { @@ -16366,7 +16668,7 @@ }, "retentionInDays": { "format": "int32", - "description": "Retention in days.\n Remove blobs older than X days.\n 0 or lower means no retention.", + "description": "Retention in days.\nRemove blobs older than X days.\n0 or lower means no retention.", "type": "integer" } } @@ -16381,7 +16683,7 @@ }, "retentionInDays": { "format": "int32", - "description": "Retention in days.\n Remove blobs older than X days.\n 0 or lower means no retention.", + "description": "Retention in days.\nRemove blobs older than X days.\n0 or lower means no retention.", "type": "integer" }, "enabled": { @@ -16671,8 +16973,10 @@ "type": "object", "properties": { "correlationId": { - "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\n together to use the same snapshot.", - "type": "string" + "format": "uuid", + "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\ntogether to use the same snapshot.", + "type": "string", + "example": "00000000-0000-0000-0000-000000000000" }, "overwrite": { "description": "true to overwrite destination app; otherwise, false.", @@ -16687,7 +16991,7 @@ "type": "boolean" }, "sourceWebAppId": { - "description": "ARM resource ID of the source app. App resource ID is of the form \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "description": "ARM resource ID of the source app. App resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", "type": "string" }, "hostingEnvironment": { @@ -16695,7 +16999,7 @@ "type": "string" }, "appSettingsOverrides": { - "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \n from source app. Otherwise, application settings from source app are retained.", + "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \nfrom source app. Otherwise, application settings from source app are retained.", "type": "object", "additionalProperties": { "type": "string" @@ -16706,16 +17010,12 @@ "type": "boolean" }, "trafficManagerProfileId": { - "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", + "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", "type": "string" }, "trafficManagerProfileName": { "description": "Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.", "type": "string" - }, - "ignoreQuotas": { - "description": "true if quotas should be ignored; otherwise, false.", - "type": "boolean" } } }, @@ -16914,7 +17214,7 @@ "type": "object", "properties": { "allowedOrigins": { - "description": "Gets or sets the list of origins that should be allowed to make cross-origin\n calls (for example: http://example.com:12345). Use \"*\" to allow all.", + "description": "Gets or sets the list of origins that should be allowed to make cross-origin\ncalls (for example: http://example.com:12345). Use \"*\" to allow all.", "type": "array", "items": { "type": "string" @@ -16927,7 +17227,7 @@ "type": "object", "properties": { "format": { - "description": "Name of the format. Valid values are: \n FileZilla3\n WebDeploy -- default\n Ftp", + "description": "Name of the format. Valid values are: \nFileZilla3\nWebDeploy -- default\nFtp", "enum": [ "FileZilla3", "WebDeploy", @@ -17124,7 +17424,7 @@ "type": "string" }, "connectionStringName": { - "description": "Contains a connection string name that is linked to the SiteConfig.ConnectionStrings.\n This is used during restore with overwrite connection strings options.", + "description": "Contains a connection string name that is linked to the SiteConfig.ConnectionStrings.\nThis is used during restore with overwrite connection strings options.", "type": "string" }, "connectionString": { @@ -17235,14 +17535,6 @@ "description": "Body of the error response returned from the API.", "type": "object", "properties": { - "code": { - "description": "Basic error code.", - "type": "string" - }, - "message": { - "description": "Any details of the error.", - "type": "string" - }, "extendedCode": { "description": "Type of error.", "type": "string" @@ -17264,6 +17556,14 @@ "items": { "$ref": "#/definitions/ErrorEntity" } + }, + "code": { + "description": "Basic error code.", + "type": "string" + }, + "message": { + "description": "Any details of the error.", + "type": "string" } } }, @@ -17308,14 +17608,14 @@ "properties": { "retentionInMb": { "format": "int32", - "description": "Maximum size in megabytes that http log files can use.\n When reached old log files will be removed to make space for new ones.\n Value can range between 25 and 100.", + "description": "Maximum size in megabytes that http log files can use.\nWhen reached old log files will be removed to make space for new ones.\nValue can range between 25 and 100.", "maximum": 100, "minimum": 25, "type": "integer" }, "retentionInDays": { "format": "int32", - "description": "Retention in days.\n Remove files older than X days.\n 0 or lower means no retention.", + "description": "Retention in days.\nRemove files older than X days.\n0 or lower means no retention.", "type": "integer" }, "enabled": { @@ -17432,7 +17732,7 @@ } }, "HandlerMapping": { - "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \n For example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", + "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \nFor example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", "type": "object", "properties": { "extension": { @@ -17726,7 +18026,7 @@ "type": "string" }, "sendKeyValue": { - "description": "The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned\n normally, use the POST /listKeys API instead.", + "description": "The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned\nnormally, use the POST /listKeys API instead.", "type": "string" }, "serviceBusSuffix": { @@ -17889,11 +18189,11 @@ } }, "skipAppData": { - "description": "Controls whether the MSDeploy operation skips the App_Data directory.\n If set to true, the existing App_Data directory on the destination\n will not be deleted, and any App_Data directory in the source will be ignored.\n Setting is false by default.", + "description": "Controls whether the MSDeploy operation skips the App_Data directory.\nIf set to true, the existing App_Data directory on the destination\nwill not be deleted, and any App_Data directory in the source will be ignored.\nSetting is false by default.", "type": "boolean" }, "appOffline": { - "description": "Sets the AppOffline rule while the MSDeploy operation executes.\n Setting is false by default.", + "description": "Sets the AppOffline rule while the MSDeploy operation executes.\nSetting is false by default.", "type": "boolean" } } @@ -18196,8 +18496,10 @@ "type": "string" }, "geoMasterOperationId": { + "format": "uuid", "description": "Applicable only for stamp operation ids.", - "type": "string" + "type": "string", + "example": "00000000-0000-0000-0000-000000000000" } } }, @@ -18256,11 +18558,6 @@ "format": "double", "description": "Value of counter at a certain time.", "type": "number" - }, - "coreCount": { - "format": "int32", - "description": "Core Count of worker. Not a data member", - "type": "integer" } } }, @@ -18719,7 +19016,6 @@ } } }, -<<<<<<< HEAD "ProcessThreadInfoCollection": { "description": "Collection of Kudu thread information elements.", "required": [ @@ -18740,8 +19036,6 @@ } } }, -======= ->>>>>>> 39cbd9ee301825a5ca350797a41bacdf1402cb03 "ProxyOnlyResource": { "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", "properties": { @@ -18780,6 +19074,7 @@ "description": "PublicCertificate resource specific properties", "properties": { "blob": { + "format": "byte", "description": "Public Certificate byte array", "type": "string" }, @@ -18850,7 +19145,7 @@ "type": "string" }, "tagsRequiringAuth": { - "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\n Tags can consist of alphanumeric characters and the following:\n '_', '@', '#', '.', ':', '-'. \n Validation should be performed at the PushRequestHandler.", + "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\nTags can consist of alphanumeric characters and the following:\n'_', '@', '#', '.', ':', '-'. \nValidation should be performed at the PushRequestHandler.", "type": "string" }, "dynamicTagsJson": { @@ -18896,7 +19191,7 @@ "type": "number" }, "changeDecisionCallbackUrl": { - "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\n https://www.siteextensions.net/packages/TiPCallback/", + "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\nhttps://www.siteextensions.net/packages/TiPCallback/", "type": "string" }, "name": { @@ -19289,7 +19584,7 @@ } }, "ignoreConflictingHostNames": { - "description": "Changes a logic when restoring an app with custom domains. true to remove custom domains automatically. If false, custom domains are added to \n the app's object when it is being restored, but that might fail due to conflicts during the operation.", + "description": "Changes a logic when restoring an app with custom domains. true to remove custom domains automatically. If false, custom domains are added to \nthe app's object when it is being restored, but that might fail due to conflicts during the operation.", "default": false, "type": "boolean" }, @@ -19400,7 +19695,7 @@ "type": "boolean" }, "enabledHostNames": { - "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\n the app is not served on those hostnames.", + "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\nthe app is not served on those hostnames.", "type": "array", "items": { "type": "string" @@ -19549,6 +19844,10 @@ "$ref": "#/definitions/SlotSwapStatus", "description": "Status of the last deployment slot swap operation.", "readOnly": true + }, + "httpsOnly": { + "description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests", + "type": "boolean" } }, "x-ms-client-flatten": true @@ -19572,7 +19871,7 @@ "type": "boolean" }, "runtimeVersion": { - "description": "The RuntimeVersion of the Authentication / Authorization feature in use for the current app.\n The setting in this value can control the behavior of certain features in the Authentication / Authorization module.", + "description": "The RuntimeVersion of the Authentication / Authorization feature in use for the current app.\nThe setting in this value can control the behavior of certain features in the Authentication / Authorization module.", "type": "string" }, "unauthenticatedClientAction": { @@ -19592,14 +19891,14 @@ "type": "boolean" }, "allowedExternalRedirectUrls": { - "description": "External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored.\n This is an advanced setting typically only needed by Windows Store application backends.\n Note that URLs within the current domain are always implicitly allowed.", + "description": "External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored.\nThis is an advanced setting typically only needed by Windows Store application backends.\nNote that URLs within the current domain are always implicitly allowed.", "type": "array", "items": { "type": "string" } }, "defaultProvider": { - "description": "The default authentication provider to use when multiple providers are configured.\n This setting is only needed if multiple providers are configured and the unauthenticated client\n action is set to \"RedirectToLoginPage\".", + "description": "The default authentication provider to use when multiple providers are configured.\nThis setting is only needed if multiple providers are configured and the unauthenticated client\naction is set to \"RedirectToLoginPage\".", "enum": [ "AzureActiveDirectory", "Facebook", @@ -19615,83 +19914,83 @@ }, "tokenRefreshExtensionHours": { "format": "double", - "description": "The number of hours after session token expiration that a session token can be used to\n call the token refresh API. The default is 72 hours.", + "description": "The number of hours after session token expiration that a session token can be used to\ncall the token refresh API. The default is 72 hours.", "type": "number" }, "clientId": { - "description": "The Client ID of this relying party application, known as the client_id.\n This setting is required for enabling OpenID Connection authentication with Azure Active Directory or \n other 3rd party OpenID Connect providers.\n More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html", + "description": "The Client ID of this relying party application, known as the client_id.\nThis setting is required for enabling OpenID Connection authentication with Azure Active Directory or \nother 3rd party OpenID Connect providers.\nMore information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html", "type": "string" }, "clientSecret": { - "description": "The Client Secret of this relying party application (in Azure Active Directory, this is also referred to as the Key).\n This setting is optional. If no client secret is configured, the OpenID Connect implicit auth flow is used to authenticate end users.\n Otherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users.\n More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html", + "description": "The Client Secret of this relying party application (in Azure Active Directory, this is also referred to as the Key).\nThis setting is optional. If no client secret is configured, the OpenID Connect implicit auth flow is used to authenticate end users.\nOtherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users.\nMore information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html", "type": "string" }, "issuer": { - "description": "The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.\n When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.\n This URI is a case-sensitive identifier for the token issuer.\n More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html", + "description": "The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.\nWhen using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.\nThis URI is a case-sensitive identifier for the token issuer.\nMore information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html", "type": "string" }, "allowedAudiences": { - "description": "Allowed audience values to consider when validating JWTs issued by \n Azure Active Directory. Note that the ClientID value is always considered an\n allowed audience, regardless of this setting.", + "description": "Allowed audience values to consider when validating JWTs issued by \nAzure Active Directory. Note that the ClientID value is always considered an\nallowed audience, regardless of this setting.", "type": "array", "items": { "type": "string" } }, "additionalLoginParams": { - "description": "Login parameters to send to the OpenID Connect authorization endpoint when\n a user logs in. Each parameter must be in the form \"key=value\".", + "description": "Login parameters to send to the OpenID Connect authorization endpoint when\na user logs in. Each parameter must be in the form \"key=value\".", "type": "array", "items": { "type": "string" } }, "googleClientId": { - "description": "The OpenID Connect Client ID for the Google web application.\n This setting is required for enabling Google Sign-In.\n Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/", + "description": "The OpenID Connect Client ID for the Google web application.\nThis setting is required for enabling Google Sign-In.\nGoogle Sign-In documentation: https://developers.google.com/identity/sign-in/web/", "type": "string" }, "googleClientSecret": { - "description": "The client secret associated with the Google web application.\n This setting is required for enabling Google Sign-In.\n Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/", + "description": "The client secret associated with the Google web application.\nThis setting is required for enabling Google Sign-In.\nGoogle Sign-In documentation: https://developers.google.com/identity/sign-in/web/", "type": "string" }, "googleOAuthScopes": { - "description": "The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication.\n This setting is optional. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.\n Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/", + "description": "The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication.\nThis setting is optional. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.\nGoogle Sign-In documentation: https://developers.google.com/identity/sign-in/web/", "type": "array", "items": { "type": "string" } }, "facebookAppId": { - "description": "The App ID of the Facebook app used for login.\n This setting is required for enabling Facebook Login.\n Facebook Login documentation: https://developers.facebook.com/docs/facebook-login", + "description": "The App ID of the Facebook app used for login.\nThis setting is required for enabling Facebook Login.\nFacebook Login documentation: https://developers.facebook.com/docs/facebook-login", "type": "string" }, "facebookAppSecret": { - "description": "The App Secret of the Facebook app used for Facebook Login.\n This setting is required for enabling Facebook Login.\n Facebook Login documentation: https://developers.facebook.com/docs/facebook-login", + "description": "The App Secret of the Facebook app used for Facebook Login.\nThis setting is required for enabling Facebook Login.\nFacebook Login documentation: https://developers.facebook.com/docs/facebook-login", "type": "string" }, "facebookOAuthScopes": { - "description": "The OAuth 2.0 scopes that will be requested as part of Facebook Login authentication.\n This setting is optional.\n Facebook Login documentation: https://developers.facebook.com/docs/facebook-login", + "description": "The OAuth 2.0 scopes that will be requested as part of Facebook Login authentication.\nThis setting is optional.\nFacebook Login documentation: https://developers.facebook.com/docs/facebook-login", "type": "array", "items": { "type": "string" } }, "twitterConsumerKey": { - "description": "The OAuth 1.0a consumer key of the Twitter application used for sign-in.\n This setting is required for enabling Twitter Sign-In.\n Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in", + "description": "The OAuth 1.0a consumer key of the Twitter application used for sign-in.\nThis setting is required for enabling Twitter Sign-In.\nTwitter Sign-In documentation: https://dev.twitter.com/web/sign-in", "type": "string" }, "twitterConsumerSecret": { - "description": "The OAuth 1.0a consumer secret of the Twitter application used for sign-in.\n This setting is required for enabling Twitter Sign-In.\n Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in", + "description": "The OAuth 1.0a consumer secret of the Twitter application used for sign-in.\nThis setting is required for enabling Twitter Sign-In.\nTwitter Sign-In documentation: https://dev.twitter.com/web/sign-in", "type": "string" }, "microsoftAccountClientId": { - "description": "The OAuth 2.0 client ID that was created for the app used for authentication.\n This setting is required for enabling Microsoft Account authentication.\n Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm", + "description": "The OAuth 2.0 client ID that was created for the app used for authentication.\nThis setting is required for enabling Microsoft Account authentication.\nMicrosoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm", "type": "string" }, "microsoftAccountClientSecret": { - "description": "The OAuth 2.0 client secret that was created for the app used for authentication.\n This setting is required for enabling Microsoft Account authentication.\n Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm", + "description": "The OAuth 2.0 client secret that was created for the app used for authentication.\nThis setting is required for enabling Microsoft Account authentication.\nMicrosoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm", "type": "string" }, "microsoftAccountOAuthScopes": { - "description": "The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication.\n This setting is optional. If not specified, \"wl.basic\" is used as the default scope.\n Microsoft Account Scopes and permissions documentation: https://msdn.microsoft.com/en-us/library/dn631845.aspx", + "description": "The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication.\nThis setting is optional. If not specified, \"wl.basic\" is used as the default scope.\nMicrosoft Account Scopes and permissions documentation: https://msdn.microsoft.com/en-us/library/dn631845.aspx", "type": "array", "items": { "type": "string" @@ -19727,7 +20026,7 @@ } }, "unsupportedFeatures": { - "description": "List of features enabled on app that are non-blocking but cannot be cloned. The app can still be cloned\n but the features in this list will not be set up on cloned app.", + "description": "List of features enabled on app that are non-blocking but cannot be cloned. The app can still be cloned\nbut the features in this list will not be set up on cloned app.", "type": "array", "items": { "$ref": "#/definitions/SiteCloneabilityCriterion" @@ -20384,7 +20683,7 @@ } }, "SlotConfigNames": { - "description": "Names for connection strings and application settings to be marked as sticky to the deployment slot and not moved during a swap operation.\n This is valid for all deployment slots in an app.", + "description": "Names for connection strings and application settings to be marked as sticky to the deployment slot and not moved during a swap operation.\nThis is valid for all deployment slots in an app.", "type": "object", "properties": { "connectionStringNames": { @@ -20605,7 +20904,7 @@ "type": "boolean" }, "ignoreConflictingHostNames": { - "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\n This setting is only necessary when RecoverConfiguration is enabled.", + "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\nThis setting is only necessary when RecoverConfiguration is enabled.", "type": "boolean" } }, @@ -20622,7 +20921,7 @@ "type": "string" }, "id": { - "description": "ARM resource ID of the target app. \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "description": "ARM resource ID of the target app. \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", "type": "string" } } @@ -20933,7 +21232,10 @@ }, "settings": { "description": "Job settings.", - "type": "object" + "type": "object", + "additionalProperties": { + "type": "object" + } } }, "x-ms-client-flatten": true @@ -21101,7 +21403,8 @@ "readOnly": true }, "certBlob": { - "description": "A certificate file (.cer) blob containing the public key of the private key used to authenticate a \n Point-To-Site VPN connection.", + "format": "byte", + "description": "A certificate file (.cer) blob containing the public key of the private key used to authenticate a \nPoint-To-Site VPN connection.", "type": "string" }, "routes": { @@ -21156,7 +21459,7 @@ "type": "string" }, "routeType": { - "description": "The type of route this is:\n DEFAULT - By default, every app has routes to the local address ranges specified by RFC1918\n INHERITED - Routes inherited from the real Virtual Network routes\n STATIC - Static route set on the app only\n \n These values will be used for syncing an app's routes with those from a Virtual Network.", + "description": "The type of route this is:\nDEFAULT - By default, every app has routes to the local address ranges specified by RFC1918\nINHERITED - Routes inherited from the real Virtual Network routes\nSTATIC - Static route set on the app only\n\nThese values will be used for syncing an app's routes with those from a Virtual Network.", "enum": [ "DEFAULT", "INHERITED", @@ -21264,7 +21567,10 @@ }, "settings": { "description": "Job settings.", - "type": "object" + "type": "object", + "additionalProperties": { + "type": "object" + } } }, "x-ms-client-flatten": true diff --git a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json index 436fcbd326f2..6232ad4a934b 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json @@ -238,6 +238,75 @@ } }, "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Create or update an App Service Environment.", + "description": "Create or update an App Service Environment.", + "operationId": "AppServiceEnvironments_Update", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "hostingEnvironmentEnvelope", + "in": "body", + "description": "Configuration details of the App Service Environment.", + "required": true, + "schema": { + "$ref": "#/definitions/AppServiceEnvironmentResource" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AppServiceEnvironmentResource" + } + }, + "202": { + "description": "Operation is in progress.", + "schema": { + "$ref": "#/definitions/AppServiceEnvironmentResource" + } + }, + "400": { + "description": "Bad request." + }, + "404": { + "description": "Not found." + }, + "409": { + "description": "Conflict." + } + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/compute": { @@ -670,6 +739,75 @@ } }, "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Create or update a multi-role pool.", + "description": "Create or update a multi-role pool.", + "operationId": "AppServiceEnvironments_UpdateMultiRolePool", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "multiRolePoolEnvelope", + "in": "body", + "description": "Properties of the multi-role pool.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + "202": { + "description": "Operation is in progress.", + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + "400": { + "description": "Bad request." + }, + "404": { + "description": "Not found." + }, + "409": { + "description": "Conflict." + } + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}/metricdefinitions": { @@ -1477,6 +1615,82 @@ } }, "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Create or update a worker pool.", + "description": "Create or update a worker pool.", + "operationId": "AppServiceEnvironments_UpdateWorkerPool", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolName", + "in": "path", + "description": "Name of the worker pool.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolEnvelope", + "in": "body", + "description": "Properties of the worker pool.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + "202": { + "description": "Operation is in progress.", + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + "400": { + "description": "Bad request." + }, + "404": { + "description": "Not found." + }, + "409": { + "description": "Conflict." + } + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}/metricdefinitions": { @@ -2067,7 +2281,7 @@ "type": "boolean" }, "dynamicCacheEnabled": { - "description": "True/false indicating whether the App Service Environment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available\n (most likely because NSG blocked the incoming traffic).", + "description": "True/false indicating whether the App Service Environment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available\n(most likely because NSG blocked the incoming traffic).", "type": "boolean" }, "clusterSettings": { @@ -2141,7 +2355,8 @@ "description": "App Service plan status.", "enum": [ "Ready", - "Pending" + "Pending", + "Creating" ], "type": "string", "readOnly": true, @@ -2179,7 +2394,7 @@ "readOnly": true }, "perSiteScaling": { - "description": "If true, apps assigned to this App Service plan can be scaled independently.\n If false, apps assigned to this App Service plan will scale to all instances of the plan.", + "description": "If true, apps assigned to this App Service plan can be scaled independently.\nIf false, apps assigned to this App Service plan will scale to all instances of the plan.", "default": false, "type": "boolean" }, @@ -2279,13 +2494,13 @@ "description": "Custom action to be taken." }, "minProcessExecutionTime": { - "description": "Minimum time the process must execute\n before taking the action", + "description": "Minimum time the process must execute\nbefore taking the action", "type": "string" } } }, "AutoHealCustomAction": { - "description": "Custom action to be executed\n when an auto heal rule is triggered.", + "description": "Custom action to be executed\nwhen an auto heal rule is triggered.", "type": "object", "properties": { "exe": { @@ -2364,8 +2579,10 @@ "type": "object", "properties": { "correlationId": { - "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\n together to use the same snapshot.", - "type": "string" + "format": "uuid", + "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\ntogether to use the same snapshot.", + "type": "string", + "example": "00000000-0000-0000-0000-000000000000" }, "overwrite": { "description": "true to overwrite destination app; otherwise, false.", @@ -2380,7 +2597,7 @@ "type": "boolean" }, "sourceWebAppId": { - "description": "ARM resource ID of the source app. App resource ID is of the form \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "description": "ARM resource ID of the source app. App resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", "type": "string" }, "hostingEnvironment": { @@ -2388,7 +2605,7 @@ "type": "string" }, "appSettingsOverrides": { - "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \n from source app. Otherwise, application settings from source app are retained.", + "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \nfrom source app. Otherwise, application settings from source app are retained.", "type": "object", "additionalProperties": { "type": "string" @@ -2399,16 +2616,12 @@ "type": "boolean" }, "trafficManagerProfileId": { - "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", + "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", "type": "string" }, "trafficManagerProfileName": { "description": "Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.", "type": "string" - }, - "ignoreQuotas": { - "description": "true if quotas should be ignored; otherwise, false.", - "type": "boolean" } } }, @@ -2452,7 +2665,7 @@ "type": "object", "properties": { "allowedOrigins": { - "description": "Gets or sets the list of origins that should be allowed to make cross-origin\n calls (for example: http://example.com:12345). Use \"*\" to allow all.", + "description": "Gets or sets the list of origins that should be allowed to make cross-origin\ncalls (for example: http://example.com:12345). Use \"*\" to allow all.", "type": "array", "items": { "type": "string" @@ -2559,7 +2772,7 @@ } }, "HandlerMapping": { - "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \n For example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", + "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \nFor example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", "type": "object", "properties": { "extension": { @@ -2842,8 +3055,10 @@ "type": "string" }, "geoMasterOperationId": { + "format": "uuid", "description": "Applicable only for stamp operation ids.", - "type": "string" + "type": "string", + "example": "00000000-0000-0000-0000-000000000000" } } }, @@ -2896,7 +3111,7 @@ "type": "string" }, "tagsRequiringAuth": { - "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\n Tags can consist of alphanumeric characters and the following:\n '_', '@', '#', '.', ':', '-'. \n Validation should be performed at the PushRequestHandler.", + "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\nTags can consist of alphanumeric characters and the following:\n'_', '@', '#', '.', ':', '-'. \nValidation should be performed at the PushRequestHandler.", "type": "string" }, "dynamicTagsJson": { @@ -2923,7 +3138,7 @@ }, "changeStep": { "format": "double", - "description": "In auto ramp up scenario this is the step to to add/remove from ReroutePercentage until it reaches \n MinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specificed in ChangeIntervalInMinutes.\n Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", + "description": "In auto ramp up scenario this is the step to to add/remove from ReroutePercentage until it reaches \nMinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specificed in ChangeIntervalInMinutes.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", "type": "number" }, "changeIntervalInMinutes": { @@ -2942,7 +3157,7 @@ "type": "number" }, "changeDecisionCallbackUrl": { - "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\n https://www.siteextensions.net/packages/TiPCallback/", + "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\nhttps://www.siteextensions.net/packages/TiPCallback/", "type": "string" }, "name": { @@ -3305,7 +3520,7 @@ "type": "boolean" }, "enabledHostNames": { - "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\n the app is not served on those hostnames.", + "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\nthe app is not served on those hostnames.", "type": "array", "items": { "type": "string" @@ -3476,6 +3691,10 @@ "$ref": "#/definitions/SlotSwapStatus", "description": "Status of the last deployment slot swap operation.", "readOnly": true + }, + "httpsOnly": { + "description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests", + "type": "boolean" } }, "x-ms-client-flatten": true @@ -3950,7 +4169,7 @@ "type": "boolean" }, "ignoreConflictingHostNames": { - "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\n This setting is only necessary when RecoverConfiguration is enabled.", + "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\nThis setting is only necessary when RecoverConfiguration is enabled.", "type": "boolean" } }, @@ -3967,7 +4186,7 @@ "type": "string" }, "id": { - "description": "ARM resource ID of the target app. \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "description": "ARM resource ID of the target app. \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", "type": "string" } } @@ -4010,10 +4229,13 @@ "workerSize": { "description": "Size of the machines.", "enum": [ - "Default", "Small", "Medium", - "Large" + "Large", + "D1", + "D2", + "D3", + "Default" ], "type": "string", "x-ms-enum": { @@ -4023,11 +4245,11 @@ }, "workerSizeId": { "format": "int32", - "description": "Size ID of machines: \n 0 - Small\n 1 - Medium\n 2 - Large", + "description": "Size ID of machines: \n0 - Small\n1 - Medium\n2 - Large", "type": "integer" }, "excludeFromCapacityAllocation": { - "description": "If true, it includes basic apps.\n Basic apps are not used for capacity allocation.", + "description": "If true, it includes basic apps.\nBasic apps are not used for capacity allocation.", "type": "boolean" }, "isApplicableForAllComputeModes": { diff --git a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json index 769aca948319..5da9156eb1e3 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json @@ -216,6 +216,66 @@ "description": "OK." } } + }, + "patch": { + "tags": [ + "AppServicePlans" + ], + "summary": "Creates or updates an App Service Plan.", + "description": "Creates or updates an App Service Plan.", + "operationId": "AppServicePlans_Update", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service plan.", + "required": true, + "type": "string" + }, + { + "name": "appServicePlan", + "in": "body", + "description": "Details of the App Service plan.", + "required": true, + "schema": { + "$ref": "#/definitions/AppServicePlan" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/AppServicePlan" + } + }, + "202": { + "description": "Operation is in progress.", + "schema": { + "$ref": "#/definitions/AppServicePlan" + } + } + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/capabilities": { @@ -765,6 +825,98 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/skus": { + "get": { + "tags": [ + "AppServicePlans" + ], + "summary": "Gets all selectable sku's for a given App Service Plan", + "description": "Gets all selectable sku's for a given App Service Plan", + "operationId": "AppServicePlans_GetServerFarmSkus", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of App Service Plan", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/usages": { + "get": { + "tags": [ + "AppServicePlans" + ], + "summary": "Gets server farm usage information", + "description": "Gets server farm usage information", + "operationId": "AppServicePlans_ListUsages", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of App Service Plan", + "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').", + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CsmUsageQuotaCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections": { "get": { "tags": [ @@ -1375,7 +1527,8 @@ "description": "App Service plan status.", "enum": [ "Ready", - "Pending" + "Pending", + "Creating" ], "type": "string", "readOnly": true, @@ -1513,13 +1666,13 @@ "description": "Custom action to be taken." }, "minProcessExecutionTime": { - "description": "Minimum time the process must execute\n before taking the action", + "description": "Minimum time the process must execute\nbefore taking the action", "type": "string" } } }, "AutoHealCustomAction": { - "description": "Custom action to be executed\n when an auto heal rule is triggered.", + "description": "Custom action to be executed\nwhen an auto heal rule is triggered.", "type": "object", "properties": { "exe": { @@ -1598,8 +1751,10 @@ "type": "object", "properties": { "correlationId": { - "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\n together to use the same snapshot.", - "type": "string" + "format": "uuid", + "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\ntogether to use the same snapshot.", + "type": "string", + "example": "00000000-0000-0000-0000-000000000000" }, "overwrite": { "description": "true to overwrite destination app; otherwise, false.", @@ -1614,7 +1769,7 @@ "type": "boolean" }, "sourceWebAppId": { - "description": "ARM resource ID of the source app. App resource ID is of the form \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "description": "ARM resource ID of the source app. App resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", "type": "string" }, "hostingEnvironment": { @@ -1622,7 +1777,7 @@ "type": "string" }, "appSettingsOverrides": { - "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \n from source app. Otherwise, application settings from source app are retained.", + "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \nfrom source app. Otherwise, application settings from source app are retained.", "type": "object", "additionalProperties": { "type": "string" @@ -1633,16 +1788,12 @@ "type": "boolean" }, "trafficManagerProfileId": { - "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", + "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", "type": "string" }, "trafficManagerProfileName": { "description": "Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.", "type": "string" - }, - "ignoreQuotas": { - "description": "true if quotas should be ignored; otherwise, false.", - "type": "boolean" } } }, @@ -1686,7 +1837,7 @@ "type": "object", "properties": { "allowedOrigins": { - "description": "Gets or sets the list of origins that should be allowed to make cross-origin\n calls (for example: http://example.com:12345). Use \"*\" to allow all.", + "description": "Gets or sets the list of origins that should be allowed to make cross-origin\ncalls (for example: http://example.com:12345). Use \"*\" to allow all.", "type": "array", "items": { "type": "string" @@ -1694,6 +1845,55 @@ } } }, + "CsmUsageQuota": { + "description": "Usage of the quota resource.", + "type": "object", + "properties": { + "unit": { + "description": "Units of measurement for the quota resourse.", + "type": "string" + }, + "nextResetTime": { + "format": "date-time", + "description": "Next reset time for the resource counter.", + "type": "string" + }, + "currentValue": { + "format": "int64", + "description": "The current value of the resource counter.", + "type": "integer" + }, + "limit": { + "format": "int64", + "description": "The resource limit.", + "type": "integer" + }, + "name": { + "$ref": "#/definitions/LocalizableString", + "description": "Quota name." + } + } + }, + "CsmUsageQuotaCollection": { + "description": "Collection of CSM usage quotas.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/CsmUsageQuota" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, "Experiments": { "description": "Routing rules in production experiments.", "type": "object", @@ -1708,7 +1908,7 @@ } }, "HandlerMapping": { - "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \n For example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", + "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \nFor example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", "type": "object", "properties": { "extension": { @@ -1838,7 +2038,7 @@ "type": "string" }, "sendKeyValue": { - "description": "The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned\n normally, use the POST /listKeys API instead.", + "description": "The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned\nnormally, use the POST /listKeys API instead.", "type": "string" } }, @@ -1939,6 +2139,20 @@ } } }, + "LocalizableString": { + "description": "Localizable string object containing the name and a localized value.", + "type": "object", + "properties": { + "value": { + "description": "Non-localized name.", + "type": "string" + }, + "localizedValue": { + "description": "Localized name.", + "type": "string" + } + } + }, "NameValuePair": { "description": "Name value pair.", "type": "object", @@ -2002,7 +2216,7 @@ "type": "string" }, "tagsRequiringAuth": { - "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\n Tags can consist of alphanumeric characters and the following:\n '_', '@', '#', '.', ':', '-'. \n Validation should be performed at the PushRequestHandler.", + "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\nTags can consist of alphanumeric characters and the following:\n'_', '@', '#', '.', ':', '-'. \nValidation should be performed at the PushRequestHandler.", "type": "string" }, "dynamicTagsJson": { @@ -2029,7 +2243,7 @@ }, "changeStep": { "format": "double", - "description": "In auto ramp up scenario this is the step to to add/remove from ReroutePercentage until it reaches \n MinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specificed in ChangeIntervalInMinutes.\n Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", + "description": "In auto ramp up scenario this is the step to to add/remove from ReroutePercentage until it reaches \nMinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specificed in ChangeIntervalInMinutes.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", "type": "number" }, "changeIntervalInMinutes": { @@ -2048,7 +2262,7 @@ "type": "number" }, "changeDecisionCallbackUrl": { - "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\n https://www.siteextensions.net/packages/TiPCallback/", + "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\nhttps://www.siteextensions.net/packages/TiPCallback/", "type": "string" }, "name": { @@ -2431,7 +2645,7 @@ "type": "boolean" }, "enabledHostNames": { - "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\n the app is not served on those hostnames.", + "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\nthe app is not served on those hostnames.", "type": "array", "items": { "type": "string" @@ -2565,7 +2779,7 @@ }, "maxNumberOfWorkers": { "format": "int32", - "description": "Maximum number of workers.\n This only applies to Functions container.", + "description": "Maximum number of workers.\nThis only applies to Functions container.", "type": "integer", "readOnly": true }, @@ -2602,6 +2816,10 @@ "$ref": "#/definitions/SlotSwapStatus", "description": "Status of the last deployment slot swap operation.", "readOnly": true + }, + "httpsOnly": { + "description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests", + "type": "boolean" } }, "x-ms-client-flatten": true @@ -3038,7 +3256,7 @@ "type": "boolean" }, "ignoreConflictingHostNames": { - "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\n This setting is only necessary when RecoverConfiguration is enabled.", + "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\nThis setting is only necessary when RecoverConfiguration is enabled.", "type": "boolean" } }, @@ -3055,7 +3273,7 @@ "type": "string" }, "id": { - "description": "ARM resource ID of the target app. \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "description": "ARM resource ID of the target app. \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", "type": "string" } } @@ -3187,7 +3405,8 @@ "readOnly": true }, "certBlob": { - "description": "A certificate file (.cer) blob containing the public key of the private key used to authenticate a \n Point-To-Site VPN connection.", + "format": "byte", + "description": "A certificate file (.cer) blob containing the public key of the private key used to authenticate a \nPoint-To-Site VPN connection.", "type": "string" }, "routes": { @@ -3242,7 +3461,7 @@ "type": "string" }, "routeType": { - "description": "The type of route this is:\n DEFAULT - By default, every app has routes to the local address ranges specified by RFC1918\n INHERITED - Routes inherited from the real Virtual Network routes\n STATIC - Static route set on the app only\n \n These values will be used for syncing an app's routes with those from a Virtual Network.", + "description": "The type of route this is:\nDEFAULT - By default, every app has routes to the local address ranges specified by RFC1918\nINHERITED - Routes inherited from the real Virtual Network routes\nSTATIC - Static route set on the app only\n\nThese values will be used for syncing an app's routes with those from a Virtual Network.", "enum": [ "DEFAULT", "INHERITED", From 98f90e559de258661248479a32e158d0d8dadc02 Mon Sep 17 00:00:00 2001 From: Navy Aziz Date: Fri, 6 Oct 2017 11:46:03 -0700 Subject: [PATCH 14/27] Fix static validation issues. --- .../2016-03-01/ResourceProvider.json | 533 ++++++++++++++++++ .../Microsoft.Web/2016-08-01/WebApps.json | 4 +- .../2016-09-01/AppServiceEnvironments.json | 2 +- .../2016-09-01/AppServicePlans.json | 2 +- 4 files changed, 537 insertions(+), 4 deletions(-) diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json index 1e9d849f812b..b8884f9f18e6 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json @@ -101,6 +101,37 @@ } }, "/providers/Microsoft.Web/sourcecontrols/{sourceControlType}": { + "get": { + "summary": "Gets source control token", + "description": "Gets source control token", + "operationId": "GetSourceControl", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "sourceControlType", + "in": "path", + "description": "Type of source control", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SourceControl" + } + } + } + }, "put": { "summary": "Updates source control token", "description": "Updates source control token", @@ -193,6 +224,35 @@ } } }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/deploymentLocations": { + "get": { + "summary": "Gets list of available geo regions plus ministamps", + "description": "Gets list of available geo regions plus ministamps", + "operationId": "GetSubscriptionDeploymentLocations", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DeploymentLocations" + } + } + } + } + }, "/subscriptions/{subscriptionId}/providers/Microsoft.Web/geoRegions": { "get": { "summary": "Get a list of available geographical regions.", @@ -477,6 +537,233 @@ } }, "definitions": { + "AppServiceEnvironment": { + "description": "Description of an App Service Environment.", + "required": [ + "name", + "location", + "virtualNetwork", + "workerPools" + ], + "type": "object", + "properties": { + "name": { + "description": "Name of the App Service Environment.", + "type": "string" + }, + "location": { + "description": "Location of the App Service Environment, e.g. \"West US\".", + "type": "string" + }, + "provisioningState": { + "description": "Provisioning state of the App Service Environment.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "InProgress", + "Deleting" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": false + } + }, + "status": { + "description": "Current status of the App Service Environment.", + "enum": [ + "Preparing", + "Ready", + "Scaling", + "Deleting" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "HostingEnvironmentStatus", + "modelAsString": false + } + }, + "vnetName": { + "description": "Name of the Virtual Network for the App Service Environment.", + "type": "string" + }, + "vnetResourceGroupName": { + "description": "Resource group of the Virtual Network.", + "type": "string" + }, + "vnetSubnetName": { + "description": "Subnet of the Virtual Network.", + "type": "string" + }, + "virtualNetwork": { + "$ref": "#/definitions/VirtualNetworkProfile", + "description": "Description of the Virtual Network." + }, + "internalLoadBalancingMode": { + "description": "Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment.", + "enum": [ + "None", + "Web", + "Publishing" + ], + "type": "string", + "x-ms-enum": { + "name": "InternalLoadBalancingMode", + "modelAsString": false + } + }, + "multiSize": { + "description": "Front-end VM size, e.g. \"Medium\", \"Large\".", + "type": "string" + }, + "multiRoleCount": { + "format": "int32", + "description": "Number of front-end instances.", + "type": "integer" + }, + "workerPools": { + "description": "Description of worker pools with worker size IDs, VM sizes, and number of workers in each pool.", + "type": "array", + "items": { + "$ref": "#/definitions/WorkerPool" + } + }, + "ipsslAddressCount": { + "format": "int32", + "description": "Number of IP SSL addresses reserved for the App Service Environment.", + "type": "integer" + }, + "databaseEdition": { + "description": "Edition of the metadata database for the App Service Environment, e.g. \"Standard\".", + "type": "string", + "readOnly": true + }, + "databaseServiceObjective": { + "description": "Service objective of the metadata database for the App Service Environment, e.g. \"S0\".", + "type": "string", + "readOnly": true + }, + "upgradeDomains": { + "format": "int32", + "description": "Number of upgrade domains of the App Service Environment.", + "type": "integer", + "readOnly": true + }, + "subscriptionId": { + "description": "Subscription of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "dnsSuffix": { + "description": "DNS suffix of the App Service Environment.", + "type": "string" + }, + "lastAction": { + "description": "Last deployment action on the App Service Environment.", + "type": "string", + "readOnly": true + }, + "lastActionResult": { + "description": "Result of the last deployment action on the App Service Environment.", + "type": "string", + "readOnly": true + }, + "allowedMultiSizes": { + "description": "List of comma separated strings describing which VM sizes are allowed for front-ends.", + "type": "string", + "readOnly": true + }, + "allowedWorkerSizes": { + "description": "List of comma separated strings describing which VM sizes are allowed for workers.", + "type": "string", + "readOnly": true + }, + "maximumNumberOfMachines": { + "format": "int32", + "description": "Maximum number of VMs in the App Service Environment.", + "type": "integer", + "readOnly": true + }, + "vipMappings": { + "description": "Description of IP SSL mapping for the App Service Environment.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualIPMapping" + }, + "readOnly": true + }, + "environmentCapacities": { + "description": "Current total, used, and available worker capacities.", + "type": "array", + "items": { + "$ref": "#/definitions/StampCapacity" + }, + "readOnly": true + }, + "networkAccessControlList": { + "description": "Access control list for controlling traffic to the App Service Environment.", + "type": "array", + "items": { + "$ref": "#/definitions/NetworkAccessControlEntry" + } + }, + "environmentIsHealthy": { + "description": "True/false indicating whether the App Service Environment is healthy.", + "type": "boolean", + "readOnly": true + }, + "environmentStatus": { + "description": "Detailed message about with results of the last check of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "resourceGroup": { + "description": "Resource group of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "frontEndScaleFactor": { + "format": "int32", + "description": "Scale factor for front-ends.", + "type": "integer" + }, + "defaultFrontEndScaleFactor": { + "format": "int32", + "description": "Default Scale Factor for FrontEnds.", + "type": "integer", + "readOnly": true + }, + "apiManagementAccountId": { + "description": "API Management Account associated with the App Service Environment.", + "type": "string" + }, + "suspended": { + "description": "true if the App Service Environment is suspended; otherwise, false. The environment can be suspended, e.g. when the management endpoint is no longer available\n (most likely because NSG blocked the incoming traffic).", + "type": "boolean" + }, + "dynamicCacheEnabled": { + "description": "True/false indicating whether the App Service Environment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available\n(most likely because NSG blocked the incoming traffic).", + "type": "boolean" + }, + "clusterSettings": { + "description": "Custom settings for changing the behavior of the App Service Environment.", + "type": "array", + "items": { + "$ref": "#/definitions/NameValuePair" + } + }, + "userWhitelistedIpRanges": { + "description": "User added ip ranges to whitelist on ASE db", + "type": "array", + "items": { + "type": "string" + } + } + } + }, "Capability": { "description": "Describes the capabilities/features allowed for a specific SKU.", "type": "object", @@ -513,6 +800,33 @@ } } }, + "DeploymentLocations": { + "description": "List of available locations (regions or App Service Environments) for\ndeployment of App Service resources.", + "type": "object", + "properties": { + "locations": { + "description": "Available regions.", + "type": "array", + "items": { + "$ref": "#/definitions/GeoRegion" + } + }, + "hostingEnvironments": { + "description": "Available App Service Environments with full descriptions of the environments.", + "type": "array", + "items": { + "$ref": "#/definitions/AppServiceEnvironment" + } + }, + "hostingEnvironmentDeploymentInfos": { + "description": "Available App Service Environments with basic information.", + "type": "array", + "items": { + "$ref": "#/definitions/HostingEnvironmentDeploymentInfo" + } + } + } + }, "GeoRegion": { "description": "Geographical region.", "type": "object", @@ -597,6 +911,65 @@ } } }, + "HostingEnvironmentDeploymentInfo": { + "description": "Information needed to create resources on an App Service Environment.", + "type": "object", + "properties": { + "name": { + "description": "Name of the App Service Environment.", + "type": "string" + }, + "location": { + "description": "Location of the App Service Environment.", + "type": "string" + } + } + }, + "NameValuePair": { + "description": "Name value pair.", + "type": "object", + "properties": { + "name": { + "description": "Pair name.", + "type": "string" + }, + "value": { + "description": "Pair value.", + "type": "string" + } + } + }, + "NetworkAccessControlEntry": { + "description": "Network access control entry.", + "type": "object", + "properties": { + "action": { + "description": "Action object.", + "enum": [ + "Permit", + "Deny" + ], + "type": "string", + "x-ms-enum": { + "name": "AccessControlEntryAction", + "modelAsString": false + } + }, + "description": { + "description": "Description.", + "type": "string" + }, + "order": { + "format": "int32", + "description": "Order of precedence.", + "type": "integer" + }, + "remoteSubnet": { + "description": "Remote subnet.", + "type": "string" + } + } + }, "PremierAddOnOffer": { "description": "Premier add-on offer.", "type": "object", @@ -873,6 +1246,77 @@ } } }, + "StampCapacity": { + "description": "Stamp capacity information.", + "type": "object", + "properties": { + "name": { + "description": "Name of the stamp.", + "type": "string" + }, + "availableCapacity": { + "format": "int64", + "description": "Available capacity (# of machines, bytes of storage etc...).", + "type": "integer" + }, + "totalCapacity": { + "format": "int64", + "description": "Total capacity (# of machines, bytes of storage etc...).", + "type": "integer" + }, + "unit": { + "description": "Name of the unit.", + "type": "string" + }, + "computeMode": { + "description": "Shared/dedicated workers.", + "enum": [ + "Shared", + "Dedicated", + "Dynamic" + ], + "type": "string", + "x-ms-enum": { + "name": "ComputeModeOptions", + "modelAsString": false + } + }, + "workerSize": { + "description": "Size of the machines.", + "enum": [ + "Small", + "Medium", + "Large", + "D1", + "D2", + "D3", + "Default" + ], + "type": "string", + "x-ms-enum": { + "name": "WorkerSizeOptions", + "modelAsString": false + } + }, + "workerSizeId": { + "format": "int32", + "description": "Size ID of machines: \n0 - Small\n1 - Medium\n2 - Large", + "type": "integer" + }, + "excludeFromCapacityAllocation": { + "description": "If true, it includes basic apps.\nBasic apps are not used for capacity allocation.", + "type": "boolean" + }, + "isApplicableForAllComputeModes": { + "description": "true if capacity is applicable for all apps; otherwise, false.", + "type": "boolean" + }, + "siteMode": { + "description": "Shared or Dedicated.", + "type": "string" + } + } + }, "User": { "description": "User crendentials used for publishing activity.", "type": "object", @@ -1010,6 +1454,54 @@ } } }, + "VirtualIPMapping": { + "description": "Virtual IP mapping.", + "type": "object", + "properties": { + "virtualIP": { + "description": "Virtual IP address.", + "type": "string" + }, + "internalHttpPort": { + "format": "int32", + "description": "Internal HTTP port.", + "type": "integer" + }, + "internalHttpsPort": { + "format": "int32", + "description": "Internal HTTPS port.", + "type": "integer" + }, + "inUse": { + "description": "Is virtual IP mapping in use.", + "type": "boolean" + } + } + }, + "VirtualNetworkProfile": { + "description": "Specification for using a Virtual Network.", + "type": "object", + "properties": { + "id": { + "description": "Resource id of the Virtual Network.", + "type": "string" + }, + "name": { + "description": "Name of the Virtual Network (read-only).", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Resource type of the Virtual Network (read-only).", + "type": "string", + "readOnly": true + }, + "subnet": { + "description": "Subnet within the Virtual Network.", + "type": "string" + } + } + }, "VnetParameters": { "description": "The required set of inputs to validate a VNET", "type": "object", @@ -1091,6 +1583,47 @@ "x-ms-client-flatten": true } } + }, + "WorkerPool": { + "description": "Worker pool of an App Service Environment.", + "type": "object", + "properties": { + "workerSizeId": { + "format": "int32", + "description": "Worker size ID for referencing this worker pool.", + "type": "integer" + }, + "computeMode": { + "description": "Shared or dedicated app hosting.", + "enum": [ + "Shared", + "Dedicated", + "Dynamic" + ], + "type": "string", + "x-ms-enum": { + "name": "ComputeModeOptions", + "modelAsString": false + } + }, + "workerSize": { + "description": "VM size of the worker pool instances.", + "type": "string" + }, + "workerCount": { + "format": "int32", + "description": "Number of instances in the worker pool.", + "type": "integer" + }, + "instanceNames": { + "description": "Names of all instances in the worker pool (read only).", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + } + } } }, "parameters": { diff --git a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json index 6d80179eb9d7..7e4983293286 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json @@ -19172,7 +19172,7 @@ }, "changeStep": { "format": "double", - "description": "In auto ramp up scenario this is the step to to add/remove from ReroutePercentage until it reaches \n MinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specificed in ChangeIntervalInMinutes.\n Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", + "description": "In auto ramp up scenario this is the step to to add/remove from ReroutePercentage until it reaches \nMinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specificed in ChangeIntervalInMinutes.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", "type": "number" }, "changeIntervalInMinutes": { @@ -19807,7 +19807,7 @@ }, "maxNumberOfWorkers": { "format": "int32", - "description": "Maximum number of workers.\n This only applies to Functions container.", + "description": "Maximum number of workers.\nThis only applies to Functions container.", "type": "integer", "readOnly": true }, diff --git a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json index 6232ad4a934b..3879e3cf5881 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json @@ -3654,7 +3654,7 @@ }, "maxNumberOfWorkers": { "format": "int32", - "description": "Maximum number of workers.\n This only applies to Functions container.", + "description": "Maximum number of workers.\nThis only applies to Functions container.", "type": "integer", "readOnly": true }, diff --git a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json index 5da9156eb1e3..b2419d0e883c 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json @@ -1566,7 +1566,7 @@ "readOnly": true }, "perSiteScaling": { - "description": "If true, apps assigned to this App Service plan can be scaled independently.\n If false, apps assigned to this App Service plan will scale to all instances of the plan.", + "description": "If true, apps assigned to this App Service plan can be scaled independently.\nIf false, apps assigned to this App Service plan will scale to all instances of the plan.", "default": false, "type": "boolean" }, From 512ff6a5655dd79f3237b8ba77577cf90789f2eb Mon Sep 17 00:00:00 2001 From: Navy Aziz Date: Mon, 9 Oct 2017 11:06:05 -0700 Subject: [PATCH 15/27] Remove required for location on Azure resource --- .../AppServiceCertificateOrders.json | 136 +++++++++++++++++- .../2015-04-01/Domains.json | 72 +++++++++- .../2016-03-01/Certificates.json | 9 +- .../Microsoft.Web/2016-08-01/WebApps.json | 9 +- .../2016-09-01/AppServiceEnvironments.json | 9 +- .../2016-09-01/AppServicePlans.json | 9 +- 6 files changed, 219 insertions(+), 25 deletions(-) diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json index 8cf78faf1edc..580199199ba4 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json @@ -252,6 +252,66 @@ "description": "Certificate order does not exist." } } + }, + "patch": { + "tags": [ + "AppServiceCertificateOrders" + ], + "summary": "Create or update a certificate purchase order.", + "description": "Create or update a certificate purchase order.", + "operationId": "AppServiceCertificateOrders_Update", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "certificateOrderName", + "in": "path", + "description": "Name of the certificate order.", + "required": true, + "type": "string" + }, + { + "name": "certificateDistinguishedName", + "in": "body", + "description": "Distinguished name to to use for the certificate order.", + "required": true, + "schema": { + "$ref": "#/definitions/AppServiceCertificateOrder" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "App Service Certificate Order is created.", + "schema": { + "$ref": "#/definitions/AppServiceCertificateOrder" + } + }, + "201": { + "description": "App Service Certificate Order creation operation is in progress", + "schema": { + "$ref": "#/definitions/AppServiceCertificateOrder" + } + } + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates": { @@ -453,6 +513,73 @@ "description": "Certificate does not exist." } } + }, + "patch": { + "tags": [ + "AppServiceCertificateOrders" + ], + "summary": "Creates or updates a certificate and associates with key vault secret.", + "description": "Creates or updates a certificate and associates with key vault secret.", + "operationId": "AppServiceCertificateOrders_UpdateCertificate", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "certificateOrderName", + "in": "path", + "description": "Name of the certificate order.", + "required": true, + "type": "string" + }, + { + "name": "name", + "in": "path", + "description": "Name of the certificate.", + "required": true, + "type": "string" + }, + { + "name": "keyVaultCertificate", + "in": "body", + "description": "Key vault certificate resource Id.", + "required": true, + "schema": { + "$ref": "#/definitions/AppServiceCertificateResource" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "App Service Certificate is created.", + "schema": { + "$ref": "#/definitions/AppServiceCertificateResource" + } + }, + "201": { + "description": "App Service Certificate creation operation is in progress", + "schema": { + "$ref": "#/definitions/AppServiceCertificateResource" + } + } + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/reissue": { @@ -1321,9 +1448,6 @@ }, "Resource": { "description": "Azure resource. This resource is tracked in Azure Resource Manager", - "required": [ - "location" - ], "properties": { "id": { "description": "Resource Id.", @@ -1341,7 +1465,11 @@ }, "location": { "description": "Resource Location.", - "type": "string" + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] }, "type": { "description": "Resource type.", diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json b/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json index c2bdfeea7da9..6bb4ad02874f 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json @@ -349,6 +349,67 @@ "description": "Domain does not exist in Azure database probably because it has already been deleted" } } + }, + "patch": { + "tags": [ + "Domains" + ], + "summary": "Creates or updates a domain.", + "description": "Creates or updates a domain.", + "operationId": "Domains_Update", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "domainName", + "in": "path", + "description": "Name of the domain.", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9][a-zA-Z0-9\\.-]+" + }, + { + "name": "domain", + "in": "body", + "description": "Domain registration information.", + "required": true, + "schema": { + "$ref": "#/definitions/Domain" + } + }, + { + "$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" + } + } + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers": { @@ -646,7 +707,7 @@ } }, "Contact": { - "description": "Contact information for domain registration. If 'Domain Privacy' option is not selected then the contact information is made publicly available through the Whois \n directories as per ICANN requirements.", + "description": "Contact information for domain registration. If 'Domain Privacy' option is not selected then the contact information is made publicly available through the Whois \ndirectories as per ICANN requirements.", "required": [ "email", "nameFirst", @@ -1130,9 +1191,6 @@ }, "Resource": { "description": "Azure resource. This resource is tracked in Azure Resource Manager", - "required": [ - "location" - ], "properties": { "id": { "description": "Resource Id.", @@ -1150,7 +1208,11 @@ }, "location": { "description": "Resource Location.", - "type": "string" + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] }, "type": { "description": "Resource type.", diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json index 3255ef36697c..f8b20d18e0db 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json @@ -452,9 +452,6 @@ }, "Resource": { "description": "Azure resource. This resource is tracked in Azure Resource Manager", - "required": [ - "location" - ], "properties": { "id": { "description": "Resource Id.", @@ -472,7 +469,11 @@ }, "location": { "description": "Resource Location.", - "type": "string" + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] }, "type": { "description": "Resource type.", diff --git a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json index 7e4983293286..d13dfcea8a17 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json @@ -19256,9 +19256,6 @@ }, "Resource": { "description": "Azure resource. This resource is tracked in Azure Resource Manager", - "required": [ - "location" - ], "properties": { "id": { "description": "Resource Id.", @@ -19276,7 +19273,11 @@ }, "location": { "description": "Resource Location.", - "type": "string" + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] }, "type": { "description": "Resource type.", diff --git a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json index 3879e3cf5881..787a5860e2d1 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json @@ -3183,9 +3183,6 @@ }, "Resource": { "description": "Azure resource. This resource is tracked in Azure Resource Manager", - "required": [ - "location" - ], "properties": { "id": { "description": "Resource Id.", @@ -3203,7 +3200,11 @@ }, "location": { "description": "Resource Location.", - "type": "string" + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] }, "type": { "description": "Resource type.", diff --git a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json index b2419d0e883c..f6cfeccd009a 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json @@ -2288,9 +2288,6 @@ }, "Resource": { "description": "Azure resource. This resource is tracked in Azure Resource Manager", - "required": [ - "location" - ], "properties": { "id": { "description": "Resource Id.", @@ -2308,7 +2305,11 @@ }, "location": { "description": "Resource Location.", - "type": "string" + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] }, "type": { "description": "Resource type.", From 82258b49d03048b3ebbdb786cb6975225cc7a872 Mon Sep 17 00:00:00 2001 From: Navy Aziz Date: Wed, 11 Oct 2017 12:00:50 -0700 Subject: [PATCH 16/27] Fix enum to maintain order --- .../Microsoft.Web/2016-09-01/AppServiceEnvironments.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json index 787a5860e2d1..95d24164a112 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json @@ -4230,13 +4230,13 @@ "workerSize": { "description": "Size of the machines.", "enum": [ - "Small", + "Default", + "Small", "Medium", "Large", "D1", "D2", - "D3", - "Default" + "D3" ], "type": "string", "x-ms-enum": { From 5c4e17a8f92109d7770dd2331f1010f4933456d6 Mon Sep 17 00:00:00 2001 From: Navy Aziz Date: Wed, 11 Oct 2017 12:21:21 -0700 Subject: [PATCH 17/27] Fix Stampcapacity enum in ResourceProvider.json --- .../2016-03-01/ResourceProvider.json | 4 +- .../2016-09-01/AppServiceEnvironments.json | 9056 ++++++++--------- 2 files changed, 4530 insertions(+), 4530 deletions(-) diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json index b8884f9f18e6..cf7d01bcfaf0 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json @@ -1284,13 +1284,13 @@ "workerSize": { "description": "Size of the machines.", "enum": [ + "Default", "Small", "Medium", "Large", "D1", "D2", - "D3", - "Default" + "D3" ], "type": "string", "x-ms-enum": { diff --git a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json index 95d24164a112..26a64561d183 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json @@ -1,4642 +1,4642 @@ { - "swagger": "2.0", - "info": { - "version": "2016-09-01", - "title": "AppServiceEnvironments API Client" + "swagger": "2.0", + "info": { + "version": "2016-09-01", + "title": "AppServiceEnvironments API Client" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/hostingEnvironments": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get all App Service Environments for a subscription.", + "description": "Get all App Service Environments for a subscription.", + "operationId": "AppServiceEnvironments_List", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AppServiceEnvironmentCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get all App Service Environments in a resource group.", + "description": "Get all App Service Environments in a resource group.", + "operationId": "AppServiceEnvironments_ListByResourceGroup", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AppServiceEnvironmentCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get the properties of an App Service Environment.", + "description": "Get the properties of an App Service Environment.", + "operationId": "AppServiceEnvironments_Get", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AppServiceEnvironmentResource" + } + } + } + }, + "put": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Create or update an App Service Environment.", + "description": "Create or update an App Service Environment.", + "operationId": "AppServiceEnvironments_CreateOrUpdate", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "hostingEnvironmentEnvelope", + "in": "body", + "description": "Configuration details of the App Service Environment.", + "required": true, + "schema": { + "$ref": "#/definitions/AppServiceEnvironmentResource" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AppServiceEnvironmentResource" + } + }, + "202": { + "description": "Operation is in progress.", + "schema": { + "$ref": "#/definitions/AppServiceEnvironmentResource" + } + }, + "400": { + "description": "Bad request." + }, + "404": { + "description": "Not found." + }, + "409": { + "description": "Conflict." + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Delete an App Service Environment.", + "description": "Delete an App Service Environment.", + "operationId": "AppServiceEnvironments_Delete", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "forceDelete", + "in": "query", + "description": "Specify true to force the deletion even if the App Service Environment contains resources. The default is false.", + "type": "boolean" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Operation is in progress." + }, + "204": { + "description": "App Service Environment does not exist" + }, + "400": { + "description": "Bad request." + }, + "404": { + "description": "Not found." + }, + "409": { + "description": "Conflict." + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Create or update an App Service Environment.", + "description": "Create or update an App Service Environment.", + "operationId": "AppServiceEnvironments_Update", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "hostingEnvironmentEnvelope", + "in": "body", + "description": "Configuration details of the App Service Environment.", + "required": true, + "schema": { + "$ref": "#/definitions/AppServiceEnvironmentResource" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AppServiceEnvironmentResource" + } + }, + "202": { + "description": "Operation is in progress.", + "schema": { + "$ref": "#/definitions/AppServiceEnvironmentResource" + } + }, + "400": { + "description": "Bad request." + }, + "404": { + "description": "Not found." + }, + "409": { + "description": "Conflict." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/compute": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get the used, available, and total worker capacity an App Service Environment.", + "description": "Get the used, available, and total worker capacity an App Service Environment.", + "operationId": "AppServiceEnvironments_ListCapacities", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/StampCapacityCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/virtualip": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get IP addresses assigned to an App Service Environment.", + "description": "Get IP addresses assigned to an App Service Environment.", + "operationId": "AppServiceEnvironments_ListVips", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AddressResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get diagnostic information for an App Service Environment.", + "description": "Get diagnostic information for an App Service Environment.", + "operationId": "AppServiceEnvironments_ListDiagnostics", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/HostingEnvironmentDiagnostics" + } + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics/{diagnosticsName}": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get a diagnostics item for an App Service Environment.", + "description": "Get a diagnostics item for an App Service Environment.", + "operationId": "AppServiceEnvironments_GetDiagnosticsItem", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "diagnosticsName", + "in": "path", + "description": "Name of the diagnostics item.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/HostingEnvironmentDiagnostics" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/metricdefinitions": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get global metric definitions of an App Service Environment.", + "description": "Get global metric definitions of an App Service Environment.", + "operationId": "AppServiceEnvironments_ListMetricDefinitions", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MetricDefinition" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/metrics": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get global metrics of an App Service Environment.", + "description": "Get global metrics of an App Service Environment.", + "operationId": "AppServiceEnvironments_ListMetrics", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "details", + "in": "query", + "description": "Specify true to include instance details. The default is false.", + "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]'.", + "x-ms-skip-url-encoding": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ResourceMetricCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get all multi-role pools.", + "description": "Get all multi-role pools.", + "operationId": "AppServiceEnvironments_ListMultiRolePools", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WorkerPoolCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get properties of a multi-role pool.", + "description": "Get properties of a multi-role pool.", + "operationId": "AppServiceEnvironments_GetMultiRolePool", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + } + } + }, + "put": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Create or update a multi-role pool.", + "description": "Create or update a multi-role pool.", + "operationId": "AppServiceEnvironments_CreateOrUpdateMultiRolePool", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "multiRolePoolEnvelope", + "in": "body", + "description": "Properties of the multi-role pool.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + "202": { + "description": "Operation is in progress.", + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + "400": { + "description": "Bad request." + }, + "404": { + "description": "Not found." + }, + "409": { + "description": "Conflict." + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Create or update a multi-role pool.", + "description": "Create or update a multi-role pool.", + "operationId": "AppServiceEnvironments_UpdateMultiRolePool", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "multiRolePoolEnvelope", + "in": "body", + "description": "Properties of the multi-role pool.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + "202": { + "description": "Operation is in progress.", + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + "400": { + "description": "Bad request." + }, + "404": { + "description": "Not found." + }, + "409": { + "description": "Conflict." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}/metricdefinitions": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get metric definitions for a specific instance of a multi-role pool of an App Service Environment.", + "description": "Get metric definitions for a specific instance of a multi-role pool of an App Service Environment.", + "operationId": "AppServiceEnvironments_ListMultiRolePoolInstanceMetricDefinitions", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "instance", + "in": "path", + "description": "Name of the instance in the multi-role pool.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ResourceMetricDefinitionCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}metrics": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get metrics for a specific instance of a multi-role pool of an App Service Environment.", + "description": "Get metrics for a specific instance of a multi-role pool of an App Service Environment.", + "operationId": "AppServiceEnvironments_ListMultiRolePoolInstanceMetrics", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "instance", + "in": "path", + "description": "Name of the instance in the multi-role pool.", + "required": true, + "type": "string" + }, + { + "name": "details", + "in": "query", + "description": "Specify true to include instance details. The default is false.", + "type": "boolean" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ResourceMetricCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metricdefinitions": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get metric definitions for a multi-role pool of an App Service Environment.", + "description": "Get metric definitions for a multi-role pool of an App Service Environment.", + "operationId": "AppServiceEnvironments_ListMultiRoleMetricDefinitions", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ResourceMetricDefinitionCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metrics": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get metrics for a multi-role pool of an App Service Environment.", + "description": "Get metrics for a multi-role pool of an App Service Environment.", + "operationId": "AppServiceEnvironments_ListMultiRoleMetrics", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "startTime", + "in": "query", + "description": "Beginning time of the metrics query.", + "type": "string" + }, + { + "name": "endTime", + "in": "query", + "description": "End time of the metrics query.", + "type": "string" + }, + { + "name": "timeGrain", + "in": "query", + "description": "Time granularity of the metrics query.", + "type": "string" + }, + { + "name": "details", + "in": "query", + "description": "Specify true to include instance details. The default is false.", + "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]'.", + "x-ms-skip-url-encoding": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ResourceMetricCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/skus": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get available SKUs for scaling a multi-role pool.", + "description": "Get available SKUs for scaling a multi-role pool.", + "operationId": "AppServiceEnvironments_ListMultiRolePoolSkus", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SkuInfoCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/usages": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get usage metrics for a multi-role pool of an App Service Environment.", + "description": "Get usage metrics for a multi-role pool of an App Service Environment.", + "operationId": "AppServiceEnvironments_ListMultiRoleUsages", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/UsageCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/operations": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "List all currently running operations on the App Service Environment.", + "description": "List all currently running operations on the App Service Environment.", + "operationId": "AppServiceEnvironments_ListOperations", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + } + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/reboot": { + "post": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Reboot all machines in an App Service Environment.", + "description": "Reboot all machines in an App Service Environment.", + "operationId": "AppServiceEnvironments_Reboot", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Asynchronous operation in progress." + }, + "400": { + "description": "Bad request." + }, + "404": { + "description": "Not found." + }, + "409": { + "description": "Conflict." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/resume": { + "post": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Resume an App Service Environment.", + "description": "Resume an App Service Environment.", + "operationId": "AppServiceEnvironments_Resume", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/WebAppCollection" + } + }, + "202": { + "description": "Operation is in progress.", + "schema": { + "$ref": "#/definitions/WebAppCollection" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/serverfarms": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get all App Service plans in an App Service Environment.", + "description": "Get all App Service plans in an App Service Environment.", + "operationId": "AppServiceEnvironments_ListAppServicePlans", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AppServicePlanCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/sites": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get all apps in an App Service Environment.", + "description": "Get all apps in an App Service Environment.", + "operationId": "AppServiceEnvironments_ListWebApps", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "propertiesToInclude", + "in": "query", + "description": "Comma separated list of app properties to include.", + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WebAppCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/suspend": { + "post": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Suspend an App Service Environment.", + "description": "Suspend an App Service Environment.", + "operationId": "AppServiceEnvironments_Suspend", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/WebAppCollection" + } + }, + "202": { + "description": "Operation is in progress.", + "schema": { + "$ref": "#/definitions/WebAppCollection" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/usages": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get global usage metrics of an App Service Environment.", + "description": "Get global usage metrics of an App Service Environment.", + "operationId": "AppServiceEnvironments_ListUsages", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the 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]'.", + "x-ms-skip-url-encoding": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CsmUsageQuotaCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get all worker pools of an App Service Environment.", + "description": "Get all worker pools of an App Service Environment.", + "operationId": "AppServiceEnvironments_ListWorkerPools", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WorkerPoolCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get properties of a worker pool.", + "description": "Get properties of a worker pool.", + "operationId": "AppServiceEnvironments_GetWorkerPool", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolName", + "in": "path", + "description": "Name of the worker pool.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + } + } + }, + "put": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Create or update a worker pool.", + "description": "Create or update a worker pool.", + "operationId": "AppServiceEnvironments_CreateOrUpdateWorkerPool", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolName", + "in": "path", + "description": "Name of the worker pool.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolEnvelope", + "in": "body", + "description": "Properties of the worker pool.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + "202": { + "description": "Operation is in progress.", + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + "400": { + "description": "Bad request." + }, + "404": { + "description": "Not found." + }, + "409": { + "description": "Conflict." + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Create or update a worker pool.", + "description": "Create or update a worker pool.", + "operationId": "AppServiceEnvironments_UpdateWorkerPool", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolName", + "in": "path", + "description": "Name of the worker pool.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolEnvelope", + "in": "body", + "description": "Properties of the worker pool.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + "202": { + "description": "Operation is in progress.", + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + "400": { + "description": "Bad request." + }, + "404": { + "description": "Not found." + }, + "409": { + "description": "Conflict." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}/metricdefinitions": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get metric definitions for a specific instance of a worker pool of an App Service Environment.", + "description": "Get metric definitions for a specific instance of a worker pool of an App Service Environment.", + "operationId": "AppServiceEnvironments_ListWorkerPoolInstanceMetricDefinitions", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolName", + "in": "path", + "description": "Name of the worker pool.", + "required": true, + "type": "string" + }, + { + "name": "instance", + "in": "path", + "description": "Name of the instance in the worker pool.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ResourceMetricDefinitionCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}metrics": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get metrics for a specific instance of a worker pool of an App Service Environment.", + "description": "Get metrics for a specific instance of a worker pool of an App Service Environment.", + "operationId": "AppServiceEnvironments_ListWorkerPoolInstanceMetrics", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolName", + "in": "path", + "description": "Name of the worker pool.", + "required": true, + "type": "string" + }, + { + "name": "instance", + "in": "path", + "description": "Name of the instance in the worker pool.", + "required": true, + "type": "string" + }, + { + "name": "details", + "in": "query", + "description": "Specify true to include instance details. The default is false.", + "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]'.", + "x-ms-skip-url-encoding": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ResourceMetricCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/metricdefinitions": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get metric definitions for a worker pool of an App Service Environment.", + "description": "Get metric definitions for a worker pool of an App Service Environment.", + "operationId": "AppServiceEnvironments_ListWebWorkerMetricDefinitions", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolName", + "in": "path", + "description": "Name of the worker pool.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ResourceMetricDefinitionCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/metrics": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get metrics for a worker pool of a AppServiceEnvironment (App Service Environment).", + "description": "Get metrics for a worker pool of a AppServiceEnvironment (App Service Environment).", + "operationId": "AppServiceEnvironments_ListWebWorkerMetrics", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the 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": "Specify true to include instance details. The default is false.", + "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]'.", + "x-ms-skip-url-encoding": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ResourceMetricCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/skus": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get available SKUs for scaling a worker pool.", + "description": "Get available SKUs for scaling a worker pool.", + "operationId": "AppServiceEnvironments_ListWorkerPoolSkus", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolName", + "in": "path", + "description": "Name of the worker pool.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SkuInfoCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/usages": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get usage metrics for a worker pool of an App Service Environment.", + "description": "Get usage metrics for a worker pool of an App Service Environment.", + "operationId": "AppServiceEnvironments_ListWebWorkerUsages", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolName", + "in": "path", + "description": "Name of the worker pool.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/UsageCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "AddressResponse": { + "description": "Describes main public IP address and any extra virtual IPs.", + "type": "object", + "properties": { + "serviceIpAddress": { + "description": "Main public virtual IP.", + "type": "string" + }, + "internalIpAddress": { + "description": "Virtual Network internal IP address of the App Service Environment if it is in internal load-balancing mode.", + "type": "string" + }, + "outboundIpAddresses": { + "description": "IP addresses appearing on outbound connections.", + "type": "array", + "items": { + "type": "string" + } + }, + "vipMappings": { + "description": "Additional virtual IPs.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualIPMapping" + } + } + } + }, + "ApiDefinitionInfo": { + "description": "Information about the formal API definition for the app.", + "type": "object", + "properties": { + "url": { + "description": "The URL of the API definition.", + "type": "string" + } + } + }, + "AppServiceEnvironment": { + "description": "Description of an App Service Environment.", + "required": [ + "name", + "location", + "virtualNetwork", + "workerPools" + ], + "type": "object", + "properties": { + "name": { + "description": "Name of the App Service Environment.", + "type": "string" + }, + "location": { + "description": "Location of the App Service Environment, e.g. \"West US\".", + "type": "string" + }, + "provisioningState": { + "description": "Provisioning state of the App Service Environment.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "InProgress", + "Deleting" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": false + } + }, + "status": { + "description": "Current status of the App Service Environment.", + "enum": [ + "Preparing", + "Ready", + "Scaling", + "Deleting" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "HostingEnvironmentStatus", + "modelAsString": false + } + }, + "vnetName": { + "description": "Name of the Virtual Network for the App Service Environment.", + "type": "string" + }, + "vnetResourceGroupName": { + "description": "Resource group of the Virtual Network.", + "type": "string" + }, + "vnetSubnetName": { + "description": "Subnet of the Virtual Network.", + "type": "string" + }, + "virtualNetwork": { + "$ref": "#/definitions/VirtualNetworkProfile", + "description": "Description of the Virtual Network." + }, + "internalLoadBalancingMode": { + "description": "Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment.", + "enum": [ + "None", + "Web", + "Publishing" + ], + "type": "string", + "x-ms-enum": { + "name": "InternalLoadBalancingMode", + "modelAsString": false + } + }, + "multiSize": { + "description": "Front-end VM size, e.g. \"Medium\", \"Large\".", + "type": "string" + }, + "multiRoleCount": { + "format": "int32", + "description": "Number of front-end instances.", + "type": "integer" + }, + "workerPools": { + "description": "Description of worker pools with worker size IDs, VM sizes, and number of workers in each pool.", + "type": "array", + "items": { + "$ref": "#/definitions/WorkerPool" + } + }, + "ipsslAddressCount": { + "format": "int32", + "description": "Number of IP SSL addresses reserved for the App Service Environment.", + "type": "integer" + }, + "databaseEdition": { + "description": "Edition of the metadata database for the App Service Environment, e.g. \"Standard\".", + "type": "string", + "readOnly": true + }, + "databaseServiceObjective": { + "description": "Service objective of the metadata database for the App Service Environment, e.g. \"S0\".", + "type": "string", + "readOnly": true + }, + "upgradeDomains": { + "format": "int32", + "description": "Number of upgrade domains of the App Service Environment.", + "type": "integer", + "readOnly": true + }, + "subscriptionId": { + "description": "Subscription of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "dnsSuffix": { + "description": "DNS suffix of the App Service Environment.", + "type": "string" + }, + "lastAction": { + "description": "Last deployment action on the App Service Environment.", + "type": "string", + "readOnly": true + }, + "lastActionResult": { + "description": "Result of the last deployment action on the App Service Environment.", + "type": "string", + "readOnly": true + }, + "allowedMultiSizes": { + "description": "List of comma separated strings describing which VM sizes are allowed for front-ends.", + "type": "string", + "readOnly": true + }, + "allowedWorkerSizes": { + "description": "List of comma separated strings describing which VM sizes are allowed for workers.", + "type": "string", + "readOnly": true + }, + "maximumNumberOfMachines": { + "format": "int32", + "description": "Maximum number of VMs in the App Service Environment.", + "type": "integer", + "readOnly": true + }, + "vipMappings": { + "description": "Description of IP SSL mapping for the App Service Environment.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualIPMapping" + }, + "readOnly": true + }, + "environmentCapacities": { + "description": "Current total, used, and available worker capacities.", + "type": "array", + "items": { + "$ref": "#/definitions/StampCapacity" + }, + "readOnly": true + }, + "networkAccessControlList": { + "description": "Access control list for controlling traffic to the App Service Environment.", + "type": "array", + "items": { + "$ref": "#/definitions/NetworkAccessControlEntry" + } + }, + "environmentIsHealthy": { + "description": "True/false indicating whether the App Service Environment is healthy.", + "type": "boolean", + "readOnly": true + }, + "environmentStatus": { + "description": "Detailed message about with results of the last check of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "resourceGroup": { + "description": "Resource group of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "frontEndScaleFactor": { + "format": "int32", + "description": "Scale factor for front-ends.", + "type": "integer" + }, + "defaultFrontEndScaleFactor": { + "format": "int32", + "description": "Default Scale Factor for FrontEnds.", + "type": "integer", + "readOnly": true + }, + "apiManagementAccountId": { + "description": "API Management Account associated with the App Service Environment.", + "type": "string" + }, + "suspended": { + "description": "true if the App Service Environment is suspended; otherwise, false. The environment can be suspended, e.g. when the management endpoint is no longer available\n (most likely because NSG blocked the incoming traffic).", + "type": "boolean" + }, + "dynamicCacheEnabled": { + "description": "True/false indicating whether the App Service Environment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available\n(most likely because NSG blocked the incoming traffic).", + "type": "boolean" + }, + "clusterSettings": { + "description": "Custom settings for changing the behavior of the App Service Environment.", + "type": "array", + "items": { + "$ref": "#/definitions/NameValuePair" + } + } + } + }, + "AppServiceEnvironmentCollection": { + "description": "Collection of App Service Environments.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/AppServiceEnvironment" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "AppServiceEnvironmentResource": { + "description": "App Service Environment ARM resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/AppServiceEnvironment", + "x-ms-client-flatten": true + } + } + }, + "AppServicePlan": { + "description": "App Service plan.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "AppServicePlan resource specific properties", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name for the App Service plan.", + "type": "string" + }, + "workerTierName": { + "description": "Target worker tier assigned to the App Service plan.", + "type": "string" + }, + "status": { + "description": "App Service plan status.", + "enum": [ + "Ready", + "Pending", + "Creating" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "StatusOptions", + "modelAsString": false + } + }, + "subscription": { + "description": "App Service plan subscription.", + "type": "string", + "readOnly": true + }, + "adminSiteName": { + "description": "App Service plan administration site.", + "type": "string" + }, + "hostingEnvironmentProfile": { + "$ref": "#/definitions/HostingEnvironmentProfile", + "description": "Specification for the App Service Environment to use for the App Service plan.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "maximumNumberOfWorkers": { + "format": "int32", + "description": "Maximum number of instances that can be assigned to this App Service plan.", + "type": "integer", + "readOnly": true + }, + "geoRegion": { + "description": "Geographical location for the App Service plan.", + "type": "string", + "readOnly": true + }, + "perSiteScaling": { + "description": "If true, apps assigned to this App Service plan can be scaled independently.\nIf false, apps assigned to this App Service plan will scale to all instances of the plan.", + "default": false, + "type": "boolean" + }, + "numberOfSites": { + "format": "int32", + "description": "Number of apps assigned to this App Service plan.", + "type": "integer", + "readOnly": true + }, + "resourceGroup": { + "description": "Resource group of the App Service plan.", + "type": "string", + "readOnly": true + }, + "reserved": { + "description": "Reserved.", + "default": false, + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "targetWorkerCount": { + "format": "int32", + "description": "Scaling worker count.", + "type": "integer" + }, + "targetWorkerSizeId": { + "format": "int32", + "description": "Scaling worker size ID.", + "type": "integer" + }, + "provisioningState": { + "description": "Provisioning state of the App Service Environment.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "InProgress", + "Deleting" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": false + } + } + }, + "x-ms-client-flatten": true + }, + "sku": { + "$ref": "#/definitions/SkuDescription" + } + } + }, + "AppServicePlanCollection": { + "description": "Collection of App Service plans.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/AppServicePlan" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "AutoHealActions": { + "description": "Actions which to take by the auto-heal module when a rule is triggered.", + "type": "object", + "properties": { + "actionType": { + "description": "Predefined action to be taken.", + "enum": [ + "Recycle", + "LogEvent", + "CustomAction" + ], + "type": "string", + "x-ms-enum": { + "name": "AutoHealActionType", + "modelAsString": false + } + }, + "customAction": { + "$ref": "#/definitions/AutoHealCustomAction", + "description": "Custom action to be taken." + }, + "minProcessExecutionTime": { + "description": "Minimum time the process must execute\nbefore taking the action", + "type": "string" + } + } + }, + "AutoHealCustomAction": { + "description": "Custom action to be executed\nwhen an auto heal rule is triggered.", + "type": "object", + "properties": { + "exe": { + "description": "Executable to be run.", + "type": "string" + }, + "parameters": { + "description": "Parameters for the executable.", + "type": "string" + } + } + }, + "AutoHealRules": { + "description": "Rules that can be defined for auto-heal.", + "type": "object", + "properties": { + "triggers": { + "$ref": "#/definitions/AutoHealTriggers", + "description": "Conditions that describe when to execute the auto-heal actions." + }, + "actions": { + "$ref": "#/definitions/AutoHealActions", + "description": "Actions to be executed when a rule is triggered." + } + } + }, + "AutoHealTriggers": { + "description": "Triggers for auto-heal.", + "type": "object", + "properties": { + "requests": { + "$ref": "#/definitions/RequestsBasedTrigger", + "description": "A rule based on total requests." + }, + "privateBytesInKB": { + "format": "int32", + "description": "A rule based on private bytes.", + "type": "integer" + }, + "statusCodes": { + "description": "A rule based on status codes.", + "type": "array", + "items": { + "$ref": "#/definitions/StatusCodesBasedTrigger" + } + }, + "slowRequests": { + "$ref": "#/definitions/SlowRequestsBasedTrigger", + "description": "A rule based on request execution time." + } + } + }, + "Capability": { + "description": "Describes the capabilities/features allowed for a specific SKU.", + "type": "object", + "properties": { + "name": { + "description": "Name of the SKU capability.", + "type": "string" + }, + "value": { + "description": "Value of the SKU capability.", + "type": "string" + }, + "reason": { + "description": "Reason of the SKU capability.", + "type": "string" + } + } + }, + "CloningInfo": { + "description": "Information needed for cloning operation.", + "required": [ + "sourceWebAppId" + ], + "type": "object", + "properties": { + "correlationId": { + "format": "uuid", + "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\ntogether to use the same snapshot.", + "type": "string", + "example": "00000000-0000-0000-0000-000000000000" + }, + "overwrite": { + "description": "true to overwrite destination app; otherwise, false.", + "type": "boolean" + }, + "cloneCustomHostNames": { + "description": "true to clone custom hostnames from source app; otherwise, false.", + "type": "boolean" + }, + "cloneSourceControl": { + "description": "true to clone source control from source app; otherwise, false.", + "type": "boolean" + }, + "sourceWebAppId": { + "description": "ARM resource ID of the source app. App resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "type": "string" + }, + "hostingEnvironment": { + "description": "App Service Environment.", + "type": "string" + }, + "appSettingsOverrides": { + "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \nfrom source app. Otherwise, application settings from source app are retained.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "configureLoadBalancing": { + "description": "true to configure load balancing for source and destination app.", + "type": "boolean" + }, + "trafficManagerProfileId": { + "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", + "type": "string" + }, + "trafficManagerProfileName": { + "description": "Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.", + "type": "string" + } + } + }, + "ConnStringInfo": { + "description": "Database connection string information.", + "type": "object", + "properties": { + "name": { + "description": "Name of connection string.", + "type": "string" + }, + "connectionString": { + "description": "Connection string value.", + "type": "string" + }, + "type": { + "description": "Type of database.", + "enum": [ + "MySql", + "SQLServer", + "SQLAzure", + "Custom", + "NotificationHub", + "ServiceBus", + "EventHub", + "ApiHub", + "DocDb", + "RedisCache", + "PostgreSQL" + ], + "type": "string", + "x-ms-enum": { + "name": "ConnectionStringType", + "modelAsString": false + } + } + } + }, + "CorsSettings": { + "description": "Cross-Origin Resource Sharing (CORS) settings for the app.", + "type": "object", + "properties": { + "allowedOrigins": { + "description": "Gets or sets the list of origins that should be allowed to make cross-origin\ncalls (for example: http://example.com:12345). Use \"*\" to allow all.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "CsmUsageQuota": { + "description": "Usage of the quota resource.", + "type": "object", + "properties": { + "unit": { + "description": "Units of measurement for the quota resourse.", + "type": "string" + }, + "nextResetTime": { + "format": "date-time", + "description": "Next reset time for the resource counter.", + "type": "string" + }, + "currentValue": { + "format": "int64", + "description": "The current value of the resource counter.", + "type": "integer" + }, + "limit": { + "format": "int64", + "description": "The resource limit.", + "type": "integer" + }, + "name": { + "$ref": "#/definitions/LocalizableString", + "description": "Quota name." + } + } + }, + "CsmUsageQuotaCollection": { + "description": "Collection of CSM usage quotas.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/CsmUsageQuota" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "ErrorEntity": { + "description": "Body of the error response returned from the API.", + "type": "object", + "properties": { + "extendedCode": { + "description": "Type of error.", + "type": "string" + }, + "messageTemplate": { + "description": "Message template.", + "type": "string" + }, + "parameters": { + "description": "Parameters for the template.", + "type": "array", + "items": { + "type": "string" + } + }, + "innerErrors": { + "description": "Inner errors.", + "type": "array", + "items": { + "$ref": "#/definitions/ErrorEntity" + } + }, + "code": { + "description": "Basic error code.", + "type": "string" + }, + "message": { + "description": "Any details of the error.", + "type": "string" + } + } + }, + "Experiments": { + "description": "Routing rules in production experiments.", + "type": "object", + "properties": { + "rampUpRules": { + "description": "List of ramp-up rules.", + "type": "array", + "items": { + "$ref": "#/definitions/RampUpRule" + } + } + } + }, + "HandlerMapping": { + "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \nFor example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", + "type": "object", + "properties": { + "extension": { + "description": "Requests with this extension will be handled using the specified FastCGI application.", + "type": "string" + }, + "scriptProcessor": { + "description": "The absolute path to the FastCGI application.", + "type": "string" + }, + "arguments": { + "description": "Command-line arguments to be passed to the script processor.", + "type": "string" + } + } + }, + "HostNameSslState": { + "description": "SSL-enabled hostname.", + "type": "object", + "properties": { + "name": { + "description": "Hostname.", + "type": "string" + }, + "sslState": { + "description": "SSL type.", + "enum": [ + "Disabled", + "SniEnabled", + "IpBasedEnabled" + ], + "type": "string", + "x-ms-enum": { + "name": "SslState", + "modelAsString": false + } + }, + "virtualIP": { + "description": "Virtual IP address assigned to the hostname if IP based SSL is enabled.", + "type": "string" + }, + "thumbprint": { + "description": "SSL certificate thumbprint.", + "type": "string" + }, + "toUpdate": { + "description": "Set to true to update existing hostname.", + "type": "boolean" + }, + "hostType": { + "description": "Indicates whether the hostname is a standard or repository hostname.", + "enum": [ + "Standard", + "Repository" + ], + "type": "string", + "x-ms-enum": { + "name": "HostType", + "modelAsString": false + } + } + } + }, + "HostingEnvironmentDiagnostics": { + "description": "Diagnostics for an App Service Environment.", + "type": "object", + "properties": { + "name": { + "description": "Name/identifier of the diagnostics.", + "type": "string" + }, + "diagnosicsOutput": { + "description": "Diagnostics output.", + "type": "string" + } + } + }, + "HostingEnvironmentProfile": { + "description": "Specification for an App Service Environment to use for this resource.", + "type": "object", + "properties": { + "id": { + "description": "Resource ID of the App Service Environment.", + "type": "string" + }, + "name": { + "description": "Name of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Resource type of the App Service Environment.", + "type": "string", + "readOnly": true + } + } + }, + "IpSecurityRestriction": { + "description": "IP security restriction on an app.", + "required": [ + "ipAddress" + ], + "type": "object", + "properties": { + "ipAddress": { + "description": "IP address the security restriction is valid for.", + "type": "string" + }, + "subnetMask": { + "description": "Subnet mask for the range of IP addresses the restriction is valid for.", + "type": "string" + } + } + }, + "LocalizableString": { + "description": "Localizable string object containing the name and a localized value.", + "type": "object", + "properties": { + "value": { + "description": "Non-localized name.", + "type": "string" + }, + "localizedValue": { + "description": "Localized name.", + "type": "string" + } + } + }, + "MetricAvailabilily": { + "description": "Metric availability and retention.", + "type": "object", + "properties": { + "timeGrain": { + "description": "Time grain.", + "type": "string" + }, + "retention": { + "description": "Retention period for the current time grain.", + "type": "string" + } + } + }, + "MetricDefinition": { + "description": "Metadata for a metric.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "MetricDefinition resource specific properties", + "properties": { + "name": { + "description": "Name of the metric.", + "type": "string", + "readOnly": true + }, + "unit": { + "description": "Unit of the metric.", + "type": "string", + "readOnly": true + }, + "primaryAggregationType": { + "description": "Primary aggregation type.", + "type": "string", + "readOnly": true + }, + "metricAvailabilities": { + "description": "List of time grains supported for the metric together with retention period.", + "type": "array", + "items": { + "$ref": "#/definitions/MetricAvailabilily" + }, + "readOnly": true + }, + "displayName": { + "description": "Friendly name shown in the UI.", + "type": "string", + "readOnly": true + } + }, + "x-ms-client-flatten": true + } + } + }, + "NameValuePair": { + "description": "Name value pair.", + "type": "object", + "properties": { + "name": { + "description": "Pair name.", + "type": "string" + }, + "value": { + "description": "Pair value.", + "type": "string" + } + } + }, + "NetworkAccessControlEntry": { + "description": "Network access control entry.", + "type": "object", + "properties": { + "action": { + "description": "Action object.", + "enum": [ + "Permit", + "Deny" + ], + "type": "string", + "x-ms-enum": { + "name": "AccessControlEntryAction", + "modelAsString": false + } + }, + "description": { + "description": "Description.", + "type": "string" + }, + "order": { + "format": "int32", + "description": "Order of precedence.", + "type": "integer" + }, + "remoteSubnet": { + "description": "Remote subnet.", + "type": "string" + } + } + }, + "Operation": { + "description": "Operation.", + "type": "object", + "properties": { + "id": { + "description": "Operation ID.", + "type": "string" + }, + "name": { + "description": "Operation name.", + "type": "string" + }, + "status": { + "description": "The current status of the operation.", + "enum": [ + "InProgress", + "Failed", + "Succeeded", + "TimedOut", + "Created" + ], + "type": "string", + "x-ms-enum": { + "name": "OperationStatus", + "modelAsString": false + } + }, + "errors": { + "description": "Any errors associate with the operation.", + "type": "array", + "items": { + "$ref": "#/definitions/ErrorEntity" + } + }, + "createdTime": { + "format": "date-time", + "description": "Time when operation has started.", + "type": "string" + }, + "modifiedTime": { + "format": "date-time", + "description": "Time when operation has been updated.", + "type": "string" + }, + "expirationTime": { + "format": "date-time", + "description": "Time when operation will expire.", + "type": "string" + }, + "geoMasterOperationId": { + "format": "uuid", + "description": "Applicable only for stamp operation ids.", + "type": "string", + "example": "00000000-0000-0000-0000-000000000000" + } + } + }, + "ProxyOnlyResource": { + "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", + "properties": { + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource Name.", + "type": "string", + "readOnly": true + }, + "kind": { + "description": "Kind of resource.", + "type": "string" + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/hostingEnvironments": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get all App Service Environments for a subscription.", - "description": "Get all App Service Environments for a subscription.", - "operationId": "AppServiceEnvironments_List", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AppServiceEnvironmentCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } + "PushSettings": { + "description": "Push settings for the App.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "PushSettings resource specific properties", + "required": [ + "isPushEnabled" + ], + "properties": { + "isPushEnabled": { + "description": "Gets or sets a flag indicating whether the Push endpoint is enabled.", + "type": "boolean" + }, + "tagWhitelistJson": { + "description": "Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", + "type": "string" + }, + "tagsRequiringAuth": { + "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\nTags can consist of alphanumeric characters and the following:\n'_', '@', '#', '.', ':', '-'. \nValidation should be performed at the PushRequestHandler.", + "type": "string" + }, + "dynamicTagsJson": { + "description": "Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", + "type": "string" } + }, + "x-ms-client-flatten": true + } + } + }, + "RampUpRule": { + "description": "Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance.", + "type": "object", + "properties": { + "actionHostName": { + "description": "Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net.", + "type": "string" + }, + "reroutePercentage": { + "format": "double", + "description": "Percentage of the traffic which will be redirected to ActionHostName.", + "type": "number" + }, + "changeStep": { + "format": "double", + "description": "In auto ramp up scenario this is the step to to add/remove from ReroutePercentage until it reaches \nMinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specificed in ChangeIntervalInMinutes.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", + "type": "number" + }, + "changeIntervalInMinutes": { + "format": "int32", + "description": "Specifies interval in mimuntes to reevaluate ReroutePercentage.", + "type": "integer" + }, + "minReroutePercentage": { + "format": "double", + "description": "Specifies lower boundary above which ReroutePercentage will stay.", + "type": "number" + }, + "maxReroutePercentage": { + "format": "double", + "description": "Specifies upper boundary below which ReroutePercentage will stay.", + "type": "number" + }, + "changeDecisionCallbackUrl": { + "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\nhttps://www.siteextensions.net/packages/TiPCallback/", + "type": "string" + }, + "name": { + "description": "Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment.", + "type": "string" + } + } + }, + "RequestsBasedTrigger": { + "description": "Trigger based on total requests.", + "type": "object", + "properties": { + "count": { + "format": "int32", + "description": "Count.", + "type": "integer" + }, + "timeInterval": { + "description": "Time interval.", + "type": "string" + } + } + }, + "Resource": { + "description": "Azure resource. This resource is tracked in Azure Resource Manager", + "properties": { + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource Name.", + "type": "string", + "readOnly": true + }, + "kind": { + "description": "Kind of resource.", + "type": "string" + }, + "location": { + "description": "Resource Location.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + }, + "tags": { + "description": "Resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "ResourceMetric": { + "description": "Object representing a metric for any resource .", + "type": "object", + "properties": { + "name": { + "$ref": "#/definitions/ResourceMetricName", + "description": "Name of metric.", + "readOnly": true + }, + "unit": { + "description": "Metric unit.", + "type": "string", + "readOnly": true }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get all App Service Environments in a resource group.", - "description": "Get all App Service Environments in a resource group.", - "operationId": "AppServiceEnvironments_ListByResourceGroup", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AppServiceEnvironmentCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } + "timeGrain": { + "description": "Metric granularity. E.g PT1H, PT5M, P1D", + "type": "string", + "readOnly": true + }, + "startTime": { + "format": "date-time", + "description": "Metric start time.", + "type": "string", + "readOnly": true + }, + "endTime": { + "format": "date-time", + "description": "Metric end time.", + "type": "string", + "readOnly": true + }, + "resourceId": { + "description": "Metric resource Id.", + "type": "string", + "readOnly": true + }, + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "metricValues": { + "description": "Metric values.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricValue" + }, + "readOnly": true + }, + "properties": { + "description": "Properties.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricProperty" + }, + "readOnly": true + } + } + }, + "ResourceMetricAvailability": { + "description": "Metrics availability and retention.", + "type": "object", + "properties": { + "timeGrain": { + "description": "Time grain .", + "type": "string", + "readOnly": true + }, + "retention": { + "description": "Retention period for the current time grain.", + "type": "string", + "readOnly": true + } + } + }, + "ResourceMetricCollection": { + "description": "Collection of metric responses.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetric" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "ResourceMetricDefinition": { + "description": "Metadata for the metrics.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "ResourceMetricDefinition resource specific properties", + "properties": { + "name": { + "$ref": "#/definitions/ResourceMetricName", + "description": "Name of the metric.", + "readOnly": true + }, + "unit": { + "description": "Unit of the metric.", + "type": "string", + "readOnly": true + }, + "primaryAggregationType": { + "description": "Primary aggregation type.", + "type": "string", + "readOnly": true + }, + "metricAvailabilities": { + "description": "List of time grains supported for the metric together with retention period.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricAvailability" + }, + "readOnly": true + }, + "resourceUri": { + "description": "Resource URI.", + "type": "string", + "readOnly": true + }, + "id": { + "description": "Resource ID.", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "Properties.", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "readOnly": true } + }, + "x-ms-client-flatten": true + } + } + }, + "ResourceMetricDefinitionCollection": { + "description": "Collection of metric definitions.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricDefinition" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "ResourceMetricName": { + "description": "Name of a metric for any resource .", + "type": "object", + "properties": { + "value": { + "description": "metric name value.", + "type": "string", + "readOnly": true + }, + "localizedValue": { + "description": "Localized metric name value.", + "type": "string", + "readOnly": true + } + } + }, + "ResourceMetricProperty": { + "description": "Resource metric property.", + "type": "object", + "properties": { + "key": { + "description": "Key for resource metric property.", + "type": "string" + }, + "value": { + "description": "Value of pair.", + "type": "string" + } + } + }, + "ResourceMetricValue": { + "description": "Value of resource metric.", + "type": "object", + "properties": { + "timestamp": { + "description": "Value timestamp.", + "type": "string", + "readOnly": true + }, + "average": { + "format": "float", + "description": "Value average.", + "type": "number", + "readOnly": true + }, + "minimum": { + "format": "float", + "description": "Value minimum.", + "type": "number", + "readOnly": true }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get the properties of an App Service Environment.", - "description": "Get the properties of an App Service Environment.", - "operationId": "AppServiceEnvironments_Get", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AppServiceEnvironmentResource" - } - } - } + "maximum": { + "format": "float", + "description": "Value maximum.", + "type": "number", + "readOnly": true + }, + "total": { + "format": "float", + "description": "Value total.", + "type": "number", + "readOnly": true + }, + "count": { + "format": "float", + "description": "Value count.", + "type": "number", + "readOnly": true + }, + "properties": { + "description": "Properties.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricProperty" + }, + "readOnly": true + } + } + }, + "Site": { + "description": "A web app, a mobile app backend, or an API app.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Site resource specific properties", + "properties": { + "state": { + "description": "Current state of the app.", + "type": "string", + "readOnly": true + }, + "hostNames": { + "description": "Hostnames associated with the app.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "repositorySiteName": { + "description": "Name of the repository site.", + "type": "string", + "readOnly": true + }, + "usageState": { + "description": "State indicating whether the app has exceeded its quota usage. Read-only.", + "enum": [ + "Normal", + "Exceeded" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "UsageState", + "modelAsString": false + } + }, + "enabled": { + "description": "true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).", + "type": "boolean" + }, + "enabledHostNames": { + "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\nthe app is not served on those hostnames.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "availabilityState": { + "description": "Management information availability state for the app.", + "enum": [ + "Normal", + "Limited", + "DisasterRecoveryMode" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "SiteAvailabilityState", + "modelAsString": false + } + }, + "hostNameSslStates": { + "description": "Hostname SSL states are used to manage the SSL bindings for app's hostnames.", + "type": "array", + "items": { + "$ref": "#/definitions/HostNameSslState" + } + }, + "serverFarmId": { + "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", + "type": "string" + }, + "reserved": { + "description": "true if reserved; otherwise, false.", + "default": false, + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "lastModifiedTimeUtc": { + "format": "date-time", + "description": "Last time the app was modified, in UTC. Read-only.", + "type": "string", + "readOnly": true + }, + "siteConfig": { + "$ref": "#/definitions/SiteConfig", + "description": "Configuration of the app." + }, + "trafficManagerHostNames": { + "description": "Azure Traffic Manager hostnames associated with the app. Read-only.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "premiumAppDeployed": { + "description": "Indicates whether app is deployed as a premium app.", + "type": "boolean", + "readOnly": true + }, + "scmSiteAlsoStopped": { + "description": "true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", + "default": false, + "type": "boolean" + }, + "targetSwapSlot": { + "description": "Specifies which deployment slot this app will swap into. Read-only.", + "type": "string", + "readOnly": true + }, + "hostingEnvironmentProfile": { + "$ref": "#/definitions/HostingEnvironmentProfile", + "description": "App Service Environment to use for the app.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "microService": { + "description": "Micro services like apps, logic apps.", + "default": "WebSites", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "gatewaySiteName": { + "description": "Name of gateway app associated with the app.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "clientAffinityEnabled": { + "description": "true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.", + "type": "boolean" + }, + "clientCertEnabled": { + "description": "true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.", + "type": "boolean" + }, + "hostNamesDisabled": { + "description": "true to disable the public hostnames of the app; otherwise, false.\n If true, the app is only accessible via API management process.", + "type": "boolean" }, - "put": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Create or update an App Service Environment.", - "description": "Create or update an App Service Environment.", - "operationId": "AppServiceEnvironments_CreateOrUpdate", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "hostingEnvironmentEnvelope", - "in": "body", - "description": "Configuration details of the App Service Environment.", - "required": true, - "schema": { - "$ref": "#/definitions/AppServiceEnvironmentResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AppServiceEnvironmentResource" - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "$ref": "#/definitions/AppServiceEnvironmentResource" - } - }, - "400": { - "description": "Bad request." - }, - "404": { - "description": "Not found." - }, - "409": { - "description": "Conflict." - } - }, - "x-ms-long-running-operation": true + "outboundIpAddresses": { + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Read-only.", + "type": "string", + "readOnly": true }, - "delete": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Delete an App Service Environment.", - "description": "Delete an App Service Environment.", - "operationId": "AppServiceEnvironments_Delete", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "forceDelete", - "in": "query", - "description": "Specify true to force the deletion even if the App Service Environment contains resources. The default is false.", - "type": "boolean" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "202": { - "description": "Operation is in progress." - }, - "204": { - "description": "App Service Environment does not exist" - }, - "400": { - "description": "Bad request." - }, - "404": { - "description": "Not found." - }, - "409": { - "description": "Conflict." - } - }, - "x-ms-long-running-operation": true + "containerSize": { + "format": "int32", + "description": "Size of the function container.", + "type": "integer" }, - "patch": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Create or update an App Service Environment.", - "description": "Create or update an App Service Environment.", - "operationId": "AppServiceEnvironments_Update", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "hostingEnvironmentEnvelope", - "in": "body", - "description": "Configuration details of the App Service Environment.", - "required": true, - "schema": { - "$ref": "#/definitions/AppServiceEnvironmentResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AppServiceEnvironmentResource" - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "$ref": "#/definitions/AppServiceEnvironmentResource" - } - }, - "400": { - "description": "Bad request." - }, - "404": { - "description": "Not found." - }, - "409": { - "description": "Conflict." - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/compute": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get the used, available, and total worker capacity an App Service Environment.", - "description": "Get the used, available, and total worker capacity an App Service Environment.", - "operationId": "AppServiceEnvironments_ListCapacities", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/StampCapacityCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } + "dailyMemoryTimeQuota": { + "format": "int32", + "description": "Maximum allowed daily memory-time quota (applicable on dynamic apps only).", + "type": "integer" + }, + "suspendedTill": { + "format": "date-time", + "description": "App suspended till in case memory-time quota is exceeded.", + "type": "string", + "readOnly": true + }, + "maxNumberOfWorkers": { + "format": "int32", + "description": "Maximum number of workers.\nThis only applies to Functions container.", + "type": "integer", + "readOnly": true + }, + "cloningInfo": { + "$ref": "#/definitions/CloningInfo", + "description": "If specified during app creation, the app is cloned from a source app.", + "x-ms-mutability": [ + "create" + ] + }, + "snapshotInfo": { + "$ref": "#/definitions/SnapshotRecoveryRequest", + "description": "If specified during app creation, the app is created from a previous snapshot.", + "x-ms-mutability": [ + "create" + ] + }, + "resourceGroup": { + "description": "Name of the resource group the app belongs to. Read-only.", + "type": "string", + "readOnly": true + }, + "isDefaultContainer": { + "description": "true if the app is a default container; otherwise, false.", + "type": "boolean", + "readOnly": true + }, + "defaultHostName": { + "description": "Default hostname of the app. Read-only.", + "type": "string", + "readOnly": true + }, + "slotSwapStatus": { + "$ref": "#/definitions/SlotSwapStatus", + "description": "Status of the last deployment slot swap operation.", + "readOnly": true + }, + "httpsOnly": { + "description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests", + "type": "boolean" } + }, + "x-ms-client-flatten": true + } + } + }, + "SiteConfig": { + "description": "Configuration of an App Service app.", + "type": "object", + "properties": { + "numberOfWorkers": { + "format": "int32", + "description": "Number of workers.", + "type": "integer" }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/virtualip": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get IP addresses assigned to an App Service Environment.", - "description": "Get IP addresses assigned to an App Service Environment.", - "operationId": "AppServiceEnvironments_ListVips", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AddressResponse" - } - } - } - } + "defaultDocuments": { + "description": "Default documents.", + "type": "array", + "items": { + "type": "string" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get diagnostic information for an App Service Environment.", - "description": "Get diagnostic information for an App Service Environment.", - "operationId": "AppServiceEnvironments_ListDiagnostics", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/HostingEnvironmentDiagnostics" - } - } - } - } - } + "netFrameworkVersion": { + "description": ".NET Framework version.", + "default": "v4.6", + "type": "string" }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics/{diagnosticsName}": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get a diagnostics item for an App Service Environment.", - "description": "Get a diagnostics item for an App Service Environment.", - "operationId": "AppServiceEnvironments_GetDiagnosticsItem", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "diagnosticsName", - "in": "path", - "description": "Name of the diagnostics item.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/HostingEnvironmentDiagnostics" - } - } - } - } + "phpVersion": { + "description": "Version of PHP.", + "type": "string" }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/metricdefinitions": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get global metric definitions of an App Service Environment.", - "description": "Get global metric definitions of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListMetricDefinitions", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/MetricDefinition" - } - } - } - } + "pythonVersion": { + "description": "Version of Python.", + "type": "string" }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/metrics": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get global metrics of an App Service Environment.", - "description": "Get global metrics of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListMetrics", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "details", - "in": "query", - "description": "Specify true to include instance details. The default is false.", - "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]'.", - "x-ms-skip-url-encoding": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ResourceMetricCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } + "nodeVersion": { + "description": "Version of Node.js.", + "type": "string" }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get all multi-role pools.", - "description": "Get all multi-role pools.", - "operationId": "AppServiceEnvironments_ListMultiRolePools", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WorkerPoolCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } + "linuxFxVersion": { + "description": "Linux App Framework and version", + "type": "string" }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get properties of a multi-role pool.", - "description": "Get properties of a multi-role pool.", - "operationId": "AppServiceEnvironments_GetMultiRolePool", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - } - } - }, - "put": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Create or update a multi-role pool.", - "description": "Create or update a multi-role pool.", - "operationId": "AppServiceEnvironments_CreateOrUpdateMultiRolePool", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "multiRolePoolEnvelope", - "in": "body", - "description": "Properties of the multi-role pool.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - "400": { - "description": "Bad request." - }, - "404": { - "description": "Not found." - }, - "409": { - "description": "Conflict." - } - }, - "x-ms-long-running-operation": true - }, - "patch": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Create or update a multi-role pool.", - "description": "Create or update a multi-role pool.", - "operationId": "AppServiceEnvironments_UpdateMultiRolePool", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "multiRolePoolEnvelope", - "in": "body", - "description": "Properties of the multi-role pool.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - "400": { - "description": "Bad request." - }, - "404": { - "description": "Not found." - }, - "409": { - "description": "Conflict." - } - } - } + "requestTracingEnabled": { + "description": "true if request tracing is enabled; otherwise, false.", + "type": "boolean" }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}/metricdefinitions": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get metric definitions for a specific instance of a multi-role pool of an App Service Environment.", - "description": "Get metric definitions for a specific instance of a multi-role pool of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListMultiRolePoolInstanceMetricDefinitions", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "instance", - "in": "path", - "description": "Name of the instance in the multi-role pool.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ResourceMetricDefinitionCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } + "requestTracingExpirationTime": { + "format": "date-time", + "description": "Request tracing expiration time.", + "type": "string" }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}metrics": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get metrics for a specific instance of a multi-role pool of an App Service Environment.", - "description": "Get metrics for a specific instance of a multi-role pool of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListMultiRolePoolInstanceMetrics", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "instance", - "in": "path", - "description": "Name of the instance in the multi-role pool.", - "required": true, - "type": "string" - }, - { - "name": "details", - "in": "query", - "description": "Specify true to include instance details. The default is false.", - "type": "boolean" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ResourceMetricCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } + "remoteDebuggingEnabled": { + "description": "true if remote debugging is enabled; otherwise, false.", + "type": "boolean" }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metricdefinitions": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get metric definitions for a multi-role pool of an App Service Environment.", - "description": "Get metric definitions for a multi-role pool of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListMultiRoleMetricDefinitions", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ResourceMetricDefinitionCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } + "remoteDebuggingVersion": { + "description": "Remote debugging version.", + "type": "string" }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metrics": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get metrics for a multi-role pool of an App Service Environment.", - "description": "Get metrics for a multi-role pool of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListMultiRoleMetrics", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "startTime", - "in": "query", - "description": "Beginning time of the metrics query.", - "type": "string" - }, - { - "name": "endTime", - "in": "query", - "description": "End time of the metrics query.", - "type": "string" - }, - { - "name": "timeGrain", - "in": "query", - "description": "Time granularity of the metrics query.", - "type": "string" - }, - { - "name": "details", - "in": "query", - "description": "Specify true to include instance details. The default is false.", - "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]'.", - "x-ms-skip-url-encoding": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ResourceMetricCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } + "httpLoggingEnabled": { + "description": "true if HTTP logging is enabled; otherwise, false.", + "type": "boolean" }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/skus": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get available SKUs for scaling a multi-role pool.", - "description": "Get available SKUs for scaling a multi-role pool.", - "operationId": "AppServiceEnvironments_ListMultiRolePoolSkus", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SkuInfoCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } + "logsDirectorySizeLimit": { + "format": "int32", + "description": "HTTP logs directory size limit.", + "type": "integer" }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/usages": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get usage metrics for a multi-role pool of an App Service Environment.", - "description": "Get usage metrics for a multi-role pool of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListMultiRoleUsages", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/UsageCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } + "detailedErrorLoggingEnabled": { + "description": "true if detailed error logging is enabled; otherwise, false.", + "type": "boolean" }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/operations": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "List all currently running operations on the App Service Environment.", - "description": "List all currently running operations on the App Service Environment.", - "operationId": "AppServiceEnvironments_ListOperations", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/Operation" - } - } - } - } - } + "publishingUsername": { + "description": "Publishing user name.", + "type": "string" }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/reboot": { - "post": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Reboot all machines in an App Service Environment.", - "description": "Reboot all machines in an App Service Environment.", - "operationId": "AppServiceEnvironments_Reboot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "202": { - "description": "Asynchronous operation in progress." - }, - "400": { - "description": "Bad request." - }, - "404": { - "description": "Not found." - }, - "409": { - "description": "Conflict." - } - } - } + "appSettings": { + "description": "Application settings.", + "type": "array", + "items": { + "$ref": "#/definitions/NameValuePair" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/resume": { - "post": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Resume an App Service Environment.", - "description": "Resume an App Service Environment.", - "operationId": "AppServiceEnvironments_Resume", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/WebAppCollection" - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "$ref": "#/definitions/WebAppCollection" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } + "connectionStrings": { + "description": "Connection strings.", + "type": "array", + "items": { + "$ref": "#/definitions/ConnStringInfo" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/serverfarms": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get all App Service plans in an App Service Environment.", - "description": "Get all App Service plans in an App Service Environment.", - "operationId": "AppServiceEnvironments_ListAppServicePlans", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AppServicePlanCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } + "machineKey": { + "$ref": "#/definitions/SiteMachineKey", + "description": "Site MachineKey.", + "readOnly": true }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/sites": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get all apps in an App Service Environment.", - "description": "Get all apps in an App Service Environment.", - "operationId": "AppServiceEnvironments_ListWebApps", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "propertiesToInclude", - "in": "query", - "description": "Comma separated list of app properties to include.", - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WebAppCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } + "handlerMappings": { + "description": "Handler mappings.", + "type": "array", + "items": { + "$ref": "#/definitions/HandlerMapping" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/suspend": { - "post": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Suspend an App Service Environment.", - "description": "Suspend an App Service Environment.", - "operationId": "AppServiceEnvironments_Suspend", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/WebAppCollection" - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "$ref": "#/definitions/WebAppCollection" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } + "documentRoot": { + "description": "Document root.", + "type": "string" }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/usages": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get global usage metrics of an App Service Environment.", - "description": "Get global usage metrics of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListUsages", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the 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]'.", - "x-ms-skip-url-encoding": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CsmUsageQuotaCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } + "scmType": { + "description": "SCM type.", + "enum": [ + "None", + "Dropbox", + "Tfs", + "LocalGit", + "GitHub", + "CodePlexGit", + "CodePlexHg", + "BitbucketGit", + "BitbucketHg", + "ExternalGit", + "ExternalHg", + "OneDrive", + "VSO" + ], + "type": "string", + "x-ms-enum": { + "name": "ScmType", + "modelAsString": true + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get all worker pools of an App Service Environment.", - "description": "Get all worker pools of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListWorkerPools", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WorkerPoolCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } + "use32BitWorkerProcess": { + "description": "true to use 32-bit worker process; otherwise, false.", + "type": "boolean" }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get properties of a worker pool.", - "description": "Get properties of a worker pool.", - "operationId": "AppServiceEnvironments_GetWorkerPool", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "workerPoolName", - "in": "path", - "description": "Name of the worker pool.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - } - } - }, - "put": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Create or update a worker pool.", - "description": "Create or update a worker pool.", - "operationId": "AppServiceEnvironments_CreateOrUpdateWorkerPool", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "workerPoolName", - "in": "path", - "description": "Name of the worker pool.", - "required": true, - "type": "string" - }, - { - "name": "workerPoolEnvelope", - "in": "body", - "description": "Properties of the worker pool.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - "400": { - "description": "Bad request." - }, - "404": { - "description": "Not found." - }, - "409": { - "description": "Conflict." - } - }, - "x-ms-long-running-operation": true - }, - "patch": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Create or update a worker pool.", - "description": "Create or update a worker pool.", - "operationId": "AppServiceEnvironments_UpdateWorkerPool", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "workerPoolName", - "in": "path", - "description": "Name of the worker pool.", - "required": true, - "type": "string" - }, - { - "name": "workerPoolEnvelope", - "in": "body", - "description": "Properties of the worker pool.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - "400": { - "description": "Bad request." - }, - "404": { - "description": "Not found." - }, - "409": { - "description": "Conflict." - } - } - } + "webSocketsEnabled": { + "description": "true if WebSocket is enabled; otherwise, false.", + "type": "boolean" }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}/metricdefinitions": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get metric definitions for a specific instance of a worker pool of an App Service Environment.", - "description": "Get metric definitions for a specific instance of a worker pool of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListWorkerPoolInstanceMetricDefinitions", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "workerPoolName", - "in": "path", - "description": "Name of the worker pool.", - "required": true, - "type": "string" - }, - { - "name": "instance", - "in": "path", - "description": "Name of the instance in the worker pool.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ResourceMetricDefinitionCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } + "alwaysOn": { + "description": "true if Always On is enabled; otherwise, false.", + "type": "boolean" }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}metrics": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get metrics for a specific instance of a worker pool of an App Service Environment.", - "description": "Get metrics for a specific instance of a worker pool of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListWorkerPoolInstanceMetrics", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "workerPoolName", - "in": "path", - "description": "Name of the worker pool.", - "required": true, - "type": "string" - }, - { - "name": "instance", - "in": "path", - "description": "Name of the instance in the worker pool.", - "required": true, - "type": "string" - }, - { - "name": "details", - "in": "query", - "description": "Specify true to include instance details. The default is false.", - "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]'.", - "x-ms-skip-url-encoding": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ResourceMetricCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } + "javaVersion": { + "description": "Java version.", + "type": "string" }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/metricdefinitions": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get metric definitions for a worker pool of an App Service Environment.", - "description": "Get metric definitions for a worker pool of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListWebWorkerMetricDefinitions", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "workerPoolName", - "in": "path", - "description": "Name of the worker pool.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ResourceMetricDefinitionCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } + "javaContainer": { + "description": "Java container.", + "type": "string" }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/metrics": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get metrics for a worker pool of a AppServiceEnvironment (App Service Environment).", - "description": "Get metrics for a worker pool of a AppServiceEnvironment (App Service Environment).", - "operationId": "AppServiceEnvironments_ListWebWorkerMetrics", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the 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": "Specify true to include instance details. The default is false.", - "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]'.", - "x-ms-skip-url-encoding": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ResourceMetricCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } + "javaContainerVersion": { + "description": "Java container version.", + "type": "string" }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/skus": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get available SKUs for scaling a worker pool.", - "description": "Get available SKUs for scaling a worker pool.", - "operationId": "AppServiceEnvironments_ListWorkerPoolSkus", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "workerPoolName", - "in": "path", - "description": "Name of the worker pool.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SkuInfoCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } + "appCommandLine": { + "description": "App command line to launch.", + "type": "string" }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/usages": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get usage metrics for a worker pool of an App Service Environment.", - "description": "Get usage metrics for a worker pool of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListWebWorkerUsages", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "workerPoolName", - "in": "path", - "description": "Name of the worker pool.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/UsageCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "definitions": { - "AddressResponse": { - "description": "Describes main public IP address and any extra virtual IPs.", - "type": "object", - "properties": { - "serviceIpAddress": { - "description": "Main public virtual IP.", - "type": "string" - }, - "internalIpAddress": { - "description": "Virtual Network internal IP address of the App Service Environment if it is in internal load-balancing mode.", - "type": "string" - }, - "outboundIpAddresses": { - "description": "IP addresses appearing on outbound connections.", - "type": "array", - "items": { - "type": "string" - } - }, - "vipMappings": { - "description": "Additional virtual IPs.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualIPMapping" - } - } - } + "managedPipelineMode": { + "description": "Managed pipeline mode.", + "enum": [ + "Integrated", + "Classic" + ], + "type": "string", + "x-ms-enum": { + "name": "ManagedPipelineMode", + "modelAsString": false + } }, - "ApiDefinitionInfo": { - "description": "Information about the formal API definition for the app.", - "type": "object", - "properties": { - "url": { - "description": "The URL of the API definition.", - "type": "string" - } - } + "virtualApplications": { + "description": "Virtual applications.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualApplication" + } }, - "AppServiceEnvironment": { - "description": "Description of an App Service Environment.", - "required": [ - "name", - "location", - "virtualNetwork", - "workerPools" - ], - "type": "object", - "properties": { - "name": { - "description": "Name of the App Service Environment.", - "type": "string" - }, - "location": { - "description": "Location of the App Service Environment, e.g. \"West US\".", - "type": "string" - }, - "provisioningState": { - "description": "Provisioning state of the App Service Environment.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "InProgress", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": false - } - }, - "status": { - "description": "Current status of the App Service Environment.", - "enum": [ - "Preparing", - "Ready", - "Scaling", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "HostingEnvironmentStatus", - "modelAsString": false - } - }, - "vnetName": { - "description": "Name of the Virtual Network for the App Service Environment.", - "type": "string" - }, - "vnetResourceGroupName": { - "description": "Resource group of the Virtual Network.", - "type": "string" - }, - "vnetSubnetName": { - "description": "Subnet of the Virtual Network.", - "type": "string" - }, - "virtualNetwork": { - "$ref": "#/definitions/VirtualNetworkProfile", - "description": "Description of the Virtual Network." - }, - "internalLoadBalancingMode": { - "description": "Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment.", - "enum": [ - "None", - "Web", - "Publishing" - ], - "type": "string", - "x-ms-enum": { - "name": "InternalLoadBalancingMode", - "modelAsString": false - } - }, - "multiSize": { - "description": "Front-end VM size, e.g. \"Medium\", \"Large\".", - "type": "string" - }, - "multiRoleCount": { - "format": "int32", - "description": "Number of front-end instances.", - "type": "integer" - }, - "workerPools": { - "description": "Description of worker pools with worker size IDs, VM sizes, and number of workers in each pool.", - "type": "array", - "items": { - "$ref": "#/definitions/WorkerPool" - } - }, - "ipsslAddressCount": { - "format": "int32", - "description": "Number of IP SSL addresses reserved for the App Service Environment.", - "type": "integer" - }, - "databaseEdition": { - "description": "Edition of the metadata database for the App Service Environment, e.g. \"Standard\".", - "type": "string", - "readOnly": true - }, - "databaseServiceObjective": { - "description": "Service objective of the metadata database for the App Service Environment, e.g. \"S0\".", - "type": "string", - "readOnly": true - }, - "upgradeDomains": { - "format": "int32", - "description": "Number of upgrade domains of the App Service Environment.", - "type": "integer", - "readOnly": true - }, - "subscriptionId": { - "description": "Subscription of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "dnsSuffix": { - "description": "DNS suffix of the App Service Environment.", - "type": "string" - }, - "lastAction": { - "description": "Last deployment action on the App Service Environment.", - "type": "string", - "readOnly": true - }, - "lastActionResult": { - "description": "Result of the last deployment action on the App Service Environment.", - "type": "string", - "readOnly": true - }, - "allowedMultiSizes": { - "description": "List of comma separated strings describing which VM sizes are allowed for front-ends.", - "type": "string", - "readOnly": true - }, - "allowedWorkerSizes": { - "description": "List of comma separated strings describing which VM sizes are allowed for workers.", - "type": "string", - "readOnly": true - }, - "maximumNumberOfMachines": { - "format": "int32", - "description": "Maximum number of VMs in the App Service Environment.", - "type": "integer", - "readOnly": true - }, - "vipMappings": { - "description": "Description of IP SSL mapping for the App Service Environment.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualIPMapping" - }, - "readOnly": true - }, - "environmentCapacities": { - "description": "Current total, used, and available worker capacities.", - "type": "array", - "items": { - "$ref": "#/definitions/StampCapacity" - }, - "readOnly": true - }, - "networkAccessControlList": { - "description": "Access control list for controlling traffic to the App Service Environment.", - "type": "array", - "items": { - "$ref": "#/definitions/NetworkAccessControlEntry" - } - }, - "environmentIsHealthy": { - "description": "True/false indicating whether the App Service Environment is healthy.", - "type": "boolean", - "readOnly": true - }, - "environmentStatus": { - "description": "Detailed message about with results of the last check of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "resourceGroup": { - "description": "Resource group of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "frontEndScaleFactor": { - "format": "int32", - "description": "Scale factor for front-ends.", - "type": "integer" - }, - "defaultFrontEndScaleFactor": { - "format": "int32", - "description": "Default Scale Factor for FrontEnds.", - "type": "integer", - "readOnly": true - }, - "apiManagementAccountId": { - "description": "API Management Account associated with the App Service Environment.", - "type": "string" - }, - "suspended": { - "description": "true if the App Service Environment is suspended; otherwise, false. The environment can be suspended, e.g. when the management endpoint is no longer available\n (most likely because NSG blocked the incoming traffic).", - "type": "boolean" - }, - "dynamicCacheEnabled": { - "description": "True/false indicating whether the App Service Environment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available\n(most likely because NSG blocked the incoming traffic).", - "type": "boolean" - }, - "clusterSettings": { - "description": "Custom settings for changing the behavior of the App Service Environment.", - "type": "array", - "items": { - "$ref": "#/definitions/NameValuePair" - } - } - } + "loadBalancing": { + "description": "Site load balancing.", + "enum": [ + "WeightedRoundRobin", + "LeastRequests", + "LeastResponseTime", + "WeightedTotalTraffic", + "RequestHash" + ], + "type": "string", + "x-ms-enum": { + "name": "SiteLoadBalancing", + "modelAsString": false + } }, - "AppServiceEnvironmentCollection": { - "description": "Collection of App Service Environments.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/AppServiceEnvironment" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } + "experiments": { + "$ref": "#/definitions/Experiments", + "description": "This is work around for polymophic types." }, - "AppServiceEnvironmentResource": { - "description": "App Service Environment ARM resource.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/AppServiceEnvironment", - "x-ms-client-flatten": true - } - } + "limits": { + "$ref": "#/definitions/SiteLimits", + "description": "Site limits." }, - "AppServicePlan": { - "description": "App Service plan.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "AppServicePlan resource specific properties", - "required": [ - "name" - ], - "properties": { - "name": { - "description": "Name for the App Service plan.", - "type": "string" - }, - "workerTierName": { - "description": "Target worker tier assigned to the App Service plan.", - "type": "string" - }, - "status": { - "description": "App Service plan status.", - "enum": [ - "Ready", - "Pending", - "Creating" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "StatusOptions", - "modelAsString": false - } - }, - "subscription": { - "description": "App Service plan subscription.", - "type": "string", - "readOnly": true - }, - "adminSiteName": { - "description": "App Service plan administration site.", - "type": "string" - }, - "hostingEnvironmentProfile": { - "$ref": "#/definitions/HostingEnvironmentProfile", - "description": "Specification for the App Service Environment to use for the App Service plan.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "maximumNumberOfWorkers": { - "format": "int32", - "description": "Maximum number of instances that can be assigned to this App Service plan.", - "type": "integer", - "readOnly": true - }, - "geoRegion": { - "description": "Geographical location for the App Service plan.", - "type": "string", - "readOnly": true - }, - "perSiteScaling": { - "description": "If true, apps assigned to this App Service plan can be scaled independently.\nIf false, apps assigned to this App Service plan will scale to all instances of the plan.", - "default": false, - "type": "boolean" - }, - "numberOfSites": { - "format": "int32", - "description": "Number of apps assigned to this App Service plan.", - "type": "integer", - "readOnly": true - }, - "resourceGroup": { - "description": "Resource group of the App Service plan.", - "type": "string", - "readOnly": true - }, - "reserved": { - "description": "Reserved.", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "targetWorkerCount": { - "format": "int32", - "description": "Scaling worker count.", - "type": "integer" - }, - "targetWorkerSizeId": { - "format": "int32", - "description": "Scaling worker size ID.", - "type": "integer" - }, - "provisioningState": { - "description": "Provisioning state of the App Service Environment.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "InProgress", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": false - } - } - }, - "x-ms-client-flatten": true - }, - "sku": { - "$ref": "#/definitions/SkuDescription" - } - } + "autoHealEnabled": { + "description": "true if Auto Heal is enabled; otherwise, false.", + "type": "boolean" }, - "AppServicePlanCollection": { - "description": "Collection of App Service plans.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/AppServicePlan" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } + "autoHealRules": { + "$ref": "#/definitions/AutoHealRules", + "description": "Auto Heal rules." }, - "AutoHealActions": { - "description": "Actions which to take by the auto-heal module when a rule is triggered.", - "type": "object", - "properties": { - "actionType": { - "description": "Predefined action to be taken.", - "enum": [ - "Recycle", - "LogEvent", - "CustomAction" - ], - "type": "string", - "x-ms-enum": { - "name": "AutoHealActionType", - "modelAsString": false - } - }, - "customAction": { - "$ref": "#/definitions/AutoHealCustomAction", - "description": "Custom action to be taken." - }, - "minProcessExecutionTime": { - "description": "Minimum time the process must execute\nbefore taking the action", - "type": "string" - } - } + "tracingOptions": { + "description": "Tracing options.", + "type": "string" }, - "AutoHealCustomAction": { - "description": "Custom action to be executed\nwhen an auto heal rule is triggered.", - "type": "object", - "properties": { - "exe": { - "description": "Executable to be run.", - "type": "string" - }, - "parameters": { - "description": "Parameters for the executable.", - "type": "string" - } - } + "vnetName": { + "description": "Virtual Network name.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] }, - "AutoHealRules": { - "description": "Rules that can be defined for auto-heal.", - "type": "object", - "properties": { - "triggers": { - "$ref": "#/definitions/AutoHealTriggers", - "description": "Conditions that describe when to execute the auto-heal actions." - }, - "actions": { - "$ref": "#/definitions/AutoHealActions", - "description": "Actions to be executed when a rule is triggered." - } - } + "cors": { + "$ref": "#/definitions/CorsSettings", + "description": "Cross-Origin Resource Sharing (CORS) settings." }, - "AutoHealTriggers": { - "description": "Triggers for auto-heal.", - "type": "object", - "properties": { - "requests": { - "$ref": "#/definitions/RequestsBasedTrigger", - "description": "A rule based on total requests." - }, - "privateBytesInKB": { - "format": "int32", - "description": "A rule based on private bytes.", - "type": "integer" - }, - "statusCodes": { - "description": "A rule based on status codes.", - "type": "array", - "items": { - "$ref": "#/definitions/StatusCodesBasedTrigger" - } - }, - "slowRequests": { - "$ref": "#/definitions/SlowRequestsBasedTrigger", - "description": "A rule based on request execution time." - } - } + "push": { + "$ref": "#/definitions/PushSettings", + "description": "Push endpoint settings." }, - "Capability": { - "description": "Describes the capabilities/features allowed for a specific SKU.", - "type": "object", - "properties": { - "name": { - "description": "Name of the SKU capability.", - "type": "string" - }, - "value": { - "description": "Value of the SKU capability.", - "type": "string" - }, - "reason": { - "description": "Reason of the SKU capability.", - "type": "string" - } - } + "apiDefinition": { + "$ref": "#/definitions/ApiDefinitionInfo", + "description": "Information about the formal API definition for the app." }, - "CloningInfo": { - "description": "Information needed for cloning operation.", - "required": [ - "sourceWebAppId" - ], - "type": "object", - "properties": { - "correlationId": { - "format": "uuid", - "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\ntogether to use the same snapshot.", - "type": "string", - "example": "00000000-0000-0000-0000-000000000000" - }, - "overwrite": { - "description": "true to overwrite destination app; otherwise, false.", - "type": "boolean" - }, - "cloneCustomHostNames": { - "description": "true to clone custom hostnames from source app; otherwise, false.", - "type": "boolean" - }, - "cloneSourceControl": { - "description": "true to clone source control from source app; otherwise, false.", - "type": "boolean" - }, - "sourceWebAppId": { - "description": "ARM resource ID of the source app. App resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", - "type": "string" - }, - "hostingEnvironment": { - "description": "App Service Environment.", - "type": "string" - }, - "appSettingsOverrides": { - "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \nfrom source app. Otherwise, application settings from source app are retained.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "configureLoadBalancing": { - "description": "true to configure load balancing for source and destination app.", - "type": "boolean" - }, - "trafficManagerProfileId": { - "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", - "type": "string" - }, - "trafficManagerProfileName": { - "description": "Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.", - "type": "string" - } - } + "autoSwapSlotName": { + "description": "Auto-swap slot name.", + "type": "string" }, - "ConnStringInfo": { - "description": "Database connection string information.", - "type": "object", - "properties": { - "name": { - "description": "Name of connection string.", - "type": "string" - }, - "connectionString": { - "description": "Connection string value.", - "type": "string" - }, - "type": { - "description": "Type of database.", - "enum": [ - "MySql", - "SQLServer", - "SQLAzure", - "Custom", - "NotificationHub", - "ServiceBus", - "EventHub", - "ApiHub", - "DocDb", - "RedisCache", - "PostgreSQL" - ], - "type": "string", - "x-ms-enum": { - "name": "ConnectionStringType", - "modelAsString": false - } - } - } + "localMySqlEnabled": { + "description": "true to enable local MySQL; otherwise, false.", + "default": false, + "type": "boolean" }, - "CorsSettings": { - "description": "Cross-Origin Resource Sharing (CORS) settings for the app.", - "type": "object", - "properties": { - "allowedOrigins": { - "description": "Gets or sets the list of origins that should be allowed to make cross-origin\ncalls (for example: http://example.com:12345). Use \"*\" to allow all.", - "type": "array", - "items": { - "type": "string" - } - } - } + "ipSecurityRestrictions": { + "description": "IP security restrictions.", + "type": "array", + "items": { + "$ref": "#/definitions/IpSecurityRestriction" + } + } + } + }, + "SiteLimits": { + "description": "Metric limits set on an app.", + "type": "object", + "properties": { + "maxPercentageCpu": { + "format": "double", + "description": "Maximum allowed CPU usage percentage.", + "type": "number" }, - "CsmUsageQuota": { - "description": "Usage of the quota resource.", - "type": "object", - "properties": { - "unit": { - "description": "Units of measurement for the quota resourse.", - "type": "string" - }, - "nextResetTime": { - "format": "date-time", - "description": "Next reset time for the resource counter.", - "type": "string" - }, - "currentValue": { - "format": "int64", - "description": "The current value of the resource counter.", - "type": "integer" - }, - "limit": { - "format": "int64", - "description": "The resource limit.", - "type": "integer" - }, - "name": { - "$ref": "#/definitions/LocalizableString", - "description": "Quota name." - } - } + "maxMemoryInMb": { + "format": "int64", + "description": "Maximum allowed memory usage in MB.", + "type": "integer" }, - "CsmUsageQuotaCollection": { - "description": "Collection of CSM usage quotas.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/CsmUsageQuota" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } + "maxDiskSizeInMb": { + "format": "int64", + "description": "Maximum allowed disk size usage in MB.", + "type": "integer" + } + } + }, + "SiteMachineKey": { + "description": "MachineKey of an app.", + "type": "object", + "properties": { + "validation": { + "description": "MachineKey validation.", + "type": "string" }, - "ErrorEntity": { - "description": "Body of the error response returned from the API.", - "type": "object", - "properties": { - "extendedCode": { - "description": "Type of error.", - "type": "string" - }, - "messageTemplate": { - "description": "Message template.", - "type": "string" - }, - "parameters": { - "description": "Parameters for the template.", - "type": "array", - "items": { - "type": "string" - } - }, - "innerErrors": { - "description": "Inner errors.", - "type": "array", - "items": { - "$ref": "#/definitions/ErrorEntity" - } - }, - "code": { - "description": "Basic error code.", - "type": "string" - }, - "message": { - "description": "Any details of the error.", - "type": "string" - } - } + "validationKey": { + "description": "Validation key.", + "type": "string" }, - "Experiments": { - "description": "Routing rules in production experiments.", - "type": "object", - "properties": { - "rampUpRules": { - "description": "List of ramp-up rules.", - "type": "array", - "items": { - "$ref": "#/definitions/RampUpRule" - } - } - } + "decryption": { + "description": "Decryption.", + "type": "string" }, - "HandlerMapping": { - "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \nFor example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", - "type": "object", - "properties": { - "extension": { - "description": "Requests with this extension will be handled using the specified FastCGI application.", - "type": "string" - }, - "scriptProcessor": { - "description": "The absolute path to the FastCGI application.", - "type": "string" - }, - "arguments": { - "description": "Command-line arguments to be passed to the script processor.", - "type": "string" - } - } + "decryptionKey": { + "description": "Decryption key.", + "type": "string" + } + } + }, + "SkuCapacity": { + "description": "Description of the App Service plan scale options.", + "type": "object", + "properties": { + "minimum": { + "format": "int32", + "description": "Minimum number of workers for this App Service plan SKU.", + "type": "integer" }, - "HostNameSslState": { - "description": "SSL-enabled hostname.", - "type": "object", - "properties": { - "name": { - "description": "Hostname.", - "type": "string" - }, - "sslState": { - "description": "SSL type.", - "enum": [ - "Disabled", - "SniEnabled", - "IpBasedEnabled" - ], - "type": "string", - "x-ms-enum": { - "name": "SslState", - "modelAsString": false - } - }, - "virtualIP": { - "description": "Virtual IP address assigned to the hostname if IP based SSL is enabled.", - "type": "string" - }, - "thumbprint": { - "description": "SSL certificate thumbprint.", - "type": "string" - }, - "toUpdate": { - "description": "Set to true to update existing hostname.", - "type": "boolean" - }, - "hostType": { - "description": "Indicates whether the hostname is a standard or repository hostname.", - "enum": [ - "Standard", - "Repository" - ], - "type": "string", - "x-ms-enum": { - "name": "HostType", - "modelAsString": false - } - } - } + "maximum": { + "format": "int32", + "description": "Maximum number of workers for this App Service plan SKU.", + "type": "integer" }, - "HostingEnvironmentDiagnostics": { - "description": "Diagnostics for an App Service Environment.", - "type": "object", - "properties": { - "name": { - "description": "Name/identifier of the diagnostics.", - "type": "string" - }, - "diagnosicsOutput": { - "description": "Diagnostics output.", - "type": "string" - } - } + "default": { + "format": "int32", + "description": "Default number of workers for this App Service plan SKU.", + "type": "integer" }, - "HostingEnvironmentProfile": { - "description": "Specification for an App Service Environment to use for this resource.", - "type": "object", - "properties": { - "id": { - "description": "Resource ID of the App Service Environment.", - "type": "string" - }, - "name": { - "description": "Name of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Resource type of the App Service Environment.", - "type": "string", - "readOnly": true - } - } + "scaleType": { + "description": "Available scale configurations for an App Service plan.", + "type": "string" + } + } + }, + "SkuDescription": { + "description": "Description of a SKU for a scalable resource.", + "type": "object", + "properties": { + "name": { + "description": "Name of the resource SKU.", + "type": "string" }, - "IpSecurityRestriction": { - "description": "IP security restriction on an app.", - "required": [ - "ipAddress" - ], - "type": "object", - "properties": { - "ipAddress": { - "description": "IP address the security restriction is valid for.", - "type": "string" - }, - "subnetMask": { - "description": "Subnet mask for the range of IP addresses the restriction is valid for.", - "type": "string" - } - } + "tier": { + "description": "Service tier of the resource SKU.", + "type": "string" }, - "LocalizableString": { - "description": "Localizable string object containing the name and a localized value.", - "type": "object", - "properties": { - "value": { - "description": "Non-localized name.", - "type": "string" - }, - "localizedValue": { - "description": "Localized name.", - "type": "string" - } - } + "size": { + "description": "Size specifier of the resource SKU.", + "type": "string" }, - "MetricAvailabilily": { - "description": "Metric availability and retention.", - "type": "object", - "properties": { - "timeGrain": { - "description": "Time grain.", - "type": "string" - }, - "retention": { - "description": "Retention period for the current time grain.", - "type": "string" - } - } + "family": { + "description": "Family code of the resource SKU.", + "type": "string" }, - "MetricDefinition": { - "description": "Metadata for a metric.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "MetricDefinition resource specific properties", - "properties": { - "name": { - "description": "Name of the metric.", - "type": "string", - "readOnly": true - }, - "unit": { - "description": "Unit of the metric.", - "type": "string", - "readOnly": true - }, - "primaryAggregationType": { - "description": "Primary aggregation type.", - "type": "string", - "readOnly": true - }, - "metricAvailabilities": { - "description": "List of time grains supported for the metric together with retention period.", - "type": "array", - "items": { - "$ref": "#/definitions/MetricAvailabilily" - }, - "readOnly": true - }, - "displayName": { - "description": "Friendly name shown in the UI.", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } + "capacity": { + "format": "int32", + "description": "Current number of instances assigned to the resource.", + "type": "integer" }, - "NameValuePair": { - "description": "Name value pair.", - "type": "object", - "properties": { - "name": { - "description": "Pair name.", - "type": "string" - }, - "value": { - "description": "Pair value.", - "type": "string" - } - } + "skuCapacity": { + "$ref": "#/definitions/SkuCapacity", + "description": "Min, max, and default scale values of the SKU." }, - "NetworkAccessControlEntry": { - "description": "Network access control entry.", - "type": "object", - "properties": { - "action": { - "description": "Action object.", - "enum": [ - "Permit", - "Deny" - ], - "type": "string", - "x-ms-enum": { - "name": "AccessControlEntryAction", - "modelAsString": false - } - }, - "description": { - "description": "Description.", - "type": "string" - }, - "order": { - "format": "int32", - "description": "Order of precedence.", - "type": "integer" - }, - "remoteSubnet": { - "description": "Remote subnet.", - "type": "string" - } - } + "locations": { + "description": "Locations of the SKU.", + "type": "array", + "items": { + "type": "string" + } }, - "Operation": { - "description": "Operation.", - "type": "object", - "properties": { - "id": { - "description": "Operation ID.", - "type": "string" - }, - "name": { - "description": "Operation name.", - "type": "string" - }, - "status": { - "description": "The current status of the operation.", - "enum": [ - "InProgress", - "Failed", - "Succeeded", - "TimedOut", - "Created" - ], - "type": "string", - "x-ms-enum": { - "name": "OperationStatus", - "modelAsString": false - } - }, - "errors": { - "description": "Any errors associate with the operation.", - "type": "array", - "items": { - "$ref": "#/definitions/ErrorEntity" - } - }, - "createdTime": { - "format": "date-time", - "description": "Time when operation has started.", - "type": "string" - }, - "modifiedTime": { - "format": "date-time", - "description": "Time when operation has been updated.", - "type": "string" - }, - "expirationTime": { - "format": "date-time", - "description": "Time when operation will expire.", - "type": "string" - }, - "geoMasterOperationId": { - "format": "uuid", - "description": "Applicable only for stamp operation ids.", - "type": "string", - "example": "00000000-0000-0000-0000-000000000000" - } - } + "capabilities": { + "description": "Capabilities of the SKU, e.g., is traffic manager enabled?", + "type": "array", + "items": { + "$ref": "#/definitions/Capability" + } + } + } + }, + "SkuInfo": { + "description": "SKU discovery information.", + "type": "object", + "properties": { + "resourceType": { + "description": "Resource type that this SKU applies to.", + "type": "string" }, - "ProxyOnlyResource": { - "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - } - }, - "x-ms-azure-resource": true - }, - "PushSettings": { - "description": "Push settings for the App.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "PushSettings resource specific properties", - "required": [ - "isPushEnabled" - ], - "properties": { - "isPushEnabled": { - "description": "Gets or sets a flag indicating whether the Push endpoint is enabled.", - "type": "boolean" - }, - "tagWhitelistJson": { - "description": "Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", - "type": "string" - }, - "tagsRequiringAuth": { - "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\nTags can consist of alphanumeric characters and the following:\n'_', '@', '#', '.', ':', '-'. \nValidation should be performed at the PushRequestHandler.", - "type": "string" - }, - "dynamicTagsJson": { - "description": "Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } + "sku": { + "$ref": "#/definitions/SkuDescription", + "description": "Name and tier of the SKU." }, - "RampUpRule": { - "description": "Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance.", - "type": "object", - "properties": { - "actionHostName": { - "description": "Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net.", - "type": "string" - }, - "reroutePercentage": { - "format": "double", - "description": "Percentage of the traffic which will be redirected to ActionHostName.", - "type": "number" - }, - "changeStep": { - "format": "double", - "description": "In auto ramp up scenario this is the step to to add/remove from ReroutePercentage until it reaches \nMinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specificed in ChangeIntervalInMinutes.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", - "type": "number" - }, - "changeIntervalInMinutes": { - "format": "int32", - "description": "Specifies interval in mimuntes to reevaluate ReroutePercentage.", - "type": "integer" - }, - "minReroutePercentage": { - "format": "double", - "description": "Specifies lower boundary above which ReroutePercentage will stay.", - "type": "number" - }, - "maxReroutePercentage": { - "format": "double", - "description": "Specifies upper boundary below which ReroutePercentage will stay.", - "type": "number" - }, - "changeDecisionCallbackUrl": { - "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\nhttps://www.siteextensions.net/packages/TiPCallback/", - "type": "string" - }, - "name": { - "description": "Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment.", - "type": "string" - } - } + "capacity": { + "$ref": "#/definitions/SkuCapacity", + "description": "Min, max, and default scale values of the SKU." + } + } + }, + "SkuInfoCollection": { + "description": "Collection of SKU information.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/SkuInfo" + } }, - "RequestsBasedTrigger": { - "description": "Trigger based on total requests.", - "type": "object", - "properties": { - "count": { - "format": "int32", - "description": "Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "SlotSwapStatus": { + "description": "The status of the last successfull slot swap operation.", + "type": "object", + "properties": { + "timestampUtc": { + "format": "date-time", + "description": "The time the last successful slot swap completed.", + "type": "string", + "readOnly": true }, - "Resource": { - "description": "Azure resource. This resource is tracked in Azure Resource Manager", - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "location": { - "description": "Resource Location.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - }, - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "x-ms-azure-resource": true + "sourceSlotName": { + "description": "The source slot of the last swap operation.", + "type": "string", + "readOnly": true }, - "ResourceMetric": { - "description": "Object representing a metric for any resource .", - "type": "object", - "properties": { - "name": { - "$ref": "#/definitions/ResourceMetricName", - "description": "Name of metric.", - "readOnly": true - }, - "unit": { - "description": "Metric unit.", - "type": "string", - "readOnly": true - }, - "timeGrain": { - "description": "Metric granularity. E.g PT1H, PT5M, P1D", - "type": "string", - "readOnly": true - }, - "startTime": { - "format": "date-time", - "description": "Metric start time.", - "type": "string", - "readOnly": true - }, - "endTime": { - "format": "date-time", - "description": "Metric end time.", - "type": "string", - "readOnly": true - }, - "resourceId": { - "description": "Metric resource Id.", - "type": "string", - "readOnly": true - }, - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "metricValues": { - "description": "Metric values.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricValue" - }, - "readOnly": true - }, - "properties": { - "description": "Properties.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricProperty" - }, - "readOnly": true - } - } + "destinationSlotName": { + "description": "The destination slot of the last swap operation.", + "type": "string", + "readOnly": true + } + } + }, + "SlowRequestsBasedTrigger": { + "description": "Trigger based on request execution time.", + "type": "object", + "properties": { + "timeTaken": { + "description": "Time taken.", + "type": "string" }, - "ResourceMetricAvailability": { - "description": "Metrics availability and retention.", - "type": "object", - "properties": { - "timeGrain": { - "description": "Time grain .", - "type": "string", - "readOnly": true - }, - "retention": { - "description": "Retention period for the current time grain.", - "type": "string", - "readOnly": true - } - } + "count": { + "format": "int32", + "description": "Count.", + "type": "integer" }, - "ResourceMetricCollection": { - "description": "Collection of metric responses.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetric" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } + "timeInterval": { + "description": "Time interval.", + "type": "string" + } + } + }, + "SnapshotRecoveryRequest": { + "description": "Details about app recovery operation.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "SnapshotRecoveryRequest resource specific properties", + "required": [ + "overwrite" + ], + "properties": { + "snapshotTime": { + "description": "Point in time in which the app recovery should be attempted, formatted as a DateTime string.", + "type": "string" + }, + "recoveryTarget": { + "$ref": "#/definitions/SnapshotRecoveryTarget", + "description": "Specifies the web app that snapshot contents will be written to." + }, + "overwrite": { + "description": "If true the recovery operation can overwrite source app; otherwise, false.", + "type": "boolean" + }, + "recoverConfiguration": { + "description": "If true, site configuration, in addition to content, will be reverted.", + "type": "boolean" + }, + "ignoreConflictingHostNames": { + "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\nThis setting is only necessary when RecoverConfiguration is enabled.", + "type": "boolean" } + }, + "x-ms-client-flatten": true + } + } + }, + "SnapshotRecoveryTarget": { + "description": "Specifies the web app that snapshot contents will be written to.", + "type": "object", + "properties": { + "location": { + "description": "Geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS", + "type": "string" }, - "ResourceMetricDefinition": { - "description": "Metadata for the metrics.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "ResourceMetricDefinition resource specific properties", - "properties": { - "name": { - "$ref": "#/definitions/ResourceMetricName", - "description": "Name of the metric.", - "readOnly": true - }, - "unit": { - "description": "Unit of the metric.", - "type": "string", - "readOnly": true - }, - "primaryAggregationType": { - "description": "Primary aggregation type.", - "type": "string", - "readOnly": true - }, - "metricAvailabilities": { - "description": "List of time grains supported for the metric together with retention period.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricAvailability" - }, - "readOnly": true - }, - "resourceUri": { - "description": "Resource URI.", - "type": "string", - "readOnly": true - }, - "id": { - "description": "Resource ID.", - "type": "string", - "readOnly": true - }, - "properties": { - "description": "Properties.", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } + "id": { + "description": "ARM resource ID of the target app. \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "type": "string" + } + } + }, + "StampCapacity": { + "description": "Stamp capacity information.", + "type": "object", + "properties": { + "name": { + "description": "Name of the stamp.", + "type": "string" }, - "ResourceMetricDefinitionCollection": { - "description": "Collection of metric definitions.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricDefinition" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } + "availableCapacity": { + "format": "int64", + "description": "Available capacity (# of machines, bytes of storage etc...).", + "type": "integer" }, - "ResourceMetricName": { - "description": "Name of a metric for any resource .", - "type": "object", - "properties": { - "value": { - "description": "metric name value.", - "type": "string", - "readOnly": true - }, - "localizedValue": { - "description": "Localized metric name value.", - "type": "string", - "readOnly": true - } - } + "totalCapacity": { + "format": "int64", + "description": "Total capacity (# of machines, bytes of storage etc...).", + "type": "integer" }, - "ResourceMetricProperty": { - "description": "Resource metric property.", - "type": "object", - "properties": { - "key": { - "description": "Key for resource metric property.", - "type": "string" - }, - "value": { - "description": "Value of pair.", - "type": "string" - } - } + "unit": { + "description": "Name of the unit.", + "type": "string" }, - "ResourceMetricValue": { - "description": "Value of resource metric.", - "type": "object", - "properties": { - "timestamp": { - "description": "Value timestamp.", - "type": "string", - "readOnly": true - }, - "average": { - "format": "float", - "description": "Value average.", - "type": "number", - "readOnly": true - }, - "minimum": { - "format": "float", - "description": "Value minimum.", - "type": "number", - "readOnly": true - }, - "maximum": { - "format": "float", - "description": "Value maximum.", - "type": "number", - "readOnly": true - }, - "total": { - "format": "float", - "description": "Value total.", - "type": "number", - "readOnly": true - }, - "count": { - "format": "float", - "description": "Value count.", - "type": "number", - "readOnly": true - }, - "properties": { - "description": "Properties.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricProperty" - }, - "readOnly": true - } - } + "computeMode": { + "description": "Shared/dedicated workers.", + "enum": [ + "Shared", + "Dedicated", + "Dynamic" + ], + "type": "string", + "x-ms-enum": { + "name": "ComputeModeOptions", + "modelAsString": false + } }, - "Site": { - "description": "A web app, a mobile app backend, or an API app.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Site resource specific properties", - "properties": { - "state": { - "description": "Current state of the app.", - "type": "string", - "readOnly": true - }, - "hostNames": { - "description": "Hostnames associated with the app.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "repositorySiteName": { - "description": "Name of the repository site.", - "type": "string", - "readOnly": true - }, - "usageState": { - "description": "State indicating whether the app has exceeded its quota usage. Read-only.", - "enum": [ - "Normal", - "Exceeded" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "UsageState", - "modelAsString": false - } - }, - "enabled": { - "description": "true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).", - "type": "boolean" - }, - "enabledHostNames": { - "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\nthe app is not served on those hostnames.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "availabilityState": { - "description": "Management information availability state for the app.", - "enum": [ - "Normal", - "Limited", - "DisasterRecoveryMode" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "SiteAvailabilityState", - "modelAsString": false - } - }, - "hostNameSslStates": { - "description": "Hostname SSL states are used to manage the SSL bindings for app's hostnames.", - "type": "array", - "items": { - "$ref": "#/definitions/HostNameSslState" - } - }, - "serverFarmId": { - "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", - "type": "string" - }, - "reserved": { - "description": "true if reserved; otherwise, false.", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "lastModifiedTimeUtc": { - "format": "date-time", - "description": "Last time the app was modified, in UTC. Read-only.", - "type": "string", - "readOnly": true - }, - "siteConfig": { - "$ref": "#/definitions/SiteConfig", - "description": "Configuration of the app." - }, - "trafficManagerHostNames": { - "description": "Azure Traffic Manager hostnames associated with the app. Read-only.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "premiumAppDeployed": { - "description": "Indicates whether app is deployed as a premium app.", - "type": "boolean", - "readOnly": true - }, - "scmSiteAlsoStopped": { - "description": "true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", - "default": false, - "type": "boolean" - }, - "targetSwapSlot": { - "description": "Specifies which deployment slot this app will swap into. Read-only.", - "type": "string", - "readOnly": true - }, - "hostingEnvironmentProfile": { - "$ref": "#/definitions/HostingEnvironmentProfile", - "description": "App Service Environment to use for the app.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "microService": { - "description": "Micro services like apps, logic apps.", - "default": "WebSites", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "gatewaySiteName": { - "description": "Name of gateway app associated with the app.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "clientAffinityEnabled": { - "description": "true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.", - "type": "boolean" - }, - "clientCertEnabled": { - "description": "true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.", - "type": "boolean" - }, - "hostNamesDisabled": { - "description": "true to disable the public hostnames of the app; otherwise, false.\n If true, the app is only accessible via API management process.", - "type": "boolean" - }, - "outboundIpAddresses": { - "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Read-only.", - "type": "string", - "readOnly": true - }, - "containerSize": { - "format": "int32", - "description": "Size of the function container.", - "type": "integer" - }, - "dailyMemoryTimeQuota": { - "format": "int32", - "description": "Maximum allowed daily memory-time quota (applicable on dynamic apps only).", - "type": "integer" - }, - "suspendedTill": { - "format": "date-time", - "description": "App suspended till in case memory-time quota is exceeded.", - "type": "string", - "readOnly": true - }, - "maxNumberOfWorkers": { - "format": "int32", - "description": "Maximum number of workers.\nThis only applies to Functions container.", - "type": "integer", - "readOnly": true - }, - "cloningInfo": { - "$ref": "#/definitions/CloningInfo", - "description": "If specified during app creation, the app is cloned from a source app.", - "x-ms-mutability": [ - "create" - ] - }, - "snapshotInfo": { - "$ref": "#/definitions/SnapshotRecoveryRequest", - "description": "If specified during app creation, the app is created from a previous snapshot.", - "x-ms-mutability": [ - "create" - ] - }, - "resourceGroup": { - "description": "Name of the resource group the app belongs to. Read-only.", - "type": "string", - "readOnly": true - }, - "isDefaultContainer": { - "description": "true if the app is a default container; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "defaultHostName": { - "description": "Default hostname of the app. Read-only.", - "type": "string", - "readOnly": true - }, - "slotSwapStatus": { - "$ref": "#/definitions/SlotSwapStatus", - "description": "Status of the last deployment slot swap operation.", - "readOnly": true - }, - "httpsOnly": { - "description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests", - "type": "boolean" - } - }, - "x-ms-client-flatten": true - } - } + "workerSize": { + "description": "Size of the machines.", + "enum": [ + "Default", + "Small", + "Medium", + "Large", + "D1", + "D2", + "D3" + ], + "type": "string", + "x-ms-enum": { + "name": "WorkerSizeOptions", + "modelAsString": false + } }, - "SiteConfig": { - "description": "Configuration of an App Service app.", - "type": "object", - "properties": { - "numberOfWorkers": { - "format": "int32", - "description": "Number of workers.", - "type": "integer" - }, - "defaultDocuments": { - "description": "Default documents.", - "type": "array", - "items": { - "type": "string" - } - }, - "netFrameworkVersion": { - "description": ".NET Framework version.", - "default": "v4.6", - "type": "string" - }, - "phpVersion": { - "description": "Version of PHP.", - "type": "string" - }, - "pythonVersion": { - "description": "Version of Python.", - "type": "string" - }, - "nodeVersion": { - "description": "Version of Node.js.", - "type": "string" - }, - "linuxFxVersion": { - "description": "Linux App Framework and version", - "type": "string" - }, - "requestTracingEnabled": { - "description": "true if request tracing is enabled; otherwise, false.", - "type": "boolean" - }, - "requestTracingExpirationTime": { - "format": "date-time", - "description": "Request tracing expiration time.", - "type": "string" - }, - "remoteDebuggingEnabled": { - "description": "true if remote debugging is enabled; otherwise, false.", - "type": "boolean" - }, - "remoteDebuggingVersion": { - "description": "Remote debugging version.", - "type": "string" - }, - "httpLoggingEnabled": { - "description": "true if HTTP logging is enabled; otherwise, false.", - "type": "boolean" - }, - "logsDirectorySizeLimit": { - "format": "int32", - "description": "HTTP logs directory size limit.", - "type": "integer" - }, - "detailedErrorLoggingEnabled": { - "description": "true if detailed error logging is enabled; otherwise, false.", - "type": "boolean" - }, - "publishingUsername": { - "description": "Publishing user name.", - "type": "string" - }, - "appSettings": { - "description": "Application settings.", - "type": "array", - "items": { - "$ref": "#/definitions/NameValuePair" - } - }, - "connectionStrings": { - "description": "Connection strings.", - "type": "array", - "items": { - "$ref": "#/definitions/ConnStringInfo" - } - }, - "machineKey": { - "$ref": "#/definitions/SiteMachineKey", - "description": "Site MachineKey.", - "readOnly": true - }, - "handlerMappings": { - "description": "Handler mappings.", - "type": "array", - "items": { - "$ref": "#/definitions/HandlerMapping" - } - }, - "documentRoot": { - "description": "Document root.", - "type": "string" - }, - "scmType": { - "description": "SCM type.", - "enum": [ - "None", - "Dropbox", - "Tfs", - "LocalGit", - "GitHub", - "CodePlexGit", - "CodePlexHg", - "BitbucketGit", - "BitbucketHg", - "ExternalGit", - "ExternalHg", - "OneDrive", - "VSO" - ], - "type": "string", - "x-ms-enum": { - "name": "ScmType", - "modelAsString": true - } - }, - "use32BitWorkerProcess": { - "description": "true to use 32-bit worker process; otherwise, false.", - "type": "boolean" - }, - "webSocketsEnabled": { - "description": "true if WebSocket is enabled; otherwise, false.", - "type": "boolean" - }, - "alwaysOn": { - "description": "true if Always On is enabled; otherwise, false.", - "type": "boolean" - }, - "javaVersion": { - "description": "Java version.", - "type": "string" - }, - "javaContainer": { - "description": "Java container.", - "type": "string" - }, - "javaContainerVersion": { - "description": "Java container version.", - "type": "string" - }, - "appCommandLine": { - "description": "App command line to launch.", - "type": "string" - }, - "managedPipelineMode": { - "description": "Managed pipeline mode.", - "enum": [ - "Integrated", - "Classic" - ], - "type": "string", - "x-ms-enum": { - "name": "ManagedPipelineMode", - "modelAsString": false - } - }, - "virtualApplications": { - "description": "Virtual applications.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualApplication" - } - }, - "loadBalancing": { - "description": "Site load balancing.", - "enum": [ - "WeightedRoundRobin", - "LeastRequests", - "LeastResponseTime", - "WeightedTotalTraffic", - "RequestHash" - ], - "type": "string", - "x-ms-enum": { - "name": "SiteLoadBalancing", - "modelAsString": false - } - }, - "experiments": { - "$ref": "#/definitions/Experiments", - "description": "This is work around for polymophic types." - }, - "limits": { - "$ref": "#/definitions/SiteLimits", - "description": "Site limits." - }, - "autoHealEnabled": { - "description": "true if Auto Heal is enabled; otherwise, false.", - "type": "boolean" - }, - "autoHealRules": { - "$ref": "#/definitions/AutoHealRules", - "description": "Auto Heal rules." - }, - "tracingOptions": { - "description": "Tracing options.", - "type": "string" - }, - "vnetName": { - "description": "Virtual Network name.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "cors": { - "$ref": "#/definitions/CorsSettings", - "description": "Cross-Origin Resource Sharing (CORS) settings." - }, - "push": { - "$ref": "#/definitions/PushSettings", - "description": "Push endpoint settings." - }, - "apiDefinition": { - "$ref": "#/definitions/ApiDefinitionInfo", - "description": "Information about the formal API definition for the app." - }, - "autoSwapSlotName": { - "description": "Auto-swap slot name.", - "type": "string" - }, - "localMySqlEnabled": { - "description": "true to enable local MySQL; otherwise, false.", - "default": false, - "type": "boolean" - }, - "ipSecurityRestrictions": { - "description": "IP security restrictions.", - "type": "array", - "items": { - "$ref": "#/definitions/IpSecurityRestriction" - } - } - } + "workerSizeId": { + "format": "int32", + "description": "Size ID of machines: \n0 - Small\n1 - Medium\n2 - Large", + "type": "integer" }, - "SiteLimits": { - "description": "Metric limits set on an app.", - "type": "object", - "properties": { - "maxPercentageCpu": { - "format": "double", - "description": "Maximum allowed CPU usage percentage.", - "type": "number" - }, - "maxMemoryInMb": { - "format": "int64", - "description": "Maximum allowed memory usage in MB.", - "type": "integer" - }, - "maxDiskSizeInMb": { - "format": "int64", - "description": "Maximum allowed disk size usage in MB.", - "type": "integer" - } - } + "excludeFromCapacityAllocation": { + "description": "If true, it includes basic apps.\nBasic apps are not used for capacity allocation.", + "type": "boolean" }, - "SiteMachineKey": { - "description": "MachineKey of an app.", - "type": "object", - "properties": { - "validation": { - "description": "MachineKey validation.", - "type": "string" - }, - "validationKey": { - "description": "Validation key.", - "type": "string" - }, - "decryption": { - "description": "Decryption.", - "type": "string" - }, - "decryptionKey": { - "description": "Decryption key.", - "type": "string" - } - } + "isApplicableForAllComputeModes": { + "description": "true if capacity is applicable for all apps; otherwise, false.", + "type": "boolean" }, - "SkuCapacity": { - "description": "Description of the App Service plan scale options.", - "type": "object", - "properties": { - "minimum": { - "format": "int32", - "description": "Minimum number of workers for this App Service plan SKU.", - "type": "integer" - }, - "maximum": { - "format": "int32", - "description": "Maximum number of workers for this App Service plan SKU.", - "type": "integer" - }, - "default": { - "format": "int32", - "description": "Default number of workers for this App Service plan SKU.", - "type": "integer" - }, - "scaleType": { - "description": "Available scale configurations for an App Service plan.", - "type": "string" - } - } + "siteMode": { + "description": "Shared or Dedicated.", + "type": "string" + } + } + }, + "StampCapacityCollection": { + "description": "Collection of stamp capacities.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/StampCapacity" + } }, - "SkuDescription": { - "description": "Description of 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" - }, - "skuCapacity": { - "$ref": "#/definitions/SkuCapacity", - "description": "Min, max, and default scale values of the SKU." - }, - "locations": { - "description": "Locations of the SKU.", - "type": "array", - "items": { - "type": "string" - } - }, - "capabilities": { - "description": "Capabilities of the SKU, e.g., is traffic manager enabled?", - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } - } - } + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "StatusCodesBasedTrigger": { + "description": "Trigger based on status code.", + "type": "object", + "properties": { + "status": { + "format": "int32", + "description": "HTTP status code.", + "type": "integer" }, - "SkuInfo": { - "description": "SKU discovery information.", - "type": "object", - "properties": { - "resourceType": { - "description": "Resource type that this SKU applies to.", - "type": "string" - }, - "sku": { - "$ref": "#/definitions/SkuDescription", - "description": "Name and tier of the SKU." - }, - "capacity": { - "$ref": "#/definitions/SkuCapacity", - "description": "Min, max, and default scale values of the SKU." - } - } + "subStatus": { + "format": "int32", + "description": "SubStatus.", + "type": "integer" }, - "SkuInfoCollection": { - "description": "Collection of SKU information.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/SkuInfo" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } + "win32Status": { + "format": "int32", + "description": "Win32 error code.", + "type": "integer" }, - "SlotSwapStatus": { - "description": "The status of the last successfull slot swap operation.", - "type": "object", - "properties": { - "timestampUtc": { - "format": "date-time", - "description": "The time the last successful slot swap completed.", - "type": "string", - "readOnly": true - }, - "sourceSlotName": { - "description": "The source slot of the last swap operation.", - "type": "string", - "readOnly": true - }, - "destinationSlotName": { - "description": "The destination slot of the last swap operation.", - "type": "string", - "readOnly": true - } - } + "count": { + "format": "int32", + "description": "Count.", + "type": "integer" }, - "SlowRequestsBasedTrigger": { - "description": "Trigger based on request execution time.", - "type": "object", - "properties": { - "timeTaken": { - "description": "Time taken.", - "type": "string" - }, - "count": { - "format": "int32", - "description": "Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } + "timeInterval": { + "description": "Time interval.", + "type": "string" + } + } + }, + "Usage": { + "description": "Usage of the quota resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "Usage resource specific properties", + "properties": { + "displayName": { + "description": "Friendly name shown in the UI.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Name of the quota.", + "type": "string", + "readOnly": true + }, + "resourceName": { + "description": "Name of the quota resource.", + "type": "string", + "readOnly": true + }, + "unit": { + "description": "Units of measurement for the quota resource.", + "type": "string", + "readOnly": true + }, + "currentValue": { + "format": "int64", + "description": "The current value of the resource counter.", + "type": "integer", + "readOnly": true + }, + "limit": { + "format": "int64", + "description": "The resource limit.", + "type": "integer", + "readOnly": true + }, + "nextResetTime": { + "format": "date-time", + "description": "Next reset time for the resource counter.", + "type": "string", + "readOnly": true + }, + "computeMode": { + "description": "Compute mode used for this usage.", + "enum": [ + "Shared", + "Dedicated", + "Dynamic" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ComputeModeOptions", + "modelAsString": false + } + }, + "siteMode": { + "description": "Site mode used for this usage.", + "type": "string", + "readOnly": true } + }, + "x-ms-client-flatten": true + } + } + }, + "UsageCollection": { + "description": "Collection of usages.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/Usage" + } }, - "SnapshotRecoveryRequest": { - "description": "Details about app recovery operation.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "SnapshotRecoveryRequest resource specific properties", - "required": [ - "overwrite" - ], - "properties": { - "snapshotTime": { - "description": "Point in time in which the app recovery should be attempted, formatted as a DateTime string.", - "type": "string" - }, - "recoveryTarget": { - "$ref": "#/definitions/SnapshotRecoveryTarget", - "description": "Specifies the web app that snapshot contents will be written to." - }, - "overwrite": { - "description": "If true the recovery operation can overwrite source app; otherwise, false.", - "type": "boolean" - }, - "recoverConfiguration": { - "description": "If true, site configuration, in addition to content, will be reverted.", - "type": "boolean" - }, - "ignoreConflictingHostNames": { - "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\nThis setting is only necessary when RecoverConfiguration is enabled.", - "type": "boolean" - } - }, - "x-ms-client-flatten": true - } - } + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "VirtualApplication": { + "description": "Virtual application in an app.", + "type": "object", + "properties": { + "virtualPath": { + "description": "Virtual path.", + "type": "string" }, - "SnapshotRecoveryTarget": { - "description": "Specifies the web app that snapshot contents will be written to.", - "type": "object", - "properties": { - "location": { - "description": "Geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS", - "type": "string" - }, - "id": { - "description": "ARM resource ID of the target app. \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", - "type": "string" - } - } + "physicalPath": { + "description": "Physical path.", + "type": "string" }, - "StampCapacity": { - "description": "Stamp capacity information.", - "type": "object", - "properties": { - "name": { - "description": "Name of the stamp.", - "type": "string" - }, - "availableCapacity": { - "format": "int64", - "description": "Available capacity (# of machines, bytes of storage etc...).", - "type": "integer" - }, - "totalCapacity": { - "format": "int64", - "description": "Total capacity (# of machines, bytes of storage etc...).", - "type": "integer" - }, - "unit": { - "description": "Name of the unit.", - "type": "string" - }, - "computeMode": { - "description": "Shared/dedicated workers.", - "enum": [ - "Shared", - "Dedicated", - "Dynamic" - ], - "type": "string", - "x-ms-enum": { - "name": "ComputeModeOptions", - "modelAsString": false - } - }, - "workerSize": { - "description": "Size of the machines.", - "enum": [ - "Default", - "Small", - "Medium", - "Large", - "D1", - "D2", - "D3" - ], - "type": "string", - "x-ms-enum": { - "name": "WorkerSizeOptions", - "modelAsString": false - } - }, - "workerSizeId": { - "format": "int32", - "description": "Size ID of machines: \n0 - Small\n1 - Medium\n2 - Large", - "type": "integer" - }, - "excludeFromCapacityAllocation": { - "description": "If true, it includes basic apps.\nBasic apps are not used for capacity allocation.", - "type": "boolean" - }, - "isApplicableForAllComputeModes": { - "description": "true if capacity is applicable for all apps; otherwise, false.", - "type": "boolean" - }, - "siteMode": { - "description": "Shared or Dedicated.", - "type": "string" - } - } + "preloadEnabled": { + "description": "true if preloading is enabled; otherwise, false.", + "type": "boolean" }, - "StampCapacityCollection": { - "description": "Collection of stamp capacities.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/StampCapacity" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } + "virtualDirectories": { + "description": "Virtual directories for virtual application.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualDirectory" + } + } + } + }, + "VirtualDirectory": { + "description": "Directory for virtual application.", + "type": "object", + "properties": { + "virtualPath": { + "description": "Path to virtual application.", + "type": "string" }, - "StatusCodesBasedTrigger": { - "description": "Trigger based on status code.", - "type": "object", - "properties": { - "status": { - "format": "int32", - "description": "HTTP status code.", - "type": "integer" - }, - "subStatus": { - "format": "int32", - "description": "SubStatus.", - "type": "integer" - }, - "win32Status": { - "format": "int32", - "description": "Win32 error code.", - "type": "integer" - }, - "count": { - "format": "int32", - "description": "Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } + "physicalPath": { + "description": "Physical path.", + "type": "string" + } + } + }, + "VirtualIPMapping": { + "description": "Virtual IP mapping.", + "type": "object", + "properties": { + "virtualIP": { + "description": "Virtual IP address.", + "type": "string" }, - "Usage": { - "description": "Usage of the quota resource.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "Usage resource specific properties", - "properties": { - "displayName": { - "description": "Friendly name shown in the UI.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Name of the quota.", - "type": "string", - "readOnly": true - }, - "resourceName": { - "description": "Name of the quota resource.", - "type": "string", - "readOnly": true - }, - "unit": { - "description": "Units of measurement for the quota resource.", - "type": "string", - "readOnly": true - }, - "currentValue": { - "format": "int64", - "description": "The current value of the resource counter.", - "type": "integer", - "readOnly": true - }, - "limit": { - "format": "int64", - "description": "The resource limit.", - "type": "integer", - "readOnly": true - }, - "nextResetTime": { - "format": "date-time", - "description": "Next reset time for the resource counter.", - "type": "string", - "readOnly": true - }, - "computeMode": { - "description": "Compute mode used for this usage.", - "enum": [ - "Shared", - "Dedicated", - "Dynamic" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ComputeModeOptions", - "modelAsString": false - } - }, - "siteMode": { - "description": "Site mode used for this usage.", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } + "internalHttpPort": { + "format": "int32", + "description": "Internal HTTP port.", + "type": "integer" }, - "UsageCollection": { - "description": "Collection of usages.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/Usage" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } + "internalHttpsPort": { + "format": "int32", + "description": "Internal HTTPS port.", + "type": "integer" }, - "VirtualApplication": { - "description": "Virtual application in an app.", - "type": "object", - "properties": { - "virtualPath": { - "description": "Virtual path.", - "type": "string" - }, - "physicalPath": { - "description": "Physical path.", - "type": "string" - }, - "preloadEnabled": { - "description": "true if preloading is enabled; otherwise, false.", - "type": "boolean" - }, - "virtualDirectories": { - "description": "Virtual directories for virtual application.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualDirectory" - } - } - } + "inUse": { + "description": "Is virtual IP mapping in use.", + "type": "boolean" + } + } + }, + "VirtualNetworkProfile": { + "description": "Specification for using a Virtual Network.", + "type": "object", + "properties": { + "id": { + "description": "Resource id of the Virtual Network.", + "type": "string" }, - "VirtualDirectory": { - "description": "Directory for virtual application.", - "type": "object", - "properties": { - "virtualPath": { - "description": "Path to virtual application.", - "type": "string" - }, - "physicalPath": { - "description": "Physical path.", - "type": "string" - } - } + "name": { + "description": "Name of the Virtual Network (read-only).", + "type": "string", + "readOnly": true }, - "VirtualIPMapping": { - "description": "Virtual IP mapping.", - "type": "object", - "properties": { - "virtualIP": { - "description": "Virtual IP address.", - "type": "string" - }, - "internalHttpPort": { - "format": "int32", - "description": "Internal HTTP port.", - "type": "integer" - }, - "internalHttpsPort": { - "format": "int32", - "description": "Internal HTTPS port.", - "type": "integer" - }, - "inUse": { - "description": "Is virtual IP mapping in use.", - "type": "boolean" - } - } + "type": { + "description": "Resource type of the Virtual Network (read-only).", + "type": "string", + "readOnly": true }, - "VirtualNetworkProfile": { - "description": "Specification for using a Virtual Network.", - "type": "object", - "properties": { - "id": { - "description": "Resource id of the Virtual Network.", - "type": "string" - }, - "name": { - "description": "Name of the Virtual Network (read-only).", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Resource type of the Virtual Network (read-only).", - "type": "string", - "readOnly": true - }, - "subnet": { - "description": "Subnet within the Virtual Network.", - "type": "string" - } - } + "subnet": { + "description": "Subnet within the Virtual Network.", + "type": "string" + } + } + }, + "WebAppCollection": { + "description": "Collection of App Service apps.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/Site" + } }, - "WebAppCollection": { - "description": "Collection of App Service apps.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/Site" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "WorkerPool": { + "description": "Worker pool of an App Service Environment.", + "type": "object", + "properties": { + "workerSizeId": { + "format": "int32", + "description": "Worker size ID for referencing this worker pool.", + "type": "integer" }, - "WorkerPool": { - "description": "Worker pool of an App Service Environment.", - "type": "object", - "properties": { - "workerSizeId": { - "format": "int32", - "description": "Worker size ID for referencing this worker pool.", - "type": "integer" - }, - "computeMode": { - "description": "Shared or dedicated app hosting.", - "enum": [ - "Shared", - "Dedicated", - "Dynamic" - ], - "type": "string", - "x-ms-enum": { - "name": "ComputeModeOptions", - "modelAsString": false - } - }, - "workerSize": { - "description": "VM size of the worker pool instances.", - "type": "string" - }, - "workerCount": { - "format": "int32", - "description": "Number of instances in the worker pool.", - "type": "integer" - }, - "instanceNames": { - "description": "Names of all instances in the worker pool (read only).", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - } - } + "computeMode": { + "description": "Shared or dedicated app hosting.", + "enum": [ + "Shared", + "Dedicated", + "Dynamic" + ], + "type": "string", + "x-ms-enum": { + "name": "ComputeModeOptions", + "modelAsString": false + } }, - "WorkerPoolCollection": { - "description": "Collection of worker pools.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } + "workerSize": { + "description": "VM size of the worker pool instances.", + "type": "string" }, - "WorkerPoolResource": { - "description": "Worker pool of an App Service Environment ARM resource.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/WorkerPool", - "x-ms-client-flatten": true - }, - "sku": { - "$ref": "#/definitions/SkuDescription" - } - } - } - }, - "parameters": { - "subscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "description": "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).", - "required": true, - "type": "string" + "workerCount": { + "format": "int32", + "description": "Number of instances in the worker pool.", + "type": "integer" }, - "resourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "description": "Name of the resource group to which the resource belongs.", - "required": true, - "x-ms-parameter-location": "method", - "type": "string", - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$" - }, - "apiVersionParameter": { - "name": "api-version", - "in": "query", - "description": "API Version", - "required": true, + "instanceNames": { + "description": "Names of all instances in the worker pool (read only).", + "type": "array", + "items": { "type": "string" + }, + "readOnly": true } + } }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } + "WorkerPoolCollection": { + "description": "Collection of worker pools.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" } + } }, - "security": [ + "WorkerPoolResource": { + "description": "Worker pool of an App Service Environment ARM resource.", + "type": "object", + "allOf": [ { - "azure_auth": [ - "user_impersonation" - ] + "$ref": "#/definitions/ProxyOnlyResource" } - ] -} + ], + "properties": { + "properties": { + "$ref": "#/definitions/WorkerPool", + "x-ms-client-flatten": true + }, + "sku": { + "$ref": "#/definitions/SkuDescription" + } + } + } + }, + "parameters": { + "subscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "description": "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).", + "required": true, + "type": "string" + }, + "resourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "description": "Name of the resource group to which the resource belongs.", + "required": true, + "x-ms-parameter-location": "method", + "type": "string", + "maxLength": 90, + "minLength": 1, + "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$" + }, + "apiVersionParameter": { + "name": "api-version", + "in": "query", + "description": "API Version", + "required": true, + "type": "string" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} \ No newline at end of file From ea96df98822ef477f49e36df6cb7399d48cdd4ea Mon Sep 17 00:00:00 2001 From: Navy Aziz Date: Thu, 19 Oct 2017 17:08:21 -0700 Subject: [PATCH 18/27] Move common definitions to single location. --- .../AppServiceCertificateOrders.json | 476 +- .../2015-04-01/Domains.json | 416 +- .../2015-04-01/TopLevelDomains.json | 54 +- .../2016-03-01/Certificates.json | 247 +- .../2016-03-01/CommonDefinitions.json | 2550 +++++++ .../2016-03-01/DeletedWebApps.json | 19 +- .../Microsoft.Web/2016-03-01/Provider.json | 31 +- .../2016-03-01/Recommendations.json | 46 +- .../2016-03-01/ResourceProvider.json | 718 +- .../Microsoft.Web/2016-08-01/WebApps.json | 5241 +++---------- .../2016-09-01/AppServiceEnvironments.json | 6753 ++++++----------- .../2016-09-01/AppServicePlans.json | 2140 +----- specification/web/resource-manager/readme.md | 1 + 13 files changed, 6451 insertions(+), 12241 deletions(-) create mode 100644 specification/web/resource-manager/Microsoft.Web/2016-03-01/CommonDefinitions.json diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json index 1deedd69463d..b9c9d2fba9ef 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json @@ -8,6 +8,12 @@ "schemes": [ "https" ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], "paths": { "/subscriptions/{subscriptionId}/providers/Microsoft.CertificateRegistration/certificateOrders": { "get": { @@ -17,10 +23,6 @@ "summary": "List all certificate orders in a subscription.", "description": "List all certificate orders in a subscription.", "operationId": "AppServiceCertificateOrders_List", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/subscriptionIdParameter" @@ -50,13 +52,6 @@ "summary": "Validate information for a certificate order.", "description": "Validate information for a certificate order.", "operationId": "AppServiceCertificateOrders_ValidatePurchaseInformation", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], "parameters": [ { "name": "appServiceCertificateOrder", @@ -89,10 +84,6 @@ "summary": "Get certificate orders in a resource group.", "description": "Get certificate orders in a resource group.", "operationId": "AppServiceCertificateOrders_ListByResourceGroup", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -125,12 +116,6 @@ "summary": "Get a certificate order.", "description": "Get a certificate order.", "operationId": "AppServiceCertificateOrders_Get", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -165,17 +150,6 @@ "summary": "Create or update a certificate purchase order.", "description": "Create or update a certificate purchase order.", "operationId": "AppServiceCertificateOrders_CreateOrUpdate", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -260,17 +234,6 @@ "summary": "Create or update a certificate purchase order.", "description": "Create or update a certificate purchase order.", "operationId": "AppServiceCertificateOrders_Update", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -288,7 +251,7 @@ "description": "Distinguished name to to use for the certificate order.", "required": true, "schema": { - "$ref": "#/definitions/AppServiceCertificateOrder" + "$ref": "#/definitions/AppServiceCertificateOrderPatchResource" } }, { @@ -322,10 +285,6 @@ "summary": "List all certificates associated with a certificate order.", "description": "List all certificates associated with a certificate order.", "operationId": "AppServiceCertificateOrders_ListCertificates", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -365,12 +324,6 @@ "summary": "Get the certificate associated with a certificate order.", "description": "Get the certificate associated with a certificate order.", "operationId": "AppServiceCertificateOrders_GetCertificate", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -412,17 +365,6 @@ "summary": "Creates or updates a certificate and associates with key vault secret.", "description": "Creates or updates a certificate and associates with key vault secret.", "operationId": "AppServiceCertificateOrders_CreateOrUpdateCertificate", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -521,17 +463,6 @@ "summary": "Creates or updates a certificate and associates with key vault secret.", "description": "Creates or updates a certificate and associates with key vault secret.", "operationId": "AppServiceCertificateOrders_UpdateCertificate", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -556,7 +487,7 @@ "description": "Key vault certificate resource Id.", "required": true, "schema": { - "$ref": "#/definitions/AppServiceCertificateResource" + "$ref": "#/definitions/AppServiceCertificatePatchResource" } }, { @@ -590,13 +521,6 @@ "summary": "Reissue an existing certificate order.", "description": "Reissue an existing certificate order.", "operationId": "AppServiceCertificateOrders_Reissue", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -639,13 +563,6 @@ "summary": "Renew an existing certificate order.", "description": "Renew an existing certificate order.", "operationId": "AppServiceCertificateOrders_Renew", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -721,13 +638,6 @@ "summary": "Verify domain ownership for this certificate order.", "description": "Verify domain ownership for this certificate order.", "operationId": "AppServiceCertificateOrders_ResendRequestEmails", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -745,7 +655,7 @@ "description": "Email address", "required": true, "schema": { - "$ref": "#/definitions/NameIdentifier" + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/NameIdentifier" } }, { @@ -770,19 +680,6 @@ "summary": "Verify domain ownership for this certificate order.", "description": "Verify domain ownership for this certificate order.", "operationId": "AppServiceCertificateOrders_RetrieveSiteSeal", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -800,7 +697,7 @@ "description": "Site seal request.", "required": true, "schema": { - "$ref": "#/definitions/SiteSealRequest" + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/SiteSealRequest" } }, { @@ -814,7 +711,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteSeal" + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/SiteSeal" } } } @@ -861,12 +758,6 @@ "summary": "Retrieve the list of certificate actions.", "description": "Retrieve the list of certificate actions.", "operationId": "AppServiceCertificateOrders_RetrieveCertificateActions", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -906,12 +797,6 @@ "summary": "Retrieve email history.", "description": "Retrieve email history.", "operationId": "AppServiceCertificateOrders_RetrieveCertificateEmailHistory", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1006,7 +891,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/Resource" } ], "properties": { @@ -1205,17 +1090,218 @@ } } }, + "AppServiceCertificateOrderPatchResource": { + "description": "ARM resource for a certificate order that is purchased through Azure.", + "type": "object", + "allOf": [ + { + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "AppServiceCertificateOrderPatchResource resource specific properties", + "required": [ + "productType" + ], + "properties": { + "certificates": { + "description": "State of the Key Vault secret.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/AppServiceCertificate" + } + }, + "distinguishedName": { + "description": "Certificate distinguished name.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "domainVerificationToken": { + "description": "Domain verification token.", + "type": "string", + "readOnly": true + }, + "validityInYears": { + "format": "int32", + "description": "Duration in years (must be between 1 and 3).", + "default": 1, + "maximum": 3, + "minimum": 1, + "type": "integer", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "keySize": { + "format": "int32", + "description": "Certificate key size.", + "default": 2048, + "type": "integer", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "productType": { + "description": "Certificate product type.", + "enum": [ + "StandardDomainValidatedSsl", + "StandardDomainValidatedWildCardSsl" + ], + "type": "string", + "x-ms-enum": { + "name": "CertificateProductType", + "modelAsString": false + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "autoRenew": { + "description": "true if the certificate should be automatically renewed when it expires; otherwise, false.", + "default": true, + "type": "boolean" + }, + "provisioningState": { + "description": "Status of certificate order.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "InProgress", + "Deleting" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": false + } + }, + "status": { + "description": "Current order status.", + "enum": [ + "Pendingissuance", + "Issued", + "Revoked", + "Canceled", + "Denied", + "Pendingrevocation", + "PendingRekey", + "Unused", + "Expired", + "NotSubmitted" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "CertificateOrderStatus", + "modelAsString": false + } + }, + "signedCertificate": { + "$ref": "#/definitions/CertificateDetails", + "description": "Signed certificate.", + "readOnly": true + }, + "csr": { + "description": "Last CSR that was created for this order.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "intermediate": { + "$ref": "#/definitions/CertificateDetails", + "description": "Intermediate certificate.", + "readOnly": true + }, + "root": { + "$ref": "#/definitions/CertificateDetails", + "description": "Root certificate.", + "readOnly": true + }, + "serialNumber": { + "description": "Current serial number of the certificate.", + "type": "string", + "readOnly": true + }, + "lastCertificateIssuanceTime": { + "format": "date-time", + "description": "Certificate last issuance time.", + "type": "string", + "readOnly": true + }, + "expirationTime": { + "format": "date-time", + "description": "Certificate expiration time.", + "type": "string", + "readOnly": true + }, + "isPrivateKeyExternal": { + "description": "true if private key is external; otherwise, false.", + "type": "boolean", + "readOnly": true + }, + "appServiceCertificateNotRenewableReasons": { + "description": "Reasons why App Service Certificate is not renewable at the current moment.", + "type": "array", + "items": { + "enum": [ + "RegistrationStatusNotSupportedForRenewal", + "ExpirationNotInRenewalTimeRange", + "SubscriptionNotActive" + ], + "type": "string" + }, + "readOnly": true + }, + "nextAutoRenewalTimeStamp": { + "format": "date-time", + "description": "Time stamp when the certificate would be auto renewed next", + "type": "string", + "readOnly": true + } + }, + "x-ms-client-flatten": true + } + } + }, + "AppServiceCertificatePatchResource": { + "description": "Key Vault container ARM resource for a certificate that is purchased through Azure.", + "type": "object", + "allOf": [ + { + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/AppServiceCertificate", + "description": "Core resource properties", + "x-ms-client-flatten": true + } + } + }, "AppServiceCertificateResource": { "description": "Key Vault container ARM resource for a certificate that is purchased through Azure.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/Resource" } ], "properties": { "properties": { "$ref": "#/definitions/AppServiceCertificate", + "description": "Core resource properties", "x-ms-client-flatten": true } } @@ -1226,44 +1312,44 @@ "properties": { "version": { "format": "int32", - "description": "Version.", + "description": "Certificate Version.", "type": "integer", "readOnly": true }, "serialNumber": { - "description": "Serial Number.", + "description": "Certificate Serial Number.", "type": "string", "readOnly": true }, "thumbprint": { - "description": "Thumbprint.", + "description": "Certificate Thumbprint.", "type": "string", "readOnly": true }, "subject": { - "description": "Subject.", + "description": "Certificate Subject.", "type": "string", "readOnly": true }, "notBefore": { "format": "date-time", - "description": "Valid from.", + "description": "Date Certificate is valid from.", "type": "string", "readOnly": true }, "notAfter": { "format": "date-time", - "description": "Valid to.", + "description": "Date Certificate is valid to.", "type": "string", "readOnly": true }, "signatureAlgorithm": { - "description": "Signature algorithm.", + "description": "Certificate Signature algorithm.", "type": "string", "readOnly": true }, "issuer": { - "description": "Issuer.", + "description": "Certificate Issuer.", "type": "string", "readOnly": true }, @@ -1279,7 +1365,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -1305,7 +1391,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/Resource" } ], "properties": { @@ -1346,47 +1432,12 @@ } } }, - "NameIdentifier": { - "description": "Identifies an object.", - "type": "object", - "properties": { - "name": { - "description": "Name of the object.", - "type": "string" - } - } - }, - "ProxyOnlyResource": { - "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - } - }, - "x-ms-azure-resource": true - }, "ReissueCertificateOrderRequest": { "description": "Class representing certificate reissue request.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/Resource" } ], "properties": { @@ -1421,7 +1472,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/Resource" } ], "properties": { @@ -1446,73 +1497,6 @@ } } }, - "Resource": { - "description": "Azure resource. This resource is tracked in Azure Resource Manager", - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "location": { - "description": "Resource Location.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - }, - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "identity": { - "description": "Identity for the resource.", - "type": "object", - "properties": { - "principalId": { - "description": "The principal ID of resource identity.", - "type": "string", - "readOnly": true - }, - "tenantId": { - "description": "The tenant ID of resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The identity type.", - "type": "string", - "enum": [ - "SystemAssigned" - ], - "x-ms-enum": { - "name": "ManagedServiceIdentityType", - "modelAsString": false - } - } - } - } - }, - "x-ms-azure-resource": true - }, "SiteSeal": { "description": "Site seal", "required": [ @@ -1532,11 +1516,11 @@ "type": "object", "properties": { "lightTheme": { - "description": "Theme", + "description": "If true use the light color theme for site seal; otherwise, use the default color theme.", "type": "boolean" }, "locale": { - "description": "Locale", + "description": "Locale of site seal.", "type": "string" } } @@ -1555,11 +1539,11 @@ "in": "path", "description": "Name of the resource group to which the resource belongs.", "required": true, - "x-ms-parameter-location": "method", "type": "string", "maxLength": 90, "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$" + "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", + "x-ms-parameter-location": "method" }, "apiVersionParameter": { "name": "api-version", diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json b/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json index 5b92b702c777..1c0d066744f9 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json @@ -8,6 +8,12 @@ "schemes": [ "https" ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], "paths": { "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/checkDomainAvailability": { "post": { @@ -17,19 +23,6 @@ "summary": "Check if a domain is available for registration.", "description": "Check if a domain is available for registration.", "operationId": "Domains_CheckAvailability", - "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", @@ -37,7 +30,7 @@ "description": "Name of the domain.", "required": true, "schema": { - "$ref": "#/definitions/NameIdentifier" + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/NameIdentifier" } }, { @@ -65,10 +58,6 @@ "summary": "Get all domains in a subscription.", "description": "Get all domains in a subscription.", "operationId": "Domains_List", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/subscriptionIdParameter" @@ -98,12 +87,6 @@ "summary": "Generate a single sign-on request for the domain management portal.", "description": "Generate a single sign-on request for the domain management portal.", "operationId": "Domains_GetControlCenterSsoRequest", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/subscriptionIdParameter" @@ -130,17 +113,6 @@ "summary": "Get domain name recommendations based on keywords.", "description": "Get domain name recommendations based on keywords.", "operationId": "Domains_ListRecommendations", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "name": "parameters", @@ -162,7 +134,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/NameIdentifierCollection" + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/NameIdentifierCollection" } } }, @@ -179,10 +151,6 @@ "summary": "Get all domains in a resource group.", "description": "Get all domains in a resource group.", "operationId": "Domains_ListByResourceGroup", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -215,12 +183,6 @@ "summary": "Get a domain.", "description": "Get a domain.", "operationId": "Domains_Get", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -255,17 +217,6 @@ "summary": "Creates or updates a domain.", "description": "Creates or updates a domain.", "operationId": "Domains_CreateOrUpdate", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -357,17 +308,6 @@ "summary": "Creates or updates a domain.", "description": "Creates or updates a domain.", "operationId": "Domains_Update", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -386,7 +326,7 @@ "description": "Domain registration information.", "required": true, "schema": { - "$ref": "#/definitions/Domain" + "$ref": "#/definitions/DomainPatchResource" } }, { @@ -420,10 +360,6 @@ "summary": "Lists domain ownership identifiers.", "description": "Lists domain ownership identifiers.", "operationId": "Domains_ListOwnershipIdentifiers", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -463,12 +399,6 @@ "summary": "Get ownership identifier for domain", "description": "Get ownership identifier for domain", "operationId": "Domains_GetOwnershipIdentifier", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -510,17 +440,6 @@ "summary": "Creates an ownership identifier for a domain or updates identifier details for an existing identifer", "description": "Creates an ownership identifier for a domain or updates identifier details for an existing identifer", "operationId": "Domains_CreateOrUpdateOwnershipIdentifier", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -612,17 +531,6 @@ "summary": "Creates an ownership identifier for a domain or updates identifier details for an existing identifer", "description": "Creates an ownership identifier for a domain or updates identifier details for an existing identifer", "operationId": "Domains_UpdateOwnershipIdentifier", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -681,27 +589,27 @@ "type": "object", "properties": { "address1": { - "description": "Address 1.", + "description": "First line of an Address.", "type": "string" }, "address2": { - "description": "Address 2.", + "description": "The second line of the Address. Optional.", "type": "string" }, "city": { - "description": "City.", + "description": "The city for the address.", "type": "string" }, "country": { - "description": "Country.", + "description": "The country for the address.", "type": "string" }, "postalCode": { - "description": "Postal code.", + "description": "The postal code for the address.", "type": "string" }, "state": { - "description": "State.", + "description": "The state or province for the address.", "type": "string" } } @@ -759,7 +667,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/Resource" } ], "properties": { @@ -947,9 +855,9 @@ }, "authCode": { "type": "string", - "readOnly": true, "x-ms-mutability": [ - "create" + "create", + "read" ] } }, @@ -1029,7 +937,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -1065,6 +973,209 @@ } } }, + "DomainPatchResource": { + "description": "ARM resource for a domain.", + "type": "object", + "allOf": [ + { + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "DomainPatchResource resource specific properties", + "required": [ + "contactAdmin", + "contactBilling", + "contactRegistrant", + "contactTech", + "consent" + ], + "properties": { + "contactAdmin": { + "$ref": "#/definitions/Contact", + "description": "Administrative contact.", + "x-ms-mutability": [ + "create" + ] + }, + "contactBilling": { + "$ref": "#/definitions/Contact", + "description": "Billing contact.", + "x-ms-mutability": [ + "create" + ] + }, + "contactRegistrant": { + "$ref": "#/definitions/Contact", + "description": "Registrant contact.", + "x-ms-mutability": [ + "create" + ] + }, + "contactTech": { + "$ref": "#/definitions/Contact", + "description": "Technical contact.", + "x-ms-mutability": [ + "create" + ] + }, + "registrationStatus": { + "description": "Domain registration status.", + "enum": [ + "Active", + "Awaiting", + "Cancelled", + "Confiscated", + "Disabled", + "Excluded", + "Expired", + "Failed", + "Held", + "Locked", + "Parked", + "Pending", + "Reserved", + "Reverted", + "Suspended", + "Transferred", + "Unknown", + "Unlocked", + "Unparked", + "Updated", + "JsonConverterFailed" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "DomainStatus", + "modelAsString": false + } + }, + "provisioningState": { + "description": "Domain provisioning state.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "InProgress", + "Deleting" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": false + } + }, + "nameServers": { + "description": "Name servers.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "privacy": { + "description": "true if domain privacy is enabled for this domain; otherwise, false.", + "type": "boolean" + }, + "createdTime": { + "format": "date-time", + "description": "Domain creation timestamp.", + "type": "string", + "readOnly": true + }, + "expirationTime": { + "format": "date-time", + "description": "Domain expiration timestamp.", + "type": "string", + "readOnly": true + }, + "lastRenewedTime": { + "format": "date-time", + "description": "Timestamp when the domain was renewed last time.", + "type": "string", + "readOnly": true + }, + "autoRenew": { + "description": "true if the domain should be automatically renewed; otherwise, false.", + "default": true, + "type": "boolean" + }, + "readyForDnsRecordManagement": { + "description": "true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and \n it is hosted on name servers Azure has programmatic access to.", + "type": "boolean", + "readOnly": true + }, + "managedHostNames": { + "description": "All hostnames derived from the domain and assigned to Azure resources.", + "type": "array", + "items": { + "$ref": "#/definitions/HostName" + }, + "readOnly": true + }, + "consent": { + "$ref": "#/definitions/DomainPurchaseConsent", + "description": "Legal agreement consent.", + "x-ms-mutability": [ + "create" + ] + }, + "domainNotRenewableReasons": { + "description": "Reasons why domain is not renewable.", + "type": "array", + "items": { + "enum": [ + "RegistrationStatusNotSupportedForRenewal", + "ExpirationNotInRenewalTimeRange", + "SubscriptionNotActive" + ], + "type": "string" + }, + "readOnly": true + }, + "dnsType": { + "description": "Current DNS type", + "enum": [ + "AzureDns", + "DefaultDomainRegistrarDns" + ], + "type": "string", + "x-ms-enum": { + "name": "DnsType", + "modelAsString": false + } + }, + "dnsZoneId": { + "description": "Azure DNS Zone to use", + "type": "string" + }, + "targetDnsType": { + "description": "Target DNS type (would be used for migration)", + "enum": [ + "AzureDns", + "DefaultDomainRegistrarDns" + ], + "type": "string", + "x-ms-enum": { + "name": "DnsType", + "modelAsString": false + } + }, + "authCode": { + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-client-flatten": true + } + } + }, "DomainPurchaseConsent": { "description": "Domain purchase consent object, representing acceptance of applicable legal agreements.", "type": "object", @@ -1159,16 +1270,6 @@ } } }, - "NameIdentifier": { - "description": "Identifies an object.", - "type": "object", - "properties": { - "name": { - "description": "Name of the object.", - "type": "string" - } - } - }, "NameIdentifierCollection": { "description": "Collection of domain name identifiers.", "required": [ @@ -1180,7 +1281,7 @@ "description": "Collection of resources.", "type": "array", "items": { - "$ref": "#/definitions/NameIdentifier" + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/NameIdentifier" } }, "nextLink": { @@ -1188,73 +1289,6 @@ "type": "string" } } - }, - "Resource": { - "description": "Azure resource. This resource is tracked in Azure Resource Manager", - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "location": { - "description": "Resource Location.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - }, - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "identity": { - "description": "Identity for the resource.", - "type": "object", - "properties": { - "principalId": { - "description": "The principal ID of resource identity.", - "type": "string", - "readOnly": true - }, - "tenantId": { - "description": "The tenant ID of resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The identity type.", - "type": "string", - "enum": [ - "SystemAssigned" - ], - "x-ms-enum": { - "name": "ManagedServiceIdentityType", - "modelAsString": false - } - } - } - } - }, - "x-ms-azure-resource": true } }, "parameters": { @@ -1270,11 +1304,11 @@ "in": "path", "description": "Name of the resource group to which the resource belongs.", "required": true, - "x-ms-parameter-location": "method", "type": "string", "maxLength": 90, "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$" + "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", + "x-ms-parameter-location": "method" }, "apiVersionParameter": { "name": "api-version", diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/TopLevelDomains.json b/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/TopLevelDomains.json index 55ac48d6e6c4..a08a14a46c5d 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/TopLevelDomains.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/TopLevelDomains.json @@ -8,6 +8,12 @@ "schemes": [ "https" ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], "paths": { "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains": { "get": { @@ -17,10 +23,6 @@ "summary": "Get all top-level domains supported for registration.", "description": "Get all top-level domains supported for registration.", "operationId": "TopLevelDomains_List", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/subscriptionIdParameter" @@ -50,12 +52,6 @@ "summary": "Get details of a top-level domain.", "description": "Get details of a top-level domain.", "operationId": "TopLevelDomains_Get", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "name": "name", @@ -89,17 +85,6 @@ "summary": "Gets all legal agreements that user needs to accept before purchasing a domain.", "description": "Gets all legal agreements that user needs to accept before purchasing a domain.", "operationId": "TopLevelDomains_ListAgreements", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "name": "name", @@ -139,31 +124,6 @@ } }, "definitions": { - "ProxyOnlyResource": { - "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - } - }, - "x-ms-azure-resource": true - }, "TldLegalAgreement": { "description": "Legal agreement for a top level domain.", "required": [ @@ -216,7 +176,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json index f91d2176244d..e88847612893 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json @@ -8,6 +8,12 @@ "schemes": [ "https" ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], "paths": { "/subscriptions/{subscriptionId}/providers/Microsoft.Web/certificates": { "get": { @@ -17,10 +23,6 @@ "summary": "Get all certificates for a subscription.", "description": "Get all certificates for a subscription.", "operationId": "Certificates_List", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/subscriptionIdParameter" @@ -50,10 +52,6 @@ "summary": "Get all certificates in a resource group.", "description": "Get all certificates in a resource group.", "operationId": "Certificates_ListByResourceGroup", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -86,12 +84,6 @@ "summary": "Get a certificate.", "description": "Get a certificate.", "operationId": "Certificates_Get", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -126,17 +118,6 @@ "summary": "Create or update a certificate.", "description": "Create or update a certificate.", "operationId": "Certificates_CreateOrUpdate", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -214,17 +195,6 @@ "summary": "Create or update a certificate.", "description": "Create or update a certificate.", "operationId": "Certificates_Update", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -242,7 +212,7 @@ "description": "Details of certificate, if it exists already.", "required": true, "schema": { - "$ref": "#/definitions/Certificate" + "$ref": "#/definitions/CertificatePatchResource" } }, { @@ -269,7 +239,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "./CommonDefinitions.json#/definitions/Resource" } ], "properties": { @@ -357,7 +327,7 @@ "readOnly": true }, "hostingEnvironmentProfile": { - "$ref": "#/definitions/HostingEnvironmentProfile", + "$ref": "./CommonDefinitions.json#/definitions/HostingEnvironmentProfile", "description": "Specification for the App Service Environment to use for the certificate.", "readOnly": true }, @@ -391,16 +361,6 @@ "modelAsString": false } }, - "geoRegion": { - "description": "Region of the certificate.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource name of the certificate.", - "type": "string", - "readOnly": true - }, "serverFarmId": { "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", "type": "string" @@ -430,92 +390,141 @@ } } }, - "HostingEnvironmentProfile": { - "description": "Specification for an App Service Environment to use for this resource.", + "CertificatePatchResource": { + "description": "ARM resource for a certificate.", "type": "object", - "properties": { - "id": { - "description": "Resource ID of the App Service Environment.", - "type": "string" - }, - "name": { - "description": "Name of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Resource type of the App Service Environment.", - "type": "string", - "readOnly": true + "allOf": [ + { + "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" } - } - }, - "Resource": { - "description": "Azure resource. This resource is tracked in Azure Resource Manager", + ], "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "location": { - "description": "Resource Location.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - }, - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "identity": { - "description": "Identity for the resource.", - "type": "object", + "properties": { + "description": "CertificatePatchResource resource specific properties", + "required": [ + "password" + ], "properties": { - "principalId": { - "description": "The principal ID of resource identity.", + "friendlyName": { + "description": "Friendly name of the certificate.", + "type": "string", + "readOnly": true + }, + "subjectName": { + "description": "Subject name of the certificate.", + "type": "string", + "readOnly": true + }, + "hostNames": { + "description": "Host names the certificate applies to.", + "type": "array", + "items": { + "type": "string" + } + }, + "pfxBlob": { + "format": "byte", + "description": "Pfx blob.", + "type": "string" + }, + "siteName": { + "description": "App name.", + "type": "string", + "readOnly": true + }, + "selfLink": { + "description": "Self link.", "type": "string", "readOnly": true }, - "tenantId": { - "description": "The tenant ID of resource.", + "issuer": { + "description": "Certificate issuer.", "type": "string", "readOnly": true }, - "type": { - "description": "The identity type.", + "issueDate": { + "format": "date-time", + "description": "Certificate issue Date.", "type": "string", + "readOnly": true + }, + "expirationDate": { + "format": "date-time", + "description": "Certificate expriration date.", + "type": "string", + "readOnly": true + }, + "password": { + "description": "Certificate password.", + "type": "string", + "x-ms-mutability": [ + "create" + ] + }, + "thumbprint": { + "description": "Certificate thumbprint.", + "type": "string", + "readOnly": true + }, + "valid": { + "description": "Is the certificate valid?.", + "type": "boolean", + "readOnly": true + }, + "cerBlob": { + "format": "byte", + "description": "Raw bytes of .cer file", + "type": "string", + "readOnly": true + }, + "publicKeyHash": { + "description": "Public key hash.", + "type": "string", + "readOnly": true + }, + "hostingEnvironmentProfile": { + "$ref": "./CommonDefinitions.json#/definitions/HostingEnvironmentProfile", + "description": "Specification for the App Service Environment to use for the certificate.", + "readOnly": true + }, + "keyVaultId": { + "description": "Key Vault Csm resource Id.", + "type": "string" + }, + "keyVaultSecretName": { + "description": "Key Vault secret name.", + "type": "string" + }, + "keyVaultSecretStatus": { + "description": "Status of the Key Vault secret.", "enum": [ - "SystemAssigned" + "Initialized", + "WaitingOnCertificateOrder", + "Succeeded", + "CertificateOrderFailed", + "OperationNotPermittedOnKeyVault", + "AzureServiceUnauthorizedToAccessKeyVault", + "KeyVaultDoesNotExist", + "KeyVaultSecretDoesNotExist", + "UnknownError", + "ExternalPrivateKey", + "Unknown" ], + "type": "string", + "readOnly": true, "x-ms-enum": { - "name": "ManagedServiceIdentityType", + "name": "KeyVaultSecretStatus", "modelAsString": false } + }, + "serverFarmId": { + "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", + "type": "string" } - } + }, + "x-ms-client-flatten": true } - }, - "x-ms-azure-resource": true + } } }, "parameters": { @@ -531,11 +540,11 @@ "in": "path", "description": "Name of the resource group to which the resource belongs.", "required": true, - "x-ms-parameter-location": "method", "type": "string", "maxLength": 90, "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$" + "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", + "x-ms-parameter-location": "method" }, "apiVersionParameter": { "name": "api-version", diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/CommonDefinitions.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/CommonDefinitions.json new file mode 100644 index 000000000000..f918e406faa7 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/CommonDefinitions.json @@ -0,0 +1,2550 @@ +{ + "swagger": "2.0", + "info": { + "version": "2016-03-01", + "title": "Common Definitions" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "ApiDefinitionInfo": { + "description": "Information about the formal API definition for the app.", + "type": "object", + "properties": { + "url": { + "description": "The URL of the API definition.", + "type": "string" + } + } + }, + "AppServiceEnvironment": { + "description": "Description of an App Service Environment.", + "required": [ + "name", + "location", + "virtualNetwork", + "workerPools" + ], + "type": "object", + "properties": { + "name": { + "description": "Name of the App Service Environment.", + "type": "string" + }, + "location": { + "description": "Location of the App Service Environment, e.g. \"West US\".", + "type": "string" + }, + "provisioningState": { + "description": "Provisioning state of the App Service Environment.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "InProgress", + "Deleting" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": false + } + }, + "status": { + "description": "Current status of the App Service Environment.", + "enum": [ + "Preparing", + "Ready", + "Scaling", + "Deleting" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "HostingEnvironmentStatus", + "modelAsString": false + } + }, + "vnetName": { + "description": "Name of the Virtual Network for the App Service Environment.", + "type": "string" + }, + "vnetResourceGroupName": { + "description": "Resource group of the Virtual Network.", + "type": "string" + }, + "vnetSubnetName": { + "description": "Subnet of the Virtual Network.", + "type": "string" + }, + "virtualNetwork": { + "$ref": "#/definitions/VirtualNetworkProfile", + "description": "Description of the Virtual Network." + }, + "internalLoadBalancingMode": { + "description": "Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment.", + "enum": [ + "None", + "Web", + "Publishing" + ], + "type": "string", + "x-ms-enum": { + "name": "InternalLoadBalancingMode", + "modelAsString": false + } + }, + "multiSize": { + "description": "Front-end VM size, e.g. \"Medium\", \"Large\".", + "type": "string" + }, + "multiRoleCount": { + "format": "int32", + "description": "Number of front-end instances.", + "type": "integer" + }, + "workerPools": { + "description": "Description of worker pools with worker size IDs, VM sizes, and number of workers in each pool.", + "type": "array", + "items": { + "$ref": "#/definitions/WorkerPool" + } + }, + "ipsslAddressCount": { + "format": "int32", + "description": "Number of IP SSL addresses reserved for the App Service Environment.", + "type": "integer" + }, + "databaseEdition": { + "description": "Edition of the metadata database for the App Service Environment, e.g. \"Standard\".", + "type": "string", + "readOnly": true + }, + "databaseServiceObjective": { + "description": "Service objective of the metadata database for the App Service Environment, e.g. \"S0\".", + "type": "string", + "readOnly": true + }, + "upgradeDomains": { + "format": "int32", + "description": "Number of upgrade domains of the App Service Environment.", + "type": "integer", + "readOnly": true + }, + "subscriptionId": { + "description": "Subscription of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "dnsSuffix": { + "description": "DNS suffix of the App Service Environment.", + "type": "string" + }, + "lastAction": { + "description": "Last deployment action on the App Service Environment.", + "type": "string", + "readOnly": true + }, + "lastActionResult": { + "description": "Result of the last deployment action on the App Service Environment.", + "type": "string", + "readOnly": true + }, + "allowedMultiSizes": { + "description": "List of comma separated strings describing which VM sizes are allowed for front-ends.", + "type": "string", + "readOnly": true + }, + "allowedWorkerSizes": { + "description": "List of comma separated strings describing which VM sizes are allowed for workers.", + "type": "string", + "readOnly": true + }, + "maximumNumberOfMachines": { + "format": "int32", + "description": "Maximum number of VMs in the App Service Environment.", + "type": "integer", + "readOnly": true + }, + "vipMappings": { + "description": "Description of IP SSL mapping for the App Service Environment.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualIPMapping" + }, + "readOnly": true + }, + "environmentCapacities": { + "description": "Current total, used, and available worker capacities.", + "type": "array", + "items": { + "$ref": "#/definitions/StampCapacity" + }, + "readOnly": true + }, + "networkAccessControlList": { + "description": "Access control list for controlling traffic to the App Service Environment.", + "type": "array", + "items": { + "$ref": "#/definitions/NetworkAccessControlEntry" + } + }, + "environmentIsHealthy": { + "description": "True/false indicating whether the App Service Environment is healthy.", + "type": "boolean", + "readOnly": true + }, + "environmentStatus": { + "description": "Detailed message about with results of the last check of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "resourceGroup": { + "description": "Resource group of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "frontEndScaleFactor": { + "format": "int32", + "description": "Scale factor for front-ends.", + "type": "integer" + }, + "defaultFrontEndScaleFactor": { + "format": "int32", + "description": "Default Scale Factor for FrontEnds.", + "type": "integer", + "readOnly": true + }, + "apiManagementAccountId": { + "description": "API Management Account associated with the App Service Environment.", + "type": "string" + }, + "suspended": { + "description": "true if the App Service Environment is suspended; otherwise, false. The environment can be suspended, e.g. when the management endpoint is no longer available\n (most likely because NSG blocked the incoming traffic).", + "type": "boolean" + }, + "dynamicCacheEnabled": { + "description": "True/false indicating whether the App Service Environment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available\n(most likely because NSG blocked the incoming traffic).", + "type": "boolean" + }, + "clusterSettings": { + "description": "Custom settings for changing the behavior of the App Service Environment.", + "type": "array", + "items": { + "$ref": "#/definitions/NameValuePair" + } + }, + "userWhitelistedIpRanges": { + "description": "User added ip ranges to whitelist on ASE db", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "AppServicePlan": { + "description": "App Service plan.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "AppServicePlan resource specific properties", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name for the App Service plan.", + "type": "string" + }, + "workerTierName": { + "description": "Target worker tier assigned to the App Service plan.", + "type": "string" + }, + "status": { + "description": "App Service plan status.", + "enum": [ + "Ready", + "Pending", + "Creating" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "StatusOptions", + "modelAsString": false + } + }, + "subscription": { + "description": "App Service plan subscription.", + "type": "string", + "readOnly": true + }, + "adminSiteName": { + "description": "App Service plan administration site.", + "type": "string" + }, + "hostingEnvironmentProfile": { + "$ref": "#/definitions/HostingEnvironmentProfile", + "description": "Specification for the App Service Environment to use for the App Service plan.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "maximumNumberOfWorkers": { + "format": "int32", + "description": "Maximum number of instances that can be assigned to this App Service plan.", + "type": "integer", + "readOnly": true + }, + "geoRegion": { + "description": "Geographical location for the App Service plan.", + "type": "string", + "readOnly": true + }, + "perSiteScaling": { + "description": "If true, apps assigned to this App Service plan can be scaled independently.\nIf false, apps assigned to this App Service plan will scale to all instances of the plan.", + "default": false, + "type": "boolean" + }, + "numberOfSites": { + "format": "int32", + "description": "Number of apps assigned to this App Service plan.", + "type": "integer", + "readOnly": true + }, + "isSpot": { + "description": "If true, this App Service Plan owns spot instances.", + "type": "boolean" + }, + "spotExpirationTime": { + "format": "date-time", + "description": "The time when the server farm expires. Valid only if it is a spot server farm.", + "type": "string" + }, + "resourceGroup": { + "description": "Resource group of the App Service plan.", + "type": "string", + "readOnly": true + }, + "reserved": { + "description": "Reserved.", + "default": false, + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "targetWorkerCount": { + "format": "int32", + "description": "Scaling worker count.", + "type": "integer" + }, + "targetWorkerSizeId": { + "format": "int32", + "description": "Scaling worker size ID.", + "type": "integer" + }, + "provisioningState": { + "description": "Provisioning state of the App Service Environment.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "InProgress", + "Deleting" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": false + } + } + }, + "x-ms-client-flatten": true + }, + "sku": { + "$ref": "#/definitions/SkuDescription" + } + } + }, + "AppServicePlanCollection": { + "description": "Collection of App Service plans.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/AppServicePlan" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "AutoHealActions": { + "description": "Actions which to take by the auto-heal module when a rule is triggered.", + "type": "object", + "properties": { + "actionType": { + "description": "Predefined action to be taken.", + "enum": [ + "Recycle", + "LogEvent", + "CustomAction" + ], + "type": "string", + "x-ms-enum": { + "name": "AutoHealActionType", + "modelAsString": false + } + }, + "customAction": { + "$ref": "#/definitions/AutoHealCustomAction", + "description": "Custom action to be taken." + }, + "minProcessExecutionTime": { + "description": "Minimum time the process must execute\nbefore taking the action", + "type": "string" + } + } + }, + "AutoHealCustomAction": { + "description": "Custom action to be executed\nwhen an auto heal rule is triggered.", + "type": "object", + "properties": { + "exe": { + "description": "Executable to be run.", + "type": "string" + }, + "parameters": { + "description": "Parameters for the executable.", + "type": "string" + } + } + }, + "AutoHealRules": { + "description": "Rules that can be defined for auto-heal.", + "type": "object", + "properties": { + "triggers": { + "$ref": "#/definitions/AutoHealTriggers", + "description": "Conditions that describe when to execute the auto-heal actions." + }, + "actions": { + "$ref": "#/definitions/AutoHealActions", + "description": "Actions to be executed when a rule is triggered." + } + } + }, + "AutoHealTriggers": { + "description": "Triggers for auto-heal.", + "type": "object", + "properties": { + "requests": { + "$ref": "#/definitions/RequestsBasedTrigger", + "description": "A rule based on total requests." + }, + "privateBytesInKB": { + "format": "int32", + "description": "A rule based on private bytes.", + "type": "integer" + }, + "statusCodes": { + "description": "A rule based on status codes.", + "type": "array", + "items": { + "$ref": "#/definitions/StatusCodesBasedTrigger" + } + }, + "slowRequests": { + "$ref": "#/definitions/SlowRequestsBasedTrigger", + "description": "A rule based on request execution time." + } + } + }, + "Capability": { + "description": "Describes the capabilities/features allowed for a specific SKU.", + "type": "object", + "properties": { + "name": { + "description": "Name of the SKU capability.", + "type": "string" + }, + "value": { + "description": "Value of the SKU capability.", + "type": "string" + }, + "reason": { + "description": "Reason of the SKU capability.", + "type": "string" + } + } + }, + "CloningInfo": { + "description": "Information needed for cloning operation.", + "required": [ + "sourceWebAppId" + ], + "type": "object", + "properties": { + "correlationId": { + "format": "uuid", + "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\ntogether to use the same snapshot.", + "type": "string", + "example": "00000000-0000-0000-0000-000000000000" + }, + "overwrite": { + "description": "true to overwrite destination app; otherwise, false.", + "type": "boolean" + }, + "cloneCustomHostNames": { + "description": "true to clone custom hostnames from source app; otherwise, false.", + "type": "boolean" + }, + "cloneSourceControl": { + "description": "true to clone source control from source app; otherwise, false.", + "type": "boolean" + }, + "sourceWebAppId": { + "description": "ARM resource ID of the source app. App resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "type": "string" + }, + "hostingEnvironment": { + "description": "App Service Environment.", + "type": "string" + }, + "appSettingsOverrides": { + "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \nfrom source app. Otherwise, application settings from source app are retained.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "configureLoadBalancing": { + "description": "true to configure load balancing for source and destination app.", + "type": "boolean" + }, + "trafficManagerProfileId": { + "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", + "type": "string" + }, + "trafficManagerProfileName": { + "description": "Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.", + "type": "string" + } + } + }, + "ConnStringInfo": { + "description": "Database connection string information.", + "type": "object", + "properties": { + "name": { + "description": "Name of connection string.", + "type": "string" + }, + "connectionString": { + "description": "Connection string value.", + "type": "string" + }, + "type": { + "description": "Type of database.", + "enum": [ + "MySql", + "SQLServer", + "SQLAzure", + "Custom", + "NotificationHub", + "ServiceBus", + "EventHub", + "ApiHub", + "DocDb", + "RedisCache", + "PostgreSQL" + ], + "type": "string", + "x-ms-enum": { + "name": "ConnectionStringType", + "modelAsString": false + } + } + } + }, + "CorsSettings": { + "description": "Cross-Origin Resource Sharing (CORS) settings for the app.", + "type": "object", + "properties": { + "allowedOrigins": { + "description": "Gets or sets the list of origins that should be allowed to make cross-origin\ncalls (for example: http://example.com:12345). Use \"*\" to allow all.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "CsmUsageQuota": { + "description": "Usage of the quota resource.", + "type": "object", + "properties": { + "unit": { + "description": "Units of measurement for the quota resourse.", + "type": "string" + }, + "nextResetTime": { + "format": "date-time", + "description": "Next reset time for the resource counter.", + "type": "string" + }, + "currentValue": { + "format": "int64", + "description": "The current value of the resource counter.", + "type": "integer" + }, + "limit": { + "format": "int64", + "description": "The resource limit.", + "type": "integer" + }, + "name": { + "$ref": "#/definitions/LocalizableString", + "description": "Quota name." + } + } + }, + "CsmUsageQuotaCollection": { + "description": "Collection of CSM usage quotas.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/CsmUsageQuota" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "ErrorEntity": { + "description": "Body of the error response returned from the API.", + "type": "object", + "properties": { + "extendedCode": { + "description": "Type of error.", + "type": "string" + }, + "messageTemplate": { + "description": "Message template.", + "type": "string" + }, + "parameters": { + "description": "Parameters for the template.", + "type": "array", + "items": { + "type": "string" + } + }, + "innerErrors": { + "description": "Inner errors.", + "type": "array", + "items": { + "$ref": "#/definitions/ErrorEntity" + } + }, + "code": { + "description": "Basic error code.", + "type": "string" + }, + "message": { + "description": "Any details of the error.", + "type": "string" + } + } + }, + "Experiments": { + "description": "Routing rules in production experiments.", + "type": "object", + "properties": { + "rampUpRules": { + "description": "List of ramp-up rules.", + "type": "array", + "items": { + "$ref": "#/definitions/RampUpRule" + } + } + } + }, + "HandlerMapping": { + "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \nFor example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", + "type": "object", + "properties": { + "extension": { + "description": "Requests with this extension will be handled using the specified FastCGI application.", + "type": "string" + }, + "scriptProcessor": { + "description": "The absolute path to the FastCGI application.", + "type": "string" + }, + "arguments": { + "description": "Command-line arguments to be passed to the script processor.", + "type": "string" + } + } + }, + "HostNameSslState": { + "description": "SSL-enabled hostname.", + "type": "object", + "properties": { + "name": { + "description": "Hostname.", + "type": "string" + }, + "sslState": { + "description": "SSL type.", + "enum": [ + "Disabled", + "SniEnabled", + "IpBasedEnabled" + ], + "type": "string", + "x-ms-enum": { + "name": "SslState", + "modelAsString": false + } + }, + "virtualIP": { + "description": "Virtual IP address assigned to the hostname if IP based SSL is enabled.", + "type": "string" + }, + "thumbprint": { + "description": "SSL certificate thumbprint.", + "type": "string" + }, + "toUpdate": { + "description": "Set to true to update existing hostname.", + "type": "boolean" + }, + "hostType": { + "description": "Indicates whether the hostname is a standard or repository hostname.", + "enum": [ + "Standard", + "Repository" + ], + "type": "string", + "x-ms-enum": { + "name": "HostType", + "modelAsString": false + } + } + } + }, + "HostingEnvironmentProfile": { + "description": "Specification for an App Service Environment to use for this resource.", + "type": "object", + "properties": { + "id": { + "description": "Resource ID of the App Service Environment.", + "type": "string" + }, + "name": { + "description": "Name of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Resource type of the App Service Environment.", + "type": "string", + "readOnly": true + } + } + }, + "HybridConnection": { + "description": "Hybrid Connection contract. This is used to configure a Hybrid Connection.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "HybridConnection resource specific properties", + "properties": { + "serviceBusNamespace": { + "description": "The name of the Service Bus namespace.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "relayName": { + "description": "The name of the Service Bus relay.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "relayArmUri": { + "description": "The ARM URI to the Service Bus relay.", + "type": "string" + }, + "hostname": { + "description": "The hostname of the endpoint.", + "type": "string" + }, + "port": { + "format": "int32", + "description": "The port of the endpoint.", + "type": "integer" + }, + "sendKeyName": { + "description": "The name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus.", + "type": "string" + }, + "sendKeyValue": { + "description": "The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned\nnormally, use the POST /listKeys API instead.", + "type": "string" + }, + "serviceBusSuffix": { + "description": "The suffix for the service bus endpoint. By default this is .servicebus.windows.net", + "type": "string" + } + }, + "x-ms-client-flatten": true + } + } + }, + "HybridConnectionKey": { + "description": "Hybrid Connection key contract. This has the send key name and value for a Hybrid Connection.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "HybridConnectionKey resource specific properties", + "properties": { + "sendKeyName": { + "description": "The name of the send key.", + "type": "string", + "readOnly": true + }, + "sendKeyValue": { + "description": "The value of the send key.", + "type": "string", + "readOnly": true + } + }, + "x-ms-client-flatten": true + } + } + }, + "IpSecurityRestriction": { + "description": "IP security restriction on an app.", + "required": [ + "ipAddress" + ], + "type": "object", + "properties": { + "ipAddress": { + "description": "IP address the security restriction is valid for.", + "type": "string" + }, + "subnetMask": { + "description": "Subnet mask for the range of IP addresses the restriction is valid for.", + "type": "string" + } + } + }, + "LocalizableString": { + "description": "Localizable string object containing the name and a localized value.", + "type": "object", + "properties": { + "value": { + "description": "Non-localized name.", + "type": "string" + }, + "localizedValue": { + "description": "Localized name.", + "type": "string" + } + } + }, + "ManagedServiceIdentity": { + "description": "Managed service identity.", + "type": "object", + "properties": { + "type": { + "description": "Type of managed service identity.", + "enum": [ + "SystemAssigned" + ], + "x-ms-enum": { + "name": "ManagedServiceIdentityType", + "modelAsString": true + } + }, + "tenantId": { + "description": "Tenant of managed service identity.", + "type": "string", + "readOnly": true + }, + "principalId": { + "description": "Principal Id of managed service identity.", + "type": "string", + "readOnly": true + } + } + }, + "NameIdentifier": { + "description": "Identifies an object.", + "type": "object", + "properties": { + "name": { + "description": "Name of the object.", + "type": "string" + } + } + }, + "NameValuePair": { + "description": "Name value pair.", + "type": "object", + "properties": { + "name": { + "description": "Pair name.", + "type": "string" + }, + "value": { + "description": "Pair value.", + "type": "string" + } + } + }, + "NetworkAccessControlEntry": { + "description": "Network access control entry.", + "type": "object", + "properties": { + "action": { + "description": "Action object.", + "enum": [ + "Permit", + "Deny" + ], + "type": "string", + "x-ms-enum": { + "name": "AccessControlEntryAction", + "modelAsString": false + } + }, + "description": { + "description": "Description.", + "type": "string" + }, + "order": { + "format": "int32", + "description": "Order of precedence.", + "type": "integer" + }, + "remoteSubnet": { + "description": "Remote subnet.", + "type": "string" + } + } + }, + "Operation": { + "description": "Operation.", + "type": "object", + "properties": { + "id": { + "description": "Operation ID.", + "type": "string" + }, + "name": { + "description": "Operation name.", + "type": "string" + }, + "status": { + "description": "The current status of the operation.", + "enum": [ + "InProgress", + "Failed", + "Succeeded", + "TimedOut", + "Created" + ], + "type": "string", + "x-ms-enum": { + "name": "OperationStatus", + "modelAsString": false + } + }, + "errors": { + "description": "Any errors associate with the operation.", + "type": "array", + "items": { + "$ref": "#/definitions/ErrorEntity" + } + }, + "createdTime": { + "format": "date-time", + "description": "Time when operation has started.", + "type": "string" + }, + "modifiedTime": { + "format": "date-time", + "description": "Time when operation has been updated.", + "type": "string" + }, + "expirationTime": { + "format": "date-time", + "description": "Time when operation will expire.", + "type": "string" + }, + "geoMasterOperationId": { + "format": "uuid", + "description": "Applicable only for stamp operation ids.", + "type": "string", + "example": "00000000-0000-0000-0000-000000000000" + } + } + }, + "ProxyOnlyResource": { + "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", + "properties": { + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource Name.", + "type": "string", + "readOnly": true + }, + "kind": { + "description": "Kind of resource.", + "type": "string" + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "PushSettings": { + "description": "Push settings for the App.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "PushSettings resource specific properties", + "required": [ + "isPushEnabled" + ], + "properties": { + "isPushEnabled": { + "description": "Gets or sets a flag indicating whether the Push endpoint is enabled.", + "type": "boolean" + }, + "tagWhitelistJson": { + "description": "Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", + "type": "string" + }, + "tagsRequiringAuth": { + "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\nTags can consist of alphanumeric characters and the following:\n'_', '@', '#', '.', ':', '-'. \nValidation should be performed at the PushRequestHandler.", + "type": "string" + }, + "dynamicTagsJson": { + "description": "Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", + "type": "string" + } + }, + "x-ms-client-flatten": true + } + } + }, + "RampUpRule": { + "description": "Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance.", + "type": "object", + "properties": { + "actionHostName": { + "description": "Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net.", + "type": "string" + }, + "reroutePercentage": { + "format": "double", + "description": "Percentage of the traffic which will be redirected to ActionHostName.", + "type": "number" + }, + "changeStep": { + "format": "double", + "description": "In auto ramp up scenario this is the step to to add/remove from ReroutePercentage until it reaches \nMinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specificed in ChangeIntervalInMinutes.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", + "type": "number" + }, + "changeIntervalInMinutes": { + "format": "int32", + "description": "Specifies interval in mimuntes to reevaluate ReroutePercentage.", + "type": "integer" + }, + "minReroutePercentage": { + "format": "double", + "description": "Specifies lower boundary above which ReroutePercentage will stay.", + "type": "number" + }, + "maxReroutePercentage": { + "format": "double", + "description": "Specifies upper boundary below which ReroutePercentage will stay.", + "type": "number" + }, + "changeDecisionCallbackUrl": { + "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\nhttps://www.siteextensions.net/packages/TiPCallback/", + "type": "string" + }, + "name": { + "description": "Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment.", + "type": "string" + } + } + }, + "RequestsBasedTrigger": { + "description": "Trigger based on total requests.", + "type": "object", + "properties": { + "count": { + "format": "int32", + "description": "Count.", + "type": "integer" + }, + "timeInterval": { + "description": "Time interval.", + "type": "string" + } + } + }, + "Resource": { + "description": "Azure resource. This resource is tracked in Azure Resource Manager", + "properties": { + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource Name.", + "type": "string", + "readOnly": true + }, + "kind": { + "description": "Kind of resource.", + "type": "string" + }, + "location": { + "description": "Resource Location.", + "type": "string", + "x-ms-mutability": [ + "create", + "update" + ] + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + }, + "tags": { + "description": "Resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "ResourceMetric": { + "description": "Object representing a metric for any resource .", + "type": "object", + "properties": { + "name": { + "$ref": "#/definitions/ResourceMetricName", + "description": "Name of metric.", + "readOnly": true + }, + "unit": { + "description": "Metric unit.", + "type": "string", + "readOnly": true + }, + "timeGrain": { + "description": "Metric granularity. E.g PT1H, PT5M, P1D", + "type": "string", + "readOnly": true + }, + "startTime": { + "format": "date-time", + "description": "Metric start time.", + "type": "string", + "readOnly": true + }, + "endTime": { + "format": "date-time", + "description": "Metric end time.", + "type": "string", + "readOnly": true + }, + "resourceId": { + "description": "Metric resource Id.", + "type": "string", + "readOnly": true + }, + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "metricValues": { + "description": "Metric values.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricValue" + }, + "readOnly": true + }, + "properties": { + "description": "Properties.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricProperty" + }, + "readOnly": true + } + } + }, + "ResourceMetricAvailability": { + "description": "Metrics availability and retention.", + "type": "object", + "properties": { + "timeGrain": { + "description": "Time grain .", + "type": "string", + "readOnly": true + }, + "retention": { + "description": "Retention period for the current time grain.", + "type": "string", + "readOnly": true + } + } + }, + "ResourceMetricCollection": { + "description": "Collection of metric responses.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetric" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "ResourceMetricDefinition": { + "description": "Metadata for the metrics.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "ResourceMetricDefinition resource specific properties", + "properties": { + "name": { + "$ref": "#/definitions/ResourceMetricName", + "description": "Name of the metric.", + "readOnly": true + }, + "unit": { + "description": "Unit of the metric.", + "type": "string", + "readOnly": true + }, + "primaryAggregationType": { + "description": "Primary aggregation type.", + "type": "string", + "readOnly": true + }, + "metricAvailabilities": { + "description": "List of time grains supported for the metric together with retention period.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricAvailability" + }, + "readOnly": true + }, + "resourceUri": { + "description": "Resource URI.", + "type": "string", + "readOnly": true + }, + "id": { + "description": "Resource ID.", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "Properties.", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "readOnly": true + } + }, + "x-ms-client-flatten": true + } + } + }, + "ResourceMetricDefinitionCollection": { + "description": "Collection of metric definitions.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricDefinition" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "ResourceMetricName": { + "description": "Name of a metric for any resource .", + "type": "object", + "properties": { + "value": { + "description": "metric name value.", + "type": "string", + "readOnly": true + }, + "localizedValue": { + "description": "Localized metric name value.", + "type": "string", + "readOnly": true + } + } + }, + "ResourceMetricProperty": { + "description": "Resource metric property.", + "type": "object", + "properties": { + "key": { + "description": "Key for resource metric property.", + "type": "string" + }, + "value": { + "description": "Value of pair.", + "type": "string" + } + } + }, + "ResourceMetricValue": { + "description": "Value of resource metric.", + "type": "object", + "properties": { + "timestamp": { + "description": "Value timestamp.", + "type": "string", + "readOnly": true + }, + "average": { + "format": "float", + "description": "Value average.", + "type": "number", + "readOnly": true + }, + "minimum": { + "format": "float", + "description": "Value minimum.", + "type": "number", + "readOnly": true + }, + "maximum": { + "format": "float", + "description": "Value maximum.", + "type": "number", + "readOnly": true + }, + "total": { + "format": "float", + "description": "Value total.", + "type": "number", + "readOnly": true + }, + "count": { + "format": "float", + "description": "Value count.", + "type": "number", + "readOnly": true + }, + "properties": { + "description": "Properties.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricProperty" + }, + "readOnly": true + } + } + }, + "Site": { + "description": "A web app, a mobile app backend, or an API app.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Site resource specific properties", + "properties": { + "state": { + "description": "Current state of the app.", + "type": "string", + "readOnly": true + }, + "hostNames": { + "description": "Hostnames associated with the app.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "repositorySiteName": { + "description": "Name of the repository site.", + "type": "string", + "readOnly": true + }, + "usageState": { + "description": "State indicating whether the app has exceeded its quota usage. Read-only.", + "enum": [ + "Normal", + "Exceeded" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "UsageState", + "modelAsString": false + } + }, + "enabled": { + "description": "true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).", + "type": "boolean" + }, + "enabledHostNames": { + "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\nthe app is not served on those hostnames.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "availabilityState": { + "description": "Management information availability state for the app.", + "enum": [ + "Normal", + "Limited", + "DisasterRecoveryMode" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "SiteAvailabilityState", + "modelAsString": false + } + }, + "hostNameSslStates": { + "description": "Hostname SSL states are used to manage the SSL bindings for app's hostnames.", + "type": "array", + "items": { + "$ref": "#/definitions/HostNameSslState" + } + }, + "serverFarmId": { + "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", + "type": "string" + }, + "reserved": { + "description": "true if reserved; otherwise, false.", + "default": false, + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "lastModifiedTimeUtc": { + "format": "date-time", + "description": "Last time the app was modified, in UTC. Read-only.", + "type": "string", + "readOnly": true + }, + "siteConfig": { + "$ref": "#/definitions/SiteConfig", + "description": "Configuration of the app." + }, + "trafficManagerHostNames": { + "description": "Azure Traffic Manager hostnames associated with the app. Read-only.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "scmSiteAlsoStopped": { + "description": "true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", + "default": false, + "type": "boolean" + }, + "targetSwapSlot": { + "description": "Specifies which deployment slot this app will swap into. Read-only.", + "type": "string", + "readOnly": true + }, + "hostingEnvironmentProfile": { + "$ref": "#/definitions/HostingEnvironmentProfile", + "description": "App Service Environment to use for the app.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "clientAffinityEnabled": { + "description": "true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.", + "type": "boolean" + }, + "clientCertEnabled": { + "description": "true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.", + "type": "boolean" + }, + "hostNamesDisabled": { + "description": "true to disable the public hostnames of the app; otherwise, false.\n If true, the app is only accessible via API management process.", + "type": "boolean" + }, + "outboundIpAddresses": { + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only.", + "type": "string", + "readOnly": true + }, + "possibleOutboundIpAddresses": { + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only.", + "type": "string", + "readOnly": true + }, + "containerSize": { + "format": "int32", + "description": "Size of the function container.", + "type": "integer" + }, + "dailyMemoryTimeQuota": { + "format": "int32", + "description": "Maximum allowed daily memory-time quota (applicable on dynamic apps only).", + "type": "integer" + }, + "suspendedTill": { + "format": "date-time", + "description": "App suspended till in case memory-time quota is exceeded.", + "type": "string", + "readOnly": true + }, + "maxNumberOfWorkers": { + "format": "int32", + "description": "Maximum number of workers.\nThis only applies to Functions container.", + "type": "integer", + "readOnly": true + }, + "cloningInfo": { + "$ref": "#/definitions/CloningInfo", + "description": "If specified during app creation, the app is cloned from a source app.", + "x-ms-mutability": [ + "create" + ] + }, + "snapshotInfo": { + "$ref": "#/definitions/SnapshotRecoveryRequest", + "description": "If specified during app creation, the app is created from a previous snapshot.", + "x-ms-mutability": [ + "create" + ] + }, + "resourceGroup": { + "description": "Name of the resource group the app belongs to. Read-only.", + "type": "string", + "readOnly": true + }, + "isDefaultContainer": { + "description": "true if the app is a default container; otherwise, false.", + "type": "boolean", + "readOnly": true + }, + "defaultHostName": { + "description": "Default hostname of the app. Read-only.", + "type": "string", + "readOnly": true + }, + "slotSwapStatus": { + "$ref": "#/definitions/SlotSwapStatus", + "description": "Status of the last deployment slot swap operation.", + "readOnly": true + }, + "httpsOnly": { + "description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests", + "type": "boolean" + } + }, + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/ManagedServiceIdentity" + } + } + }, + "SiteConfig": { + "description": "Configuration of an App Service app.", + "type": "object", + "properties": { + "numberOfWorkers": { + "format": "int32", + "description": "Number of workers.", + "type": "integer" + }, + "defaultDocuments": { + "description": "Default documents.", + "type": "array", + "items": { + "type": "string" + } + }, + "netFrameworkVersion": { + "description": ".NET Framework version.", + "default": "v4.6", + "type": "string" + }, + "phpVersion": { + "description": "Version of PHP.", + "type": "string" + }, + "pythonVersion": { + "description": "Version of Python.", + "type": "string" + }, + "nodeVersion": { + "description": "Version of Node.js.", + "type": "string" + }, + "linuxFxVersion": { + "description": "Linux App Framework and version", + "type": "string" + }, + "requestTracingEnabled": { + "description": "true if request tracing is enabled; otherwise, false.", + "type": "boolean" + }, + "requestTracingExpirationTime": { + "format": "date-time", + "description": "Request tracing expiration time.", + "type": "string" + }, + "remoteDebuggingEnabled": { + "description": "true if remote debugging is enabled; otherwise, false.", + "type": "boolean" + }, + "remoteDebuggingVersion": { + "description": "Remote debugging version.", + "type": "string" + }, + "httpLoggingEnabled": { + "description": "true if HTTP logging is enabled; otherwise, false.", + "type": "boolean" + }, + "logsDirectorySizeLimit": { + "format": "int32", + "description": "HTTP logs directory size limit.", + "type": "integer" + }, + "detailedErrorLoggingEnabled": { + "description": "true if detailed error logging is enabled; otherwise, false.", + "type": "boolean" + }, + "publishingUsername": { + "description": "Publishing user name.", + "type": "string" + }, + "appSettings": { + "description": "Application settings.", + "type": "array", + "items": { + "$ref": "#/definitions/NameValuePair" + } + }, + "connectionStrings": { + "description": "Connection strings.", + "type": "array", + "items": { + "$ref": "#/definitions/ConnStringInfo" + } + }, + "machineKey": { + "$ref": "#/definitions/SiteMachineKey", + "description": "Site MachineKey.", + "readOnly": true + }, + "handlerMappings": { + "description": "Handler mappings.", + "type": "array", + "items": { + "$ref": "#/definitions/HandlerMapping" + } + }, + "documentRoot": { + "description": "Document root.", + "type": "string" + }, + "scmType": { + "description": "SCM type.", + "enum": [ + "None", + "Dropbox", + "Tfs", + "LocalGit", + "GitHub", + "CodePlexGit", + "CodePlexHg", + "BitbucketGit", + "BitbucketHg", + "ExternalGit", + "ExternalHg", + "OneDrive", + "VSO" + ], + "type": "string", + "x-ms-enum": { + "name": "ScmType", + "modelAsString": true + } + }, + "use32BitWorkerProcess": { + "description": "true to use 32-bit worker process; otherwise, false.", + "type": "boolean" + }, + "webSocketsEnabled": { + "description": "true if WebSocket is enabled; otherwise, false.", + "type": "boolean" + }, + "alwaysOn": { + "description": "true if Always On is enabled; otherwise, false.", + "type": "boolean" + }, + "javaVersion": { + "description": "Java version.", + "type": "string" + }, + "javaContainer": { + "description": "Java container.", + "type": "string" + }, + "javaContainerVersion": { + "description": "Java container version.", + "type": "string" + }, + "appCommandLine": { + "description": "App command line to launch.", + "type": "string" + }, + "managedPipelineMode": { + "description": "Managed pipeline mode.", + "enum": [ + "Integrated", + "Classic" + ], + "type": "string", + "x-ms-enum": { + "name": "ManagedPipelineMode", + "modelAsString": false + } + }, + "virtualApplications": { + "description": "Virtual applications.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualApplication" + } + }, + "loadBalancing": { + "description": "Site load balancing.", + "enum": [ + "WeightedRoundRobin", + "LeastRequests", + "LeastResponseTime", + "WeightedTotalTraffic", + "RequestHash" + ], + "type": "string", + "x-ms-enum": { + "name": "SiteLoadBalancing", + "modelAsString": false + } + }, + "experiments": { + "$ref": "#/definitions/Experiments", + "description": "This is work around for polymophic types." + }, + "limits": { + "$ref": "#/definitions/SiteLimits", + "description": "Site limits." + }, + "autoHealEnabled": { + "description": "true if Auto Heal is enabled; otherwise, false.", + "type": "boolean" + }, + "autoHealRules": { + "$ref": "#/definitions/AutoHealRules", + "description": "Auto Heal rules." + }, + "tracingOptions": { + "description": "Tracing options.", + "type": "string" + }, + "vnetName": { + "description": "Virtual Network name.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "cors": { + "$ref": "#/definitions/CorsSettings", + "description": "Cross-Origin Resource Sharing (CORS) settings." + }, + "push": { + "$ref": "#/definitions/PushSettings", + "description": "Push endpoint settings." + }, + "apiDefinition": { + "$ref": "#/definitions/ApiDefinitionInfo", + "description": "Information about the formal API definition for the app." + }, + "autoSwapSlotName": { + "description": "Auto-swap slot name.", + "type": "string" + }, + "localMySqlEnabled": { + "description": "true to enable local MySQL; otherwise, false.", + "default": false, + "type": "boolean" + }, + "ipSecurityRestrictions": { + "description": "IP security restrictions.", + "type": "array", + "items": { + "$ref": "#/definitions/IpSecurityRestriction" + } + } + } + }, + "SiteLimits": { + "description": "Metric limits set on an app.", + "type": "object", + "properties": { + "maxPercentageCpu": { + "format": "double", + "description": "Maximum allowed CPU usage percentage.", + "type": "number" + }, + "maxMemoryInMb": { + "format": "int64", + "description": "Maximum allowed memory usage in MB.", + "type": "integer" + }, + "maxDiskSizeInMb": { + "format": "int64", + "description": "Maximum allowed disk size usage in MB.", + "type": "integer" + } + } + }, + "SiteMachineKey": { + "description": "MachineKey of an app.", + "type": "object", + "properties": { + "validation": { + "description": "MachineKey validation.", + "type": "string" + }, + "validationKey": { + "description": "Validation key.", + "type": "string" + }, + "decryption": { + "description": "Decryption.", + "type": "string" + }, + "decryptionKey": { + "description": "Decryption key.", + "type": "string" + } + } + }, + "SkuCapacity": { + "description": "Description of the App Service plan scale options.", + "type": "object", + "properties": { + "minimum": { + "format": "int32", + "description": "Minimum number of workers for this App Service plan SKU.", + "type": "integer" + }, + "maximum": { + "format": "int32", + "description": "Maximum number of workers for this App Service plan SKU.", + "type": "integer" + }, + "default": { + "format": "int32", + "description": "Default number of workers for this App Service plan SKU.", + "type": "integer" + }, + "scaleType": { + "description": "Available scale configurations for an App Service plan.", + "type": "string" + } + } + }, + "SkuDescription": { + "description": "Description of 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" + }, + "skuCapacity": { + "$ref": "#/definitions/SkuCapacity", + "description": "Min, max, and default scale values of the SKU." + }, + "locations": { + "description": "Locations of the SKU.", + "type": "array", + "items": { + "type": "string" + } + }, + "capabilities": { + "description": "Capabilities of the SKU, e.g., is traffic manager enabled?", + "type": "array", + "items": { + "$ref": "#/definitions/Capability" + } + } + } + }, + "SlotSwapStatus": { + "description": "The status of the last successfull slot swap operation.", + "type": "object", + "properties": { + "timestampUtc": { + "format": "date-time", + "description": "The time the last successful slot swap completed.", + "type": "string", + "readOnly": true + }, + "sourceSlotName": { + "description": "The source slot of the last swap operation.", + "type": "string", + "readOnly": true + }, + "destinationSlotName": { + "description": "The destination slot of the last swap operation.", + "type": "string", + "readOnly": true + } + } + }, + "SlowRequestsBasedTrigger": { + "description": "Trigger based on request execution time.", + "type": "object", + "properties": { + "timeTaken": { + "description": "Time taken.", + "type": "string" + }, + "count": { + "format": "int32", + "description": "Count.", + "type": "integer" + }, + "timeInterval": { + "description": "Time interval.", + "type": "string" + } + } + }, + "SnapshotRecoveryRequest": { + "description": "Details about app recovery operation.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "SnapshotRecoveryRequest resource specific properties", + "required": [ + "overwrite" + ], + "properties": { + "snapshotTime": { + "description": "Point in time in which the app recovery should be attempted, formatted as a DateTime string.", + "type": "string" + }, + "recoveryTarget": { + "$ref": "#/definitions/SnapshotRecoveryTarget", + "description": "Specifies the web app that snapshot contents will be written to." + }, + "overwrite": { + "description": "If true the recovery operation can overwrite source app; otherwise, false.", + "type": "boolean" + }, + "recoverConfiguration": { + "description": "If true, site configuration, in addition to content, will be reverted.", + "type": "boolean" + }, + "ignoreConflictingHostNames": { + "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\nThis setting is only necessary when RecoverConfiguration is enabled.", + "type": "boolean" + } + }, + "x-ms-client-flatten": true + } + } + }, + "SnapshotRecoveryTarget": { + "description": "Specifies the web app that snapshot contents will be written to.", + "type": "object", + "properties": { + "location": { + "description": "Geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS", + "type": "string" + }, + "id": { + "description": "ARM resource ID of the target app. \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "type": "string" + } + } + }, + "StampCapacity": { + "description": "Stamp capacity information.", + "type": "object", + "properties": { + "name": { + "description": "Name of the stamp.", + "type": "string" + }, + "availableCapacity": { + "format": "int64", + "description": "Available capacity (# of machines, bytes of storage etc...).", + "type": "integer" + }, + "totalCapacity": { + "format": "int64", + "description": "Total capacity (# of machines, bytes of storage etc...).", + "type": "integer" + }, + "unit": { + "description": "Name of the unit.", + "type": "string" + }, + "computeMode": { + "description": "Shared/dedicated workers.", + "enum": [ + "Shared", + "Dedicated", + "Dynamic" + ], + "type": "string", + "x-ms-enum": { + "name": "ComputeModeOptions", + "modelAsString": false + } + }, + "workerSize": { + "description": "Size of the machines.", + "enum": [ + "Small", + "Medium", + "Large", + "D1", + "D2", + "D3", + "Default" + ], + "type": "string", + "x-ms-enum": { + "name": "WorkerSizeOptions", + "modelAsString": false + } + }, + "workerSizeId": { + "format": "int32", + "description": "Size ID of machines: \n0 - Small\n1 - Medium\n2 - Large", + "type": "integer" + }, + "excludeFromCapacityAllocation": { + "description": "If true, it includes basic apps.\nBasic apps are not used for capacity allocation.", + "type": "boolean" + }, + "isApplicableForAllComputeModes": { + "description": "true if capacity is applicable for all apps; otherwise, false.", + "type": "boolean" + }, + "siteMode": { + "description": "Shared or Dedicated.", + "type": "string" + } + } + }, + "StatusCodesBasedTrigger": { + "description": "Trigger based on status code.", + "type": "object", + "properties": { + "status": { + "format": "int32", + "description": "HTTP status code.", + "type": "integer" + }, + "subStatus": { + "format": "int32", + "description": "SubStatus.", + "type": "integer" + }, + "win32Status": { + "format": "int32", + "description": "Win32 error code.", + "type": "integer" + }, + "count": { + "format": "int32", + "description": "Count.", + "type": "integer" + }, + "timeInterval": { + "description": "Time interval.", + "type": "string" + } + } + }, + "User": { + "description": "User crendentials used for publishing activity.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "User resource specific properties", + "required": [ + "publishingUserName" + ], + "properties": { + "name": { + "description": "Username", + "type": "string", + "x-ms-client-name": "UserName" + }, + "publishingUserName": { + "description": "Username used for publishing.", + "type": "string" + }, + "publishingPassword": { + "format": "password", + "description": "Password used for publishing.", + "type": "string" + }, + "publishingPasswordHash": { + "format": "password", + "description": "Password hash used for publishing.", + "type": "string" + }, + "publishingPasswordHashSalt": { + "format": "password", + "description": "Password hash salt used for publishing.", + "type": "string" + } + }, + "x-ms-client-flatten": true + } + } + }, + "VirtualApplication": { + "description": "Virtual application in an app.", + "type": "object", + "properties": { + "virtualPath": { + "description": "Virtual path.", + "type": "string" + }, + "physicalPath": { + "description": "Physical path.", + "type": "string" + }, + "preloadEnabled": { + "description": "true if preloading is enabled; otherwise, false.", + "type": "boolean" + }, + "virtualDirectories": { + "description": "Virtual directories for virtual application.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualDirectory" + } + } + } + }, + "VirtualDirectory": { + "description": "Directory for virtual application.", + "type": "object", + "properties": { + "virtualPath": { + "description": "Path to virtual application.", + "type": "string" + }, + "physicalPath": { + "description": "Physical path.", + "type": "string" + } + } + }, + "VirtualIPMapping": { + "description": "Virtual IP mapping.", + "type": "object", + "properties": { + "virtualIP": { + "description": "Virtual IP address.", + "type": "string" + }, + "internalHttpPort": { + "format": "int32", + "description": "Internal HTTP port.", + "type": "integer" + }, + "internalHttpsPort": { + "format": "int32", + "description": "Internal HTTPS port.", + "type": "integer" + }, + "inUse": { + "description": "Is virtual IP mapping in use.", + "type": "boolean" + } + } + }, + "VirtualNetworkProfile": { + "description": "Specification for using a Virtual Network.", + "type": "object", + "properties": { + "id": { + "description": "Resource id of the Virtual Network.", + "type": "string" + }, + "name": { + "description": "Name of the Virtual Network (read-only).", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Resource type of the Virtual Network (read-only).", + "type": "string", + "readOnly": true + }, + "subnet": { + "description": "Subnet within the Virtual Network.", + "type": "string" + } + } + }, + "VnetGateway": { + "description": "The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "VnetGateway resource specific properties", + "required": [ + "vpnPackageUri" + ], + "properties": { + "vnetName": { + "description": "The Virtual Network name.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "vpnPackageUri": { + "description": "The URI where the VPN package can be downloaded.", + "type": "string", + "x-ms-mutability": [ + "create", + "update" + ] + } + }, + "x-ms-client-flatten": true + } + } + }, + "VnetInfo": { + "description": "Virtual Network information contract.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "VnetInfo resource specific properties", + "properties": { + "vnetResourceId": { + "description": "The Virtual Network's resource ID.", + "type": "string" + }, + "certThumbprint": { + "description": "The client certificate thumbprint.", + "type": "string", + "readOnly": true + }, + "certBlob": { + "format": "byte", + "description": "A certificate file (.cer) blob containing the public key of the private key used to authenticate a \nPoint-To-Site VPN connection.", + "type": "string" + }, + "routes": { + "description": "The routes that this Virtual Network connection uses.", + "type": "array", + "items": { + "$ref": "#/definitions/VnetRoute" + }, + "readOnly": true + }, + "resyncRequired": { + "description": "true if a resync is required; otherwise, false.", + "type": "boolean", + "readOnly": true + }, + "dnsServers": { + "description": "DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses.", + "type": "string" + } + }, + "x-ms-client-flatten": true + } + } + }, + "VnetRoute": { + "description": "Virtual Network route contract used to pass routing information for a Virtual Network.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "VnetRoute resource specific properties", + "properties": { + "name": { + "description": "The name of this route. This is only returned by the server and does not need to be set by the client.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-ms-client-name": "vnetRouteName" + }, + "startAddress": { + "description": "The starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified.", + "type": "string" + }, + "endAddress": { + "description": "The ending address for this route. If the start address is specified in CIDR notation, this must be omitted.", + "type": "string" + }, + "routeType": { + "description": "The type of route this is:\nDEFAULT - By default, every app has routes to the local address ranges specified by RFC1918\nINHERITED - Routes inherited from the real Virtual Network routes\nSTATIC - Static route set on the app only\n\nThese values will be used for syncing an app's routes with those from a Virtual Network.", + "enum": [ + "DEFAULT", + "INHERITED", + "STATIC" + ], + "type": "string", + "x-ms-enum": { + "name": "RouteType", + "modelAsString": true + } + } + }, + "x-ms-client-flatten": true + } + } + }, + "WebAppCollection": { + "description": "Collection of App Service apps.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/Site" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "WorkerPool": { + "description": "Worker pool of an App Service Environment.", + "type": "object", + "properties": { + "workerSizeId": { + "format": "int32", + "description": "Worker size ID for referencing this worker pool.", + "type": "integer" + }, + "computeMode": { + "description": "Shared or dedicated app hosting.", + "enum": [ + "Shared", + "Dedicated", + "Dynamic" + ], + "type": "string", + "x-ms-enum": { + "name": "ComputeModeOptions", + "modelAsString": false + } + }, + "workerSize": { + "description": "VM size of the worker pool instances.", + "type": "string" + }, + "workerCount": { + "format": "int32", + "description": "Number of instances in the worker pool.", + "type": "integer" + }, + "instanceNames": { + "description": "Names of all instances in the worker pool (read only).", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + } + } + } + } +} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/DeletedWebApps.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/DeletedWebApps.json index 48906a350390..d6c94d120e4f 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/DeletedWebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/DeletedWebApps.json @@ -8,6 +8,12 @@ "schemes": [ "https" ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], "paths": { "/subscriptions/{subscriptionId}/providers/Microsoft.Web/deletedSites": { "get": { @@ -17,10 +23,6 @@ "summary": "Get all deleted apps for a subscription.", "description": "Get all deleted apps for a subscription.", "operationId": "DeletedWebApps_List", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/subscriptionIdParameter" @@ -48,7 +50,7 @@ "description": "A deleted app.", "type": "object", "properties": { - "id": { + "deletedSiteId": { "format": "int32", "description": "Numeric id for the deleted site", "type": "integer" @@ -68,10 +70,15 @@ "type": "string", "readOnly": true }, - "name": { + "deletedSiteName": { "description": "Name of the deleted site", "type": "string", "readOnly": true + }, + "slot": { + "description": "Slot of the deleted site", + "type": "string", + "readOnly": true } } }, diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Provider.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Provider.json index 9fc5575c1837..54119f8a921c 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Provider.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Provider.json @@ -8,6 +8,12 @@ "schemes": [ "https" ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], "paths": { "/providers/Microsoft.Web/availableStacks": { "get": { @@ -17,12 +23,6 @@ "summary": "Get available application frameworks and their versions", "description": "Get available application frameworks and their versions", "operationId": "Provider_GetAvailableStacks", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/apiVersionParameter" @@ -43,11 +43,9 @@ "tags": [ "Provider" ], + "summary": "Gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric definitions", + "description": "Gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric definitions", "operationId": "Provider_ListOperations", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/apiVersionParameter" @@ -74,12 +72,6 @@ "summary": "Get available application frameworks and their versions", "description": "Get available application frameworks and their versions", "operationId": "Provider_GetAvailableStacksOnPrem", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/subscriptionIdParameter" @@ -121,6 +113,7 @@ } }, "CsmOperationDescription": { + "description": "Description of an operation available for Microsoft.Web resource provider.", "type": "object", "properties": { "name": { @@ -138,6 +131,7 @@ } }, "CsmOperationDescriptionProperties": { + "description": "Properties available for a Microsoft.Web resource provider operation.", "type": "object", "properties": { "serviceSpecification": { @@ -146,6 +140,7 @@ } }, "CsmOperationDisplay": { + "description": "Meta data about operation used for display in portal.", "type": "object", "properties": { "provider": { @@ -163,6 +158,7 @@ } }, "Dimension": { + "description": "Dimension of a resource metric. For e.g. instance specific HTTP requests for a web app, \nwhere instance name is dimension of the metric HTTP request", "type": "object", "properties": { "name": { @@ -180,6 +176,7 @@ } }, "MetricAvailability": { + "description": "Retention policy of a resource metric.", "type": "object", "properties": { "timeGrain": { @@ -191,6 +188,7 @@ } }, "MetricSpecification": { + "description": "Definition of a single resource metric.", "type": "object", "properties": { "name": { @@ -247,6 +245,7 @@ } }, "ServiceSpecification": { + "description": "Resource metrics service provided by Microsoft.Insights resource provider.", "type": "object", "properties": { "metricSpecifications": { diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Recommendations.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Recommendations.json index 9f3724b6934a..cb7c07e35c9b 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Recommendations.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Recommendations.json @@ -8,6 +8,12 @@ "schemes": [ "https" ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], "paths": { "/subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations": { "get": { @@ -17,12 +23,6 @@ "summary": "List all recommendations for a subscription.", "description": "List all recommendations for a subscription.", "operationId": "Recommendations_List", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "name": "featured", @@ -34,8 +34,8 @@ "name": "$filter", "in": "query", "description": "Filter is specified by using OData syntax. Example: $filter=channels eq 'Api' or channel eq 'Notification' and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[PT1H|PT1M|P1D]", - "x-ms-skip-url-encoding": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -88,12 +88,6 @@ "summary": "Get past recommendations for an app, optionally specified by the time range.", "description": "Get past recommendations for an app, optionally specified by the time range.", "operationId": "Recommendations_ListHistoryForWebApp", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -109,8 +103,8 @@ "name": "$filter", "in": "query", "description": "Filter is specified by using OData syntax. Example: $filter=channels eq 'Api' or channel eq 'Notification' and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[PT1H|PT1M|P1D]", - "x-ms-skip-url-encoding": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -140,12 +134,6 @@ "summary": "Get all recommendations for an app.", "description": "Get all recommendations for an app.", "operationId": "Recommendations_ListRecommendedRulesForWebApp", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -167,8 +155,8 @@ "name": "$filter", "in": "query", "description": "Return only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channels eq 'Api' or channel eq 'Notification'", - "x-ms-skip-url-encoding": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -264,12 +252,6 @@ "summary": "Get a recommendation rule for an app.", "description": "Get a recommendation rule for an app.", "operationId": "Recommendations_GetRuleDetailsByWebApp", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -549,11 +531,11 @@ "in": "path", "description": "Name of the resource group to which the resource belongs.", "required": true, - "x-ms-parameter-location": "method", "type": "string", "maxLength": 90, "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$" + "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", + "x-ms-parameter-location": "method" }, "apiVersionParameter": { "name": "api-version", diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json index cf7d01bcfaf0..9b3e5cf9ce55 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json @@ -8,18 +8,18 @@ "schemes": [ "https" ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], "paths": { "/providers/Microsoft.Web/publishingUsers/web": { "get": { "summary": "Gets publishing user", "description": "Gets publishing user", "operationId": "GetPublishingUser", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/apiVersionParameter" @@ -29,7 +29,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/User" + "$ref": "./CommonDefinitions.json#/definitions/User" } } } @@ -38,17 +38,6 @@ "summary": "Updates publishing user", "description": "Updates publishing user", "operationId": "UpdatePublishingUser", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "name": "userDetails", @@ -56,7 +45,7 @@ "description": "Details of publishing user", "required": true, "schema": { - "$ref": "#/definitions/User" + "$ref": "./CommonDefinitions.json#/definitions/User" } }, { @@ -67,7 +56,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/User" + "$ref": "./CommonDefinitions.json#/definitions/User" } } } @@ -78,10 +67,6 @@ "summary": "Gets the source controls available for Azure websites.", "description": "Gets the source controls available for Azure websites.", "operationId": "ListSourceControls", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/apiVersionParameter" @@ -105,12 +90,6 @@ "summary": "Gets source control token", "description": "Gets source control token", "operationId": "GetSourceControl", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "name": "sourceControlType", @@ -136,17 +115,6 @@ "summary": "Updates source control token", "description": "Updates source control token", "operationId": "UpdateSourceControl", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "name": "sourceControlType", @@ -183,19 +151,6 @@ "summary": "Check if a resource name is available.", "description": "Check if a resource name is available.", "operationId": "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", @@ -203,7 +158,7 @@ "description": "Name availability request.", "required": true, "schema": { - "$ref": "#/definitions/ResourceNameAvailabilityRequest" + "$ref": "./CommonDefinitions.json#/definitions/ResourceNameAvailabilityRequest" }, "x-ms-client-flatten": true }, @@ -218,7 +173,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ResourceNameAvailability" + "$ref": "./CommonDefinitions.json#/definitions/ResourceNameAvailability" } } } @@ -229,12 +184,6 @@ "summary": "Gets list of available geo regions plus ministamps", "description": "Gets list of available geo regions plus ministamps", "operationId": "GetSubscriptionDeploymentLocations", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/subscriptionIdParameter" @@ -258,19 +207,11 @@ "summary": "Get a list of available geographical regions.", "description": "Get a list of available geographical regions.", "operationId": "ListGeoRegions", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "name": "sku", "in": "query", "description": "Name of SKU used to filter the regions.", - "x-ms-enum": { - "name": "SkuName", - "modelAsString": true - }, "type": "string", "enum": [ "Free", @@ -281,7 +222,11 @@ "PremiumV2", "Dynamic", "Isolated" - ] + ], + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true + } }, { "name": "linuxWorkersEnabled", @@ -314,10 +259,6 @@ "summary": "List all premier add-on offers.", "description": "List all premier add-on offers.", "operationId": "ListPremierAddOnOffers", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/subscriptionIdParameter" @@ -344,12 +285,6 @@ "summary": "List all SKUs.", "description": "List all SKUs.", "operationId": "ListSkus", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/subscriptionIdParameter" @@ -370,18 +305,9 @@ }, "/subscriptions/{subscriptionId}/providers/Microsoft.Web/verifyHostingEnvironmentVnet": { "post": { - "summary": "Verifies if this VNET is compatible with an App Service Environment.", + "summary": "Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules.", "description": "Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules.", "operationId": "VerifyHostingEnvironmentVnet", - "x-ms-examples": { - "VerifyHostingEnvironmentVnet": { "$ref": "./examples/VerifyHostingEnvironmentVnet.json" } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], "parameters": [ { "name": "parameters", @@ -406,6 +332,11 @@ "$ref": "#/definitions/VnetValidationFailureDetails" } } + }, + "x-ms-examples": { + "VerifyHostingEnvironmentVnet": { + "$ref": "./examples/VerifyHostingEnvironmentVnet.json" + } } } }, @@ -414,13 +345,6 @@ "summary": "Move resources between resource groups.", "description": "Move resources between resource groups.", "operationId": "Move", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -453,19 +377,6 @@ "summary": "Validate if a resource can be created.", "description": "Validate if a resource can be created.", "operationId": "Validate", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -501,13 +412,6 @@ "summary": "Validate whether a resource can be moved.", "description": "Validate whether a resource can be moved.", "operationId": "ValidateMove", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -537,251 +441,6 @@ } }, "definitions": { - "AppServiceEnvironment": { - "description": "Description of an App Service Environment.", - "required": [ - "name", - "location", - "virtualNetwork", - "workerPools" - ], - "type": "object", - "properties": { - "name": { - "description": "Name of the App Service Environment.", - "type": "string" - }, - "location": { - "description": "Location of the App Service Environment, e.g. \"West US\".", - "type": "string" - }, - "provisioningState": { - "description": "Provisioning state of the App Service Environment.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "InProgress", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": false - } - }, - "status": { - "description": "Current status of the App Service Environment.", - "enum": [ - "Preparing", - "Ready", - "Scaling", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "HostingEnvironmentStatus", - "modelAsString": false - } - }, - "vnetName": { - "description": "Name of the Virtual Network for the App Service Environment.", - "type": "string" - }, - "vnetResourceGroupName": { - "description": "Resource group of the Virtual Network.", - "type": "string" - }, - "vnetSubnetName": { - "description": "Subnet of the Virtual Network.", - "type": "string" - }, - "virtualNetwork": { - "$ref": "#/definitions/VirtualNetworkProfile", - "description": "Description of the Virtual Network." - }, - "internalLoadBalancingMode": { - "description": "Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment.", - "enum": [ - "None", - "Web", - "Publishing" - ], - "type": "string", - "x-ms-enum": { - "name": "InternalLoadBalancingMode", - "modelAsString": false - } - }, - "multiSize": { - "description": "Front-end VM size, e.g. \"Medium\", \"Large\".", - "type": "string" - }, - "multiRoleCount": { - "format": "int32", - "description": "Number of front-end instances.", - "type": "integer" - }, - "workerPools": { - "description": "Description of worker pools with worker size IDs, VM sizes, and number of workers in each pool.", - "type": "array", - "items": { - "$ref": "#/definitions/WorkerPool" - } - }, - "ipsslAddressCount": { - "format": "int32", - "description": "Number of IP SSL addresses reserved for the App Service Environment.", - "type": "integer" - }, - "databaseEdition": { - "description": "Edition of the metadata database for the App Service Environment, e.g. \"Standard\".", - "type": "string", - "readOnly": true - }, - "databaseServiceObjective": { - "description": "Service objective of the metadata database for the App Service Environment, e.g. \"S0\".", - "type": "string", - "readOnly": true - }, - "upgradeDomains": { - "format": "int32", - "description": "Number of upgrade domains of the App Service Environment.", - "type": "integer", - "readOnly": true - }, - "subscriptionId": { - "description": "Subscription of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "dnsSuffix": { - "description": "DNS suffix of the App Service Environment.", - "type": "string" - }, - "lastAction": { - "description": "Last deployment action on the App Service Environment.", - "type": "string", - "readOnly": true - }, - "lastActionResult": { - "description": "Result of the last deployment action on the App Service Environment.", - "type": "string", - "readOnly": true - }, - "allowedMultiSizes": { - "description": "List of comma separated strings describing which VM sizes are allowed for front-ends.", - "type": "string", - "readOnly": true - }, - "allowedWorkerSizes": { - "description": "List of comma separated strings describing which VM sizes are allowed for workers.", - "type": "string", - "readOnly": true - }, - "maximumNumberOfMachines": { - "format": "int32", - "description": "Maximum number of VMs in the App Service Environment.", - "type": "integer", - "readOnly": true - }, - "vipMappings": { - "description": "Description of IP SSL mapping for the App Service Environment.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualIPMapping" - }, - "readOnly": true - }, - "environmentCapacities": { - "description": "Current total, used, and available worker capacities.", - "type": "array", - "items": { - "$ref": "#/definitions/StampCapacity" - }, - "readOnly": true - }, - "networkAccessControlList": { - "description": "Access control list for controlling traffic to the App Service Environment.", - "type": "array", - "items": { - "$ref": "#/definitions/NetworkAccessControlEntry" - } - }, - "environmentIsHealthy": { - "description": "True/false indicating whether the App Service Environment is healthy.", - "type": "boolean", - "readOnly": true - }, - "environmentStatus": { - "description": "Detailed message about with results of the last check of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "resourceGroup": { - "description": "Resource group of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "frontEndScaleFactor": { - "format": "int32", - "description": "Scale factor for front-ends.", - "type": "integer" - }, - "defaultFrontEndScaleFactor": { - "format": "int32", - "description": "Default Scale Factor for FrontEnds.", - "type": "integer", - "readOnly": true - }, - "apiManagementAccountId": { - "description": "API Management Account associated with the App Service Environment.", - "type": "string" - }, - "suspended": { - "description": "true if the App Service Environment is suspended; otherwise, false. The environment can be suspended, e.g. when the management endpoint is no longer available\n (most likely because NSG blocked the incoming traffic).", - "type": "boolean" - }, - "dynamicCacheEnabled": { - "description": "True/false indicating whether the App Service Environment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available\n(most likely because NSG blocked the incoming traffic).", - "type": "boolean" - }, - "clusterSettings": { - "description": "Custom settings for changing the behavior of the App Service Environment.", - "type": "array", - "items": { - "$ref": "#/definitions/NameValuePair" - } - }, - "userWhitelistedIpRanges": { - "description": "User added ip ranges to whitelist on ASE db", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "Capability": { - "description": "Describes the capabilities/features allowed for a specific SKU.", - "type": "object", - "properties": { - "name": { - "description": "Name of the SKU capability.", - "type": "string" - }, - "value": { - "description": "Value of the SKU capability.", - "type": "string" - }, - "reason": { - "description": "Reason of the SKU capability.", - "type": "string" - } - } - }, "CsmMoveResourceEnvelope": { "description": "Object with a list of the resources that need to be moved and the resource group they should be moved to.", "type": "object", @@ -815,7 +474,7 @@ "description": "Available App Service Environments with full descriptions of the environments.", "type": "array", "items": { - "$ref": "#/definitions/AppServiceEnvironment" + "$ref": "./CommonDefinitions.json#/definitions/AppServiceEnvironment" } }, "hostingEnvironmentDeploymentInfos": { @@ -832,7 +491,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -891,8 +550,16 @@ "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": { - "$ref": "#/definitions/SkuCapacity", + "$ref": "./CommonDefinitions.json#/definitions/SkuCapacity", "description": "Min, max, and default scale values of the SKU." }, "locations": { @@ -906,7 +573,7 @@ "description": "Capabilities of the SKU, e.g., is traffic manager enabled?", "type": "array", "items": { - "$ref": "#/definitions/Capability" + "$ref": "./CommonDefinitions.json#/definitions/Capability" } } } @@ -925,57 +592,12 @@ } } }, - "NameValuePair": { - "description": "Name value pair.", - "type": "object", - "properties": { - "name": { - "description": "Pair name.", - "type": "string" - }, - "value": { - "description": "Pair value.", - "type": "string" - } - } - }, - "NetworkAccessControlEntry": { - "description": "Network access control entry.", - "type": "object", - "properties": { - "action": { - "description": "Action object.", - "enum": [ - "Permit", - "Deny" - ], - "type": "string", - "x-ms-enum": { - "name": "AccessControlEntryAction", - "modelAsString": false - } - }, - "description": { - "description": "Description.", - "type": "string" - }, - "order": { - "format": "int32", - "description": "Order of precedence.", - "type": "integer" - }, - "remoteSubnet": { - "description": "Remote subnet.", - "type": "string" - } - } - }, "PremierAddOnOffer": { "description": "Premier add-on offer.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -1064,31 +686,6 @@ } } }, - "ProxyOnlyResource": { - "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - } - }, - "x-ms-azure-resource": true - }, "ResourceNameAvailability": { "description": "Information regarding availbility of a resource name.", "type": "object", @@ -1146,31 +743,6 @@ } } }, - "SkuCapacity": { - "description": "Description of the App Service plan scale options.", - "type": "object", - "properties": { - "minimum": { - "format": "int32", - "description": "Minimum number of workers for this App Service plan SKU.", - "type": "integer" - }, - "maximum": { - "format": "int32", - "description": "Maximum number of workers for this App Service plan SKU.", - "type": "integer" - }, - "default": { - "format": "int32", - "description": "Default number of workers for this App Service plan SKU.", - "type": "integer" - }, - "scaleType": { - "description": "Available scale configurations for an App Service plan.", - "type": "string" - } - } - }, "SkuInfos": { "description": "Collection of SKU information.", "type": "object", @@ -1193,7 +765,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -1246,121 +818,6 @@ } } }, - "StampCapacity": { - "description": "Stamp capacity information.", - "type": "object", - "properties": { - "name": { - "description": "Name of the stamp.", - "type": "string" - }, - "availableCapacity": { - "format": "int64", - "description": "Available capacity (# of machines, bytes of storage etc...).", - "type": "integer" - }, - "totalCapacity": { - "format": "int64", - "description": "Total capacity (# of machines, bytes of storage etc...).", - "type": "integer" - }, - "unit": { - "description": "Name of the unit.", - "type": "string" - }, - "computeMode": { - "description": "Shared/dedicated workers.", - "enum": [ - "Shared", - "Dedicated", - "Dynamic" - ], - "type": "string", - "x-ms-enum": { - "name": "ComputeModeOptions", - "modelAsString": false - } - }, - "workerSize": { - "description": "Size of the machines.", - "enum": [ - "Default", - "Small", - "Medium", - "Large", - "D1", - "D2", - "D3" - ], - "type": "string", - "x-ms-enum": { - "name": "WorkerSizeOptions", - "modelAsString": false - } - }, - "workerSizeId": { - "format": "int32", - "description": "Size ID of machines: \n0 - Small\n1 - Medium\n2 - Large", - "type": "integer" - }, - "excludeFromCapacityAllocation": { - "description": "If true, it includes basic apps.\nBasic apps are not used for capacity allocation.", - "type": "boolean" - }, - "isApplicableForAllComputeModes": { - "description": "true if capacity is applicable for all apps; otherwise, false.", - "type": "boolean" - }, - "siteMode": { - "description": "Shared or Dedicated.", - "type": "string" - } - } - }, - "User": { - "description": "User crendentials used for publishing activity.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "User resource specific properties", - "required": [ - "publishingUserName" - ], - "properties": { - "name": { - "description": "Username", - "type": "string", - "x-ms-client-name": "UserName" - }, - "publishingUserName": { - "description": "Username used for publishing.", - "type": "string" - }, - "publishingPassword": { - "format": "password", - "description": "Password used for publishing.", - "type": "string" - }, - "publishingPasswordHash": { - "format": "password", - "description": "Password hash used for publishing.", - "type": "string" - }, - "publishingPasswordHashSalt": { - "format": "password", - "description": "Password hash salt used for publishing.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, "ValidateProperties": { "description": "App properties used for validation.", "type": "object", @@ -1377,6 +834,10 @@ "description": "true if App Service plan is for Linux workers; otherwise, false.", "type": "boolean" }, + "isSpot": { + "description": "true if App Service plan is for Spot instances; otherwise, false.", + "type": "boolean" + }, "capacity": { "format": "int32", "description": "Target capacity of the App Service plan (number of VM's).", @@ -1454,60 +915,12 @@ } } }, - "VirtualIPMapping": { - "description": "Virtual IP mapping.", - "type": "object", - "properties": { - "virtualIP": { - "description": "Virtual IP address.", - "type": "string" - }, - "internalHttpPort": { - "format": "int32", - "description": "Internal HTTP port.", - "type": "integer" - }, - "internalHttpsPort": { - "format": "int32", - "description": "Internal HTTPS port.", - "type": "integer" - }, - "inUse": { - "description": "Is virtual IP mapping in use.", - "type": "boolean" - } - } - }, - "VirtualNetworkProfile": { - "description": "Specification for using a Virtual Network.", - "type": "object", - "properties": { - "id": { - "description": "Resource id of the Virtual Network.", - "type": "string" - }, - "name": { - "description": "Name of the Virtual Network (read-only).", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Resource type of the Virtual Network (read-only).", - "type": "string", - "readOnly": true - }, - "subnet": { - "description": "Subnet within the Virtual Network.", - "type": "string" - } - } - }, "VnetParameters": { "description": "The required set of inputs to validate a VNET", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -1536,7 +949,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -1564,7 +977,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -1583,47 +996,6 @@ "x-ms-client-flatten": true } } - }, - "WorkerPool": { - "description": "Worker pool of an App Service Environment.", - "type": "object", - "properties": { - "workerSizeId": { - "format": "int32", - "description": "Worker size ID for referencing this worker pool.", - "type": "integer" - }, - "computeMode": { - "description": "Shared or dedicated app hosting.", - "enum": [ - "Shared", - "Dedicated", - "Dynamic" - ], - "type": "string", - "x-ms-enum": { - "name": "ComputeModeOptions", - "modelAsString": false - } - }, - "workerSize": { - "description": "VM size of the worker pool instances.", - "type": "string" - }, - "workerCount": { - "format": "int32", - "description": "Number of instances in the worker pool.", - "type": "integer" - }, - "instanceNames": { - "description": "Names of all instances in the worker pool (read only).", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - } - } } }, "parameters": { @@ -1639,11 +1011,11 @@ "in": "path", "description": "Name of the resource group to which the resource belongs.", "required": true, - "x-ms-parameter-location": "method", "type": "string", "maxLength": 90, "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$" + "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", + "x-ms-parameter-location": "method" }, "apiVersionParameter": { "name": "api-version", diff --git a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json index 8d5aaf49f4ae..2c414f42f6a6 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json @@ -8,6 +8,12 @@ "schemes": [ "https" ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], "paths": { "/subscriptions/{subscriptionId}/providers/Microsoft.Web/sites": { "get": { @@ -17,10 +23,6 @@ "summary": "Get all apps for a subscription.", "description": "Get all apps for a subscription.", "operationId": "WebApps_List", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/subscriptionIdParameter" @@ -33,7 +35,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/WebAppCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WebAppCollection" } } }, @@ -50,10 +52,6 @@ "summary": "Gets all web, mobile, and API apps in the specified resource group.", "description": "Gets all web, mobile, and API apps in the specified resource group.", "operationId": "WebApps_ListByResourceGroup", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -75,7 +73,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/WebAppCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WebAppCollection" } } }, @@ -92,12 +90,6 @@ "summary": "Gets the details of a web, mobile, or API app.", "description": "Gets the details of a web, mobile, or API app.", "operationId": "WebApps_Get", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -118,10 +110,13 @@ ], "responses": { "200": { - "description": "OK", + "description": "OK.", "schema": { - "$ref": "#/definitions/Site" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" } + }, + "404": { + "description": "Not found." } } }, @@ -132,17 +127,6 @@ "summary": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", "description": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", "operationId": "WebApps_CreateOrUpdate", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -160,7 +144,7 @@ "description": "A JSON representation of the app properties. See example.", "required": true, "schema": { - "$ref": "#/definitions/Site" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" } }, { @@ -198,13 +182,13 @@ "200": { "description": "OK.", "schema": { - "$ref": "#/definitions/Site" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" } }, "202": { "description": "Asynchronous operation in progress.", "schema": { - "$ref": "#/definitions/Site" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" } } }, @@ -255,7 +239,10 @@ ], "responses": { "200": { - "description": "Succesfully deleted web app." + "description": "Successfully deleted web app." + }, + "204": { + "description": "Successfully deleted web app." }, "404": { "description": "Web app not found." @@ -269,17 +256,6 @@ "summary": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", "description": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", "operationId": "WebApps_Update", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -297,7 +273,7 @@ "description": "A JSON representation of the app properties. See example.", "required": true, "schema": { - "$ref": "#/definitions/Site" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SitePatchResource" } }, { @@ -335,13 +311,13 @@ "200": { "description": "OK.", "schema": { - "$ref": "#/definitions/Site" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" } }, "202": { "description": "Asynchronous operation in progress.", "schema": { - "$ref": "#/definitions/Site" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" } } } @@ -355,12 +331,6 @@ "summary": "Analyze a custom hostname.", "description": "Analyze a custom hostname.", "operationId": "WebApps_AnalyzeCustomHostname", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -403,13 +373,6 @@ "summary": "Applies the configuration settings from the target slot onto the current slot.", "description": "Applies the configuration settings from the target slot onto the current slot.", "operationId": "WebApps_ApplySlotConfigToProduction", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -452,17 +415,6 @@ "summary": "Creates a backup of an app.", "description": "Creates a backup of an app.", "operationId": "WebApps_Backup", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -508,10 +460,6 @@ "summary": "Gets existing backups of an app.", "description": "Gets existing backups of an app.", "operationId": "WebApps_ListBackups", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -551,17 +499,6 @@ "summary": "Discovers an existing app backup that can be restored from a blob in Azure storage.", "description": "Discovers an existing app backup that can be restored from a blob in Azure storage.", "operationId": "WebApps_DiscoverRestore", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -607,12 +544,6 @@ "summary": "Gets a backup of an app by its ID.", "description": "Gets a backup of an app by its ID.", "operationId": "WebApps_GetBackupStatus", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -697,17 +628,6 @@ "summary": "Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body.", "description": "Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body.", "operationId": "WebApps_ListBackupStatusSecrets", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -760,17 +680,6 @@ "summary": "Restores a specific backup to another app (or deployment slot, if specified).", "description": "Restores a specific backup to another app (or deployment slot, if specified).", "operationId": "WebApps_Restore", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -824,10 +733,6 @@ "summary": "List the configurations of an app", "description": "List the configurations of an app", "operationId": "WebApps_ListConfigurations", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -850,7 +755,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteConfigResourceCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigResourceCollection" } } }, @@ -867,17 +772,6 @@ "summary": "Replaces the application settings of an app.", "description": "Replaces the application settings of an app.", "operationId": "WebApps_UpdateApplicationSettings", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -923,12 +817,6 @@ "summary": "Gets the application settings of an app.", "description": "Gets the application settings of an app.", "operationId": "WebApps_ListApplicationSettings", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -965,17 +853,6 @@ "summary": "Updates the Authentication / Authorization settings associated with web app.", "description": "Updates the Authentication / Authorization settings associated with web app.", "operationId": "WebApps_UpdateAuthSettings", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -993,7 +870,7 @@ "description": "Auth settings associated with web app.", "required": true, "schema": { - "$ref": "#/definitions/SiteAuthSettings" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteAuthSettings" } }, { @@ -1007,7 +884,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteAuthSettings" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteAuthSettings" } } } @@ -1021,12 +898,6 @@ "summary": "Gets the Authentication/Authorization settings of an app.", "description": "Gets the Authentication/Authorization settings of an app.", "operationId": "WebApps_GetAuthSettings", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1049,7 +920,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteAuthSettings" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteAuthSettings" } } } @@ -1063,17 +934,6 @@ "summary": "Updates the backup configuration of an app.", "description": "Updates the backup configuration of an app.", "operationId": "WebApps_UpdateBackupConfiguration", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1150,12 +1010,6 @@ "summary": "Gets the backup configuration of an app.", "description": "Gets the backup configuration of an app.", "operationId": "WebApps_GetBackupConfiguration", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1192,17 +1046,6 @@ "summary": "Replaces the connection strings of an app.", "description": "Replaces the connection strings of an app.", "operationId": "WebApps_UpdateConnectionStrings", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1248,12 +1091,6 @@ "summary": "Gets the connection strings of an app.", "description": "Gets the connection strings of an app.", "operationId": "WebApps_ListConnectionStrings", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1290,12 +1127,6 @@ "summary": "Gets the logging configuration of an app.", "description": "Gets the logging configuration of an app.", "operationId": "WebApps_GetDiagnosticLogsConfiguration", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1318,7 +1149,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteLogsConfig" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteLogsConfig" } } } @@ -1330,17 +1161,6 @@ "summary": "Updates the logging configuration of an app.", "description": "Updates the logging configuration of an app.", "operationId": "WebApps_UpdateDiagnosticLogsConfig", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1358,7 +1178,7 @@ "description": "A SiteLogsConfig JSON object that contains the logging configuration to change in the \"properties\" property.", "required": true, "schema": { - "$ref": "#/definitions/SiteLogsConfig" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteLogsConfig" } }, { @@ -1372,7 +1192,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteLogsConfig" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteLogsConfig" } } } @@ -1386,17 +1206,6 @@ "summary": "Replaces the metadata of an app.", "description": "Replaces the metadata of an app.", "operationId": "WebApps_UpdateMetadata", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1442,12 +1251,6 @@ "summary": "Gets the metadata of an app.", "description": "Gets the metadata of an app.", "operationId": "WebApps_ListMetadata", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1484,12 +1287,6 @@ "summary": "Gets the Git/FTP publishing credentials of an app.", "description": "Gets the Git/FTP publishing credentials of an app.", "operationId": "WebApps_ListPublishingCredentials", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1512,7 +1309,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/User" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/User" } } }, @@ -1527,17 +1324,6 @@ "summary": "Updates the Push settings associated with web app.", "description": "Updates the Push settings associated with web app.", "operationId": "WebApps_UpdateSitePushSettings", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1555,7 +1341,7 @@ "description": "Push settings associated with web app.", "required": true, "schema": { - "$ref": "#/definitions/PushSettings" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/PushSettings" } }, { @@ -1569,7 +1355,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/PushSettings" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/PushSettings" } } } @@ -1583,12 +1369,6 @@ "summary": "Gets the Push settings associated with web app.", "description": "Gets the Push settings associated with web app.", "operationId": "WebApps_ListSitePushSettings", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1611,7 +1391,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/PushSettings" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/PushSettings" } } } @@ -1625,12 +1405,6 @@ "summary": "Gets the names of app settings and connection strings that stick to the slot (not swapped).", "description": "Gets the names of app settings and connection strings that stick to the slot (not swapped).", "operationId": "WebApps_ListSlotConfigurationNames", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1665,17 +1439,6 @@ "summary": "Updates the names of application settings and connection string that remain with the slot during swap operation.", "description": "Updates the names of application settings and connection string that remain with the slot during swap operation.", "operationId": "WebApps_UpdateSlotConfigurationNames", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1721,12 +1484,6 @@ "summary": "Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.", "description": "Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.", "operationId": "WebApps_GetConfiguration", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1749,7 +1506,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteConfigResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigResource" } } } @@ -1761,17 +1518,6 @@ "summary": "Updates the configuration of an app.", "description": "Updates the configuration of an app.", "operationId": "WebApps_CreateOrUpdateConfiguration", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1789,7 +1535,7 @@ "description": "JSON representation of a SiteConfig object. See example.", "required": true, "schema": { - "$ref": "#/definitions/SiteConfigResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigResource" } }, { @@ -1803,7 +1549,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteConfigResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigResource" } } } @@ -1815,17 +1561,6 @@ "summary": "Updates the configuration of an app.", "description": "Updates the configuration of an app.", "operationId": "WebApps_UpdateConfiguration", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1843,7 +1578,7 @@ "description": "JSON representation of a SiteConfig object. See example.", "required": true, "schema": { - "$ref": "#/definitions/SiteConfigResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigResource" } }, { @@ -1857,7 +1592,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteConfigResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigResource" } } } @@ -1871,12 +1606,6 @@ "summary": "Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.", "description": "Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.", "operationId": "WebApps_ListConfigurationSnapshotInfo", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1899,12 +1628,12 @@ "200": { "description": "OK", "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/SiteConfigurationSnapshotInfo" - } + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigurationSnapshotInfoCollection" } } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, @@ -1916,12 +1645,6 @@ "summary": "Gets a snapshot of the configuration of an app at a previous point in time.", "description": "Gets a snapshot of the configuration of an app at a previous point in time.", "operationId": "WebApps_GetConfigurationSnapshot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1951,7 +1674,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteConfigResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigResource" } } } @@ -1997,6 +1720,123 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/containerlogs": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Gets the last lines of docker logs for the given site", + "description": "Gets the last lines of docker logs for the given site", + "operationId": "WebApps_GetWebSiteContainerLogs", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "200": { + "description": "OK", + "schema": { + "type": "file" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/containerlogs/zip": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Gets the ZIP archived docker log files for the given site", + "description": "Gets the ZIP archived docker log files for the given site", + "operationId": "WebApps_GetContainerLogsZip", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "200": { + "description": "OK", + "schema": { + "type": "file" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/containerlogs/zip/download": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Gets the ZIP archived docker log files for the given site", + "description": "Gets the ZIP archived docker log files for the given site", + "operationId": "WebApps_GetContainerLogsZip", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "200": { + "description": "OK", + "schema": { + "type": "file" + } + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs": { "get": { "tags": [ @@ -2005,10 +1845,6 @@ "summary": "List continuous web jobs for an app, or a deployment slot.", "description": "List continuous web jobs for an app, or a deployment slot.", "operationId": "WebApps_ListContinuousWebJobs", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -2048,12 +1884,6 @@ "summary": "Gets a continuous web job by its ID for an app, or a deployment slot.", "description": "Gets a continuous web job by its ID for an app, or a deployment slot.", "operationId": "WebApps_GetContinuousWebJob", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -2065,16 +1895,10 @@ "required": true, "type": "string" }, - { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", - "required": true, - "type": "string" - }, { "name": "webJobName", "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -2115,16 +1939,10 @@ "required": true, "type": "string" }, - { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", - "required": true, - "type": "string" - }, { "name": "webJobName", "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -2164,16 +1982,10 @@ "required": true, "type": "string" }, - { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", - "required": true, - "type": "string" - }, { "name": "webJobName", "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -2213,16 +2025,10 @@ "required": true, "type": "string" }, - { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", - "required": true, - "type": "string" - }, { "name": "webJobName", "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -2251,10 +2057,6 @@ "summary": "List deployments for an app, or a deployment slot.", "description": "List deployments for an app, or a deployment slot.", "operationId": "WebApps_ListDeployments", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -2294,12 +2096,6 @@ "summary": "Get a deployment by its ID for an app, or a deployment slot.", "description": "Get a deployment by its ID for an app, or a deployment slot.", "operationId": "WebApps_GetDeployment", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -2341,17 +2137,6 @@ "summary": "Create a deployment for an app, or a deployment slot.", "description": "Create a deployment for an app, or a deployment slot.", "operationId": "WebApps_CreateDeployment", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -2445,12 +2230,6 @@ "summary": "List deployment log for specific deployment for an app, or a deployment slot.", "description": "List deployment log for specific deployment for an app, or a deployment slot.", "operationId": "WebApps_ListDeploymentLog", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -2494,10 +2273,6 @@ "summary": "Lists ownership identifiers for domain associated with web app.", "description": "Lists ownership identifiers for domain associated with web app.", "operationId": "WebApps_ListDomainOwnershipIdentifiers", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -2537,12 +2312,6 @@ "summary": "Get domain ownership identifier for web app.", "description": "Get domain ownership identifier for web app.", "operationId": "WebApps_GetDomainOwnershipIdentifier", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -2584,17 +2353,6 @@ "summary": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", "description": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", "operationId": "WebApps_CreateOrUpdateDomainOwnershipIdentifier", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -2686,17 +2444,6 @@ "summary": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", "description": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", "operationId": "WebApps_UpdateDomainOwnershipIdentifier", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -2749,12 +2496,6 @@ "summary": "Get the status of the last MSDeploy operation.", "description": "Get the status of the last MSDeploy operation.", "operationId": "WebApps_GetMSDeployStatus", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -2789,17 +2530,6 @@ "summary": "Invoke the MSDeploy web app extension.", "description": "Invoke the MSDeploy web app extension.", "operationId": "WebApps_CreateMSDeployOperation", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -2849,12 +2579,6 @@ "summary": "Get the MSDeploy Log for the last MSDeploy operation.", "description": "Get the MSDeploy Log for the last MSDeploy operation.", "operationId": "WebApps_GetMSDeployLog", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -2894,10 +2618,6 @@ "summary": "List the functions for a web site, or a deployment slot.", "description": "List the functions for a web site, or a deployment slot.", "operationId": "WebApps_ListFunctions", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -2940,12 +2660,6 @@ "summary": "Fetch a short lived token that can be exchanged for a master key.", "description": "Fetch a short lived token that can be exchanged for a master key.", "operationId": "WebApps_GetFunctionsAdminToken", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -2982,12 +2696,6 @@ "summary": "Get function information by its ID for web site, or a deployment slot.", "description": "Get function information by its ID for web site, or a deployment slot.", "operationId": "WebApps_GetFunction", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3032,17 +2740,6 @@ "summary": "Create function for web site, or a deployment slot.", "description": "Create function for web site, or a deployment slot.", "operationId": "WebApps_CreateFunction", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3137,12 +2834,6 @@ "summary": "Get function secrets for a function in a web site, or a deployment slot.", "description": "Get function secrets for a function in a web site, or a deployment slot.", "operationId": "WebApps_ListFunctionSecrets", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3186,10 +2877,6 @@ "summary": "Get hostname bindings for an app or a deployment slot.", "description": "Get hostname bindings for an app or a deployment slot.", "operationId": "WebApps_ListHostNameBindings", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3229,12 +2916,6 @@ "summary": "Get the named hostname binding for an app (or deployment slot, if specified).", "description": "Get the named hostname binding for an app (or deployment slot, if specified).", "operationId": "WebApps_GetHostNameBinding", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3276,17 +2957,6 @@ "summary": "Creates a hostname binding for an app.", "description": "Creates a hostname binding for an app.", "operationId": "WebApps_CreateOrUpdateHostNameBinding", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3380,12 +3050,6 @@ "summary": "Retrieves a specific Service Bus Hybrid Connection used by this Web App.", "description": "Retrieves a specific Service Bus Hybrid Connection used by this Web App.", "operationId": "WebApps_GetHybridConnection", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3422,7 +3086,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HybridConnection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" } } } @@ -3434,17 +3098,6 @@ "summary": "Creates a new Hybrid Connection using a Service Bus relay.", "description": "Creates a new Hybrid Connection using a Service Bus relay.", "operationId": "WebApps_CreateOrUpdateHybridConnection", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3476,7 +3129,7 @@ "description": "The details of the hybrid connection.", "required": true, "schema": { - "$ref": "#/definitions/HybridConnection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" } }, { @@ -3490,7 +3143,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HybridConnection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" } } } @@ -3550,17 +3203,6 @@ "summary": "Creates a new Hybrid Connection using a Service Bus relay.", "description": "Creates a new Hybrid Connection using a Service Bus relay.", "operationId": "WebApps_UpdateHybridConnection", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3592,7 +3234,7 @@ "description": "The details of the hybrid connection.", "required": true, "schema": { - "$ref": "#/definitions/HybridConnection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" } }, { @@ -3606,7 +3248,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HybridConnection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" } } } @@ -3620,12 +3262,6 @@ "summary": "Gets the send key name and value for a Hybrid Connection.", "description": "Gets the send key name and value for a Hybrid Connection.", "operationId": "WebApps_ListHybridConnectionKeys", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3662,7 +3298,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HybridConnectionKey" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnectionKey" } } } @@ -3676,12 +3312,6 @@ "summary": "Retrieves all Service Bus Hybrid Connections used by this Web App.", "description": "Retrieves all Service Bus Hybrid Connections used by this Web App.", "operationId": "WebApps_ListHybridConnections", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3704,7 +3334,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HybridConnection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" } } } @@ -3718,12 +3348,6 @@ "summary": "Gets hybrid connections configured for an app (or deployment slot, if specified).", "description": "Gets hybrid connections configured for an app (or deployment slot, if specified).", "operationId": "WebApps_ListRelayServiceConnections", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3760,12 +3384,6 @@ "summary": "Gets a hybrid connection configuration by its name.", "description": "Gets a hybrid connection configuration by its name.", "operationId": "WebApps_GetRelayServiceConnection", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3807,17 +3425,6 @@ "summary": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", "description": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", "operationId": "WebApps_CreateOrUpdateRelayServiceConnection", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3909,17 +3516,6 @@ "summary": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", "description": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", "operationId": "WebApps_UpdateRelayServiceConnection", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3972,10 +3568,6 @@ "summary": "Gets all scale-out instances of an app.", "description": "Gets all scale-out instances of an app.", "operationId": "WebApps_ListInstanceIdentifiers", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4015,12 +3607,6 @@ "summary": "Get the status of the last MSDeploy operation.", "description": "Get the status of the last MSDeploy operation.", "operationId": "WebApps_GetInstanceMsDeployStatus", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4062,17 +3648,6 @@ "summary": "Invoke the MSDeploy web app extension.", "description": "Invoke the MSDeploy web app extension.", "operationId": "WebApps_CreateInstanceMSDeployOperation", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4129,12 +3704,6 @@ "summary": "Get the MSDeploy Log for the last MSDeploy operation.", "description": "Get the MSDeploy Log for the last MSDeploy operation.", "operationId": "WebApps_GetInstanceMSDeployLog", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4181,10 +3750,6 @@ "summary": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", "description": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", "operationId": "WebApps_ListInstanceProcesses", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4234,12 +3799,6 @@ "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", "description": "Get process information by its ID for a specific scaled-out instance in a web site.", "operationId": "WebApps_GetInstanceProcess", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4394,10 +3953,6 @@ "summary": "List module information for a process by its ID for a specific scaled-out instance in a web site.", "description": "List module information for a process by its ID for a specific scaled-out instance in a web site.", "operationId": "WebApps_ListInstanceProcessModules", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4446,7 +4001,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/modules/{base_address}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/modules/{baseAddress}": { "get": { "tags": [ "WebApps" @@ -4454,12 +4009,6 @@ "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", "description": "Get process information by its ID for a specific scaled-out instance in a web site.", "operationId": "WebApps_GetInstanceProcessModule", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4480,7 +4029,7 @@ }, { "name": "baseAddress", - "in": "query", + "in": "path", "description": "Module base address.", "required": true, "type": "string" @@ -4492,12 +4041,6 @@ "required": true, "type": "string" }, - { - "name": "base_address", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -4513,7 +4056,7 @@ } }, "404": { - "description": "Process with the specified ID is not running, or a module with the specified base_address was not found." + "description": "Process with the specified ID is not running, or a module with the specified baseAddress was not found." } } } @@ -4526,10 +4069,6 @@ "summary": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", "description": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", "operationId": "WebApps_ListInstanceProcessThreads", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4586,12 +4125,6 @@ "summary": "Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.", "description": "Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.", "operationId": "WebApps_GetInstanceProcessThread", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4652,12 +4185,6 @@ "summary": "Shows whether an app can be cloned to another resource group or subscription.", "description": "Shows whether an app can be cloned to another resource group or subscription.", "operationId": "WebApps_IsCloneable", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4680,7 +4207,7 @@ "200": { "description": "OK.", "schema": { - "$ref": "#/definitions/SiteCloneability" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteCloneability" } } } @@ -4694,12 +4221,6 @@ "summary": "This is to allow calling via powershell and ARM template.", "description": "This is to allow calling via powershell and ARM template.", "operationId": "WebApps_ListSyncFunctionTriggers", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4736,10 +4257,6 @@ "summary": "Gets all metric definitions of an app (or deployment slot, if specified).", "description": "Gets all metric definitions of an app (or deployment slot, if specified).", "operationId": "WebApps_ListMetricDefinitions", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4762,7 +4279,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ResourceMetricDefinitionCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricDefinitionCollection" } } }, @@ -4779,10 +4296,6 @@ "summary": "Gets performance metrics of an app (or deployment slot, if specified).", "description": "Gets performance metrics of an app (or deployment slot, if specified).", "operationId": "WebApps_ListMetrics", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4804,8 +4317,8 @@ "name": "$filter", "in": "query", "description": "Return only metrics specified in the filter (using OData syntax). For 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]'.", - "x-ms-skip-url-encoding": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -4818,7 +4331,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ResourceMetricCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricCollection" } } }, @@ -4835,17 +4348,6 @@ "summary": "Restores a web app.", "description": "Restores a web app.", "operationId": "WebApps_MigrateStorage", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "name": "subscriptionName", @@ -4899,17 +4401,6 @@ "summary": "Migrates a local (in-app) MySql database to a remote MySql database.", "description": "Migrates a local (in-app) MySql database to a remote MySql database.", "operationId": "WebApps_MigrateMySql", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4941,7 +4432,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Operation" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Operation" } } }, @@ -4956,12 +4447,6 @@ "summary": "Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled", "description": "Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled", "operationId": "WebApps_GetMigrateMySqlStatus", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4998,12 +4483,6 @@ "summary": "Gets all network features used by the app (or deployment slot, if specified).", "description": "Gets all network features used by the app (or deployment slot, if specified).", "operationId": "WebApps_ListNetworkFeatures", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5050,12 +4529,6 @@ "summary": "Start capturing network packets for the site.", "description": "Start capturing network packets for the site.", "operationId": "WebApps_StartWebSiteNetworkTrace", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5112,12 +4585,6 @@ "summary": "Stop ongoing capturing network packets for the site.", "description": "Stop ongoing capturing network packets for the site.", "operationId": "WebApps_StopWebSiteNetworkTrace", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5173,8 +4640,8 @@ } ], "responses": { - "204": { - "description": "No Content" + "200": { + "description": "Successfully generate new password." } } } @@ -5187,10 +4654,6 @@ "summary": "Gets perfmon counters for web app.", "description": "Gets perfmon counters for web app.", "operationId": "WebApps_ListPerfMonCounters", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5206,8 +4669,8 @@ "name": "$filter", "in": "query", "description": "Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.", - "x-ms-skip-url-encoding": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -5237,12 +4700,6 @@ "summary": "Gets web app's event logs.", "description": "Gets web app's event logs.", "operationId": "WebApps_GetSitePhpErrorLogFlag", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5265,7 +4722,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SitePhpErrorLogFlag" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SitePhpErrorLogFlag" } } } @@ -5279,12 +4736,6 @@ "summary": "Gets the premier add-ons of an app.", "description": "Gets the premier add-ons of an app.", "operationId": "WebApps_ListPremierAddOns", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5321,12 +4772,6 @@ "summary": "Gets a named add-on of an app.", "description": "Gets a named add-on of an app.", "operationId": "WebApps_GetPremierAddOn", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5368,17 +4813,6 @@ "summary": "Updates a named add-on of an app.", "description": "Updates a named add-on of an app.", "operationId": "WebApps_AddPremierAddOn", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5469,10 +4903,6 @@ "summary": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", "description": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", "operationId": "WebApps_ListProcesses", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5515,12 +4945,6 @@ "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", "description": "Get process information by its ID for a specific scaled-out instance in a web site.", "operationId": "WebApps_GetProcess", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5654,10 +5078,6 @@ "summary": "List module information for a process by its ID for a specific scaled-out instance in a web site.", "description": "List module information for a process by its ID for a specific scaled-out instance in a web site.", "operationId": "WebApps_ListProcessModules", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5699,7 +5119,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/modules/{base_address}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/modules/{baseAddress}": { "get": { "tags": [ "WebApps" @@ -5707,12 +5127,6 @@ "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", "description": "Get process information by its ID for a specific scaled-out instance in a web site.", "operationId": "WebApps_GetProcessModule", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5733,14 +5147,8 @@ }, { "name": "baseAddress", - "in": "query", - "description": "Module base address.", - "required": true, - "type": "string" - }, - { - "name": "base_address", "in": "path", + "description": "Module base address.", "required": true, "type": "string" }, @@ -5759,7 +5167,7 @@ } }, "404": { - "description": "Process with the specified ID is not running, or a module with the specified base_address was not found." + "description": "Process with the specified ID is not running, or a module with the specified baseAddress was not found." } } } @@ -5772,10 +5180,6 @@ "summary": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", "description": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", "operationId": "WebApps_ListProcessThreads", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5825,12 +5229,6 @@ "summary": "Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.", "description": "Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.", "operationId": "WebApps_GetProcessThread", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5884,10 +5282,6 @@ "summary": "Get public certificates for an app or a deployment slot.", "description": "Get public certificates for an app or a deployment slot.", "operationId": "WebApps_ListPublicCertificates", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5927,12 +5321,6 @@ "summary": "Get the named public certificate for an app (or deployment slot, if specified).", "description": "Get the named public certificate for an app (or deployment slot, if specified).", "operationId": "WebApps_GetPublicCertificate", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5974,17 +5362,6 @@ "summary": "Creates a hostname binding for an app.", "description": "Creates a hostname binding for an app.", "operationId": "WebApps_CreateOrUpdatePublicCertificate", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -6078,18 +5455,8 @@ "summary": "Gets the publishing profile for an app (or deployment slot, if specified).", "description": "Gets the publishing profile for an app (or deployment slot, if specified).", "operationId": "WebApps_ListPublishingProfileXmlWithSecrets", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" + "application/xml" ], "parameters": [ { @@ -6136,11 +5503,6 @@ "summary": "Recovers a web app to a previous snapshot.", "description": "Recovers a web app to a previous snapshot.", "operationId": "WebApps_Recover", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -6158,7 +5520,7 @@ "description": "Snapshot data used for web app recovery. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API.", "required": true, "schema": { - "$ref": "#/definitions/SnapshotRecoveryRequest" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SnapshotRecoveryRequest" } }, { @@ -6262,10 +5624,6 @@ "summary": "Get list of siteextensions for a web site, or a deployment slot.", "description": "Get list of siteextensions for a web site, or a deployment slot.", "operationId": "WebApps_ListSiteExtensions", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -6288,7 +5646,7 @@ "200": { "description": "SiteExtension information returned.", "schema": { - "$ref": "#/definitions/SiteExtensionInfoCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteExtensionInfoCollection" } }, "404": { @@ -6300,7 +5658,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{extensionName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{siteExtensionId}": { "get": { "tags": [ "WebApps" @@ -6308,12 +5666,6 @@ "summary": "Get site extension information by its ID for a web site, or a deployment slot.", "description": "Get site extension information by its ID for a web site, or a deployment slot.", "operationId": "WebApps_GetSiteExtension", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -6327,14 +5679,8 @@ }, { "name": "siteExtensionId", - "in": "query", - "description": "Site extension name.", - "required": true, - "type": "string" - }, - { - "name": "extensionName", "in": "path", + "description": "Site extension name.", "required": true, "type": "string" }, @@ -6349,7 +5695,7 @@ "200": { "description": "SiteExtension information returned.", "schema": { - "$ref": "#/definitions/SiteExtensionInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteExtensionInfo" } }, "404": { @@ -6364,12 +5710,6 @@ "summary": "Install site extension on a web site, or a deployment slot.", "description": "Install site extension on a web site, or a deployment slot.", "operationId": "WebApps_InstallSiteExtension", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -6383,14 +5723,8 @@ }, { "name": "siteExtensionId", - "in": "query", - "description": "Site extension name.", - "required": true, - "type": "string" - }, - { - "name": "extensionName", "in": "path", + "description": "Site extension name.", "required": true, "type": "string" }, @@ -6405,13 +5739,13 @@ "201": { "description": "Site Extension created.", "schema": { - "$ref": "#/definitions/SiteExtensionInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteExtensionInfo" } }, "200": { "description": "Site Extension created.", "schema": { - "$ref": "#/definitions/SiteExtensionInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteExtensionInfo" } }, "429": { @@ -6440,14 +5774,8 @@ }, { "name": "siteExtensionId", - "in": "query", - "description": "Site extension name.", - "required": true, - "type": "string" - }, - { - "name": "extensionName", "in": "path", + "description": "Site extension name.", "required": true, "type": "string" }, @@ -6476,10 +5804,6 @@ "summary": "Gets an app's deployment slots.", "description": "Gets an app's deployment slots.", "operationId": "WebApps_ListSlots", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -6502,7 +5826,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/WebAppCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WebAppCollection" } } }, @@ -6519,12 +5843,6 @@ "summary": "Gets the details of a web, mobile, or API app.", "description": "Gets the details of a web, mobile, or API app.", "operationId": "WebApps_GetSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -6552,10 +5870,13 @@ ], "responses": { "200": { - "description": "OK", + "description": "OK.", "schema": { - "$ref": "#/definitions/Site" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" } + }, + "404": { + "description": "Not found." } } }, @@ -6566,17 +5887,6 @@ "summary": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", "description": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", "operationId": "WebApps_CreateOrUpdateSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -6594,7 +5904,7 @@ "description": "A JSON representation of the app properties. See example.", "required": true, "schema": { - "$ref": "#/definitions/Site" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" } }, { @@ -6639,13 +5949,13 @@ "200": { "description": "OK.", "schema": { - "$ref": "#/definitions/Site" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" } }, "202": { "description": "Asynchronous operation in progress.", "schema": { - "$ref": "#/definitions/Site" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" } } }, @@ -6703,7 +6013,10 @@ ], "responses": { "200": { - "description": "Succesfully deleted web app." + "description": "Successfully deleted web app." + }, + "204": { + "description": "Successfully deleted web app." }, "404": { "description": "Web app not found." @@ -6717,17 +6030,6 @@ "summary": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", "description": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", "operationId": "WebApps_UpdateSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -6745,7 +6047,7 @@ "description": "A JSON representation of the app properties. See example.", "required": true, "schema": { - "$ref": "#/definitions/Site" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SitePatchResource" } }, { @@ -6790,13 +6092,13 @@ "200": { "description": "OK.", "schema": { - "$ref": "#/definitions/Site" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" } }, "202": { "description": "Asynchronous operation in progress.", "schema": { - "$ref": "#/definitions/Site" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" } } } @@ -6810,12 +6112,6 @@ "summary": "Analyze a custom hostname.", "description": "Analyze a custom hostname.", "operationId": "WebApps_AnalyzeCustomHostnameSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -6865,13 +6161,6 @@ "summary": "Applies the configuration settings from the target slot onto the current slot.", "description": "Applies the configuration settings from the target slot onto the current slot.", "operationId": "WebApps_ApplySlotConfigurationSlot", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -6921,17 +6210,6 @@ "summary": "Creates a backup of an app.", "description": "Creates a backup of an app.", "operationId": "WebApps_BackupSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -6984,10 +6262,6 @@ "summary": "Gets existing backups of an app.", "description": "Gets existing backups of an app.", "operationId": "WebApps_ListBackupsSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7034,17 +6308,6 @@ "summary": "Discovers an existing app backup that can be restored from a blob in Azure storage.", "description": "Discovers an existing app backup that can be restored from a blob in Azure storage.", "operationId": "WebApps_DiscoverRestoreSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7097,12 +6360,6 @@ "summary": "Gets a backup of an app by its ID.", "description": "Gets a backup of an app by its ID.", "operationId": "WebApps_GetBackupStatusSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7201,17 +6458,6 @@ "summary": "Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body.", "description": "Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body.", "operationId": "WebApps_ListBackupStatusSecretsSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7271,17 +6517,6 @@ "summary": "Restores a specific backup to another app (or deployment slot, if specified).", "description": "Restores a specific backup to another app (or deployment slot, if specified).", "operationId": "WebApps_RestoreSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7342,10 +6577,6 @@ "summary": "List the configurations of an app", "description": "List the configurations of an app", "operationId": "WebApps_ListConfigurationsSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7375,7 +6606,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteConfigResourceCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigResourceCollection" } } }, @@ -7392,17 +6623,6 @@ "summary": "Replaces the application settings of an app.", "description": "Replaces the application settings of an app.", "operationId": "WebApps_UpdateApplicationSettingsSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7455,12 +6675,6 @@ "summary": "Gets the application settings of an app.", "description": "Gets the application settings of an app.", "operationId": "WebApps_ListApplicationSettingsSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7504,17 +6718,6 @@ "summary": "Updates the Authentication / Authorization settings associated with web app.", "description": "Updates the Authentication / Authorization settings associated with web app.", "operationId": "WebApps_UpdateAuthSettingsSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7532,7 +6735,7 @@ "description": "Auth settings associated with web app.", "required": true, "schema": { - "$ref": "#/definitions/SiteAuthSettings" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteAuthSettings" } }, { @@ -7553,7 +6756,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteAuthSettings" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteAuthSettings" } } } @@ -7567,12 +6770,6 @@ "summary": "Gets the Authentication/Authorization settings of an app.", "description": "Gets the Authentication/Authorization settings of an app.", "operationId": "WebApps_GetAuthSettingsSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7602,7 +6799,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteAuthSettings" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteAuthSettings" } } } @@ -7616,17 +6813,6 @@ "summary": "Updates the backup configuration of an app.", "description": "Updates the backup configuration of an app.", "operationId": "WebApps_UpdateBackupConfigurationSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7717,12 +6903,6 @@ "summary": "Gets the backup configuration of an app.", "description": "Gets the backup configuration of an app.", "operationId": "WebApps_GetBackupConfigurationSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7766,17 +6946,6 @@ "summary": "Replaces the connection strings of an app.", "description": "Replaces the connection strings of an app.", "operationId": "WebApps_UpdateConnectionStringsSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7829,12 +6998,6 @@ "summary": "Gets the connection strings of an app.", "description": "Gets the connection strings of an app.", "operationId": "WebApps_ListConnectionStringsSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7878,12 +7041,6 @@ "summary": "Gets the logging configuration of an app.", "description": "Gets the logging configuration of an app.", "operationId": "WebApps_GetDiagnosticLogsConfigurationSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7913,7 +7070,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteLogsConfig" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteLogsConfig" } } } @@ -7925,17 +7082,6 @@ "summary": "Updates the logging configuration of an app.", "description": "Updates the logging configuration of an app.", "operationId": "WebApps_UpdateDiagnosticLogsConfigSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7953,7 +7099,7 @@ "description": "A SiteLogsConfig JSON object that contains the logging configuration to change in the \"properties\" property.", "required": true, "schema": { - "$ref": "#/definitions/SiteLogsConfig" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteLogsConfig" } }, { @@ -7974,7 +7120,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteLogsConfig" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteLogsConfig" } } } @@ -7988,17 +7134,6 @@ "summary": "Replaces the metadata of an app.", "description": "Replaces the metadata of an app.", "operationId": "WebApps_UpdateMetadataSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8051,12 +7186,6 @@ "summary": "Gets the metadata of an app.", "description": "Gets the metadata of an app.", "operationId": "WebApps_ListMetadataSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8100,12 +7229,6 @@ "summary": "Gets the Git/FTP publishing credentials of an app.", "description": "Gets the Git/FTP publishing credentials of an app.", "operationId": "WebApps_ListPublishingCredentialsSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8135,7 +7258,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/User" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/User" } } }, @@ -8150,17 +7273,6 @@ "summary": "Updates the Push settings associated with web app.", "description": "Updates the Push settings associated with web app.", "operationId": "WebApps_UpdateSitePushSettingsSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8178,7 +7290,7 @@ "description": "Push settings associated with web app.", "required": true, "schema": { - "$ref": "#/definitions/PushSettings" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/PushSettings" } }, { @@ -8199,7 +7311,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/PushSettings" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/PushSettings" } } } @@ -8213,12 +7325,6 @@ "summary": "Gets the Push settings associated with web app.", "description": "Gets the Push settings associated with web app.", "operationId": "WebApps_ListSitePushSettingsSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8248,7 +7354,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/PushSettings" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/PushSettings" } } } @@ -8262,12 +7368,6 @@ "summary": "Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.", "description": "Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.", "operationId": "WebApps_GetConfigurationSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8297,7 +7397,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteConfigResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigResource" } } } @@ -8309,17 +7409,6 @@ "summary": "Updates the configuration of an app.", "description": "Updates the configuration of an app.", "operationId": "WebApps_CreateOrUpdateConfigurationSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8337,7 +7426,7 @@ "description": "JSON representation of a SiteConfig object. See example.", "required": true, "schema": { - "$ref": "#/definitions/SiteConfigResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigResource" } }, { @@ -8358,7 +7447,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteConfigResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigResource" } } } @@ -8370,17 +7459,6 @@ "summary": "Updates the configuration of an app.", "description": "Updates the configuration of an app.", "operationId": "WebApps_UpdateConfigurationSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8398,7 +7476,7 @@ "description": "JSON representation of a SiteConfig object. See example.", "required": true, "schema": { - "$ref": "#/definitions/SiteConfigResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigResource" } }, { @@ -8419,7 +7497,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteConfigResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigResource" } } } @@ -8433,12 +7511,6 @@ "summary": "Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.", "description": "Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.", "operationId": "WebApps_ListConfigurationSnapshotInfoSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8468,12 +7540,12 @@ "200": { "description": "OK", "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/SiteConfigurationSnapshotInfo" - } + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigurationSnapshotInfoCollection" } } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, @@ -8485,12 +7557,6 @@ "summary": "Gets a snapshot of the configuration of an app at a previous point in time.", "description": "Gets a snapshot of the configuration of an app at a previous point in time.", "operationId": "WebApps_GetConfigurationSnapshotSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8527,7 +7593,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteConfigResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigResource" } } } @@ -8580,18 +7646,152 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/containerlogs": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Gets the last lines of docker logs for the given site", + "description": "Gets the last lines of docker logs for the given site", + "operationId": "WebApps_GetWebSiteContainerLogsSlot", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "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": { + "204": { + "description": "No Content" + }, + "200": { + "description": "OK", + "schema": { + "type": "file" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/containerlogs/zip": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Gets the ZIP archived docker log files for the given site", + "description": "Gets the ZIP archived docker log files for the given site", + "operationId": "WebApps_GetContainerLogsZipSlot", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "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": { + "204": { + "description": "No Content" + }, + "200": { + "description": "OK", + "schema": { + "type": "file" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/containerlogs/zip/download": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Gets the ZIP archived docker log files for the given site", + "description": "Gets the ZIP archived docker log files for the given site", + "operationId": "WebApps_GetContainerLogsZipSlot", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "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": { + "204": { + "description": "No Content" + }, + "200": { + "description": "OK", + "schema": { + "type": "file" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs": { + "get": { "tags": [ "WebApps" ], "summary": "List continuous web jobs for an app, or a deployment slot.", "description": "List continuous web jobs for an app, or a deployment slot.", "operationId": "WebApps_ListContinuousWebJobsSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8638,12 +7838,6 @@ "summary": "Gets a continuous web job by its ID for an app, or a deployment slot.", "description": "Gets a continuous web job by its ID for an app, or a deployment slot.", "operationId": "WebApps_GetContinuousWebJobSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8656,9 +7850,9 @@ "type": "string" }, { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -8669,12 +7863,6 @@ "required": true, "type": "string" }, - { - "name": "webJobName", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8713,9 +7901,9 @@ "type": "string" }, { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -8726,12 +7914,6 @@ "required": true, "type": "string" }, - { - "name": "webJobName", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8769,9 +7951,9 @@ "type": "string" }, { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -8782,12 +7964,6 @@ "required": true, "type": "string" }, - { - "name": "webJobName", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8825,9 +8001,9 @@ "type": "string" }, { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -8838,12 +8014,6 @@ "required": true, "type": "string" }, - { - "name": "webJobName", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8869,10 +8039,6 @@ "summary": "List deployments for an app, or a deployment slot.", "description": "List deployments for an app, or a deployment slot.", "operationId": "WebApps_ListDeploymentsSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8919,12 +8085,6 @@ "summary": "Get a deployment by its ID for an app, or a deployment slot.", "description": "Get a deployment by its ID for an app, or a deployment slot.", "operationId": "WebApps_GetDeploymentSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8973,17 +8133,6 @@ "summary": "Create a deployment for an app, or a deployment slot.", "description": "Create a deployment for an app, or a deployment slot.", "operationId": "WebApps_CreateDeploymentSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9091,12 +8240,6 @@ "summary": "List deployment log for specific deployment for an app, or a deployment slot.", "description": "List deployment log for specific deployment for an app, or a deployment slot.", "operationId": "WebApps_ListDeploymentLogSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9147,10 +8290,6 @@ "summary": "Lists ownership identifiers for domain associated with web app.", "description": "Lists ownership identifiers for domain associated with web app.", "operationId": "WebApps_ListDomainOwnershipIdentifiersSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9197,12 +8336,6 @@ "summary": "Get domain ownership identifier for web app.", "description": "Get domain ownership identifier for web app.", "operationId": "WebApps_GetDomainOwnershipIdentifierSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9251,17 +8384,6 @@ "summary": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", "description": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", "operationId": "WebApps_CreateOrUpdateDomainOwnershipIdentifierSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9367,17 +8489,6 @@ "summary": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", "description": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", "operationId": "WebApps_UpdateDomainOwnershipIdentifierSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9437,12 +8548,6 @@ "summary": "Get the status of the last MSDeploy operation.", "description": "Get the status of the last MSDeploy operation.", "operationId": "WebApps_GetMSDeployStatusSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9484,17 +8589,6 @@ "summary": "Invoke the MSDeploy web app extension.", "description": "Invoke the MSDeploy web app extension.", "operationId": "WebApps_CreateMSDeployOperationSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9551,12 +8645,6 @@ "summary": "Get the MSDeploy Log for the last MSDeploy operation.", "description": "Get the MSDeploy Log for the last MSDeploy operation.", "operationId": "WebApps_GetMSDeployLogSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9603,10 +8691,6 @@ "summary": "List the functions for a web site, or a deployment slot.", "description": "List the functions for a web site, or a deployment slot.", "operationId": "WebApps_ListInstanceFunctionsSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9656,12 +8740,6 @@ "summary": "Fetch a short lived token that can be exchanged for a master key.", "description": "Fetch a short lived token that can be exchanged for a master key.", "operationId": "WebApps_GetFunctionsAdminTokenSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9705,12 +8783,6 @@ "summary": "Get function information by its ID for web site, or a deployment slot.", "description": "Get function information by its ID for web site, or a deployment slot.", "operationId": "WebApps_GetInstanceFunctionSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9762,17 +8834,6 @@ "summary": "Create function for web site, or a deployment slot.", "description": "Create function for web site, or a deployment slot.", "operationId": "WebApps_CreateInstanceFunctionSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9881,12 +8942,6 @@ "summary": "Get function secrets for a function in a web site, or a deployment slot.", "description": "Get function secrets for a function in a web site, or a deployment slot.", "operationId": "WebApps_ListFunctionSecretsSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9937,10 +8992,6 @@ "summary": "Get hostname bindings for an app or a deployment slot.", "description": "Get hostname bindings for an app or a deployment slot.", "operationId": "WebApps_ListHostNameBindingsSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9987,12 +9038,6 @@ "summary": "Get the named hostname binding for an app (or deployment slot, if specified).", "description": "Get the named hostname binding for an app (or deployment slot, if specified).", "operationId": "WebApps_GetHostNameBindingSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10041,17 +9086,6 @@ "summary": "Creates a hostname binding for an app.", "description": "Creates a hostname binding for an app.", "operationId": "WebApps_CreateOrUpdateHostNameBindingSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10159,12 +9193,6 @@ "summary": "Retrieves a specific Service Bus Hybrid Connection used by this Web App.", "description": "Retrieves a specific Service Bus Hybrid Connection used by this Web App.", "operationId": "WebApps_GetHybridConnectionSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10208,7 +9236,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HybridConnection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" } } } @@ -10220,17 +9248,6 @@ "summary": "Creates a new Hybrid Connection using a Service Bus relay.", "description": "Creates a new Hybrid Connection using a Service Bus relay.", "operationId": "WebApps_CreateOrUpdateHybridConnectionSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10262,7 +9279,7 @@ "description": "The details of the hybrid connection.", "required": true, "schema": { - "$ref": "#/definitions/HybridConnection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" } }, { @@ -10283,7 +9300,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HybridConnection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" } } } @@ -10350,17 +9367,6 @@ "summary": "Creates a new Hybrid Connection using a Service Bus relay.", "description": "Creates a new Hybrid Connection using a Service Bus relay.", "operationId": "WebApps_UpdateHybridConnectionSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10392,7 +9398,7 @@ "description": "The details of the hybrid connection.", "required": true, "schema": { - "$ref": "#/definitions/HybridConnection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" } }, { @@ -10413,7 +9419,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HybridConnection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" } } } @@ -10427,12 +9433,6 @@ "summary": "Gets the send key name and value for a Hybrid Connection.", "description": "Gets the send key name and value for a Hybrid Connection.", "operationId": "WebApps_ListHybridConnectionKeysSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10476,7 +9476,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HybridConnectionKey" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnectionKey" } } } @@ -10490,12 +9490,6 @@ "summary": "Retrieves all Service Bus Hybrid Connections used by this Web App.", "description": "Retrieves all Service Bus Hybrid Connections used by this Web App.", "operationId": "WebApps_ListHybridConnectionsSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10525,7 +9519,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HybridConnection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" } } } @@ -10539,12 +9533,6 @@ "summary": "Gets hybrid connections configured for an app (or deployment slot, if specified).", "description": "Gets hybrid connections configured for an app (or deployment slot, if specified).", "operationId": "WebApps_ListRelayServiceConnectionsSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10588,12 +9576,6 @@ "summary": "Gets a hybrid connection configuration by its name.", "description": "Gets a hybrid connection configuration by its name.", "operationId": "WebApps_GetRelayServiceConnectionSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10642,17 +9624,6 @@ "summary": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", "description": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", "operationId": "WebApps_CreateOrUpdateRelayServiceConnectionSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10758,17 +9729,6 @@ "summary": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", "description": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", "operationId": "WebApps_UpdateRelayServiceConnectionSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10828,10 +9788,6 @@ "summary": "Gets all scale-out instances of an app.", "description": "Gets all scale-out instances of an app.", "operationId": "WebApps_ListInstanceIdentifiersSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10878,12 +9834,6 @@ "summary": "Get the status of the last MSDeploy operation.", "description": "Get the status of the last MSDeploy operation.", "operationId": "WebApps_GetInstanceMsDeployStatusSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10932,17 +9882,6 @@ "summary": "Invoke the MSDeploy web app extension.", "description": "Invoke the MSDeploy web app extension.", "operationId": "WebApps_CreateInstanceMSDeployOperationSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11006,12 +9945,6 @@ "summary": "Get the MSDeploy Log for the last MSDeploy operation.", "description": "Get the MSDeploy Log for the last MSDeploy operation.", "operationId": "WebApps_GetInstanceMSDeployLogSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11065,10 +9998,6 @@ "summary": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", "description": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", "operationId": "WebApps_ListInstanceProcessesSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11125,12 +10054,6 @@ "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", "description": "Get process information by its ID for a specific scaled-out instance in a web site.", "operationId": "WebApps_GetInstanceProcessSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11306,10 +10229,6 @@ "summary": "List module information for a process by its ID for a specific scaled-out instance in a web site.", "description": "List module information for a process by its ID for a specific scaled-out instance in a web site.", "operationId": "WebApps_ListInstanceProcessModulesSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11365,7 +10284,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/modules/{base_address}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/modules/{baseAddress}": { "get": { "tags": [ "WebApps" @@ -11373,12 +10292,6 @@ "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", "description": "Get process information by its ID for a specific scaled-out instance in a web site.", "operationId": "WebApps_GetInstanceProcessModuleSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11399,7 +10312,7 @@ }, { "name": "baseAddress", - "in": "query", + "in": "path", "description": "Module base address.", "required": true, "type": "string" @@ -11419,13 +10332,7 @@ "type": "string" }, { - "name": "base_address", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "#/parameters/subscriptionIdParameter" }, { "$ref": "#/parameters/apiVersionParameter" @@ -11439,7 +10346,7 @@ } }, "404": { - "description": "Process with the specified ID is not running, or a module with the specified base_address was not found." + "description": "Process with the specified ID is not running, or a module with the specified baseAddress was not found." } } } @@ -11452,10 +10359,6 @@ "summary": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", "description": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", "operationId": "WebApps_ListInstanceProcessThreadsSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11519,12 +10422,6 @@ "summary": "Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.", "description": "Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.", "operationId": "WebApps_GetInstanceProcessThreadSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11592,12 +10489,6 @@ "summary": "Shows whether an app can be cloned to another resource group or subscription.", "description": "Shows whether an app can be cloned to another resource group or subscription.", "operationId": "WebApps_IsCloneableSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11627,7 +10518,7 @@ "200": { "description": "OK.", "schema": { - "$ref": "#/definitions/SiteCloneability" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteCloneability" } } } @@ -11641,12 +10532,6 @@ "summary": "This is to allow calling via powershell and ARM template.", "description": "This is to allow calling via powershell and ARM template.", "operationId": "WebApps_ListSyncFunctionTriggersSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11690,10 +10575,6 @@ "summary": "Gets all metric definitions of an app (or deployment slot, if specified).", "description": "Gets all metric definitions of an app (or deployment slot, if specified).", "operationId": "WebApps_ListMetricDefinitionsSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11723,7 +10604,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ResourceMetricDefinitionCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricDefinitionCollection" } } }, @@ -11740,10 +10621,6 @@ "summary": "Gets performance metrics of an app (or deployment slot, if specified).", "description": "Gets performance metrics of an app (or deployment slot, if specified).", "operationId": "WebApps_ListMetricsSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11772,8 +10649,8 @@ "name": "$filter", "in": "query", "description": "Return only metrics specified in the filter (using OData syntax). For 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]'.", - "x-ms-skip-url-encoding": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -11786,7 +10663,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ResourceMetricCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricCollection" } } }, @@ -11803,12 +10680,6 @@ "summary": "Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled", "description": "Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled", "operationId": "WebApps_GetMigrateMySqlStatusSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11852,12 +10723,6 @@ "summary": "Gets all network features used by the app (or deployment slot, if specified).", "description": "Gets all network features used by the app (or deployment slot, if specified).", "operationId": "WebApps_ListNetworkFeaturesSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11911,12 +10776,6 @@ "summary": "Start capturing network packets for the site.", "description": "Start capturing network packets for the site.", "operationId": "WebApps_StartWebSiteNetworkTraceSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11980,12 +10839,6 @@ "summary": "Stop ongoing capturing network packets for the site.", "description": "Stop ongoing capturing network packets for the site.", "operationId": "WebApps_StopWebSiteNetworkTraceSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -12055,8 +10908,8 @@ } ], "responses": { - "204": { - "description": "No Content" + "200": { + "description": "Successfully generate new password." } } } @@ -12069,10 +10922,6 @@ "summary": "Gets perfmon counters for web app.", "description": "Gets perfmon counters for web app.", "operationId": "WebApps_ListPerfMonCountersSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -12095,8 +10944,8 @@ "name": "$filter", "in": "query", "description": "Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.", - "x-ms-skip-url-encoding": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -12126,12 +10975,6 @@ "summary": "Gets web app's event logs.", "description": "Gets web app's event logs.", "operationId": "WebApps_GetSitePhpErrorLogFlagSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -12161,7 +11004,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SitePhpErrorLogFlag" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SitePhpErrorLogFlag" } } } @@ -12175,12 +11018,6 @@ "summary": "Gets the premier add-ons of an app.", "description": "Gets the premier add-ons of an app.", "operationId": "WebApps_ListPremierAddOnsSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -12224,12 +11061,6 @@ "summary": "Gets a named add-on of an app.", "description": "Gets a named add-on of an app.", "operationId": "WebApps_GetPremierAddOnSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -12278,17 +11109,6 @@ "summary": "Updates a named add-on of an app.", "description": "Updates a named add-on of an app.", "operationId": "WebApps_AddPremierAddOnSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -12393,10 +11213,6 @@ "summary": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", "description": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", "operationId": "WebApps_ListProcessesSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -12446,12 +11262,6 @@ "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", "description": "Get process information by its ID for a specific scaled-out instance in a web site.", "operationId": "WebApps_GetProcessSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -12606,10 +11416,6 @@ "summary": "List module information for a process by its ID for a specific scaled-out instance in a web site.", "description": "List module information for a process by its ID for a specific scaled-out instance in a web site.", "operationId": "WebApps_ListProcessModulesSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -12658,7 +11464,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/modules/{base_address}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/modules/{baseAddress}": { "get": { "tags": [ "WebApps" @@ -12666,12 +11472,6 @@ "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", "description": "Get process information by its ID for a specific scaled-out instance in a web site.", "operationId": "WebApps_GetProcessModuleSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -12692,7 +11492,7 @@ }, { "name": "baseAddress", - "in": "query", + "in": "path", "description": "Module base address.", "required": true, "type": "string" @@ -12704,12 +11504,6 @@ "required": true, "type": "string" }, - { - "name": "base_address", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -12725,7 +11519,7 @@ } }, "404": { - "description": "Process with the specified ID is not running, or a module with the specified base_address was not found." + "description": "Process with the specified ID is not running, or a module with the specified baseAddress was not found." } } } @@ -12738,10 +11532,6 @@ "summary": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", "description": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", "operationId": "WebApps_ListProcessThreadsSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -12798,12 +11588,6 @@ "summary": "Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.", "description": "Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.", "operationId": "WebApps_GetProcessThreadSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -12864,10 +11648,6 @@ "summary": "Get public certificates for an app or a deployment slot.", "description": "Get public certificates for an app or a deployment slot.", "operationId": "WebApps_ListPublicCertificatesSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -12914,12 +11694,6 @@ "summary": "Get the named public certificate for an app (or deployment slot, if specified).", "description": "Get the named public certificate for an app (or deployment slot, if specified).", "operationId": "WebApps_GetPublicCertificateSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -12968,17 +11742,6 @@ "summary": "Creates a hostname binding for an app.", "description": "Creates a hostname binding for an app.", "operationId": "WebApps_CreateOrUpdatePublicCertificateSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -13086,18 +11849,8 @@ "summary": "Gets the publishing profile for an app (or deployment slot, if specified).", "description": "Gets the publishing profile for an app (or deployment slot, if specified).", "operationId": "WebApps_ListPublishingProfileXmlWithSecretsSlot", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" + "application/xml" ], "parameters": [ { @@ -13151,11 +11904,6 @@ "summary": "Recovers a web app to a previous snapshot.", "description": "Recovers a web app to a previous snapshot.", "operationId": "WebApps_RecoverSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -13173,7 +11921,7 @@ "description": "Snapshot data used for web app recovery. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API.", "required": true, "schema": { - "$ref": "#/definitions/SnapshotRecoveryRequest" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SnapshotRecoveryRequest" } }, { @@ -13298,10 +12046,6 @@ "summary": "Get list of siteextensions for a web site, or a deployment slot.", "description": "Get list of siteextensions for a web site, or a deployment slot.", "operationId": "WebApps_ListSiteExtensionsSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -13331,7 +12075,7 @@ "200": { "description": "SiteExtension information returned.", "schema": { - "$ref": "#/definitions/SiteExtensionInfoCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteExtensionInfoCollection" } }, "404": { @@ -13343,7 +12087,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions/{extensionName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions/{siteExtensionId}": { "get": { "tags": [ "WebApps" @@ -13351,12 +12095,6 @@ "summary": "Get site extension information by its ID for a web site, or a deployment slot.", "description": "Get site extension information by its ID for a web site, or a deployment slot.", "operationId": "WebApps_GetSiteExtensionSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -13370,7 +12108,7 @@ }, { "name": "siteExtensionId", - "in": "query", + "in": "path", "description": "Site extension name.", "required": true, "type": "string" @@ -13382,12 +12120,6 @@ "required": true, "type": "string" }, - { - "name": "extensionName", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -13399,7 +12131,7 @@ "200": { "description": "SiteExtension information returned.", "schema": { - "$ref": "#/definitions/SiteExtensionInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteExtensionInfo" } }, "404": { @@ -13414,12 +12146,6 @@ "summary": "Install site extension on a web site, or a deployment slot.", "description": "Install site extension on a web site, or a deployment slot.", "operationId": "WebApps_InstallSiteExtensionSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -13433,7 +12159,7 @@ }, { "name": "siteExtensionId", - "in": "query", + "in": "path", "description": "Site extension name.", "required": true, "type": "string" @@ -13445,12 +12171,6 @@ "required": true, "type": "string" }, - { - "name": "extensionName", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -13462,13 +12182,13 @@ "201": { "description": "Site Extension created.", "schema": { - "$ref": "#/definitions/SiteExtensionInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteExtensionInfo" } }, "200": { "description": "Site Extension created.", "schema": { - "$ref": "#/definitions/SiteExtensionInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteExtensionInfo" } }, "429": { @@ -13497,7 +12217,7 @@ }, { "name": "siteExtensionId", - "in": "query", + "in": "path", "description": "Site extension name.", "required": true, "type": "string" @@ -13509,12 +12229,6 @@ "required": true, "type": "string" }, - { - "name": "extensionName", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -13540,17 +12254,6 @@ "summary": "Get the difference in configuration settings between two web app slots.", "description": "Get the difference in configuration settings between two web app slots.", "operationId": "WebApps_ListSlotDifferencesSlot", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -13606,13 +12309,6 @@ "summary": "Swaps two deployment slots of an app.", "description": "Swaps two deployment slots of an app.", "operationId": "WebApps_SwapSlotSlot", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -13666,10 +12362,6 @@ "summary": "Returns all Snapshots to the user.", "description": "Returns all Snapshots to the user.", "operationId": "WebApps_ListSnapshotsSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -13716,12 +12408,6 @@ "summary": "Gets the source control configuration of an app.", "description": "Gets the source control configuration of an app.", "operationId": "WebApps_GetSourceControlSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -13751,7 +12437,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteSourceControl" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteSourceControl" } } } @@ -13763,17 +12449,6 @@ "summary": "Updates the source control configuration of an app.", "description": "Updates the source control configuration of an app.", "operationId": "WebApps_CreateOrUpdateSourceControlSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -13791,7 +12466,7 @@ "description": "JSON representation of a SiteSourceControl object. See example.", "required": true, "schema": { - "$ref": "#/definitions/SiteSourceControl" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteSourceControl" } }, { @@ -13812,13 +12487,13 @@ "200": { "description": "Succesfully created or updated source control for web app.", "schema": { - "$ref": "#/definitions/SiteSourceControl" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteSourceControl" } }, "201": { "description": "Create or update source control for web app in progress.", "schema": { - "$ref": "#/definitions/SiteSourceControl" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteSourceControl" } } }, @@ -13875,17 +12550,6 @@ "summary": "Updates the source control configuration of an app.", "description": "Updates the source control configuration of an app.", "operationId": "WebApps_UpdateSourceControlSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -13903,7 +12567,7 @@ "description": "JSON representation of a SiteSourceControl object. See example.", "required": true, "schema": { - "$ref": "#/definitions/SiteSourceControl" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteSourceControl" } }, { @@ -13924,13 +12588,13 @@ "200": { "description": "Succesfully created or updated source control for web app.", "schema": { - "$ref": "#/definitions/SiteSourceControl" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteSourceControl" } }, "201": { "description": "Create or update source control for web app in progress.", "schema": { - "$ref": "#/definitions/SiteSourceControl" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteSourceControl" } } } @@ -14104,10 +12768,6 @@ "summary": "List triggered web jobs for an app, or a deployment slot.", "description": "List triggered web jobs for an app, or a deployment slot.", "operationId": "WebApps_ListTriggeredWebJobsSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -14154,12 +12814,6 @@ "summary": "Gets a triggered web job by its ID for an app, or a deployment slot.", "description": "Gets a triggered web job by its ID for an app, or a deployment slot.", "operationId": "WebApps_GetTriggeredWebJobSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -14172,9 +12826,9 @@ "type": "string" }, { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -14185,12 +12839,6 @@ "required": true, "type": "string" }, - { - "name": "webJobName", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -14229,9 +12877,9 @@ "type": "string" }, { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -14242,12 +12890,6 @@ "required": true, "type": "string" }, - { - "name": "webJobName", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -14273,10 +12915,6 @@ "summary": "List a triggered web job's history for an app, or a deployment slot.", "description": "List a triggered web job's history for an app, or a deployment slot.", "operationId": "WebApps_ListTriggeredWebJobHistorySlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -14289,9 +12927,9 @@ "type": "string" }, { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -14302,12 +12940,6 @@ "required": true, "type": "string" }, - { - "name": "webJobName", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -14339,12 +12971,6 @@ "summary": "Gets a triggered web job's history by its ID for an app, , or a deployment slot.", "description": "Gets a triggered web job's history by its ID for an app, , or a deployment slot.", "operationId": "WebApps_GetTriggeredWebJobHistorySlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -14357,9 +12983,9 @@ "type": "string" }, { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -14377,12 +13003,6 @@ "required": true, "type": "string" }, - { - "name": "webJobName", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -14423,9 +13043,9 @@ "type": "string" }, { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -14436,12 +13056,6 @@ "required": true, "type": "string" }, - { - "name": "webJobName", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -14467,10 +13081,6 @@ "summary": "Gets the quota usage information of an app (or deployment slot, if specified).", "description": "Gets the quota usage information of an app (or deployment slot, if specified).", "operationId": "WebApps_ListUsagesSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -14493,8 +13103,8 @@ "name": "$filter", "in": "query", "description": "Return only information specified in the filter (using OData syntax). For 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]'.", - "x-ms-skip-url-encoding": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -14507,7 +13117,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/CsmUsageQuotaCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/CsmUsageQuotaCollection" } } }, @@ -14524,12 +13134,6 @@ "summary": "Gets the virtual networks the app (or deployment slot) is connected to.", "description": "Gets the virtual networks the app (or deployment slot) is connected to.", "operationId": "WebApps_ListVnetConnectionsSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -14561,7 +13165,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/definitions/VnetInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" } } } @@ -14576,12 +13180,6 @@ "summary": "Gets a virtual network the app (or deployment slot) is connected to by name.", "description": "Gets a virtual network the app (or deployment slot) is connected to by name.", "operationId": "WebApps_GetVnetConnectionSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -14618,7 +13216,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" } } } @@ -14630,17 +13228,6 @@ "summary": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", "description": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", "operationId": "WebApps_CreateOrUpdateVnetConnectionSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -14665,7 +13252,7 @@ "description": "Properties of the Virtual Network connection. See example.", "required": true, "schema": { - "$ref": "#/definitions/VnetInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" } }, { @@ -14686,7 +13273,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" } } } @@ -14746,17 +13333,6 @@ "summary": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", "description": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", "operationId": "WebApps_UpdateVnetConnectionSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -14781,7 +13357,7 @@ "description": "Properties of the Virtual Network connection. See example.", "required": true, "schema": { - "$ref": "#/definitions/VnetInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" } }, { @@ -14802,7 +13378,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" } } } @@ -14816,12 +13392,6 @@ "summary": "Gets an app's Virtual Network gateway.", "description": "Gets an app's Virtual Network gateway.", "operationId": "WebApps_GetVnetConnectionGatewaySlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -14865,7 +13435,7 @@ "200": { "description": "OK.", "schema": { - "$ref": "#/definitions/VnetGateway" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" } }, "404": { @@ -14880,17 +13450,6 @@ "summary": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", "description": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", "operationId": "WebApps_CreateOrUpdateVnetConnectionGatewaySlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -14922,7 +13481,7 @@ "description": "The properties to update this gateway with.", "required": true, "schema": { - "$ref": "#/definitions/VnetGateway" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" } }, { @@ -14943,7 +13502,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetGateway" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" } } } @@ -14955,17 +13514,6 @@ "summary": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", "description": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", "operationId": "WebApps_UpdateVnetConnectionGatewaySlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -14997,7 +13545,7 @@ "description": "The properties to update this gateway with.", "required": true, "schema": { - "$ref": "#/definitions/VnetGateway" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" } }, { @@ -15018,7 +13566,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetGateway" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" } } } @@ -15032,10 +13580,6 @@ "summary": "List webjobs for an app, or a deployment slot.", "description": "List webjobs for an app, or a deployment slot.", "operationId": "WebApps_ListWebJobsSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -15082,12 +13626,6 @@ "summary": "Get webjob information for an app, or a deployment slot.", "description": "Get webjob information for an app, or a deployment slot.", "operationId": "WebApps_GetWebJobSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -15138,17 +13676,6 @@ "summary": "Get the difference in configuration settings between two web app slots.", "description": "Get the difference in configuration settings between two web app slots.", "operationId": "WebApps_ListSlotDifferencesFromProduction", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -15197,13 +13724,6 @@ "summary": "Swaps two deployment slots of an app.", "description": "Swaps two deployment slots of an app.", "operationId": "WebApps_SwapSlotWithProduction", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -15250,10 +13770,6 @@ "summary": "Returns all Snapshots to the user.", "description": "Returns all Snapshots to the user.", "operationId": "WebApps_ListSnapshots", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -15293,12 +13809,6 @@ "summary": "Gets the source control configuration of an app.", "description": "Gets the source control configuration of an app.", "operationId": "WebApps_GetSourceControl", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -15321,7 +13831,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteSourceControl" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteSourceControl" } } } @@ -15333,17 +13843,6 @@ "summary": "Updates the source control configuration of an app.", "description": "Updates the source control configuration of an app.", "operationId": "WebApps_CreateOrUpdateSourceControl", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -15361,7 +13860,7 @@ "description": "JSON representation of a SiteSourceControl object. See example.", "required": true, "schema": { - "$ref": "#/definitions/SiteSourceControl" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteSourceControl" } }, { @@ -15375,13 +13874,13 @@ "200": { "description": "Succesfully created or updated source control for web app.", "schema": { - "$ref": "#/definitions/SiteSourceControl" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteSourceControl" } }, "201": { "description": "Create or update source control for web app in progress.", "schema": { - "$ref": "#/definitions/SiteSourceControl" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteSourceControl" } } }, @@ -15431,17 +13930,6 @@ "summary": "Updates the source control configuration of an app.", "description": "Updates the source control configuration of an app.", "operationId": "WebApps_UpdateSourceControl", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -15459,7 +13947,7 @@ "description": "JSON representation of a SiteSourceControl object. See example.", "required": true, "schema": { - "$ref": "#/definitions/SiteSourceControl" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteSourceControl" } }, { @@ -15473,13 +13961,13 @@ "200": { "description": "Succesfully created or updated source control for web app.", "schema": { - "$ref": "#/definitions/SiteSourceControl" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteSourceControl" } }, "201": { "description": "Create or update source control for web app in progress.", "schema": { - "$ref": "#/definitions/SiteSourceControl" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteSourceControl" } } } @@ -15625,10 +14113,6 @@ "summary": "List triggered web jobs for an app, or a deployment slot.", "description": "List triggered web jobs for an app, or a deployment slot.", "operationId": "WebApps_ListTriggeredWebJobs", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -15668,12 +14152,6 @@ "summary": "Gets a triggered web job by its ID for an app, or a deployment slot.", "description": "Gets a triggered web job by its ID for an app, or a deployment slot.", "operationId": "WebApps_GetTriggeredWebJob", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -15685,16 +14163,10 @@ "required": true, "type": "string" }, - { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", - "required": true, - "type": "string" - }, { "name": "webJobName", "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -15735,16 +14207,10 @@ "required": true, "type": "string" }, - { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", - "required": true, - "type": "string" - }, { "name": "webJobName", "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -15773,10 +14239,6 @@ "summary": "List a triggered web job's history for an app, or a deployment slot.", "description": "List a triggered web job's history for an app, or a deployment slot.", "operationId": "WebApps_ListTriggeredWebJobHistory", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -15788,16 +14250,10 @@ "required": true, "type": "string" }, - { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", - "required": true, - "type": "string" - }, { "name": "webJobName", "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -15832,12 +14288,6 @@ "summary": "Gets a triggered web job's history by its ID for an app, , or a deployment slot.", "description": "Gets a triggered web job's history by its ID for an app, , or a deployment slot.", "operationId": "WebApps_GetTriggeredWebJobHistory", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -15850,9 +14300,9 @@ "type": "string" }, { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -15863,12 +14313,6 @@ "required": true, "type": "string" }, - { - "name": "webJobName", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -15908,16 +14352,10 @@ "required": true, "type": "string" }, - { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", - "required": true, - "type": "string" - }, { "name": "webJobName", "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -15946,10 +14384,6 @@ "summary": "Gets the quota usage information of an app (or deployment slot, if specified).", "description": "Gets the quota usage information of an app (or deployment slot, if specified).", "operationId": "WebApps_ListUsages", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -15965,8 +14399,8 @@ "name": "$filter", "in": "query", "description": "Return only information specified in the filter (using OData syntax). For 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]'.", - "x-ms-skip-url-encoding": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -15979,7 +14413,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/CsmUsageQuotaCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/CsmUsageQuotaCollection" } } }, @@ -15996,12 +14430,6 @@ "summary": "Gets the virtual networks the app (or deployment slot) is connected to.", "description": "Gets the virtual networks the app (or deployment slot) is connected to.", "operationId": "WebApps_ListVnetConnections", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -16026,7 +14454,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/definitions/VnetInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" } } } @@ -16041,12 +14469,6 @@ "summary": "Gets a virtual network the app (or deployment slot) is connected to by name.", "description": "Gets a virtual network the app (or deployment slot) is connected to by name.", "operationId": "WebApps_GetVnetConnection", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -16076,7 +14498,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" } } } @@ -16088,17 +14510,6 @@ "summary": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", "description": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", "operationId": "WebApps_CreateOrUpdateVnetConnection", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -16123,7 +14534,7 @@ "description": "Properties of the Virtual Network connection. See example.", "required": true, "schema": { - "$ref": "#/definitions/VnetInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" } }, { @@ -16137,7 +14548,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" } } } @@ -16190,17 +14601,6 @@ "summary": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", "description": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", "operationId": "WebApps_UpdateVnetConnection", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -16225,7 +14625,7 @@ "description": "Properties of the Virtual Network connection. See example.", "required": true, "schema": { - "$ref": "#/definitions/VnetInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" } }, { @@ -16239,7 +14639,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" } } } @@ -16253,12 +14653,6 @@ "summary": "Gets an app's Virtual Network gateway.", "description": "Gets an app's Virtual Network gateway.", "operationId": "WebApps_GetVnetConnectionGateway", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -16295,7 +14689,7 @@ "200": { "description": "OK.", "schema": { - "$ref": "#/definitions/VnetGateway" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" } }, "404": { @@ -16310,17 +14704,6 @@ "summary": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", "description": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", "operationId": "WebApps_CreateOrUpdateVnetConnectionGateway", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -16352,7 +14735,7 @@ "description": "The properties to update this gateway with.", "required": true, "schema": { - "$ref": "#/definitions/VnetGateway" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" } }, { @@ -16366,7 +14749,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetGateway" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" } } } @@ -16378,17 +14761,6 @@ "summary": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", "description": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", "operationId": "WebApps_UpdateVnetConnectionGateway", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -16420,7 +14792,7 @@ "description": "The properties to update this gateway with.", "required": true, "schema": { - "$ref": "#/definitions/VnetGateway" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" } }, { @@ -16434,7 +14806,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetGateway" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" } } } @@ -16448,10 +14820,6 @@ "summary": "List webjobs for an app, or a deployment slot.", "description": "List webjobs for an app, or a deployment slot.", "operationId": "WebApps_ListWebJobs", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -16491,12 +14859,6 @@ "summary": "Get webjob information for an app, or a deployment slot.", "description": "Get webjob information for an app, or a deployment slot.", "operationId": "WebApps_GetWebJob", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -16534,16 +14896,6 @@ } }, "definitions": { - "ApiDefinitionInfo": { - "description": "Information about the formal API definition for the app.", - "type": "object", - "properties": { - "url": { - "description": "The URL of the API definition.", - "type": "string" - } - } - }, "ApplicationLogsConfig": { "description": "Application logs configuration.", "type": "object", @@ -16562,87 +14914,6 @@ } } }, - "AutoHealActions": { - "description": "Actions which to take by the auto-heal module when a rule is triggered.", - "type": "object", - "properties": { - "actionType": { - "description": "Predefined action to be taken.", - "enum": [ - "Recycle", - "LogEvent", - "CustomAction" - ], - "type": "string", - "x-ms-enum": { - "name": "AutoHealActionType", - "modelAsString": false - } - }, - "customAction": { - "$ref": "#/definitions/AutoHealCustomAction", - "description": "Custom action to be taken." - }, - "minProcessExecutionTime": { - "description": "Minimum time the process must execute\nbefore taking the action", - "type": "string" - } - } - }, - "AutoHealCustomAction": { - "description": "Custom action to be executed\nwhen an auto heal rule is triggered.", - "type": "object", - "properties": { - "exe": { - "description": "Executable to be run.", - "type": "string" - }, - "parameters": { - "description": "Parameters for the executable.", - "type": "string" - } - } - }, - "AutoHealRules": { - "description": "Rules that can be defined for auto-heal.", - "type": "object", - "properties": { - "triggers": { - "$ref": "#/definitions/AutoHealTriggers", - "description": "Conditions that describe when to execute the auto-heal actions." - }, - "actions": { - "$ref": "#/definitions/AutoHealActions", - "description": "Actions to be executed when a rule is triggered." - } - } - }, - "AutoHealTriggers": { - "description": "Triggers for auto-heal.", - "type": "object", - "properties": { - "requests": { - "$ref": "#/definitions/RequestsBasedTrigger", - "description": "A rule based on total requests." - }, - "privateBytesInKB": { - "format": "int32", - "description": "A rule based on private bytes.", - "type": "integer" - }, - "statusCodes": { - "description": "A rule based on status codes.", - "type": "array", - "items": { - "$ref": "#/definitions/StatusCodesBasedTrigger" - } - }, - "slowRequests": { - "$ref": "#/definitions/SlowRequestsBasedTrigger", - "description": "A rule based on request execution time." - } - } - }, "AzureBlobStorageApplicationLogsConfig": { "description": "Application logs azure blob storage configuration.", "type": "object", @@ -16725,7 +14996,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -16858,7 +15129,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -16965,95 +15236,6 @@ } } }, - "CloningInfo": { - "description": "Information needed for cloning operation.", - "required": [ - "sourceWebAppId" - ], - "type": "object", - "properties": { - "correlationId": { - "format": "uuid", - "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\ntogether to use the same snapshot.", - "type": "string", - "example": "00000000-0000-0000-0000-000000000000" - }, - "overwrite": { - "description": "true to overwrite destination app; otherwise, false.", - "type": "boolean" - }, - "cloneCustomHostNames": { - "description": "true to clone custom hostnames from source app; otherwise, false.", - "type": "boolean" - }, - "cloneSourceControl": { - "description": "true to clone source control from source app; otherwise, false.", - "type": "boolean" - }, - "sourceWebAppId": { - "description": "ARM resource ID of the source app. App resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", - "type": "string" - }, - "hostingEnvironment": { - "description": "App Service Environment.", - "type": "string" - }, - "appSettingsOverrides": { - "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \nfrom source app. Otherwise, application settings from source app are retained.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "configureLoadBalancing": { - "description": "true to configure load balancing for source and destination app.", - "type": "boolean" - }, - "trafficManagerProfileId": { - "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", - "type": "string" - }, - "trafficManagerProfileName": { - "description": "Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.", - "type": "string" - } - } - }, - "ConnStringInfo": { - "description": "Database connection string information.", - "type": "object", - "properties": { - "name": { - "description": "Name of connection string.", - "type": "string" - }, - "connectionString": { - "description": "Connection string value.", - "type": "string" - }, - "type": { - "description": "Type of database.", - "enum": [ - "MySql", - "SQLServer", - "SQLAzure", - "Custom", - "NotificationHub", - "ServiceBus", - "EventHub", - "ApiHub", - "DocDb", - "RedisCache", - "PostgreSQL" - ], - "type": "string", - "x-ms-enum": { - "name": "ConnectionStringType", - "modelAsString": false - } - } - } - }, "ConnStringValueTypePair": { "description": "Database connection string value to type pair.", "required": [ @@ -17094,7 +15276,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -17113,7 +15295,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -17135,11 +15317,11 @@ "modelAsString": false } }, - "detailedStatus": { + "detailed_status": { "description": "Detailed status.", "type": "string" }, - "logUrl": { + "log_url": { "description": "Log URL.", "type": "string" }, @@ -17148,7 +15330,7 @@ "type": "string", "readOnly": true }, - "runCommand": { + "run_command": { "description": "Run command.", "type": "string" }, @@ -17156,11 +15338,11 @@ "description": "Job URL.", "type": "string" }, - "extraInfoUrl": { + "extra_info_url": { "description": "Extra Info URL.", "type": "string" }, - "jobType": { + "type": { "description": "Job type.", "enum": [ "Continuous", @@ -17176,13 +15358,16 @@ "description": "Error information.", "type": "string" }, - "usingSdk": { + "using_sdk": { "description": "Using SDK?", "type": "boolean" }, "settings": { "description": "Job settings.", - "type": "object" + "type": "object", + "additionalProperties": { + "type": "object" + } } }, "x-ms-client-flatten": true @@ -17209,19 +15394,6 @@ } } }, - "CorsSettings": { - "description": "Cross-Origin Resource Sharing (CORS) settings for the app.", - "type": "object", - "properties": { - "allowedOrigins": { - "description": "Gets or sets the list of origins that should be allowed to make cross-origin\ncalls (for example: http://example.com:12345). Use \"*\" to allow all.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, "CsmPublishingProfileOptions": { "description": "Publishing options for requested profile.", "type": "object", @@ -17259,61 +15431,12 @@ } } }, - "CsmUsageQuota": { - "description": "Usage of the quota resource.", - "type": "object", - "properties": { - "unit": { - "description": "Units of measurement for the quota resourse.", - "type": "string" - }, - "nextResetTime": { - "format": "date-time", - "description": "Next reset time for the resource counter.", - "type": "string" - }, - "currentValue": { - "format": "int64", - "description": "The current value of the resource counter.", - "type": "integer" - }, - "limit": { - "format": "int64", - "description": "The resource limit.", - "type": "integer" - }, - "name": { - "$ref": "#/definitions/LocalizableString", - "description": "Quota name." - } - } - }, - "CsmUsageQuotaCollection": { - "description": "Collection of CSM usage quotas.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/CsmUsageQuota" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, "CustomHostnameAnalysisResult": { "description": "Custom domain analysis.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -17340,7 +15463,7 @@ } }, "customDomainVerificationFailureInfo": { - "$ref": "#/definitions/ErrorEntity", + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ErrorEntity", "description": "Raw failure information if DNS verification fails.", "readOnly": true }, @@ -17438,7 +15561,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -17470,20 +15593,16 @@ "description": "Who performed the deployment.", "type": "string" }, - "authorEmail": { + "author_email": { "description": "Author email.", "type": "string" }, - "startTime": { + "start_time": { "format": "date-time", "description": "Start time.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] + "type": "string" }, - "endTime": { + "end_time": { "format": "date-time", "description": "End time.", "type": "string" @@ -17531,55 +15650,6 @@ } } }, - "ErrorEntity": { - "description": "Body of the error response returned from the API.", - "type": "object", - "properties": { - "extendedCode": { - "description": "Type of error.", - "type": "string" - }, - "messageTemplate": { - "description": "Message template.", - "type": "string" - }, - "parameters": { - "description": "Parameters for the template.", - "type": "array", - "items": { - "type": "string" - } - }, - "innerErrors": { - "description": "Inner errors.", - "type": "array", - "items": { - "$ref": "#/definitions/ErrorEntity" - } - }, - "code": { - "description": "Basic error code.", - "type": "string" - }, - "message": { - "description": "Any details of the error.", - "type": "string" - } - } - }, - "Experiments": { - "description": "Routing rules in production experiments.", - "type": "object", - "properties": { - "rampUpRules": { - "description": "List of ramp-up rules.", - "type": "array", - "items": { - "$ref": "#/definitions/RampUpRule" - } - } - } - }, "FileSystemApplicationLogsConfig": { "description": "Application logs to file system configuration.", "type": "object", @@ -17629,7 +15699,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -17641,24 +15711,23 @@ "type": "string", "readOnly": true }, - "functionAppId": { + "function_app_id": { "description": "Function App ID.", - "type": "string", - "readOnly": true + "type": "string" }, - "scriptRootPathHref": { + "script_root_path_href": { "description": "Script root path URI.", "type": "string" }, - "scriptHref": { + "script_href": { "description": "Script URI.", "type": "string" }, - "configHref": { + "config_href": { "description": "Config URI.", "type": "string" }, - "secretsFileHref": { + "secrets_file_href": { "description": "Secrets file URI.", "type": "string" }, @@ -17677,7 +15746,7 @@ "type": "string" } }, - "testData": { + "test_data": { "description": "Test data used when testing via the Azure Portal.", "type": "string" } @@ -17711,7 +15780,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -17722,7 +15791,7 @@ "description": "Secret key.", "type": "string" }, - "triggerUrl": { + "trigger_url": { "description": "Trigger URL.", "type": "string" } @@ -17731,47 +15800,18 @@ } } }, - "HandlerMapping": { - "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \nFor example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", - "type": "object", - "properties": { - "extension": { - "description": "Requests with this extension will be handled using the specified FastCGI application.", - "type": "string" - }, - "scriptProcessor": { - "description": "The absolute path to the FastCGI application.", - "type": "string" - }, - "arguments": { - "description": "Command-line arguments to be passed to the script processor.", - "type": "string" - } - } - }, "HostNameBinding": { "description": "A hostname binding object.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { "properties": { "description": "HostNameBinding resource specific properties", - "required": [ - "name" - ], "properties": { - "name": { - "description": "Hostname.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, "siteName": { "description": "App Service app name.", "type": "string", @@ -17899,180 +15939,28 @@ } } }, - "HostNameSslState": { - "description": "SSL-enabled hostname.", + "HttpLogsConfig": { + "description": "Http logs configuration.", "type": "object", "properties": { - "name": { - "description": "Hostname.", - "type": "string" - }, - "sslState": { - "description": "SSL type.", - "enum": [ - "Disabled", - "SniEnabled", - "IpBasedEnabled" - ], - "type": "string", - "x-ms-enum": { - "name": "SslState", - "modelAsString": false - } - }, - "virtualIP": { - "description": "Virtual IP address assigned to the hostname if IP based SSL is enabled.", - "type": "string" - }, - "thumbprint": { - "description": "SSL certificate thumbprint.", - "type": "string" - }, - "toUpdate": { - "description": "Set to true to update existing hostname.", - "type": "boolean" + "fileSystem": { + "$ref": "#/definitions/FileSystemHttpLogsConfig", + "description": "Http logs to file system configuration." }, - "hostType": { - "description": "Indicates whether the hostname is a standard or repository hostname.", - "enum": [ - "Standard", - "Repository" - ], - "type": "string", - "x-ms-enum": { - "name": "HostType", - "modelAsString": false - } + "azureBlobStorage": { + "$ref": "#/definitions/AzureBlobStorageHttpLogsConfig", + "description": "Http logs to azure blob storage configuration." } } }, - "HostingEnvironmentProfile": { - "description": "Specification for an App Service Environment to use for this resource.", + "Identifier": { + "description": "Identifier.", "type": "object", - "properties": { - "id": { - "description": "Resource ID of the App Service Environment.", - "type": "string" - }, - "name": { - "description": "Name of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Resource type of the App Service Environment.", - "type": "string", - "readOnly": true - } - } - }, - "HttpLogsConfig": { - "description": "Http logs configuration.", - "type": "object", - "properties": { - "fileSystem": { - "$ref": "#/definitions/FileSystemHttpLogsConfig", - "description": "Http logs to file system configuration." - }, - "azureBlobStorage": { - "$ref": "#/definitions/AzureBlobStorageHttpLogsConfig", - "description": "Http logs to azure blob storage configuration." - } - } - }, - "HybridConnection": { - "description": "Hybrid Connection contract. This is used to configure a Hybrid Connection.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "HybridConnection resource specific properties", - "properties": { - "serviceBusNamespace": { - "description": "The name of the Service Bus namespace.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "relayName": { - "description": "The name of the Service Bus relay.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "relayArmUri": { - "description": "The ARM URI to the Service Bus relay.", - "type": "string" - }, - "hostname": { - "description": "The hostname of the endpoint.", - "type": "string" - }, - "port": { - "format": "int32", - "description": "The port of the endpoint.", - "type": "integer" - }, - "sendKeyName": { - "description": "The name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus.", - "type": "string" - }, - "sendKeyValue": { - "description": "The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned\nnormally, use the POST /listKeys API instead.", - "type": "string" - }, - "serviceBusSuffix": { - "description": "The suffix for the service bus endpoint. By default this is .servicebus.windows.net", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "HybridConnectionKey": { - "description": "Hybrid Connection key contract. This has the send key name and value for a Hybrid Connection.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "HybridConnectionKey resource specific properties", - "properties": { - "sendKeyName": { - "description": "The name of the send key.", - "type": "string", - "readOnly": true - }, - "sendKeyValue": { - "description": "The value of the send key.", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "Identifier": { - "description": "Identifier.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], + "allOf": [ + { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + } + ], "properties": { "properties": { "description": "Identifier resource specific properties", @@ -18106,48 +15994,18 @@ } } }, - "IpSecurityRestriction": { - "description": "IP security restriction on an app.", - "required": [ - "ipAddress" - ], - "type": "object", - "properties": { - "ipAddress": { - "description": "IP address the security restriction is valid for.", - "type": "string" - }, - "subnetMask": { - "description": "Subnet mask for the range of IP addresses the restriction is valid for.", - "type": "string" - } - } - }, - "LocalizableString": { - "description": "Localizable string object containing the name and a localized value.", - "type": "object", - "properties": { - "value": { - "description": "Non-localized name.", - "type": "string" - }, - "localizedValue": { - "description": "Localized name.", - "type": "string" - } - } - }, "MSDeploy": { "description": "MSDeploy ARM PUT information", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { "properties": { "$ref": "#/definitions/MSDeployCore", + "description": "Core resource properties", "properties": { "addOnPackages": { "description": "List of Add-On packages. Add-On packages implicitly enable the Do Not Delete MSDeploy rule.", @@ -18203,7 +16061,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -18259,7 +16117,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -18314,7 +16172,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -18351,7 +16209,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -18389,26 +16247,12 @@ } } }, - "NameValuePair": { - "description": "Name value pair.", - "type": "object", - "properties": { - "name": { - "description": "Pair name.", - "type": "string" - }, - "value": { - "description": "Pair value.", - "type": "string" - } - } - }, "NetworkFeatures": { "description": "Full view of network features for an app (presently VNET integration and Hybrid Connections).", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -18421,7 +16265,7 @@ "readOnly": true }, "virtualNetworkConnection": { - "$ref": "#/definitions/VnetInfo", + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo", "description": "The Virtual Network summary view.", "readOnly": true }, @@ -18437,7 +16281,7 @@ "description": "The Hybrid Connection V2 (Service Bus) view.", "type": "array", "items": { - "$ref": "#/definitions/HybridConnection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" }, "readOnly": true } @@ -18446,63 +16290,6 @@ } } }, - "Operation": { - "description": "Operation.", - "type": "object", - "properties": { - "id": { - "description": "Operation ID.", - "type": "string" - }, - "name": { - "description": "Operation name.", - "type": "string" - }, - "status": { - "description": "The current status of the operation.", - "enum": [ - "InProgress", - "Failed", - "Succeeded", - "TimedOut", - "Created" - ], - "type": "string", - "x-ms-enum": { - "name": "OperationStatus", - "modelAsString": false - } - }, - "errors": { - "description": "Any errors associate with the operation.", - "type": "array", - "items": { - "$ref": "#/definitions/ErrorEntity" - } - }, - "createdTime": { - "format": "date-time", - "description": "Time when operation has started.", - "type": "string" - }, - "modifiedTime": { - "format": "date-time", - "description": "Time when operation has been updated.", - "type": "string" - }, - "expirationTime": { - "format": "date-time", - "description": "Time when operation will expire.", - "type": "string" - }, - "geoMasterOperationId": { - "format": "uuid", - "description": "Applicable only for stamp operation ids.", - "type": "string", - "example": "00000000-0000-0000-0000-000000000000" - } - } - }, "PerfMonCounterCollection": { "description": "Collection of performance monitor counters.", "required": [ @@ -18597,7 +16384,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Resource" } ], "properties": { @@ -18650,7 +16437,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -18674,19 +16461,19 @@ "description": "HRef URI.", "type": "string" }, - "miniDump": { + "minidump": { "description": "Minidump URI.", "type": "string" }, - "isProfileRunning": { + "is_profile_running": { "description": "Is profile running?", "type": "boolean" }, - "isIisProfileRunning": { + "is_iis_profile_running": { "description": "Is the IIS Profile running?", "type": "boolean" }, - "iisProfileTimeoutInSeconds": { + "iis_profile_timeout_in_seconds": { "format": "double", "description": "IIS Profile timeout (seconds).", "type": "number" @@ -18709,7 +16496,7 @@ "$ref": "#/definitions/ProcessThreadInfo" } }, - "openFileHandles": { + "open_file_handles": { "description": "List of open files.", "type": "array", "items": { @@ -18723,112 +16510,112 @@ "$ref": "#/definitions/ProcessModuleInfo" } }, - "fileName": { + "file_name": { "description": "File name of this process.", "type": "string" }, - "commandLine": { + "command_line": { "description": "Command line.", "type": "string" }, - "userName": { + "user_name": { "description": "User name.", "type": "string" }, - "handleCount": { + "handle_count": { "format": "int32", "description": "Handle count.", "type": "integer" }, - "moduleCount": { + "module_count": { "format": "int32", "description": "Module count.", "type": "integer" }, - "threadCount": { + "thread_count": { "format": "int32", "description": "Thread count.", "type": "integer" }, - "startTime": { + "start_time": { "format": "date-time", "description": "Start time.", "type": "string" }, - "totalProcessorTime": { + "total_cpu_time": { "description": "Total CPU time.", "type": "string" }, - "userProcessorTime": { + "user_cpu_time": { "description": "User CPU time.", "type": "string" }, - "privilegedProcessorTime": { + "privileged_cpu_time": { "description": "Privileged CPU time.", "type": "string" }, - "workingSet64": { + "working_set": { "format": "int64", "description": "Working set.", "type": "integer" }, - "peakWorkingSet64": { + "peak_working_set": { "format": "int64", "description": "Peak working set.", "type": "integer" }, - "privateMemorySize64": { + "private_memory": { "format": "int64", "description": "Private memory size.", "type": "integer" }, - "virtualMemorySize64": { + "virtual_memory": { "format": "int64", "description": "Virtual memory size.", "type": "integer" }, - "peakVirtualMemorySize64": { + "peak_virtual_memory": { "format": "int64", "description": "Peak virtual memory usage.", "type": "integer" }, - "pagedSystemMemorySize64": { + "paged_system_memory": { "format": "int64", "description": "Paged system memory.", "type": "integer" }, - "nonpagedSystemMemorySize64": { + "non_paged_system_memory": { "format": "int64", "description": "Non-paged system memory.", "type": "integer" }, - "pagedMemorySize64": { + "paged_memory": { "format": "int64", "description": "Paged memory.", "type": "integer" }, - "peakPagedMemorySize64": { + "peak_paged_memory": { "format": "int64", "description": "Peak paged memory.", "type": "integer" }, - "timeStamp": { + "time_stamp": { "format": "date-time", "description": "Time stamp.", "type": "string" }, - "environmentVariables": { + "environment_variables": { "description": "List of environment variables.", "type": "object", "additionalProperties": { "type": "string" } }, - "isScmSite": { + "is_scm_site": { "description": "Is this the SCM site?", "type": "boolean" }, - "isWebJob": { + "is_webjob": { "description": "Is this a Web Job?", "type": "boolean" }, @@ -18866,18 +16653,18 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { "properties": { "description": "ProcessModuleInfo resource specific properties", "properties": { - "baseAddress": { + "base_address": { "description": "Base address. Used as module identifier in ARM resource URI.", "type": "string" }, - "fileName": { + "file_name": { "description": "File name.", "type": "string" }, @@ -18885,20 +16672,20 @@ "description": "HRef URI.", "type": "string" }, - "filePath": { + "file_path": { "description": "File path.", "type": "string" }, - "moduleMemorySize": { + "module_memory_size": { "format": "int32", "description": "Module memory size.", "type": "integer" }, - "fileVersion": { + "file_version": { "description": "File version.", "type": "string" }, - "fileDescription": { + "file_description": { "description": "File description.", "type": "string" }, @@ -18906,11 +16693,11 @@ "description": "Product name.", "type": "string" }, - "productVersion": { + "product_version": { "description": "Product version.", "type": "string" }, - "isDebug": { + "is_debug": { "description": "Is debug?", "type": "boolean" }, @@ -18948,7 +16735,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -18968,38 +16755,38 @@ "description": "Process URI.", "type": "string" }, - "startAddress": { + "start_address": { "description": "Start address.", "type": "string" }, - "currentPriority": { + "current_priority": { "format": "int32", "description": "Current thread priority.", "type": "integer" }, - "priorityLevel": { + "priority_level": { "description": "Thread priority level.", "type": "string" }, - "basePriority": { + "base_priority": { "format": "int32", "description": "Base priority.", "type": "integer" }, - "startTime": { + "start_time": { "format": "date-time", "description": "Start time.", "type": "string" }, - "totalProcessorTime": { + "total_processor_time": { "description": "Total processor time.", "type": "string" }, - "userProcessorTime": { + "user_processor_time": { "description": "User processor time.", "type": "string" }, - "priviledgedProcessorTime": { + "priviledged_processor_time": { "description": "Priviledged processor time.", "type": "string" }, @@ -19007,7 +16794,7 @@ "description": "Thread state.", "type": "string" }, - "waitReason": { + "wait_reason": { "description": "Wait reason.", "type": "string" } @@ -19036,37 +16823,12 @@ } } }, - "ProxyOnlyResource": { - "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - } - }, - "x-ms-azure-resource": true - }, "PublicCertificate": { "description": "Public certificate object", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -19121,91 +16883,12 @@ } } }, - "PushSettings": { - "description": "Push settings for the App.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "PushSettings resource specific properties", - "required": [ - "isPushEnabled" - ], - "properties": { - "isPushEnabled": { - "description": "Gets or sets a flag indicating whether the Push endpoint is enabled.", - "type": "boolean" - }, - "tagWhitelistJson": { - "description": "Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", - "type": "string" - }, - "tagsRequiringAuth": { - "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\nTags can consist of alphanumeric characters and the following:\n'_', '@', '#', '.', ':', '-'. \nValidation should be performed at the PushRequestHandler.", - "type": "string" - }, - "dynamicTagsJson": { - "description": "Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "RampUpRule": { - "description": "Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance.", - "type": "object", - "properties": { - "actionHostName": { - "description": "Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net.", - "type": "string" - }, - "reroutePercentage": { - "format": "double", - "description": "Percentage of the traffic which will be redirected to ActionHostName.", - "type": "number" - }, - "changeStep": { - "format": "double", - "description": "In auto ramp up scenario this is the step to to add/remove from ReroutePercentage until it reaches \nMinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specificed in ChangeIntervalInMinutes.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", - "type": "number" - }, - "changeIntervalInMinutes": { - "format": "int32", - "description": "Specifies interval in mimuntes to reevaluate ReroutePercentage.", - "type": "integer" - }, - "minReroutePercentage": { - "format": "double", - "description": "Specifies lower boundary above which ReroutePercentage will stay.", - "type": "number" - }, - "maxReroutePercentage": { - "format": "double", - "description": "Specifies upper boundary below which ReroutePercentage will stay.", - "type": "number" - }, - "changeDecisionCallbackUrl": { - "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\nhttps://www.siteextensions.net/packages/TiPCallback/", - "type": "string" - }, - "name": { - "description": "Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment.", - "type": "string" - } - } - }, "RelayServiceConnectionEntity": { "description": "Hybrid Connection for an App Service app.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -19239,347 +16922,14 @@ } } }, - "RequestsBasedTrigger": { - "description": "Trigger based on total requests.", + "RestoreRequest": { + "description": "Description of a restore request.", "type": "object", - "properties": { - "count": { - "format": "int32", - "description": "Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" + "allOf": [ + { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } - } - }, - "Resource": { - "description": "Azure resource. This resource is tracked in Azure Resource Manager", - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "location": { - "description": "Resource Location.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - }, - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "identity": { - "description": "Identity for the resource.", - "type": "object", - "properties": { - "principalId": { - "description": "The principal ID of resource identity.", - "type": "string", - "readOnly": true - }, - "tenantId": { - "description": "The tenant ID of resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The identity type.", - "type": "string", - "enum": [ - "SystemAssigned" - ], - "x-ms-enum": { - "name": "ManagedServiceIdentityType", - "modelAsString": false - } - } - } - } - } - }, - "ResourceMetric": { - "description": "Object representing a metric for any resource .", - "type": "object", - "properties": { - "name": { - "$ref": "#/definitions/ResourceMetricName", - "description": "Name of metric.", - "readOnly": true - }, - "unit": { - "description": "Metric unit.", - "type": "string", - "readOnly": true - }, - "timeGrain": { - "description": "Metric granularity. E.g PT1H, PT5M, P1D", - "type": "string", - "readOnly": true - }, - "startTime": { - "format": "date-time", - "description": "Metric start time.", - "type": "string", - "readOnly": true - }, - "endTime": { - "format": "date-time", - "description": "Metric end time.", - "type": "string", - "readOnly": true - }, - "resourceId": { - "description": "Metric resource Id.", - "type": "string", - "readOnly": true - }, - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "metricValues": { - "description": "Metric values.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricValue" - }, - "readOnly": true - }, - "properties": { - "description": "Properties.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricProperty" - }, - "readOnly": true - } - } - }, - "ResourceMetricAvailability": { - "description": "Metrics availability and retention.", - "type": "object", - "properties": { - "timeGrain": { - "description": "Time grain .", - "type": "string", - "readOnly": true - }, - "retention": { - "description": "Retention period for the current time grain.", - "type": "string", - "readOnly": true - } - } - }, - "ResourceMetricCollection": { - "description": "Collection of metric responses.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetric" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, - "ResourceMetricDefinition": { - "description": "Metadata for the metrics.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "ResourceMetricDefinition resource specific properties", - "properties": { - "name": { - "$ref": "#/definitions/ResourceMetricName", - "description": "Name of the metric.", - "readOnly": true - }, - "unit": { - "description": "Unit of the metric.", - "type": "string", - "readOnly": true - }, - "primaryAggregationType": { - "description": "Primary aggregation type.", - "type": "string", - "readOnly": true - }, - "metricAvailabilities": { - "description": "List of time grains supported for the metric together with retention period.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricAvailability" - }, - "readOnly": true - }, - "resourceUri": { - "description": "Resource URI.", - "type": "string", - "readOnly": true - }, - "id": { - "description": "Resource ID.", - "type": "string", - "readOnly": true - }, - "properties": { - "description": "Properties.", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "ResourceMetricDefinitionCollection": { - "description": "Collection of metric definitions.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricDefinition" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, - "ResourceMetricName": { - "description": "Name of a metric for any resource .", - "type": "object", - "properties": { - "value": { - "description": "metric name value.", - "type": "string", - "readOnly": true - }, - "localizedValue": { - "description": "Localized metric name value.", - "type": "string", - "readOnly": true - } - } - }, - "ResourceMetricProperty": { - "description": "Resource metric property.", - "type": "object", - "properties": { - "key": { - "description": "Key for resource metric property.", - "type": "string" - }, - "value": { - "description": "Value of pair.", - "type": "string" - } - } - }, - "ResourceMetricValue": { - "description": "Value of resource metric.", - "type": "object", - "properties": { - "timestamp": { - "description": "Value timestamp.", - "type": "string", - "readOnly": true - }, - "average": { - "format": "float", - "description": "Value average.", - "type": "number", - "readOnly": true - }, - "minimum": { - "format": "float", - "description": "Value minimum.", - "type": "number", - "readOnly": true - }, - "maximum": { - "format": "float", - "description": "Value maximum.", - "type": "number", - "readOnly": true - }, - "total": { - "format": "float", - "description": "Value total.", - "type": "number", - "readOnly": true - }, - "count": { - "format": "float", - "description": "Value count.", - "type": "number", - "readOnly": true - }, - "properties": { - "description": "Properties.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricProperty" - }, - "readOnly": true - } - } - }, - "RestoreRequest": { - "description": "Description of a restore request.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], + ], "properties": { "properties": { "description": "RestoreRequest resource specific properties", @@ -19590,292 +16940,85 @@ "properties": { "storageAccountUrl": { "description": "SAS URL to the container.", - "type": "string" - }, - "blobName": { - "description": "Name of a blob which contains the backup.", - "type": "string" - }, - "overwrite": { - "description": "true if the restore operation can overwrite target app; otherwise, false. true is needed if trying to restore over an existing app.", - "type": "boolean" - }, - "siteName": { - "description": "Name of an app.", - "type": "string" - }, - "databases": { - "description": "Collection of databases which should be restored. This list has to match the list of databases included in the backup.", - "type": "array", - "items": { - "$ref": "#/definitions/DatabaseBackupSetting" - } - }, - "ignoreConflictingHostNames": { - "description": "Changes a logic when restoring an app with custom domains. true to remove custom domains automatically. If false, custom domains are added to \nthe app's object when it is being restored, but that might fail due to conflicts during the operation.", - "default": false, - "type": "boolean" - }, - "ignoreDatabases": { - "description": "Ignore the databases and only restore the site content", - "default": false, - "type": "boolean" - }, - "appServicePlan": { - "description": "Specify app service plan that will own restored site.", - "type": "string" - }, - "operationType": { - "description": "Operation type.", - "default": "Default", - "enum": [ - "Default", - "Clone", - "Relocation", - "Snapshot" - ], - "type": "string", - "x-ms-enum": { - "name": "BackupRestoreOperationType", - "modelAsString": false - } - }, - "adjustConnectionStrings": { - "description": "true if SiteConfig.ConnectionStrings should be set in new app; otherwise, false.", - "type": "boolean" - }, - "hostingEnvironment": { - "description": "App Service Environment name, if needed (only when restoring an app to an App Service Environment).", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "RestoreResponse": { - "description": "Response for an app restore request.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "RestoreResponse resource specific properties", - "properties": { - "operationId": { - "description": "When server starts the restore process, it will return an operation ID identifying that particular restore operation.", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "Site": { - "description": "A web app, a mobile app backend, or an API app.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Site resource specific properties", - "properties": { - "state": { - "description": "Current state of the app.", - "type": "string", - "readOnly": true - }, - "hostNames": { - "description": "Hostnames associated with the app.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "repositorySiteName": { - "description": "Name of the repository site.", - "type": "string", - "readOnly": true - }, - "usageState": { - "description": "State indicating whether the app has exceeded its quota usage. Read-only.", - "enum": [ - "Normal", - "Exceeded" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "UsageState", - "modelAsString": false - } - }, - "enabled": { - "description": "true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).", - "type": "boolean" - }, - "enabledHostNames": { - "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\nthe app is not served on those hostnames.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "availabilityState": { - "description": "Management information availability state for the app.", - "enum": [ - "Normal", - "Limited", - "DisasterRecoveryMode" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "SiteAvailabilityState", - "modelAsString": false - } - }, - "hostNameSslStates": { - "description": "Hostname SSL states are used to manage the SSL bindings for app's hostnames.", - "type": "array", - "items": { - "$ref": "#/definitions/HostNameSslState" - } - }, - "serverFarmId": { - "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", - "type": "string" - }, - "reserved": { - "description": "true if reserved; otherwise, false.", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "lastModifiedTimeUtc": { - "format": "date-time", - "description": "Last time the app was modified, in UTC. Read-only.", - "type": "string", - "readOnly": true - }, - "siteConfig": { - "$ref": "#/definitions/SiteConfig", - "description": "Configuration of the app." - }, - "trafficManagerHostNames": { - "description": "Azure Traffic Manager hostnames associated with the app. Read-only.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "scmSiteAlsoStopped": { - "description": "true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", - "default": false, - "type": "boolean" - }, - "targetSwapSlot": { - "description": "Specifies which deployment slot this app will swap into. Read-only.", - "type": "string", - "readOnly": true - }, - "hostingEnvironmentProfile": { - "$ref": "#/definitions/HostingEnvironmentProfile", - "description": "App Service Environment to use for the app.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "clientAffinityEnabled": { - "description": "true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.", - "type": "boolean" - }, - "clientCertEnabled": { - "description": "true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.", - "type": "boolean" - }, - "hostNamesDisabled": { - "description": "true to disable the public hostnames of the app; otherwise, false.\n If true, the app is only accessible via API management process.", - "type": "boolean" + "type": "string" }, - "outboundIpAddresses": { - "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Read-only.", - "type": "string", - "readOnly": true + "blobName": { + "description": "Name of a blob which contains the backup.", + "type": "string" }, - "containerSize": { - "format": "int32", - "description": "Size of the function container.", - "type": "integer" + "overwrite": { + "description": "true if the restore operation can overwrite target app; otherwise, false. true is needed if trying to restore over an existing app.", + "type": "boolean" }, - "dailyMemoryTimeQuota": { - "format": "int32", - "description": "Maximum allowed daily memory-time quota (applicable on dynamic apps only).", - "type": "integer" + "siteName": { + "description": "Name of an app.", + "type": "string" }, - "suspendedTill": { - "format": "date-time", - "description": "App suspended till in case memory-time quota is exceeded.", - "type": "string", - "readOnly": true + "databases": { + "description": "Collection of databases which should be restored. This list has to match the list of databases included in the backup.", + "type": "array", + "items": { + "$ref": "#/definitions/DatabaseBackupSetting" + } }, - "maxNumberOfWorkers": { - "format": "int32", - "description": "Maximum number of workers.\nThis only applies to Functions container.", - "type": "integer", - "readOnly": true + "ignoreConflictingHostNames": { + "description": "Changes a logic when restoring an app with custom domains. true to remove custom domains automatically. If false, custom domains are added to \nthe app's object when it is being restored, but that might fail due to conflicts during the operation.", + "default": false, + "type": "boolean" }, - "cloningInfo": { - "$ref": "#/definitions/CloningInfo", - "description": "If specified during app creation, the app is cloned from a source app.", - "x-ms-mutability": [ - "create" - ] + "ignoreDatabases": { + "description": "Ignore the databases and only restore the site content", + "default": false, + "type": "boolean" }, - "snapshotInfo": { - "$ref": "#/definitions/SnapshotRecoveryRequest", - "description": "If specified during app creation, the app is created from a previous snapshot.", - "x-ms-mutability": [ - "create" - ] + "appServicePlan": { + "description": "Specify app service plan that will own restored site.", + "type": "string" }, - "resourceGroup": { - "description": "Name of the resource group the app belongs to. Read-only.", + "operationType": { + "description": "Operation type.", + "default": "Default", + "enum": [ + "Default", + "Clone", + "Relocation", + "Snapshot" + ], "type": "string", - "readOnly": true + "x-ms-enum": { + "name": "BackupRestoreOperationType", + "modelAsString": false + } }, - "isDefaultContainer": { - "description": "true if the app is a default container; otherwise, false.", - "type": "boolean", - "readOnly": true + "adjustConnectionStrings": { + "description": "true if SiteConfig.ConnectionStrings should be set in new app; otherwise, false.", + "type": "boolean" }, - "defaultHostName": { - "description": "Default hostname of the app. Read-only.", + "hostingEnvironment": { + "description": "App Service Environment name, if needed (only when restoring an app to an App Service Environment).", + "type": "string" + } + }, + "x-ms-client-flatten": true + } + } + }, + "RestoreResponse": { + "description": "Response for an app restore request.", + "type": "object", + "allOf": [ + { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "RestoreResponse resource specific properties", + "properties": { + "operationId": { + "description": "When server starts the restore process, it will return an operation ID identifying that particular restore operation.", "type": "string", "readOnly": true - }, - "slotSwapStatus": { - "$ref": "#/definitions/SlotSwapStatus", - "description": "Status of the last deployment slot swap operation.", - "readOnly": true - }, - "httpsOnly": { - "description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests", - "type": "boolean" } }, "x-ms-client-flatten": true @@ -19887,7 +17030,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -20042,302 +17185,59 @@ ], "type": "string", "x-ms-enum": { - "name": "CloneAbilityResult", - "modelAsString": false - } - }, - "blockingFeatures": { - "description": "List of features enabled on app that prevent cloning.", - "type": "array", - "items": { - "$ref": "#/definitions/SiteCloneabilityCriterion" - } - }, - "unsupportedFeatures": { - "description": "List of features enabled on app that are non-blocking but cannot be cloned. The app can still be cloned\nbut the features in this list will not be set up on cloned app.", - "type": "array", - "items": { - "$ref": "#/definitions/SiteCloneabilityCriterion" - } - }, - "blockingCharacteristics": { - "description": "List of blocking application characteristics.", - "type": "array", - "items": { - "$ref": "#/definitions/SiteCloneabilityCriterion" - } - } - } - }, - "SiteCloneabilityCriterion": { - "description": "An app cloneability criterion.", - "type": "object", - "properties": { - "name": { - "description": "Name of criterion.", - "type": "string" - }, - "description": { - "description": "Description of criterion.", - "type": "string" - } - } - }, - "SiteConfig": { - "description": "Configuration of an App Service app.", - "type": "object", - "properties": { - "numberOfWorkers": { - "format": "int32", - "description": "Number of workers.", - "type": "integer" - }, - "defaultDocuments": { - "description": "Default documents.", - "type": "array", - "items": { - "type": "string" - } - }, - "netFrameworkVersion": { - "description": ".NET Framework version.", - "default": "v4.6", - "type": "string" - }, - "phpVersion": { - "description": "Version of PHP.", - "type": "string" - }, - "pythonVersion": { - "description": "Version of Python.", - "type": "string" - }, - "nodeVersion": { - "description": "Version of Node.js.", - "type": "string" - }, - "linuxFxVersion": { - "description": "Linux App Framework and version", - "type": "string" - }, - "requestTracingEnabled": { - "description": "true if request tracing is enabled; otherwise, false.", - "type": "boolean" - }, - "requestTracingExpirationTime": { - "format": "date-time", - "description": "Request tracing expiration time.", - "type": "string" - }, - "remoteDebuggingEnabled": { - "description": "true if remote debugging is enabled; otherwise, false.", - "type": "boolean" - }, - "remoteDebuggingVersion": { - "description": "Remote debugging version.", - "type": "string" - }, - "httpLoggingEnabled": { - "description": "true if HTTP logging is enabled; otherwise, false.", - "type": "boolean" - }, - "logsDirectorySizeLimit": { - "format": "int32", - "description": "HTTP logs directory size limit.", - "type": "integer" - }, - "detailedErrorLoggingEnabled": { - "description": "true if detailed error logging is enabled; otherwise, false.", - "type": "boolean" - }, - "publishingUsername": { - "description": "Publishing user name.", - "type": "string" - }, - "appSettings": { - "description": "Application settings.", - "type": "array", - "items": { - "$ref": "#/definitions/NameValuePair" - } - }, - "connectionStrings": { - "description": "Connection strings.", - "type": "array", - "items": { - "$ref": "#/definitions/ConnStringInfo" - } - }, - "machineKey": { - "$ref": "#/definitions/SiteMachineKey", - "description": "Site MachineKey.", - "readOnly": true - }, - "handlerMappings": { - "description": "Handler mappings.", - "type": "array", - "items": { - "$ref": "#/definitions/HandlerMapping" - } - }, - "documentRoot": { - "description": "Document root.", - "type": "string" - }, - "scmType": { - "description": "SCM type.", - "enum": [ - "None", - "Dropbox", - "Tfs", - "LocalGit", - "GitHub", - "CodePlexGit", - "CodePlexHg", - "BitbucketGit", - "BitbucketHg", - "ExternalGit", - "ExternalHg", - "OneDrive", - "VSO" - ], - "type": "string", - "x-ms-enum": { - "name": "ScmType", - "modelAsString": true - } - }, - "use32BitWorkerProcess": { - "description": "true to use 32-bit worker process; otherwise, false.", - "type": "boolean" - }, - "webSocketsEnabled": { - "description": "true if WebSocket is enabled; otherwise, false.", - "type": "boolean" - }, - "alwaysOn": { - "description": "true if Always On is enabled; otherwise, false.", - "type": "boolean" - }, - "javaVersion": { - "description": "Java version.", - "type": "string" - }, - "javaContainer": { - "description": "Java container.", - "type": "string" - }, - "javaContainerVersion": { - "description": "Java container version.", - "type": "string" - }, - "appCommandLine": { - "description": "App command line to launch.", - "type": "string" - }, - "managedPipelineMode": { - "description": "Managed pipeline mode.", - "enum": [ - "Integrated", - "Classic" - ], - "type": "string", - "x-ms-enum": { - "name": "ManagedPipelineMode", - "modelAsString": false - } - }, - "virtualApplications": { - "description": "Virtual applications.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualApplication" - } - }, - "loadBalancing": { - "description": "Site load balancing.", - "enum": [ - "WeightedRoundRobin", - "LeastRequests", - "LeastResponseTime", - "WeightedTotalTraffic", - "RequestHash" - ], - "type": "string", - "x-ms-enum": { - "name": "SiteLoadBalancing", - "modelAsString": false - } - }, - "experiments": { - "$ref": "#/definitions/Experiments", - "description": "This is work around for polymophic types." - }, - "limits": { - "$ref": "#/definitions/SiteLimits", - "description": "Site limits." - }, - "autoHealEnabled": { - "description": "true if Auto Heal is enabled; otherwise, false.", - "type": "boolean" - }, - "autoHealRules": { - "$ref": "#/definitions/AutoHealRules", - "description": "Auto Heal rules." - }, - "tracingOptions": { - "description": "Tracing options.", - "type": "string" - }, - "vnetName": { - "description": "Virtual Network name.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "cors": { - "$ref": "#/definitions/CorsSettings", - "description": "Cross-Origin Resource Sharing (CORS) settings." - }, - "push": { - "$ref": "#/definitions/PushSettings", - "description": "Push endpoint settings." - }, - "apiDefinition": { - "$ref": "#/definitions/ApiDefinitionInfo", - "description": "Information about the formal API definition for the app." + "name": "CloneAbilityResult", + "modelAsString": false + } }, - "autoSwapSlotName": { - "description": "Auto-swap slot name.", - "type": "string" + "blockingFeatures": { + "description": "List of features enabled on app that prevent cloning.", + "type": "array", + "items": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteCloneabilityCriterion" + } }, - "localMySqlEnabled": { - "description": "true to enable local MySQL; otherwise, false.", - "default": false, - "type": "boolean" + "unsupportedFeatures": { + "description": "List of features enabled on app that are non-blocking but cannot be cloned. The app can still be cloned\nbut the features in this list will not be set up on cloned app.", + "type": "array", + "items": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteCloneabilityCriterion" + } }, - "ipSecurityRestrictions": { - "description": "IP security restrictions.", + "blockingCharacteristics": { + "description": "List of blocking application characteristics.", "type": "array", "items": { - "$ref": "#/definitions/IpSecurityRestriction" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteCloneabilityCriterion" } } } }, + "SiteCloneabilityCriterion": { + "description": "An app cloneability criterion.", + "type": "object", + "properties": { + "name": { + "description": "Name of criterion.", + "type": "string" + }, + "description": { + "description": "Description of criterion.", + "type": "string" + } + } + }, "SiteConfigResource": { "description": "Web app configuration ARM resource.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { "properties": { - "$ref": "#/definitions/SiteConfig", + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfig", + "description": "Core resource properties", "x-ms-client-flatten": true } } @@ -20353,7 +17253,7 @@ "description": "Collection of resources.", "type": "array", "items": { - "$ref": "#/definitions/SiteConfigResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigResource" } }, "nextLink": { @@ -20367,7 +17267,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -20391,12 +17291,32 @@ } } }, + "SiteConfigurationSnapshotInfoCollection": { + "description": "Collection of metadata for the app configuration snapshots that can be restored.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigurationSnapshotInfo" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, "SiteExtensionInfo": { "description": "Site Extension Information.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -20435,23 +17355,23 @@ "description": "Version information.", "type": "string" }, - "extensionUrl": { + "extension_url": { "description": "Extension URL.", "type": "string" }, - "projectUrl": { + "project_url": { "description": "Project URL.", "type": "string" }, - "iconUrl": { + "icon_url": { "description": "Icon URL.", "type": "string" }, - "licenseUrl": { + "license_url": { "description": "License URL.", "type": "string" }, - "feedUrl": { + "feed_url": { "description": "Feed URL.", "type": "string" }, @@ -20462,29 +17382,29 @@ "type": "string" } }, - "installationArgs": { + "installer_command_line_params": { "description": "Installer command line parameters.", "type": "string" }, - "publishedDateTime": { + "published_date_time": { "format": "date-time", "description": "Published timestamp.", "type": "string" }, - "downloadCount": { + "download_count": { "format": "int32", "description": "Count of downloads.", "type": "integer" }, - "localIsLatestVersion": { + "local_is_latest_version": { "description": "true if the local version is the latest version; false otherwise.", "type": "boolean" }, - "localPath": { + "local_path": { "description": "Local path.", "type": "string" }, - "installedDateTime": { + "installed_date_time": { "format": "date-time", "description": "Installed timestamp.", "type": "string" @@ -20513,7 +17433,7 @@ "description": "Collection of resources.", "type": "array", "items": { - "$ref": "#/definitions/SiteExtensionInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteExtensionInfo" } }, "nextLink": { @@ -20527,7 +17447,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -20544,33 +17464,12 @@ } } }, - "SiteLimits": { - "description": "Metric limits set on an app.", - "type": "object", - "properties": { - "maxPercentageCpu": { - "format": "double", - "description": "Maximum allowed CPU usage percentage.", - "type": "number" - }, - "maxMemoryInMb": { - "format": "int64", - "description": "Maximum allowed memory usage in MB.", - "type": "integer" - }, - "maxDiskSizeInMb": { - "format": "int64", - "description": "Maximum allowed disk size usage in MB.", - "type": "integer" - } - } - }, "SiteLogsConfig": { "description": "Configuration of App Service site logs.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -20589,43 +17488,233 @@ "$ref": "#/definitions/EnabledConfig", "description": "Failed requests tracing configuration." }, - "detailedErrorMessages": { - "$ref": "#/definitions/EnabledConfig", - "description": "Detailed error messages configuration." + "detailedErrorMessages": { + "$ref": "#/definitions/EnabledConfig", + "description": "Detailed error messages configuration." + } + }, + "x-ms-client-flatten": true + } + } + }, + "SitePatchResource": { + "description": "ARM resource for a site.", + "type": "object", + "allOf": [ + { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "SitePatchResource resource specific properties", + "properties": { + "state": { + "description": "Current state of the app.", + "type": "string", + "readOnly": true + }, + "hostNames": { + "description": "Hostnames associated with the app.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "repositorySiteName": { + "description": "Name of the repository site.", + "type": "string", + "readOnly": true + }, + "usageState": { + "description": "State indicating whether the app has exceeded its quota usage. Read-only.", + "enum": [ + "Normal", + "Exceeded" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "UsageState", + "modelAsString": false + } + }, + "enabled": { + "description": "true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).", + "type": "boolean" + }, + "enabledHostNames": { + "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\nthe app is not served on those hostnames.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "availabilityState": { + "description": "Management information availability state for the app.", + "enum": [ + "Normal", + "Limited", + "DisasterRecoveryMode" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "SiteAvailabilityState", + "modelAsString": false + } + }, + "hostNameSslStates": { + "description": "Hostname SSL states are used to manage the SSL bindings for app's hostnames.", + "type": "array", + "items": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HostNameSslState" + } + }, + "serverFarmId": { + "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", + "type": "string" + }, + "reserved": { + "description": "true if reserved; otherwise, false.", + "default": false, + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "lastModifiedTimeUtc": { + "format": "date-time", + "description": "Last time the app was modified, in UTC. Read-only.", + "type": "string", + "readOnly": true + }, + "siteConfig": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfig", + "description": "Configuration of the app." + }, + "trafficManagerHostNames": { + "description": "Azure Traffic Manager hostnames associated with the app. Read-only.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "scmSiteAlsoStopped": { + "description": "true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", + "default": false, + "type": "boolean" + }, + "targetSwapSlot": { + "description": "Specifies which deployment slot this app will swap into. Read-only.", + "type": "string", + "readOnly": true + }, + "hostingEnvironmentProfile": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HostingEnvironmentProfile", + "description": "App Service Environment to use for the app.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "clientAffinityEnabled": { + "description": "true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.", + "type": "boolean" + }, + "clientCertEnabled": { + "description": "true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.", + "type": "boolean" + }, + "hostNamesDisabled": { + "description": "true to disable the public hostnames of the app; otherwise, false.\n If true, the app is only accessible via API management process.", + "type": "boolean" + }, + "outboundIpAddresses": { + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only.", + "type": "string", + "readOnly": true + }, + "possibleOutboundIpAddresses": { + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only.", + "type": "string", + "readOnly": true + }, + "containerSize": { + "format": "int32", + "description": "Size of the function container.", + "type": "integer" + }, + "dailyMemoryTimeQuota": { + "format": "int32", + "description": "Maximum allowed daily memory-time quota (applicable on dynamic apps only).", + "type": "integer" + }, + "suspendedTill": { + "format": "date-time", + "description": "App suspended till in case memory-time quota is exceeded.", + "type": "string", + "readOnly": true + }, + "maxNumberOfWorkers": { + "format": "int32", + "description": "Maximum number of workers.\nThis only applies to Functions container.", + "type": "integer", + "readOnly": true + }, + "cloningInfo": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/CloningInfo", + "description": "If specified during app creation, the app is cloned from a source app.", + "x-ms-mutability": [ + "create" + ] + }, + "snapshotInfo": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SnapshotRecoveryRequest", + "description": "If specified during app creation, the app is created from a previous snapshot.", + "x-ms-mutability": [ + "create" + ] + }, + "resourceGroup": { + "description": "Name of the resource group the app belongs to. Read-only.", + "type": "string", + "readOnly": true + }, + "isDefaultContainer": { + "description": "true if the app is a default container; otherwise, false.", + "type": "boolean", + "readOnly": true + }, + "defaultHostName": { + "description": "Default hostname of the app. Read-only.", + "type": "string", + "readOnly": true + }, + "slotSwapStatus": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SlotSwapStatus", + "description": "Status of the last deployment slot swap operation.", + "readOnly": true + }, + "httpsOnly": { + "description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests", + "type": "boolean" } }, "x-ms-client-flatten": true } } }, - "SiteMachineKey": { - "description": "MachineKey of an app.", - "type": "object", - "properties": { - "validation": { - "description": "MachineKey validation.", - "type": "string" - }, - "validationKey": { - "description": "Validation key.", - "type": "string" - }, - "decryption": { - "description": "Decryption.", - "type": "string" - }, - "decryptionKey": { - "description": "Decryption key.", - "type": "string" - } - } - }, "SitePhpErrorLogFlag": { "description": "Used for getting PHP error logging flag.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -20658,7 +17747,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -20735,12 +17824,13 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { "properties": { "$ref": "#/definitions/SlotConfigNames", + "description": "Core resource properties", "x-ms-client-flatten": true } } @@ -20750,7 +17840,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -20817,53 +17907,12 @@ } } }, - "SlotSwapStatus": { - "description": "The status of the last successfull slot swap operation.", - "type": "object", - "properties": { - "timestampUtc": { - "format": "date-time", - "description": "The time the last successful slot swap completed.", - "type": "string", - "readOnly": true - }, - "sourceSlotName": { - "description": "The source slot of the last swap operation.", - "type": "string", - "readOnly": true - }, - "destinationSlotName": { - "description": "The destination slot of the last swap operation.", - "type": "string", - "readOnly": true - } - } - }, - "SlowRequestsBasedTrigger": { - "description": "Trigger based on request execution time.", - "type": "object", - "properties": { - "timeTaken": { - "description": "Time taken.", - "type": "string" - }, - "count": { - "format": "int32", - "description": "Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } - }, "Snapshot": { "description": "A snapshot of an app.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -20900,96 +17949,12 @@ } } }, - "SnapshotRecoveryRequest": { - "description": "Details about app recovery operation.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "SnapshotRecoveryRequest resource specific properties", - "required": [ - "overwrite" - ], - "properties": { - "snapshotTime": { - "description": "Point in time in which the app recovery should be attempted, formatted as a DateTime string.", - "type": "string" - }, - "recoveryTarget": { - "$ref": "#/definitions/SnapshotRecoveryTarget", - "description": "Specifies the web app that snapshot contents will be written to." - }, - "overwrite": { - "description": "If true the recovery operation can overwrite source app; otherwise, false.", - "type": "boolean" - }, - "recoverConfiguration": { - "description": "If true, site configuration, in addition to content, will be reverted.", - "type": "boolean" - }, - "ignoreConflictingHostNames": { - "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\nThis setting is only necessary when RecoverConfiguration is enabled.", - "type": "boolean" - } - }, - "x-ms-client-flatten": true - } - } - }, - "SnapshotRecoveryTarget": { - "description": "Specifies the web app that snapshot contents will be written to.", - "type": "object", - "properties": { - "location": { - "description": "Geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS", - "type": "string" - }, - "id": { - "description": "ARM resource ID of the target app. \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", - "type": "string" - } - } - }, - "StatusCodesBasedTrigger": { - "description": "Trigger based on status code.", - "type": "object", - "properties": { - "status": { - "format": "int32", - "description": "HTTP status code.", - "type": "integer" - }, - "subStatus": { - "format": "int32", - "description": "SubStatus.", - "type": "integer" - }, - "win32Status": { - "format": "int32", - "description": "Win32 error code.", - "type": "integer" - }, - "count": { - "format": "int32", - "description": "Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } - }, "StorageMigrationOptions": { "description": "Options for app content migration.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -21040,7 +18005,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -21062,7 +18027,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -21081,14 +18046,14 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { "properties": { "description": "TriggeredJobHistory resource specific properties", "properties": { - "triggeredJobRuns": { + "runs": { "description": "List of triggered web job runs.", "type": "array", "items": { @@ -21125,7 +18090,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -21158,12 +18123,12 @@ "modelAsString": false } }, - "startTime": { + "start_time": { "format": "date-time", "description": "Start time.", "type": "string" }, - "endTime": { + "end_time": { "format": "date-time", "description": "End time.", "type": "string" @@ -21172,11 +18137,11 @@ "description": "Job duration.", "type": "string" }, - "outputUrl": { + "output_url": { "description": "Output URL.", "type": "string" }, - "errorUrl": { + "error_url": { "description": "Error URL.", "type": "string" }, @@ -21184,7 +18149,7 @@ "description": "Job URL.", "type": "string" }, - "jobName": { + "job_name": { "description": "Job name.", "type": "string" }, @@ -21202,22 +18167,22 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { "properties": { "description": "TriggeredWebJob resource specific properties", "properties": { - "latestRun": { + "latest_run": { "$ref": "#/definitions/TriggeredJobRun", "description": "Latest job run information." }, - "historyUrl": { + "history_url": { "description": "History URL.", "type": "string" }, - "schedulerLogsUrl": { + "scheduler_logs_url": { "description": "Scheduler Logs URL.", "type": "string" }, @@ -21226,7 +18191,7 @@ "type": "string", "readOnly": true }, - "runCommand": { + "run_command": { "description": "Run command.", "type": "string" }, @@ -21234,11 +18199,11 @@ "description": "Job URL.", "type": "string" }, - "extraInfoUrl": { + "extra_info_url": { "description": "Extra Info URL.", "type": "string" }, - "jobType": { + "type": { "description": "Job type.", "enum": [ "Continuous", @@ -21254,7 +18219,7 @@ "description": "Error information.", "type": "string" }, - "usingSdk": { + "using_sdk": { "description": "Using SDK?", "type": "boolean" }, @@ -21290,240 +18255,6 @@ } } }, - "User": { - "description": "User crendentials used for publishing activity.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "User resource specific properties", - "required": [ - "publishingUserName" - ], - "properties": { - "name": { - "description": "Username", - "type": "string", - "x-ms-client-name": "UserName" - }, - "publishingUserName": { - "description": "Username used for publishing.", - "type": "string" - }, - "publishingPassword": { - "format": "password", - "description": "Password used for publishing.", - "type": "string" - }, - "publishingPasswordHash": { - "format": "password", - "description": "Password hash used for publishing.", - "type": "string" - }, - "publishingPasswordHashSalt": { - "format": "password", - "description": "Password hash salt used for publishing.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "VirtualApplication": { - "description": "Virtual application in an app.", - "type": "object", - "properties": { - "virtualPath": { - "description": "Virtual path.", - "type": "string" - }, - "physicalPath": { - "description": "Physical path.", - "type": "string" - }, - "preloadEnabled": { - "description": "true if preloading is enabled; otherwise, false.", - "type": "boolean" - }, - "virtualDirectories": { - "description": "Virtual directories for virtual application.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualDirectory" - } - } - } - }, - "VirtualDirectory": { - "description": "Directory for virtual application.", - "type": "object", - "properties": { - "virtualPath": { - "description": "Path to virtual application.", - "type": "string" - }, - "physicalPath": { - "description": "Physical path.", - "type": "string" - } - } - }, - "VnetGateway": { - "description": "The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "VnetGateway resource specific properties", - "required": [ - "vpnPackageUri" - ], - "properties": { - "vnetName": { - "description": "The Virtual Network name.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "vpnPackageUri": { - "description": "The URI where the VPN package can be downloaded.", - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ] - } - }, - "x-ms-client-flatten": true - } - } - }, - "VnetInfo": { - "description": "Virtual Network information contract.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "VnetInfo resource specific properties", - "properties": { - "vnetResourceId": { - "description": "The Virtual Network's resource ID.", - "type": "string" - }, - "certThumbprint": { - "description": "The client certificate thumbprint.", - "type": "string", - "readOnly": true - }, - "certBlob": { - "format": "byte", - "description": "A certificate file (.cer) blob containing the public key of the private key used to authenticate a \nPoint-To-Site VPN connection.", - "type": "string" - }, - "routes": { - "description": "The routes that this Virtual Network connection uses.", - "type": "array", - "items": { - "$ref": "#/definitions/VnetRoute" - }, - "readOnly": true - }, - "resyncRequired": { - "description": "true if a resync is required; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "dnsServers": { - "description": "DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "VnetRoute": { - "description": "Virtual Network route contract used to pass routing information for a Virtual Network.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "VnetRoute resource specific properties", - "properties": { - "name": { - "description": "The name of this route. This is only returned by the server and does not need to be set by the client.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-ms-client-name": "vnetRouteName" - }, - "startAddress": { - "description": "The starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified.", - "type": "string" - }, - "endAddress": { - "description": "The ending address for this route. If the start address is specified in CIDR notation, this must be omitted.", - "type": "string" - }, - "routeType": { - "description": "The type of route this is:\nDEFAULT - By default, every app has routes to the local address ranges specified by RFC1918\nINHERITED - Routes inherited from the real Virtual Network routes\nSTATIC - Static route set on the app only\n\nThese values will be used for syncing an app's routes with those from a Virtual Network.", - "enum": [ - "DEFAULT", - "INHERITED", - "STATIC" - ], - "type": "string", - "x-ms-enum": { - "name": "RouteType", - "modelAsString": true - } - } - }, - "x-ms-client-flatten": true - } - } - }, - "WebAppCollection": { - "description": "Collection of App Service apps.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/Site" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, "WebAppInstanceCollection": { "description": "Collection of app instances.", "required": [ @@ -21535,7 +18266,7 @@ "description": "Collection of resources.", "type": "array", "items": { - "$ref": "#/definitions/SiteInstance" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteInstance" } }, "nextLink": { @@ -21549,7 +18280,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -21561,7 +18292,7 @@ "type": "string", "readOnly": true }, - "runCommand": { + "run_command": { "description": "Run command.", "type": "string" }, @@ -21569,11 +18300,11 @@ "description": "Job URL.", "type": "string" }, - "extraInfoUrl": { + "extra_info_url": { "description": "Extra Info URL.", "type": "string" }, - "jobType": { + "type": { "description": "Job type.", "enum": [ "Continuous", @@ -21589,7 +18320,7 @@ "description": "Error information.", "type": "string" }, - "usingSdk": { + "using_sdk": { "description": "Using SDK?", "type": "boolean" }, @@ -21639,11 +18370,11 @@ "in": "path", "description": "Name of the resource group to which the resource belongs.", "required": true, - "x-ms-parameter-location": "method", "type": "string", "maxLength": 90, "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$" + "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", + "x-ms-parameter-location": "method" }, "apiVersionParameter": { "name": "api-version", diff --git a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json index 768ddf50eb76..5df9b533a5c3 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json @@ -1,4669 +1,2228 @@ { - "swagger": "2.0", - "info": { - "version": "2016-09-01", - "title": "AppServiceEnvironments API Client" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/hostingEnvironments": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get all App Service Environments for a subscription.", - "description": "Get all App Service Environments for a subscription.", - "operationId": "AppServiceEnvironments_List", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AppServiceEnvironmentCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get all App Service Environments in a resource group.", - "description": "Get all App Service Environments in a resource group.", - "operationId": "AppServiceEnvironments_ListByResourceGroup", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AppServiceEnvironmentCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get the properties of an App Service Environment.", - "description": "Get the properties of an App Service Environment.", - "operationId": "AppServiceEnvironments_Get", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AppServiceEnvironmentResource" - } - } - } - }, - "put": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Create or update an App Service Environment.", - "description": "Create or update an App Service Environment.", - "operationId": "AppServiceEnvironments_CreateOrUpdate", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "hostingEnvironmentEnvelope", - "in": "body", - "description": "Configuration details of the App Service Environment.", - "required": true, - "schema": { - "$ref": "#/definitions/AppServiceEnvironmentResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AppServiceEnvironmentResource" - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "$ref": "#/definitions/AppServiceEnvironmentResource" - } - }, - "400": { - "description": "Bad request." - }, - "404": { - "description": "Not found." - }, - "409": { - "description": "Conflict." - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Delete an App Service Environment.", - "description": "Delete an App Service Environment.", - "operationId": "AppServiceEnvironments_Delete", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "forceDelete", - "in": "query", - "description": "Specify true to force the deletion even if the App Service Environment contains resources. The default is false.", - "type": "boolean" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "202": { - "description": "Operation is in progress." - }, - "204": { - "description": "App Service Environment does not exist" - }, - "400": { - "description": "Bad request." - }, - "404": { - "description": "Not found." - }, - "409": { - "description": "Conflict." - } - }, - "x-ms-long-running-operation": true - }, - "patch": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Create or update an App Service Environment.", - "description": "Create or update an App Service Environment.", - "operationId": "AppServiceEnvironments_Update", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "hostingEnvironmentEnvelope", - "in": "body", - "description": "Configuration details of the App Service Environment.", - "required": true, - "schema": { - "$ref": "#/definitions/AppServiceEnvironmentResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AppServiceEnvironmentResource" - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "$ref": "#/definitions/AppServiceEnvironmentResource" - } - }, - "400": { - "description": "Bad request." - }, - "404": { - "description": "Not found." - }, - "409": { - "description": "Conflict." - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/compute": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get the used, available, and total worker capacity an App Service Environment.", - "description": "Get the used, available, and total worker capacity an App Service Environment.", - "operationId": "AppServiceEnvironments_ListCapacities", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/StampCapacityCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/virtualip": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get IP addresses assigned to an App Service Environment.", - "description": "Get IP addresses assigned to an App Service Environment.", - "operationId": "AppServiceEnvironments_ListVips", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AddressResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get diagnostic information for an App Service Environment.", - "description": "Get diagnostic information for an App Service Environment.", - "operationId": "AppServiceEnvironments_ListDiagnostics", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/HostingEnvironmentDiagnostics" - } - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics/{diagnosticsName}": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get a diagnostics item for an App Service Environment.", - "description": "Get a diagnostics item for an App Service Environment.", - "operationId": "AppServiceEnvironments_GetDiagnosticsItem", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "diagnosticsName", - "in": "path", - "description": "Name of the diagnostics item.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/HostingEnvironmentDiagnostics" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/metricdefinitions": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get global metric definitions of an App Service Environment.", - "description": "Get global metric definitions of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListMetricDefinitions", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/MetricDefinition" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/metrics": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get global metrics of an App Service Environment.", - "description": "Get global metrics of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListMetrics", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "details", - "in": "query", - "description": "Specify true to include instance details. The default is false.", - "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]'.", - "x-ms-skip-url-encoding": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ResourceMetricCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get all multi-role pools.", - "description": "Get all multi-role pools.", - "operationId": "AppServiceEnvironments_ListMultiRolePools", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WorkerPoolCollection" + "swagger": "2.0", + "info": { + "version": "2016-09-01", + "title": "AppServiceEnvironments API Client" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/hostingEnvironments": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get all App Service Environments for a subscription.", + "description": "Get all App Service Environments for a subscription.", + "operationId": "AppServiceEnvironments_List", + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServiceEnvironmentCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get properties of a multi-role pool.", - "description": "Get properties of a multi-role pool.", - "operationId": "AppServiceEnvironments_GetMultiRolePool", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - } - } - }, - "put": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Create or update a multi-role pool.", - "description": "Create or update a multi-role pool.", - "operationId": "AppServiceEnvironments_CreateOrUpdateMultiRolePool", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "multiRolePoolEnvelope", - "in": "body", - "description": "Properties of the multi-role pool.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "$ref": "#/definitions/WorkerPoolResource" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get all App Service Environments in a resource group.", + "description": "Get all App Service Environments in a resource group.", + "operationId": "AppServiceEnvironments_ListByResourceGroup", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServiceEnvironmentCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - }, - "400": { - "description": "Bad request." - }, - "404": { - "description": "Not found." - }, - "409": { - "description": "Conflict." - } }, - "x-ms-long-running-operation": true - }, - "patch": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Create or update a multi-role pool.", - "description": "Create or update a multi-role pool.", - "operationId": "AppServiceEnvironments_UpdateMultiRolePool", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "multiRolePoolEnvelope", - "in": "body", - "description": "Properties of the multi-role pool.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - "400": { - "description": "Bad request." - }, - "404": { - "description": "Not found." - }, - "409": { - "description": "Conflict." - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}/metricdefinitions": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get metric definitions for a specific instance of a multi-role pool of an App Service Environment.", - "description": "Get metric definitions for a specific instance of a multi-role pool of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListMultiRolePoolInstanceMetricDefinitions", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "instance", - "in": "path", - "description": "Name of the instance in the multi-role pool.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ResourceMetricDefinitionCollection" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get the properties of an App Service Environment.", + "description": "Get the properties of an App Service Environment.", + "operationId": "AppServiceEnvironments_Get", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServiceEnvironmentResource" + } + } + } + }, + "put": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Create or update an App Service Environment.", + "description": "Create or update an App Service Environment.", + "operationId": "AppServiceEnvironments_CreateOrUpdate", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "hostingEnvironmentEnvelope", + "in": "body", + "description": "Configuration details of the App Service Environment.", + "required": true, + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServiceEnvironmentResource" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServiceEnvironmentResource" + } + }, + "202": { + "description": "Operation is in progress.", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServiceEnvironmentResource" + } + }, + "400": { + "description": "Bad request." + }, + "404": { + "description": "Not found." + }, + "409": { + "description": "Conflict." + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Delete an App Service Environment.", + "description": "Delete an App Service Environment.", + "operationId": "AppServiceEnvironments_Delete", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "forceDelete", + "in": "query", + "description": "Specify true to force the deletion even if the App Service Environment contains resources. The default is false.", + "type": "boolean" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Operation is in progress." + }, + "204": { + "description": "App Service Environment does not exist" + }, + "400": { + "description": "Bad request." + }, + "404": { + "description": "Not found." + }, + "409": { + "description": "Conflict." + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Create or update an App Service Environment.", + "description": "Create or update an App Service Environment.", + "operationId": "AppServiceEnvironments_Update", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "hostingEnvironmentEnvelope", + "in": "body", + "description": "Configuration details of the App Service Environment.", + "required": true, + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServiceEnvironmentPatchResource" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServiceEnvironmentResource" + } + }, + "202": { + "description": "Operation is in progress.", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServiceEnvironmentResource" + } + }, + "400": { + "description": "Bad request." + }, + "404": { + "description": "Not found." + }, + "409": { + "description": "Conflict." + } + } } - } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}metrics": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get metrics for a specific instance of a multi-role pool of an App Service Environment.", - "description": "Get metrics for a specific instance of a multi-role pool of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListMultiRolePoolInstanceMetrics", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "instance", - "in": "path", - "description": "Name of the instance in the multi-role pool.", - "required": true, - "type": "string" - }, - { - "name": "details", - "in": "query", - "description": "Specify true to include instance details. The default is false.", - "type": "boolean" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ResourceMetricCollection" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/compute": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get the used, available, and total worker capacity an App Service Environment.", + "description": "Get the used, available, and total worker capacity an App Service Environment.", + "operationId": "AppServiceEnvironments_ListCapacities", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/StampCapacityCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metricdefinitions": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get metric definitions for a multi-role pool of an App Service Environment.", - "description": "Get metric definitions for a multi-role pool of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListMultiRoleMetricDefinitions", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ResourceMetricDefinitionCollection" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/virtualip": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get IP addresses assigned to an App Service Environment.", + "description": "Get IP addresses assigned to an App Service Environment.", + "operationId": "AppServiceEnvironments_ListVips", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AddressResponse" + } + } + } } - } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metrics": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get metrics for a multi-role pool of an App Service Environment.", - "description": "Get metrics for a multi-role pool of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListMultiRoleMetrics", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "startTime", - "in": "query", - "description": "Beginning time of the metrics query.", - "type": "string" - }, - { - "name": "endTime", - "in": "query", - "description": "End time of the metrics query.", - "type": "string" - }, - { - "name": "timeGrain", - "in": "query", - "description": "Time granularity of the metrics query.", - "type": "string" - }, - { - "name": "details", - "in": "query", - "description": "Specify true to include instance details. The default is false.", - "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]'.", - "x-ms-skip-url-encoding": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ResourceMetricCollection" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get diagnostic information for an App Service Environment.", + "description": "Get diagnostic information for an App Service Environment.", + "operationId": "AppServiceEnvironments_ListDiagnostics", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/HostingEnvironmentDiagnostics" + } + } + } + } } - } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/skus": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get available SKUs for scaling a multi-role pool.", - "description": "Get available SKUs for scaling a multi-role pool.", - "operationId": "AppServiceEnvironments_ListMultiRolePoolSkus", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SkuInfoCollection" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics/{diagnosticsName}": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get a diagnostics item for an App Service Environment.", + "description": "Get a diagnostics item for an App Service Environment.", + "operationId": "AppServiceEnvironments_GetDiagnosticsItem", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "diagnosticsName", + "in": "path", + "description": "Name of the diagnostics item.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/HostingEnvironmentDiagnostics" + } + } + } } - } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/usages": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get usage metrics for a multi-role pool of an App Service Environment.", - "description": "Get usage metrics for a multi-role pool of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListMultiRoleUsages", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/UsageCollection" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/metricdefinitions": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get global metric definitions of an App Service Environment.", + "description": "Get global metric definitions of an App Service Environment.", + "operationId": "AppServiceEnvironments_ListMetricDefinitions", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MetricDefinition" + } + } + } } - } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/operations": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "List all currently running operations on the App Service Environment.", - "description": "List all currently running operations on the App Service Environment.", - "operationId": "AppServiceEnvironments_ListOperations", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/Operation" - } - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/reboot": { - "post": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Reboot all machines in an App Service Environment.", - "description": "Reboot all machines in an App Service Environment.", - "operationId": "AppServiceEnvironments_Reboot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "202": { - "description": "Asynchronous operation in progress." - }, - "400": { - "description": "Bad request." - }, - "404": { - "description": "Not found." - }, - "409": { - "description": "Conflict." - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/resume": { - "post": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Resume an App Service Environment.", - "description": "Resume an App Service Environment.", - "operationId": "AppServiceEnvironments_Resume", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/WebAppCollection" - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "$ref": "#/definitions/WebAppCollection" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/metrics": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get global metrics of an App Service Environment.", + "description": "Get global metrics of an App Service Environment.", + "operationId": "AppServiceEnvironments_ListMetrics", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "details", + "in": "query", + "description": "Specify true to include instance details. The default is false.", + "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", + "x-ms-skip-url-encoding": true + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - } }, - "x-ms-long-running-operation": true, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/serverfarms": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get all App Service plans in an App Service Environment.", - "description": "Get all App Service plans in an App Service Environment.", - "operationId": "AppServiceEnvironments_ListAppServicePlans", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AppServicePlanCollection" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get all multi-role pools.", + "description": "Get all multi-role pools.", + "operationId": "AppServiceEnvironments_ListMultiRolePools", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/sites": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get all apps in an App Service Environment.", - "description": "Get all apps in an App Service Environment.", - "operationId": "AppServiceEnvironments_ListWebApps", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "propertiesToInclude", - "in": "query", - "description": "Comma separated list of app properties to include.", - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WebAppCollection" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get properties of a multi-role pool.", + "description": "Get properties of a multi-role pool.", + "operationId": "AppServiceEnvironments_GetMultiRolePool", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolResource" + } + } + } + }, + "put": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Create or update a multi-role pool.", + "description": "Create or update a multi-role pool.", + "operationId": "AppServiceEnvironments_CreateOrUpdateMultiRolePool", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "multiRolePoolEnvelope", + "in": "body", + "description": "Properties of the multi-role pool.", + "required": true, + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolResource" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolResource" + } + }, + "202": { + "description": "Operation is in progress.", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolResource" + } + }, + "400": { + "description": "Bad request." + }, + "404": { + "description": "Not found." + }, + "409": { + "description": "Conflict." + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Create or update a multi-role pool.", + "description": "Create or update a multi-role pool.", + "operationId": "AppServiceEnvironments_UpdateMultiRolePool", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "multiRolePoolEnvelope", + "in": "body", + "description": "Properties of the multi-role pool.", + "required": true, + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolResource" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolResource" + } + }, + "202": { + "description": "Operation is in progress.", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolResource" + } + }, + "400": { + "description": "Bad request." + }, + "404": { + "description": "Not found." + }, + "409": { + "description": "Conflict." + } + } } - } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/suspend": { - "post": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Suspend an App Service Environment.", - "description": "Suspend an App Service Environment.", - "operationId": "AppServiceEnvironments_Suspend", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/WebAppCollection" - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "$ref": "#/definitions/WebAppCollection" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}/metricdefinitions": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get metric definitions for a specific instance of a multi-role pool of an App Service Environment.", + "description": "Get metric definitions for a specific instance of a multi-role pool of an App Service Environment.", + "operationId": "AppServiceEnvironments_ListMultiRolePoolInstanceMetricDefinitions", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "instance", + "in": "path", + "description": "Name of the instance in the multi-role pool.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricDefinitionCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - } }, - "x-ms-long-running-operation": true, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/usages": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get global usage metrics of an App Service Environment.", - "description": "Get global usage metrics of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListUsages", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the 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]'.", - "x-ms-skip-url-encoding": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CsmUsageQuotaCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get all worker pools of an App Service Environment.", - "description": "Get all worker pools of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListWorkerPools", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WorkerPoolCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get properties of a worker pool.", - "description": "Get properties of a worker pool.", - "operationId": "AppServiceEnvironments_GetWorkerPool", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "workerPoolName", - "in": "path", - "description": "Name of the worker pool.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - } - } - }, - "put": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Create or update a worker pool.", - "description": "Create or update a worker pool.", - "operationId": "AppServiceEnvironments_CreateOrUpdateWorkerPool", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "workerPoolName", - "in": "path", - "description": "Name of the worker pool.", - "required": true, - "type": "string" - }, - { - "name": "workerPoolEnvelope", - "in": "body", - "description": "Properties of the worker pool.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - "400": { - "description": "Bad request." - }, - "404": { - "description": "Not found." - }, - "409": { - "description": "Conflict." - } - }, - "x-ms-long-running-operation": true - }, - "patch": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Create or update a worker pool.", - "description": "Create or update a worker pool.", - "operationId": "AppServiceEnvironments_UpdateWorkerPool", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "workerPoolName", - "in": "path", - "description": "Name of the worker pool.", - "required": true, - "type": "string" - }, - { - "name": "workerPoolEnvelope", - "in": "body", - "description": "Properties of the worker pool.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - "400": { - "description": "Bad request." - }, - "404": { - "description": "Not found." - }, - "409": { - "description": "Conflict." - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}/metricdefinitions": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get metric definitions for a specific instance of a worker pool of an App Service Environment.", - "description": "Get metric definitions for a specific instance of a worker pool of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListWorkerPoolInstanceMetricDefinitions", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "workerPoolName", - "in": "path", - "description": "Name of the worker pool.", - "required": true, - "type": "string" - }, - { - "name": "instance", - "in": "path", - "description": "Name of the instance in the worker pool.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ResourceMetricDefinitionCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}metrics": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get metrics for a specific instance of a worker pool of an App Service Environment.", - "description": "Get metrics for a specific instance of a worker pool of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListWorkerPoolInstanceMetrics", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "workerPoolName", - "in": "path", - "description": "Name of the worker pool.", - "required": true, - "type": "string" - }, - { - "name": "instance", - "in": "path", - "description": "Name of the instance in the worker pool.", - "required": true, - "type": "string" - }, - { - "name": "details", - "in": "query", - "description": "Specify true to include instance details. The default is false.", - "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]'.", - "x-ms-skip-url-encoding": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ResourceMetricCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/metricdefinitions": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get metric definitions for a worker pool of an App Service Environment.", - "description": "Get metric definitions for a worker pool of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListWebWorkerMetricDefinitions", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "workerPoolName", - "in": "path", - "description": "Name of the worker pool.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ResourceMetricDefinitionCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/metrics": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get metrics for a worker pool of a AppServiceEnvironment (App Service Environment).", - "description": "Get metrics for a worker pool of a AppServiceEnvironment (App Service Environment).", - "operationId": "AppServiceEnvironments_ListWebWorkerMetrics", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the 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": "Specify true to include instance details. The default is false.", - "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]'.", - "x-ms-skip-url-encoding": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ResourceMetricCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/skus": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get available SKUs for scaling a worker pool.", - "description": "Get available SKUs for scaling a worker pool.", - "operationId": "AppServiceEnvironments_ListWorkerPoolSkus", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "workerPoolName", - "in": "path", - "description": "Name of the worker pool.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SkuInfoCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/usages": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get usage metrics for a worker pool of an App Service Environment.", - "description": "Get usage metrics for a worker pool of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListWebWorkerUsages", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "workerPoolName", - "in": "path", - "description": "Name of the worker pool.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/UsageCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "definitions": { - "AddressResponse": { - "description": "Describes main public IP address and any extra virtual IPs.", - "type": "object", - "properties": { - "serviceIpAddress": { - "description": "Main public virtual IP.", - "type": "string" - }, - "internalIpAddress": { - "description": "Virtual Network internal IP address of the App Service Environment if it is in internal load-balancing mode.", - "type": "string" - }, - "outboundIpAddresses": { - "description": "IP addresses appearing on outbound connections.", - "type": "array", - "items": { - "type": "string" - } - }, - "vipMappings": { - "description": "Additional virtual IPs.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualIPMapping" - } - } - } - }, - "ApiDefinitionInfo": { - "description": "Information about the formal API definition for the app.", - "type": "object", - "properties": { - "url": { - "description": "The URL of the API definition.", - "type": "string" - } - } - }, - "AppServiceEnvironment": { - "description": "Description of an App Service Environment.", - "required": [ - "name", - "location", - "virtualNetwork", - "workerPools" - ], - "type": "object", - "properties": { - "name": { - "description": "Name of the App Service Environment.", - "type": "string" - }, - "location": { - "description": "Location of the App Service Environment, e.g. \"West US\".", - "type": "string" - }, - "provisioningState": { - "description": "Provisioning state of the App Service Environment.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "InProgress", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": false - } - }, - "status": { - "description": "Current status of the App Service Environment.", - "enum": [ - "Preparing", - "Ready", - "Scaling", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "HostingEnvironmentStatus", - "modelAsString": false - } - }, - "vnetName": { - "description": "Name of the Virtual Network for the App Service Environment.", - "type": "string" - }, - "vnetResourceGroupName": { - "description": "Resource group of the Virtual Network.", - "type": "string" - }, - "vnetSubnetName": { - "description": "Subnet of the Virtual Network.", - "type": "string" - }, - "virtualNetwork": { - "$ref": "#/definitions/VirtualNetworkProfile", - "description": "Description of the Virtual Network." - }, - "internalLoadBalancingMode": { - "description": "Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment.", - "enum": [ - "None", - "Web", - "Publishing" - ], - "type": "string", - "x-ms-enum": { - "name": "InternalLoadBalancingMode", - "modelAsString": false - } - }, - "multiSize": { - "description": "Front-end VM size, e.g. \"Medium\", \"Large\".", - "type": "string" - }, - "multiRoleCount": { - "format": "int32", - "description": "Number of front-end instances.", - "type": "integer" - }, - "workerPools": { - "description": "Description of worker pools with worker size IDs, VM sizes, and number of workers in each pool.", - "type": "array", - "items": { - "$ref": "#/definitions/WorkerPool" - } - }, - "ipsslAddressCount": { - "format": "int32", - "description": "Number of IP SSL addresses reserved for the App Service Environment.", - "type": "integer" - }, - "databaseEdition": { - "description": "Edition of the metadata database for the App Service Environment, e.g. \"Standard\".", - "type": "string", - "readOnly": true - }, - "databaseServiceObjective": { - "description": "Service objective of the metadata database for the App Service Environment, e.g. \"S0\".", - "type": "string", - "readOnly": true - }, - "upgradeDomains": { - "format": "int32", - "description": "Number of upgrade domains of the App Service Environment.", - "type": "integer", - "readOnly": true - }, - "subscriptionId": { - "description": "Subscription of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "dnsSuffix": { - "description": "DNS suffix of the App Service Environment.", - "type": "string" - }, - "lastAction": { - "description": "Last deployment action on the App Service Environment.", - "type": "string", - "readOnly": true - }, - "lastActionResult": { - "description": "Result of the last deployment action on the App Service Environment.", - "type": "string", - "readOnly": true - }, - "allowedMultiSizes": { - "description": "List of comma separated strings describing which VM sizes are allowed for front-ends.", - "type": "string", - "readOnly": true - }, - "allowedWorkerSizes": { - "description": "List of comma separated strings describing which VM sizes are allowed for workers.", - "type": "string", - "readOnly": true - }, - "maximumNumberOfMachines": { - "format": "int32", - "description": "Maximum number of VMs in the App Service Environment.", - "type": "integer", - "readOnly": true - }, - "vipMappings": { - "description": "Description of IP SSL mapping for the App Service Environment.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualIPMapping" - }, - "readOnly": true - }, - "environmentCapacities": { - "description": "Current total, used, and available worker capacities.", - "type": "array", - "items": { - "$ref": "#/definitions/StampCapacity" - }, - "readOnly": true - }, - "networkAccessControlList": { - "description": "Access control list for controlling traffic to the App Service Environment.", - "type": "array", - "items": { - "$ref": "#/definitions/NetworkAccessControlEntry" - } - }, - "environmentIsHealthy": { - "description": "True/false indicating whether the App Service Environment is healthy.", - "type": "boolean", - "readOnly": true - }, - "environmentStatus": { - "description": "Detailed message about with results of the last check of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "resourceGroup": { - "description": "Resource group of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "frontEndScaleFactor": { - "format": "int32", - "description": "Scale factor for front-ends.", - "type": "integer" - }, - "defaultFrontEndScaleFactor": { - "format": "int32", - "description": "Default Scale Factor for FrontEnds.", - "type": "integer", - "readOnly": true - }, - "apiManagementAccountId": { - "description": "API Management Account associated with the App Service Environment.", - "type": "string" - }, - "suspended": { - "description": "true if the App Service Environment is suspended; otherwise, false. The environment can be suspended, e.g. when the management endpoint is no longer available\n (most likely because NSG blocked the incoming traffic).", - "type": "boolean" - }, - "dynamicCacheEnabled": { - "description": "True/false indicating whether the App Service Environment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available\n(most likely because NSG blocked the incoming traffic).", - "type": "boolean" - }, - "clusterSettings": { - "description": "Custom settings for changing the behavior of the App Service Environment.", - "type": "array", - "items": { - "$ref": "#/definitions/NameValuePair" - } - } - } - }, - "AppServiceEnvironmentCollection": { - "description": "Collection of App Service Environments.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/AppServiceEnvironment" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, - "AppServiceEnvironmentResource": { - "description": "App Service Environment ARM resource.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/AppServiceEnvironment", - "x-ms-client-flatten": true - } - } - }, - "AppServicePlan": { - "description": "App Service plan.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "AppServicePlan resource specific properties", - "required": [ - "name" - ], - "properties": { - "name": { - "description": "Name for the App Service plan.", - "type": "string" - }, - "workerTierName": { - "description": "Target worker tier assigned to the App Service plan.", - "type": "string" - }, - "status": { - "description": "App Service plan status.", - "enum": [ - "Ready", - "Pending", - "Creating" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "StatusOptions", - "modelAsString": false - } - }, - "subscription": { - "description": "App Service plan subscription.", - "type": "string", - "readOnly": true - }, - "adminSiteName": { - "description": "App Service plan administration site.", - "type": "string" - }, - "hostingEnvironmentProfile": { - "$ref": "#/definitions/HostingEnvironmentProfile", - "description": "Specification for the App Service Environment to use for the App Service plan.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "maximumNumberOfWorkers": { - "format": "int32", - "description": "Maximum number of instances that can be assigned to this App Service plan.", - "type": "integer", - "readOnly": true - }, - "geoRegion": { - "description": "Geographical location for the App Service plan.", - "type": "string", - "readOnly": true - }, - "perSiteScaling": { - "description": "If true, apps assigned to this App Service plan can be scaled independently.\nIf false, apps assigned to this App Service plan will scale to all instances of the plan.", - "default": false, - "type": "boolean" - }, - "numberOfSites": { - "format": "int32", - "description": "Number of apps assigned to this App Service plan.", - "type": "integer", - "readOnly": true - }, - "resourceGroup": { - "description": "Resource group of the App Service plan.", - "type": "string", - "readOnly": true - }, - "reserved": { - "description": "Reserved.", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "targetWorkerCount": { - "format": "int32", - "description": "Scaling worker count.", - "type": "integer" - }, - "targetWorkerSizeId": { - "format": "int32", - "description": "Scaling worker size ID.", - "type": "integer" - }, - "provisioningState": { - "description": "Provisioning state of the App Service Environment.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "InProgress", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": false - } - } - }, - "x-ms-client-flatten": true - }, - "sku": { - "$ref": "#/definitions/SkuDescription" - } - } - }, - "AppServicePlanCollection": { - "description": "Collection of App Service plans.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/AppServicePlan" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, - "AutoHealActions": { - "description": "Actions which to take by the auto-heal module when a rule is triggered.", - "type": "object", - "properties": { - "actionType": { - "description": "Predefined action to be taken.", - "enum": [ - "Recycle", - "LogEvent", - "CustomAction" - ], - "type": "string", - "x-ms-enum": { - "name": "AutoHealActionType", - "modelAsString": false - } - }, - "customAction": { - "$ref": "#/definitions/AutoHealCustomAction", - "description": "Custom action to be taken." - }, - "minProcessExecutionTime": { - "description": "Minimum time the process must execute\nbefore taking the action", - "type": "string" - } - } - }, - "AutoHealCustomAction": { - "description": "Custom action to be executed\nwhen an auto heal rule is triggered.", - "type": "object", - "properties": { - "exe": { - "description": "Executable to be run.", - "type": "string" - }, - "parameters": { - "description": "Parameters for the executable.", - "type": "string" - } - } - }, - "AutoHealRules": { - "description": "Rules that can be defined for auto-heal.", - "type": "object", - "properties": { - "triggers": { - "$ref": "#/definitions/AutoHealTriggers", - "description": "Conditions that describe when to execute the auto-heal actions." - }, - "actions": { - "$ref": "#/definitions/AutoHealActions", - "description": "Actions to be executed when a rule is triggered." - } - } - }, - "AutoHealTriggers": { - "description": "Triggers for auto-heal.", - "type": "object", - "properties": { - "requests": { - "$ref": "#/definitions/RequestsBasedTrigger", - "description": "A rule based on total requests." - }, - "privateBytesInKB": { - "format": "int32", - "description": "A rule based on private bytes.", - "type": "integer" - }, - "statusCodes": { - "description": "A rule based on status codes.", - "type": "array", - "items": { - "$ref": "#/definitions/StatusCodesBasedTrigger" - } - }, - "slowRequests": { - "$ref": "#/definitions/SlowRequestsBasedTrigger", - "description": "A rule based on request execution time." - } - } - }, - "Capability": { - "description": "Describes the capabilities/features allowed for a specific SKU.", - "type": "object", - "properties": { - "name": { - "description": "Name of the SKU capability.", - "type": "string" - }, - "value": { - "description": "Value of the SKU capability.", - "type": "string" - }, - "reason": { - "description": "Reason of the SKU capability.", - "type": "string" - } - } - }, - "CloningInfo": { - "description": "Information needed for cloning operation.", - "required": [ - "sourceWebAppId" - ], - "type": "object", - "properties": { - "correlationId": { - "format": "uuid", - "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\ntogether to use the same snapshot.", - "type": "string", - "example": "00000000-0000-0000-0000-000000000000" - }, - "overwrite": { - "description": "true to overwrite destination app; otherwise, false.", - "type": "boolean" - }, - "cloneCustomHostNames": { - "description": "true to clone custom hostnames from source app; otherwise, false.", - "type": "boolean" - }, - "cloneSourceControl": { - "description": "true to clone source control from source app; otherwise, false.", - "type": "boolean" - }, - "sourceWebAppId": { - "description": "ARM resource ID of the source app. App resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", - "type": "string" - }, - "hostingEnvironment": { - "description": "App Service Environment.", - "type": "string" - }, - "appSettingsOverrides": { - "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \nfrom source app. Otherwise, application settings from source app are retained.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "configureLoadBalancing": { - "description": "true to configure load balancing for source and destination app.", - "type": "boolean" - }, - "trafficManagerProfileId": { - "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", - "type": "string" - }, - "trafficManagerProfileName": { - "description": "Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.", - "type": "string" - } - } - }, - "ConnStringInfo": { - "description": "Database connection string information.", - "type": "object", - "properties": { - "name": { - "description": "Name of connection string.", - "type": "string" - }, - "connectionString": { - "description": "Connection string value.", - "type": "string" - }, - "type": { - "description": "Type of database.", - "enum": [ - "MySql", - "SQLServer", - "SQLAzure", - "Custom", - "NotificationHub", - "ServiceBus", - "EventHub", - "ApiHub", - "DocDb", - "RedisCache", - "PostgreSQL" - ], - "type": "string", - "x-ms-enum": { - "name": "ConnectionStringType", - "modelAsString": false - } - } - } - }, - "CorsSettings": { - "description": "Cross-Origin Resource Sharing (CORS) settings for the app.", - "type": "object", - "properties": { - "allowedOrigins": { - "description": "Gets or sets the list of origins that should be allowed to make cross-origin\ncalls (for example: http://example.com:12345). Use \"*\" to allow all.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "CsmUsageQuota": { - "description": "Usage of the quota resource.", - "type": "object", - "properties": { - "unit": { - "description": "Units of measurement for the quota resourse.", - "type": "string" - }, - "nextResetTime": { - "format": "date-time", - "description": "Next reset time for the resource counter.", - "type": "string" - }, - "currentValue": { - "format": "int64", - "description": "The current value of the resource counter.", - "type": "integer" - }, - "limit": { - "format": "int64", - "description": "The resource limit.", - "type": "integer" - }, - "name": { - "$ref": "#/definitions/LocalizableString", - "description": "Quota name." - } - } - }, - "CsmUsageQuotaCollection": { - "description": "Collection of CSM usage quotas.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/CsmUsageQuota" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, - "ErrorEntity": { - "description": "Body of the error response returned from the API.", - "type": "object", - "properties": { - "extendedCode": { - "description": "Type of error.", - "type": "string" - }, - "messageTemplate": { - "description": "Message template.", - "type": "string" - }, - "parameters": { - "description": "Parameters for the template.", - "type": "array", - "items": { - "type": "string" - } - }, - "innerErrors": { - "description": "Inner errors.", - "type": "array", - "items": { - "$ref": "#/definitions/ErrorEntity" - } - }, - "code": { - "description": "Basic error code.", - "type": "string" - }, - "message": { - "description": "Any details of the error.", - "type": "string" - } - } - }, - "Experiments": { - "description": "Routing rules in production experiments.", - "type": "object", - "properties": { - "rampUpRules": { - "description": "List of ramp-up rules.", - "type": "array", - "items": { - "$ref": "#/definitions/RampUpRule" - } - } - } - }, - "HandlerMapping": { - "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \nFor example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", - "type": "object", - "properties": { - "extension": { - "description": "Requests with this extension will be handled using the specified FastCGI application.", - "type": "string" - }, - "scriptProcessor": { - "description": "The absolute path to the FastCGI application.", - "type": "string" - }, - "arguments": { - "description": "Command-line arguments to be passed to the script processor.", - "type": "string" - } - } - }, - "HostNameSslState": { - "description": "SSL-enabled hostname.", - "type": "object", - "properties": { - "name": { - "description": "Hostname.", - "type": "string" - }, - "sslState": { - "description": "SSL type.", - "enum": [ - "Disabled", - "SniEnabled", - "IpBasedEnabled" - ], - "type": "string", - "x-ms-enum": { - "name": "SslState", - "modelAsString": false - } - }, - "virtualIP": { - "description": "Virtual IP address assigned to the hostname if IP based SSL is enabled.", - "type": "string" - }, - "thumbprint": { - "description": "SSL certificate thumbprint.", - "type": "string" - }, - "toUpdate": { - "description": "Set to true to update existing hostname.", - "type": "boolean" - }, - "hostType": { - "description": "Indicates whether the hostname is a standard or repository hostname.", - "enum": [ - "Standard", - "Repository" - ], - "type": "string", - "x-ms-enum": { - "name": "HostType", - "modelAsString": false - } - } - } - }, - "HostingEnvironmentDiagnostics": { - "description": "Diagnostics for an App Service Environment.", - "type": "object", - "properties": { - "name": { - "description": "Name/identifier of the diagnostics.", - "type": "string" - }, - "diagnosicsOutput": { - "description": "Diagnostics output.", - "type": "string" - } - } - }, - "HostingEnvironmentProfile": { - "description": "Specification for an App Service Environment to use for this resource.", - "type": "object", - "properties": { - "id": { - "description": "Resource ID of the App Service Environment.", - "type": "string" - }, - "name": { - "description": "Name of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Resource type of the App Service Environment.", - "type": "string", - "readOnly": true - } - } - }, - "IpSecurityRestriction": { - "description": "IP security restriction on an app.", - "required": [ - "ipAddress" - ], - "type": "object", - "properties": { - "ipAddress": { - "description": "IP address the security restriction is valid for.", - "type": "string" - }, - "subnetMask": { - "description": "Subnet mask for the range of IP addresses the restriction is valid for.", - "type": "string" - } - } - }, - "LocalizableString": { - "description": "Localizable string object containing the name and a localized value.", - "type": "object", - "properties": { - "value": { - "description": "Non-localized name.", - "type": "string" - }, - "localizedValue": { - "description": "Localized name.", - "type": "string" - } - } - }, - "MetricAvailabilily": { - "description": "Metric availability and retention.", - "type": "object", - "properties": { - "timeGrain": { - "description": "Time grain.", - "type": "string" - }, - "retention": { - "description": "Retention period for the current time grain.", - "type": "string" - } - } - }, - "MetricDefinition": { - "description": "Metadata for a metric.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "MetricDefinition resource specific properties", - "properties": { - "name": { - "description": "Name of the metric.", - "type": "string", - "readOnly": true - }, - "unit": { - "description": "Unit of the metric.", - "type": "string", - "readOnly": true - }, - "primaryAggregationType": { - "description": "Primary aggregation type.", - "type": "string", - "readOnly": true - }, - "metricAvailabilities": { - "description": "List of time grains supported for the metric together with retention period.", - "type": "array", - "items": { - "$ref": "#/definitions/MetricAvailabilily" - }, - "readOnly": true - }, - "displayName": { - "description": "Friendly name shown in the UI.", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "NameValuePair": { - "description": "Name value pair.", - "type": "object", - "properties": { - "name": { - "description": "Pair name.", - "type": "string" - }, - "value": { - "description": "Pair value.", - "type": "string" - } - } - }, - "NetworkAccessControlEntry": { - "description": "Network access control entry.", - "type": "object", - "properties": { - "action": { - "description": "Action object.", - "enum": [ - "Permit", - "Deny" - ], - "type": "string", - "x-ms-enum": { - "name": "AccessControlEntryAction", - "modelAsString": false - } - }, - "description": { - "description": "Description.", - "type": "string" - }, - "order": { - "format": "int32", - "description": "Order of precedence.", - "type": "integer" - }, - "remoteSubnet": { - "description": "Remote subnet.", - "type": "string" - } - } - }, - "Operation": { - "description": "Operation.", - "type": "object", - "properties": { - "id": { - "description": "Operation ID.", - "type": "string" - }, - "name": { - "description": "Operation name.", - "type": "string" - }, - "status": { - "description": "The current status of the operation.", - "enum": [ - "InProgress", - "Failed", - "Succeeded", - "TimedOut", - "Created" - ], - "type": "string", - "x-ms-enum": { - "name": "OperationStatus", - "modelAsString": false - } - }, - "errors": { - "description": "Any errors associate with the operation.", - "type": "array", - "items": { - "$ref": "#/definitions/ErrorEntity" - } - }, - "createdTime": { - "format": "date-time", - "description": "Time when operation has started.", - "type": "string" - }, - "modifiedTime": { - "format": "date-time", - "description": "Time when operation has been updated.", - "type": "string" - }, - "expirationTime": { - "format": "date-time", - "description": "Time when operation will expire.", - "type": "string" - }, - "geoMasterOperationId": { - "format": "uuid", - "description": "Applicable only for stamp operation ids.", - "type": "string", - "example": "00000000-0000-0000-0000-000000000000" - } - } - }, - "ProxyOnlyResource": { - "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - } - }, - "x-ms-azure-resource": true - }, - "PushSettings": { - "description": "Push settings for the App.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "PushSettings resource specific properties", - "required": [ - "isPushEnabled" - ], - "properties": { - "isPushEnabled": { - "description": "Gets or sets a flag indicating whether the Push endpoint is enabled.", - "type": "boolean" - }, - "tagWhitelistJson": { - "description": "Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", - "type": "string" - }, - "tagsRequiringAuth": { - "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\nTags can consist of alphanumeric characters and the following:\n'_', '@', '#', '.', ':', '-'. \nValidation should be performed at the PushRequestHandler.", - "type": "string" - }, - "dynamicTagsJson": { - "description": "Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "RampUpRule": { - "description": "Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance.", - "type": "object", - "properties": { - "actionHostName": { - "description": "Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net.", - "type": "string" - }, - "reroutePercentage": { - "format": "double", - "description": "Percentage of the traffic which will be redirected to ActionHostName.", - "type": "number" - }, - "changeStep": { - "format": "double", - "description": "In auto ramp up scenario this is the step to to add/remove from ReroutePercentage until it reaches \nMinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specificed in ChangeIntervalInMinutes.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", - "type": "number" - }, - "changeIntervalInMinutes": { - "format": "int32", - "description": "Specifies interval in mimuntes to reevaluate ReroutePercentage.", - "type": "integer" - }, - "minReroutePercentage": { - "format": "double", - "description": "Specifies lower boundary above which ReroutePercentage will stay.", - "type": "number" - }, - "maxReroutePercentage": { - "format": "double", - "description": "Specifies upper boundary below which ReroutePercentage will stay.", - "type": "number" - }, - "changeDecisionCallbackUrl": { - "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\nhttps://www.siteextensions.net/packages/TiPCallback/", - "type": "string" - }, - "name": { - "description": "Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment.", - "type": "string" - } - } - }, - "RequestsBasedTrigger": { - "description": "Trigger based on total requests.", - "type": "object", - "properties": { - "count": { - "format": "int32", - "description": "Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } - }, - "Resource": { - "description": "Azure resource. This resource is tracked in Azure Resource Manager", - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "location": { - "description": "Resource Location.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - }, - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "identity": { - "description": "Identity for the resource.", - "type": "object", - "properties": { - "principalId": { - "description": "The principal ID of resource identity.", - "type": "string", - "readOnly": true - }, - "tenantId": { - "description": "The tenant ID of resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The identity type.", - "type": "string", - "enum": [ - "SystemAssigned" - ], - "x-ms-enum": { - "name": "ManagedServiceIdentityType", - "modelAsString": false - } - } + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}metrics": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get metrics for a specific instance of a multi-role pool of an App Service Environment.", + "description": "Get metrics for a specific instance of a multi-role pool of an App Service Environment.", + "operationId": "AppServiceEnvironments_ListMultiRolePoolInstanceMetrics", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "instance", + "in": "path", + "description": "Name of the instance in the multi-role pool.", + "required": true, + "type": "string" + }, + { + "name": "details", + "in": "query", + "description": "Specify true to include instance details. The default is false.", + "type": "boolean" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" } - } - }, - "x-ms-azure-resource": true - }, - "ResourceMetric": { - "description": "Object representing a metric for any resource .", - "type": "object", - "properties": { - "name": { - "$ref": "#/definitions/ResourceMetricName", - "description": "Name of metric.", - "readOnly": true - }, - "unit": { - "description": "Metric unit.", - "type": "string", - "readOnly": true - }, - "timeGrain": { - "description": "Metric granularity. E.g PT1H, PT5M, P1D", - "type": "string", - "readOnly": true - }, - "startTime": { - "format": "date-time", - "description": "Metric start time.", - "type": "string", - "readOnly": true - }, - "endTime": { - "format": "date-time", - "description": "Metric end time.", - "type": "string", - "readOnly": true - }, - "resourceId": { - "description": "Metric resource Id.", - "type": "string", - "readOnly": true - }, - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "metricValues": { - "description": "Metric values.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricValue" - }, - "readOnly": true - }, - "properties": { - "description": "Properties.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricProperty" - }, - "readOnly": true - } - } - }, - "ResourceMetricAvailability": { - "description": "Metrics availability and retention.", - "type": "object", - "properties": { - "timeGrain": { - "description": "Time grain .", - "type": "string", - "readOnly": true - }, - "retention": { - "description": "Retention period for the current time grain.", - "type": "string", - "readOnly": true - } - } - }, - "ResourceMetricCollection": { - "description": "Collection of metric responses.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetric" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, - "ResourceMetricDefinition": { - "description": "Metadata for the metrics.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "ResourceMetricDefinition resource specific properties", - "properties": { - "name": { - "$ref": "#/definitions/ResourceMetricName", - "description": "Name of the metric.", - "readOnly": true - }, - "unit": { - "description": "Unit of the metric.", - "type": "string", - "readOnly": true - }, - "primaryAggregationType": { - "description": "Primary aggregation type.", - "type": "string", - "readOnly": true - }, - "metricAvailabilities": { - "description": "List of time grains supported for the metric together with retention period.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricAvailability" - }, - "readOnly": true - }, - "resourceUri": { - "description": "Resource URI.", - "type": "string", - "readOnly": true - }, - "id": { - "description": "Resource ID.", - "type": "string", - "readOnly": true - }, - "properties": { - "description": "Properties.", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "ResourceMetricDefinitionCollection": { - "description": "Collection of metric definitions.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricDefinition" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, - "ResourceMetricName": { - "description": "Name of a metric for any resource .", - "type": "object", - "properties": { - "value": { - "description": "metric name value.", - "type": "string", - "readOnly": true - }, - "localizedValue": { - "description": "Localized metric name value.", - "type": "string", - "readOnly": true - } - } - }, - "ResourceMetricProperty": { - "description": "Resource metric property.", - "type": "object", - "properties": { - "key": { - "description": "Key for resource metric property.", - "type": "string" - }, - "value": { - "description": "Value of pair.", - "type": "string" - } - } - }, - "ResourceMetricValue": { - "description": "Value of resource metric.", - "type": "object", - "properties": { - "timestamp": { - "description": "Value timestamp.", - "type": "string", - "readOnly": true - }, - "average": { - "format": "float", - "description": "Value average.", - "type": "number", - "readOnly": true - }, - "minimum": { - "format": "float", - "description": "Value minimum.", - "type": "number", - "readOnly": true - }, - "maximum": { - "format": "float", - "description": "Value maximum.", - "type": "number", - "readOnly": true - }, - "total": { - "format": "float", - "description": "Value total.", - "type": "number", - "readOnly": true - }, - "count": { - "format": "float", - "description": "Value count.", - "type": "number", - "readOnly": true - }, - "properties": { - "description": "Properties.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricProperty" - }, - "readOnly": true - } - } - }, - "Site": { - "description": "A web app, a mobile app backend, or an API app.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Site resource specific properties", - "properties": { - "state": { - "description": "Current state of the app.", - "type": "string", - "readOnly": true - }, - "hostNames": { - "description": "Hostnames associated with the app.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "repositorySiteName": { - "description": "Name of the repository site.", - "type": "string", - "readOnly": true - }, - "usageState": { - "description": "State indicating whether the app has exceeded its quota usage. Read-only.", - "enum": [ - "Normal", - "Exceeded" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "UsageState", - "modelAsString": false - } - }, - "enabled": { - "description": "true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).", - "type": "boolean" - }, - "enabledHostNames": { - "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\nthe app is not served on those hostnames.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "availabilityState": { - "description": "Management information availability state for the app.", - "enum": [ - "Normal", - "Limited", - "DisasterRecoveryMode" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "SiteAvailabilityState", - "modelAsString": false - } - }, - "hostNameSslStates": { - "description": "Hostname SSL states are used to manage the SSL bindings for app's hostnames.", - "type": "array", - "items": { - "$ref": "#/definitions/HostNameSslState" - } - }, - "serverFarmId": { - "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", - "type": "string" - }, - "reserved": { - "description": "true if reserved; otherwise, false.", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "lastModifiedTimeUtc": { - "format": "date-time", - "description": "Last time the app was modified, in UTC. Read-only.", - "type": "string", - "readOnly": true - }, - "siteConfig": { - "$ref": "#/definitions/SiteConfig", - "description": "Configuration of the app." - }, - "trafficManagerHostNames": { - "description": "Azure Traffic Manager hostnames associated with the app. Read-only.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "premiumAppDeployed": { - "description": "Indicates whether app is deployed as a premium app.", - "type": "boolean", - "readOnly": true - }, - "scmSiteAlsoStopped": { - "description": "true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", - "default": false, - "type": "boolean" - }, - "targetSwapSlot": { - "description": "Specifies which deployment slot this app will swap into. Read-only.", - "type": "string", - "readOnly": true - }, - "hostingEnvironmentProfile": { - "$ref": "#/definitions/HostingEnvironmentProfile", - "description": "App Service Environment to use for the app.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "microService": { - "description": "Micro services like apps, logic apps.", - "default": "WebSites", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "gatewaySiteName": { - "description": "Name of gateway app associated with the app.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "clientAffinityEnabled": { - "description": "true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.", - "type": "boolean" - }, - "clientCertEnabled": { - "description": "true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.", - "type": "boolean" - }, - "hostNamesDisabled": { - "description": "true to disable the public hostnames of the app; otherwise, false.\n If true, the app is only accessible via API management process.", - "type": "boolean" - }, - "outboundIpAddresses": { - "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Read-only.", - "type": "string", - "readOnly": true - }, - "containerSize": { - "format": "int32", - "description": "Size of the function container.", - "type": "integer" - }, - "dailyMemoryTimeQuota": { - "format": "int32", - "description": "Maximum allowed daily memory-time quota (applicable on dynamic apps only).", - "type": "integer" - }, - "suspendedTill": { - "format": "date-time", - "description": "App suspended till in case memory-time quota is exceeded.", - "type": "string", - "readOnly": true - }, - "maxNumberOfWorkers": { - "format": "int32", - "description": "Maximum number of workers.\nThis only applies to Functions container.", - "type": "integer", - "readOnly": true - }, - "cloningInfo": { - "$ref": "#/definitions/CloningInfo", - "description": "If specified during app creation, the app is cloned from a source app.", - "x-ms-mutability": [ - "create" - ] - }, - "snapshotInfo": { - "$ref": "#/definitions/SnapshotRecoveryRequest", - "description": "If specified during app creation, the app is created from a previous snapshot.", - "x-ms-mutability": [ - "create" - ] - }, - "resourceGroup": { - "description": "Name of the resource group the app belongs to. Read-only.", - "type": "string", - "readOnly": true - }, - "isDefaultContainer": { - "description": "true if the app is a default container; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "defaultHostName": { - "description": "Default hostname of the app. Read-only.", - "type": "string", - "readOnly": true - }, - "slotSwapStatus": { - "$ref": "#/definitions/SlotSwapStatus", - "description": "Status of the last deployment slot swap operation.", - "readOnly": true - }, - "httpsOnly": { - "description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests", - "type": "boolean" - } - }, - "x-ms-client-flatten": true - } - } - }, - "SiteConfig": { - "description": "Configuration of an App Service app.", - "type": "object", - "properties": { - "numberOfWorkers": { - "format": "int32", - "description": "Number of workers.", - "type": "integer" - }, - "defaultDocuments": { - "description": "Default documents.", - "type": "array", - "items": { - "type": "string" - } - }, - "netFrameworkVersion": { - "description": ".NET Framework version.", - "default": "v4.6", - "type": "string" - }, - "phpVersion": { - "description": "Version of PHP.", - "type": "string" - }, - "pythonVersion": { - "description": "Version of Python.", - "type": "string" - }, - "nodeVersion": { - "description": "Version of Node.js.", - "type": "string" - }, - "linuxFxVersion": { - "description": "Linux App Framework and version", - "type": "string" - }, - "requestTracingEnabled": { - "description": "true if request tracing is enabled; otherwise, false.", - "type": "boolean" - }, - "requestTracingExpirationTime": { - "format": "date-time", - "description": "Request tracing expiration time.", - "type": "string" - }, - "remoteDebuggingEnabled": { - "description": "true if remote debugging is enabled; otherwise, false.", - "type": "boolean" - }, - "remoteDebuggingVersion": { - "description": "Remote debugging version.", - "type": "string" - }, - "httpLoggingEnabled": { - "description": "true if HTTP logging is enabled; otherwise, false.", - "type": "boolean" - }, - "logsDirectorySizeLimit": { - "format": "int32", - "description": "HTTP logs directory size limit.", - "type": "integer" - }, - "detailedErrorLoggingEnabled": { - "description": "true if detailed error logging is enabled; otherwise, false.", - "type": "boolean" - }, - "publishingUsername": { - "description": "Publishing user name.", - "type": "string" - }, - "appSettings": { - "description": "Application settings.", - "type": "array", - "items": { - "$ref": "#/definitions/NameValuePair" - } - }, - "connectionStrings": { - "description": "Connection strings.", - "type": "array", - "items": { - "$ref": "#/definitions/ConnStringInfo" - } - }, - "machineKey": { - "$ref": "#/definitions/SiteMachineKey", - "description": "Site MachineKey.", - "readOnly": true - }, - "handlerMappings": { - "description": "Handler mappings.", - "type": "array", - "items": { - "$ref": "#/definitions/HandlerMapping" - } - }, - "documentRoot": { - "description": "Document root.", - "type": "string" - }, - "scmType": { - "description": "SCM type.", - "enum": [ - "None", - "Dropbox", - "Tfs", - "LocalGit", - "GitHub", - "CodePlexGit", - "CodePlexHg", - "BitbucketGit", - "BitbucketHg", - "ExternalGit", - "ExternalHg", - "OneDrive", - "VSO" - ], - "type": "string", - "x-ms-enum": { - "name": "ScmType", - "modelAsString": true - } - }, - "use32BitWorkerProcess": { - "description": "true to use 32-bit worker process; otherwise, false.", - "type": "boolean" - }, - "webSocketsEnabled": { - "description": "true if WebSocket is enabled; otherwise, false.", - "type": "boolean" - }, - "alwaysOn": { - "description": "true if Always On is enabled; otherwise, false.", - "type": "boolean" - }, - "javaVersion": { - "description": "Java version.", - "type": "string" - }, - "javaContainer": { - "description": "Java container.", - "type": "string" - }, - "javaContainerVersion": { - "description": "Java container version.", - "type": "string" - }, - "appCommandLine": { - "description": "App command line to launch.", - "type": "string" - }, - "managedPipelineMode": { - "description": "Managed pipeline mode.", - "enum": [ - "Integrated", - "Classic" - ], - "type": "string", - "x-ms-enum": { - "name": "ManagedPipelineMode", - "modelAsString": false - } - }, - "virtualApplications": { - "description": "Virtual applications.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualApplication" - } - }, - "loadBalancing": { - "description": "Site load balancing.", - "enum": [ - "WeightedRoundRobin", - "LeastRequests", - "LeastResponseTime", - "WeightedTotalTraffic", - "RequestHash" - ], - "type": "string", - "x-ms-enum": { - "name": "SiteLoadBalancing", - "modelAsString": false - } - }, - "experiments": { - "$ref": "#/definitions/Experiments", - "description": "This is work around for polymophic types." - }, - "limits": { - "$ref": "#/definitions/SiteLimits", - "description": "Site limits." - }, - "autoHealEnabled": { - "description": "true if Auto Heal is enabled; otherwise, false.", - "type": "boolean" - }, - "autoHealRules": { - "$ref": "#/definitions/AutoHealRules", - "description": "Auto Heal rules." - }, - "tracingOptions": { - "description": "Tracing options.", - "type": "string" - }, - "vnetName": { - "description": "Virtual Network name.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "cors": { - "$ref": "#/definitions/CorsSettings", - "description": "Cross-Origin Resource Sharing (CORS) settings." - }, - "push": { - "$ref": "#/definitions/PushSettings", - "description": "Push endpoint settings." - }, - "apiDefinition": { - "$ref": "#/definitions/ApiDefinitionInfo", - "description": "Information about the formal API definition for the app." - }, - "autoSwapSlotName": { - "description": "Auto-swap slot name.", - "type": "string" - }, - "localMySqlEnabled": { - "description": "true to enable local MySQL; otherwise, false.", - "default": false, - "type": "boolean" - }, - "ipSecurityRestrictions": { - "description": "IP security restrictions.", - "type": "array", - "items": { - "$ref": "#/definitions/IpSecurityRestriction" - } - } - } - }, - "SiteLimits": { - "description": "Metric limits set on an app.", - "type": "object", - "properties": { - "maxPercentageCpu": { - "format": "double", - "description": "Maximum allowed CPU usage percentage.", - "type": "number" - }, - "maxMemoryInMb": { - "format": "int64", - "description": "Maximum allowed memory usage in MB.", - "type": "integer" - }, - "maxDiskSizeInMb": { - "format": "int64", - "description": "Maximum allowed disk size usage in MB.", - "type": "integer" - } - } - }, - "SiteMachineKey": { - "description": "MachineKey of an app.", - "type": "object", - "properties": { - "validation": { - "description": "MachineKey validation.", - "type": "string" - }, - "validationKey": { - "description": "Validation key.", - "type": "string" - }, - "decryption": { - "description": "Decryption.", - "type": "string" - }, - "decryptionKey": { - "description": "Decryption key.", - "type": "string" - } - } - }, - "SkuCapacity": { - "description": "Description of the App Service plan scale options.", - "type": "object", - "properties": { - "minimum": { - "format": "int32", - "description": "Minimum number of workers for this App Service plan SKU.", - "type": "integer" - }, - "maximum": { - "format": "int32", - "description": "Maximum number of workers for this App Service plan SKU.", - "type": "integer" - }, - "default": { - "format": "int32", - "description": "Default number of workers for this App Service plan SKU.", - "type": "integer" - }, - "scaleType": { - "description": "Available scale configurations for an App Service plan.", - "type": "string" - } - } - }, - "SkuDescription": { - "description": "Description of 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" - }, - "skuCapacity": { - "$ref": "#/definitions/SkuCapacity", - "description": "Min, max, and default scale values of the SKU." - }, - "locations": { - "description": "Locations of the SKU.", - "type": "array", - "items": { - "type": "string" - } - }, - "capabilities": { - "description": "Capabilities of the SKU, e.g., is traffic manager enabled?", - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } - } - } - }, - "SkuInfo": { - "description": "SKU discovery information.", - "type": "object", - "properties": { - "resourceType": { - "description": "Resource type that this SKU applies to.", - "type": "string" - }, - "sku": { - "$ref": "#/definitions/SkuDescription", - "description": "Name and tier of the SKU." - }, - "capacity": { - "$ref": "#/definitions/SkuCapacity", - "description": "Min, max, and default scale values of the SKU." - } - } - }, - "SkuInfoCollection": { - "description": "Collection of SKU information.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/SkuInfo" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, - "SlotSwapStatus": { - "description": "The status of the last successfull slot swap operation.", - "type": "object", - "properties": { - "timestampUtc": { - "format": "date-time", - "description": "The time the last successful slot swap completed.", - "type": "string", - "readOnly": true + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } }, - "sourceSlotName": { - "description": "The source slot of the last swap operation.", - "type": "string", - "readOnly": true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metricdefinitions": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get metric definitions for a multi-role pool of an App Service Environment.", + "description": "Get metric definitions for a multi-role pool of an App Service Environment.", + "operationId": "AppServiceEnvironments_ListMultiRoleMetricDefinitions", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricDefinitionCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } }, - "destinationSlotName": { - "description": "The destination slot of the last swap operation.", - "type": "string", - "readOnly": true - } - } - }, - "SlowRequestsBasedTrigger": { - "description": "Trigger based on request execution time.", - "type": "object", - "properties": { - "timeTaken": { - "description": "Time taken.", - "type": "string" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metrics": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get metrics for a multi-role pool of an App Service Environment.", + "description": "Get metrics for a multi-role pool of an App Service Environment.", + "operationId": "AppServiceEnvironments_ListMultiRoleMetrics", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "startTime", + "in": "query", + "description": "Beginning time of the metrics query.", + "type": "string" + }, + { + "name": "endTime", + "in": "query", + "description": "End time of the metrics query.", + "type": "string" + }, + { + "name": "timeGrain", + "in": "query", + "description": "Time granularity of the metrics query.", + "type": "string" + }, + { + "name": "details", + "in": "query", + "description": "Specify true to include instance details. The default is false.", + "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", + "x-ms-skip-url-encoding": true + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } }, - "count": { - "format": "int32", - "description": "Count.", - "type": "integer" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/skus": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get available SKUs for scaling a multi-role pool.", + "description": "Get available SKUs for scaling a multi-role pool.", + "operationId": "AppServiceEnvironments_ListMultiRolePoolSkus", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SkuInfoCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } - }, - "SnapshotRecoveryRequest": { - "description": "Details about app recovery operation.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "SnapshotRecoveryRequest resource specific properties", - "required": [ - "overwrite" - ], - "properties": { - "snapshotTime": { - "description": "Point in time in which the app recovery should be attempted, formatted as a DateTime string.", - "type": "string" - }, - "recoveryTarget": { - "$ref": "#/definitions/SnapshotRecoveryTarget", - "description": "Specifies the web app that snapshot contents will be written to." - }, - "overwrite": { - "description": "If true the recovery operation can overwrite source app; otherwise, false.", - "type": "boolean" - }, - "recoverConfiguration": { - "description": "If true, site configuration, in addition to content, will be reverted.", - "type": "boolean" - }, - "ignoreConflictingHostNames": { - "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\nThis setting is only necessary when RecoverConfiguration is enabled.", - "type": "boolean" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/usages": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get usage metrics for a multi-role pool of an App Service Environment.", + "description": "Get usage metrics for a multi-role pool of an App Service Environment.", + "operationId": "AppServiceEnvironments_ListMultiRoleUsages", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/UsageCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - }, - "x-ms-client-flatten": true - } - } - }, - "SnapshotRecoveryTarget": { - "description": "Specifies the web app that snapshot contents will be written to.", - "type": "object", - "properties": { - "location": { - "description": "Geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS", - "type": "string" }, - "id": { - "description": "ARM resource ID of the target app. \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", - "type": "string" - } - } - }, - "StampCapacity": { - "description": "Stamp capacity information.", - "type": "object", - "properties": { - "name": { - "description": "Name of the stamp.", - "type": "string" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/operations": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "List all currently running operations on the App Service Environment.", + "description": "List all currently running operations on the App Service Environment.", + "operationId": "AppServiceEnvironments_ListOperations", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "array", + "items": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Operation" + } + } + } + } + } }, - "availableCapacity": { - "format": "int64", - "description": "Available capacity (# of machines, bytes of storage etc...).", - "type": "integer" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/reboot": { + "post": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Reboot all machines in an App Service Environment.", + "description": "Reboot all machines in an App Service Environment.", + "operationId": "AppServiceEnvironments_Reboot", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Asynchronous operation in progress." + }, + "400": { + "description": "Bad request." + }, + "404": { + "description": "Not found." + }, + "409": { + "description": "Conflict." + } + } + } }, - "totalCapacity": { - "format": "int64", - "description": "Total capacity (# of machines, bytes of storage etc...).", - "type": "integer" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/resume": { + "post": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Resume an App Service Environment.", + "description": "Resume an App Service Environment.", + "operationId": "AppServiceEnvironments_Resume", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WebAppCollection" + } + }, + "202": { + "description": "Operation is in progress.", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WebAppCollection" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } }, - "unit": { - "description": "Name of the unit.", - "type": "string" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/serverfarms": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get all App Service plans in an App Service Environment.", + "description": "Get all App Service plans in an App Service Environment.", + "operationId": "AppServiceEnvironments_ListAppServicePlans", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServicePlanCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } }, - "computeMode": { - "description": "Shared/dedicated workers.", - "enum": [ - "Shared", - "Dedicated", - "Dynamic" - ], - "type": "string", - "x-ms-enum": { - "name": "ComputeModeOptions", - "modelAsString": false - } + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/sites": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get all apps in an App Service Environment.", + "description": "Get all apps in an App Service Environment.", + "operationId": "AppServiceEnvironments_ListWebApps", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "propertiesToInclude", + "in": "query", + "description": "Comma separated list of app properties to include.", + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WebAppCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } }, - "workerSize": { - "description": "Size of the machines.", - "enum": [ - "Default", - "Small", - "Medium", - "Large", - "D1", - "D2", - "D3" - ], - "type": "string", - "x-ms-enum": { - "name": "WorkerSizeOptions", - "modelAsString": false - } + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/suspend": { + "post": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Suspend an App Service Environment.", + "description": "Suspend an App Service Environment.", + "operationId": "AppServiceEnvironments_Suspend", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WebAppCollection" + } + }, + "202": { + "description": "Operation is in progress.", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WebAppCollection" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } }, - "workerSizeId": { - "format": "int32", - "description": "Size ID of machines: \n0 - Small\n1 - Medium\n2 - Large", - "type": "integer" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/usages": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get global usage metrics of an App Service Environment.", + "description": "Get global usage metrics of an App Service Environment.", + "operationId": "AppServiceEnvironments_ListUsages", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the 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", + "x-ms-skip-url-encoding": true + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/CsmUsageQuotaCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } }, - "excludeFromCapacityAllocation": { - "description": "If true, it includes basic apps.\nBasic apps are not used for capacity allocation.", - "type": "boolean" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get all worker pools of an App Service Environment.", + "description": "Get all worker pools of an App Service Environment.", + "operationId": "AppServiceEnvironments_ListWorkerPools", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } }, - "isApplicableForAllComputeModes": { - "description": "true if capacity is applicable for all apps; otherwise, false.", - "type": "boolean" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get properties of a worker pool.", + "description": "Get properties of a worker pool.", + "operationId": "AppServiceEnvironments_GetWorkerPool", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolName", + "in": "path", + "description": "Name of the worker pool.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolResource" + } + } + } + }, + "put": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Create or update a worker pool.", + "description": "Create or update a worker pool.", + "operationId": "AppServiceEnvironments_CreateOrUpdateWorkerPool", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolName", + "in": "path", + "description": "Name of the worker pool.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolEnvelope", + "in": "body", + "description": "Properties of the worker pool.", + "required": true, + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolResource" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolResource" + } + }, + "202": { + "description": "Operation is in progress.", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolResource" + } + }, + "400": { + "description": "Bad request." + }, + "404": { + "description": "Not found." + }, + "409": { + "description": "Conflict." + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Create or update a worker pool.", + "description": "Create or update a worker pool.", + "operationId": "AppServiceEnvironments_UpdateWorkerPool", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolName", + "in": "path", + "description": "Name of the worker pool.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolEnvelope", + "in": "body", + "description": "Properties of the worker pool.", + "required": true, + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolResource" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolResource" + } + }, + "202": { + "description": "Operation is in progress.", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolResource" + } + }, + "400": { + "description": "Bad request." + }, + "404": { + "description": "Not found." + }, + "409": { + "description": "Conflict." + } + } + } }, - "siteMode": { - "description": "Shared or Dedicated.", - "type": "string" - } - } - }, - "StampCapacityCollection": { - "description": "Collection of stamp capacities.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/StampCapacity" - } + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}/metricdefinitions": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get metric definitions for a specific instance of a worker pool of an App Service Environment.", + "description": "Get metric definitions for a specific instance of a worker pool of an App Service Environment.", + "operationId": "AppServiceEnvironments_ListWorkerPoolInstanceMetricDefinitions", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolName", + "in": "path", + "description": "Name of the worker pool.", + "required": true, + "type": "string" + }, + { + "name": "instance", + "in": "path", + "description": "Name of the instance in the worker pool.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricDefinitionCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, - "StatusCodesBasedTrigger": { - "description": "Trigger based on status code.", - "type": "object", - "properties": { - "status": { - "format": "int32", - "description": "HTTP status code.", - "type": "integer" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}metrics": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get metrics for a specific instance of a worker pool of an App Service Environment.", + "description": "Get metrics for a specific instance of a worker pool of an App Service Environment.", + "operationId": "AppServiceEnvironments_ListWorkerPoolInstanceMetrics", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolName", + "in": "path", + "description": "Name of the worker pool.", + "required": true, + "type": "string" + }, + { + "name": "instance", + "in": "path", + "description": "Name of the instance in the worker pool.", + "required": true, + "type": "string" + }, + { + "name": "details", + "in": "query", + "description": "Specify true to include instance details. The default is false.", + "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", + "x-ms-skip-url-encoding": true + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } }, - "subStatus": { - "format": "int32", - "description": "SubStatus.", - "type": "integer" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/metricdefinitions": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get metric definitions for a worker pool of an App Service Environment.", + "description": "Get metric definitions for a worker pool of an App Service Environment.", + "operationId": "AppServiceEnvironments_ListWebWorkerMetricDefinitions", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolName", + "in": "path", + "description": "Name of the worker pool.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricDefinitionCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } }, - "win32Status": { - "format": "int32", - "description": "Win32 error code.", - "type": "integer" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/metrics": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get metrics for a worker pool of a AppServiceEnvironment (App Service Environment).", + "description": "Get metrics for a worker pool of a AppServiceEnvironment (App Service Environment).", + "operationId": "AppServiceEnvironments_ListWebWorkerMetrics", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the 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": "Specify true to include instance details. The default is false.", + "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", + "x-ms-skip-url-encoding": true + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } }, - "count": { - "format": "int32", - "description": "Count.", - "type": "integer" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/skus": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get available SKUs for scaling a worker pool.", + "description": "Get available SKUs for scaling a worker pool.", + "operationId": "AppServiceEnvironments_ListWorkerPoolSkus", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolName", + "in": "path", + "description": "Name of the worker pool.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SkuInfoCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } - }, - "Usage": { - "description": "Usage of the quota resource.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "Usage resource specific properties", - "properties": { - "displayName": { - "description": "Friendly name shown in the UI.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Name of the quota.", - "type": "string", - "readOnly": true - }, - "resourceName": { - "description": "Name of the quota resource.", - "type": "string", - "readOnly": true - }, - "unit": { - "description": "Units of measurement for the quota resource.", - "type": "string", - "readOnly": true - }, - "currentValue": { - "format": "int64", - "description": "The current value of the resource counter.", - "type": "integer", - "readOnly": true - }, - "limit": { - "format": "int64", - "description": "The resource limit.", - "type": "integer", - "readOnly": true - }, - "nextResetTime": { - "format": "date-time", - "description": "Next reset time for the resource counter.", - "type": "string", - "readOnly": true - }, - "computeMode": { - "description": "Compute mode used for this usage.", - "enum": [ - "Shared", - "Dedicated", - "Dynamic" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ComputeModeOptions", - "modelAsString": false - } - }, - "siteMode": { - "description": "Site mode used for this usage.", - "type": "string", - "readOnly": true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/usages": { + "get": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get usage metrics for a worker pool of an App Service Environment.", + "description": "Get usage metrics for a worker pool of an App Service Environment.", + "operationId": "AppServiceEnvironments_ListWebWorkerUsages", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolName", + "in": "path", + "description": "Name of the worker pool.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/UsageCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - }, - "x-ms-client-flatten": true } - } }, - "UsageCollection": { - "description": "Collection of usages.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/Usage" - } + "definitions": { + "AddressResponse": { + "description": "Describes main public IP address and any extra virtual IPs.", + "type": "object", + "properties": { + "serviceIpAddress": { + "description": "Main public virtual IP.", + "type": "string" + }, + "internalIpAddress": { + "description": "Virtual Network internal IP address of the App Service Environment if it is in internal load-balancing mode.", + "type": "string" + }, + "outboundIpAddresses": { + "description": "IP addresses appearing on outbound connections.", + "type": "array", + "items": { + "type": "string" + } + }, + "vipMappings": { + "description": "Additional virtual IPs.", + "type": "array", + "items": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VirtualIPMapping" + } + } + } }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, - "VirtualApplication": { - "description": "Virtual application in an app.", - "type": "object", - "properties": { - "virtualPath": { - "description": "Virtual path.", - "type": "string" + "AppServiceEnvironmentCollection": { + "description": "Collection of App Service Environments.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServiceEnvironmentResource" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } }, - "physicalPath": { - "description": "Physical path.", - "type": "string" + "AppServiceEnvironmentPatchResource": { + "description": "ARM resource for a app service enviroment.", + "type": "object", + "allOf": [ + { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServiceEnvironment", + "description": "Core resource properties", + "x-ms-client-flatten": true + } + } }, - "preloadEnabled": { - "description": "true if preloading is enabled; otherwise, false.", - "type": "boolean" + "AppServiceEnvironmentResource": { + "description": "App Service Environment ARM resource.", + "type": "object", + "allOf": [ + { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServiceEnvironment", + "description": "Core resource properties", + "x-ms-client-flatten": true + } + } }, - "virtualDirectories": { - "description": "Virtual directories for virtual application.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualDirectory" - } - } - } - }, - "VirtualDirectory": { - "description": "Directory for virtual application.", - "type": "object", - "properties": { - "virtualPath": { - "description": "Path to virtual application.", - "type": "string" + "HostingEnvironmentDiagnostics": { + "description": "Diagnostics for an App Service Environment.", + "type": "object", + "properties": { + "name": { + "description": "Name/identifier of the diagnostics.", + "type": "string" + }, + "diagnosicsOutput": { + "description": "Diagnostics output.", + "type": "string" + } + } }, - "physicalPath": { - "description": "Physical path.", - "type": "string" - } - } - }, - "VirtualIPMapping": { - "description": "Virtual IP mapping.", - "type": "object", - "properties": { - "virtualIP": { - "description": "Virtual IP address.", - "type": "string" + "MetricAvailabilily": { + "description": "Metric availability and retention.", + "type": "object", + "properties": { + "timeGrain": { + "description": "Time grain.", + "type": "string" + }, + "retention": { + "description": "Retention period for the current time grain.", + "type": "string" + } + } + }, + "MetricDefinition": { + "description": "Metadata for a metric.", + "type": "object", + "allOf": [ + { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "MetricDefinition resource specific properties", + "properties": { + "name": { + "description": "Name of the metric.", + "type": "string", + "readOnly": true + }, + "unit": { + "description": "Unit of the metric.", + "type": "string", + "readOnly": true + }, + "primaryAggregationType": { + "description": "Primary aggregation type.", + "type": "string", + "readOnly": true + }, + "metricAvailabilities": { + "description": "List of time grains supported for the metric together with retention period.", + "type": "array", + "items": { + "$ref": "#/definitions/MetricAvailabilily" + }, + "readOnly": true + }, + "displayName": { + "description": "Friendly name shown in the UI.", + "type": "string", + "readOnly": true + } + }, + "x-ms-client-flatten": true + } + } }, - "internalHttpPort": { - "format": "int32", - "description": "Internal HTTP port.", - "type": "integer" + "SkuInfo": { + "description": "SKU discovery information.", + "type": "object", + "properties": { + "resourceType": { + "description": "Resource type that this SKU applies to.", + "type": "string" + }, + "sku": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SkuDescription", + "description": "Name and tier of the SKU." + }, + "capacity": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SkuCapacity", + "description": "Min, max, and default scale values of the SKU." + } + } }, - "internalHttpsPort": { - "format": "int32", - "description": "Internal HTTPS port.", - "type": "integer" + "SkuInfoCollection": { + "description": "Collection of SKU information.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/SkuInfo" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } }, - "inUse": { - "description": "Is virtual IP mapping in use.", - "type": "boolean" - } - } - }, - "VirtualNetworkProfile": { - "description": "Specification for using a Virtual Network.", - "type": "object", - "properties": { - "id": { - "description": "Resource id of the Virtual Network.", - "type": "string" + "StampCapacityCollection": { + "description": "Collection of stamp capacities.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/StampCapacity" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } }, - "name": { - "description": "Name of the Virtual Network (read-only).", - "type": "string", - "readOnly": true + "Usage": { + "description": "Usage of the quota resource.", + "type": "object", + "allOf": [ + { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "Usage resource specific properties", + "properties": { + "displayName": { + "description": "Friendly name shown in the UI.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Name of the quota.", + "type": "string", + "readOnly": true + }, + "resourceName": { + "description": "Name of the quota resource.", + "type": "string", + "readOnly": true + }, + "unit": { + "description": "Units of measurement for the quota resource.", + "type": "string", + "readOnly": true + }, + "currentValue": { + "format": "int64", + "description": "The current value of the resource counter.", + "type": "integer", + "readOnly": true + }, + "limit": { + "format": "int64", + "description": "The resource limit.", + "type": "integer", + "readOnly": true + }, + "nextResetTime": { + "format": "date-time", + "description": "Next reset time for the resource counter.", + "type": "string", + "readOnly": true + }, + "computeMode": { + "description": "Compute mode used for this usage.", + "enum": [ + "Shared", + "Dedicated", + "Dynamic" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ComputeModeOptions", + "modelAsString": false + } + }, + "siteMode": { + "description": "Site mode used for this usage.", + "type": "string", + "readOnly": true + } + }, + "x-ms-client-flatten": true + } + } }, - "type": { - "description": "Resource type of the Virtual Network (read-only).", - "type": "string", - "readOnly": true + "UsageCollection": { + "description": "Collection of usages.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/Usage" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } }, - "subnet": { - "description": "Subnet within the Virtual Network.", - "type": "string" - } - } - }, - "WebAppCollection": { - "description": "Collection of App Service apps.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/Site" - } + "WorkerPoolCollection": { + "description": "Collection of worker pools.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolResource" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" + "WorkerPoolResource": { + "description": "Worker pool of an App Service Environment ARM resource.", + "type": "object", + "allOf": [ + { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPool", + "description": "Core resource properties", + "x-ms-client-flatten": true + }, + "sku": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SkuDescription" + } + } } - } }, - "WorkerPool": { - "description": "Worker pool of an App Service Environment.", - "type": "object", - "properties": { - "workerSizeId": { - "format": "int32", - "description": "Worker size ID for referencing this worker pool.", - "type": "integer" - }, - "computeMode": { - "description": "Shared or dedicated app hosting.", - "enum": [ - "Shared", - "Dedicated", - "Dynamic" - ], - "type": "string", - "x-ms-enum": { - "name": "ComputeModeOptions", - "modelAsString": false - } - }, - "workerSize": { - "description": "VM size of the worker pool instances.", - "type": "string" - }, - "workerCount": { - "format": "int32", - "description": "Number of instances in the worker pool.", - "type": "integer" + "parameters": { + "subscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "description": "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).", + "required": true, + "type": "string" }, - "instanceNames": { - "description": "Names of all instances in the worker pool (read only).", - "type": "array", - "items": { + "resourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "description": "Name of the resource group to which the resource belongs.", + "required": true, + "type": "string", + "maxLength": 90, + "minLength": 1, + "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", + "x-ms-parameter-location": "method" + }, + "apiVersionParameter": { + "name": "api-version", + "in": "query", + "description": "API Version", + "required": true, "type": "string" - }, - "readOnly": true } - } }, - "WorkerPoolCollection": { - "description": "Collection of worker pools.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } } - } }, - "WorkerPoolResource": { - "description": "Worker pool of an App Service Environment ARM resource.", - "type": "object", - "allOf": [ + "security": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "azure_auth": [ + "user_impersonation" + ] } - ], - "properties": { - "properties": { - "$ref": "#/definitions/WorkerPool", - "x-ms-client-flatten": true - }, - "sku": { - "$ref": "#/definitions/SkuDescription" - } - } - } - }, - "parameters": { - "subscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "description": "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).", - "required": true, - "type": "string" - }, - "resourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "description": "Name of the resource group to which the resource belongs.", - "required": true, - "x-ms-parameter-location": "method", - "type": "string", - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$" - }, - "apiVersionParameter": { - "name": "api-version", - "in": "query", - "description": "API Version", - "required": true, - "type": "string" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] + ] } diff --git a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json index 652124d3ac3a..ebd532642c8c 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json @@ -8,6 +8,12 @@ "schemes": [ "https" ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], "paths": { "/subscriptions/{subscriptionId}/providers/Microsoft.Web/serverfarms": { "get": { @@ -17,10 +23,6 @@ "summary": "Get all App Service plans for a subcription.", "description": "Get all App Service plans for a subcription.", "operationId": "AppServicePlans_List", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "name": "detailed", @@ -39,7 +41,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/AppServicePlanCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServicePlanCollection" } } }, @@ -56,10 +58,6 @@ "summary": "Get all App Service plans in a resource group.", "description": "Get all App Service plans in a resource group.", "operationId": "AppServicePlans_ListByResourceGroup", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -75,7 +73,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/AppServicePlanCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServicePlanCollection" } } }, @@ -92,12 +90,6 @@ "summary": "Get an App Service plan.", "description": "Get an App Service plan.", "operationId": "AppServicePlans_Get", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -118,10 +110,13 @@ ], "responses": { "200": { - "description": "OK", + "description": "OK.", "schema": { - "$ref": "#/definitions/AppServicePlan" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServicePlan" } + }, + "404": { + "description": "Not found." } } }, @@ -132,17 +127,6 @@ "summary": "Creates or updates an App Service Plan.", "description": "Creates or updates an App Service Plan.", "operationId": "AppServicePlans_CreateOrUpdate", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -160,7 +144,7 @@ "description": "Details of the App Service plan.", "required": true, "schema": { - "$ref": "#/definitions/AppServicePlan" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServicePlan" } }, { @@ -174,13 +158,13 @@ "200": { "description": "OK.", "schema": { - "$ref": "#/definitions/AppServicePlan" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServicePlan" } }, "202": { "description": "Operation is in progress.", "schema": { - "$ref": "#/definitions/AppServicePlan" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServicePlan" } } }, @@ -214,6 +198,9 @@ "responses": { "200": { "description": "OK." + }, + "204": { + "description": "OK." } } }, @@ -224,17 +211,6 @@ "summary": "Creates or updates an App Service Plan.", "description": "Creates or updates an App Service Plan.", "operationId": "AppServicePlans_Update", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -252,7 +228,7 @@ "description": "Details of the App Service plan.", "required": true, "schema": { - "$ref": "#/definitions/AppServicePlan" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServicePlanPatchResource" } }, { @@ -266,13 +242,13 @@ "200": { "description": "OK.", "schema": { - "$ref": "#/definitions/AppServicePlan" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServicePlan" } }, "202": { "description": "Operation is in progress.", "schema": { - "$ref": "#/definitions/AppServicePlan" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServicePlan" } } } @@ -286,12 +262,6 @@ "summary": "List all capabilities of an App Service plan.", "description": "List all capabilities of an App Service plan.", "operationId": "AppServicePlans_ListCapabilities", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -316,7 +286,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/definitions/Capability" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Capability" } } } @@ -331,12 +301,6 @@ "summary": "Retrieve a Hybrid Connection in use in an App Service plan.", "description": "Retrieve a Hybrid Connection in use in an App Service plan.", "operationId": "AppServicePlans_GetHybridConnection", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -373,7 +337,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HybridConnection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" } } } @@ -435,12 +399,6 @@ "summary": "Get the send key name and value of a Hybrid Connection.", "description": "Get the send key name and value of a Hybrid Connection.", "operationId": "AppServicePlans_ListHybridConnectionKeys", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -477,7 +435,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HybridConnectionKey" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnectionKey" } } } @@ -491,10 +449,6 @@ "summary": "Get all apps that use a Hybrid Connection in an App Service Plan.", "description": "Get all apps that use a Hybrid Connection in an App Service Plan.", "operationId": "AppServicePlans_ListWebAppsByHybridConnection", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -531,7 +485,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ResourceCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceCollection" } } }, @@ -548,12 +502,6 @@ "summary": "Get the maximum number of Hybrid Connections allowed in an App Service plan.", "description": "Get the maximum number of Hybrid Connections allowed in an App Service plan.", "operationId": "AppServicePlans_GetHybridConnectionPlanLimit", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -576,7 +524,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HybridConnectionLimits" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnectionLimits" } } } @@ -590,10 +538,6 @@ "summary": "Retrieve all Hybrid Connections in use in an App Service plan.", "description": "Retrieve all Hybrid Connections in use in an App Service plan.", "operationId": "AppServicePlans_ListHybridConnections", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -616,7 +560,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HybridConnectionCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnectionCollection" } } }, @@ -633,10 +577,6 @@ "summary": "Get metrics that can be queried for an App Service plan, and their definitions.", "description": "Get metrics that can be queried for an App Service plan, and their definitions.", "operationId": "AppServicePlans_ListMetricDefintions", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -659,7 +599,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ResourceMetricDefinitionCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricDefinitionCollection" } } }, @@ -676,10 +616,6 @@ "summary": "Get metrics for an App Serice plan.", "description": "Get metrics for an App Serice plan.", "operationId": "AppServicePlans_ListMetrics", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -701,8 +637,8 @@ "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]'.", - "x-ms-skip-url-encoding": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -715,7 +651,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ResourceMetricCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricCollection" } } }, @@ -771,10 +707,6 @@ "summary": "Get all apps associated with an App Service plan.", "description": "Get all apps associated with an App Service plan.", "operationId": "AppServicePlans_ListWebApps", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -796,8 +728,8 @@ "name": "$filter", "in": "query", "description": "Supported filter: $filter=state eq running. Returns only web apps that are currently running", - "x-ms-skip-url-encoding": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "name": "$top", @@ -816,7 +748,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/WebAppCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WebAppCollection" } } }, @@ -833,12 +765,6 @@ "summary": "Gets all selectable sku's for a given App Service Plan", "description": "Gets all selectable sku's for a given App Service Plan", "operationId": "AppServicePlans_GetServerFarmSkus", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -875,10 +801,6 @@ "summary": "Gets server farm usage information", "description": "Gets server farm usage information", "operationId": "AppServicePlans_ListUsages", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -908,7 +830,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/CsmUsageQuotaCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/CsmUsageQuotaCollection" } } }, @@ -925,12 +847,6 @@ "summary": "Get all Virtual Networks associated with an App Service plan.", "description": "Get all Virtual Networks associated with an App Service plan.", "operationId": "AppServicePlans_ListVnets", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -955,7 +871,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/definitions/VnetInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" } } } @@ -970,12 +886,6 @@ "summary": "Get a Virtual Network associated with an App Service plan.", "description": "Get a Virtual Network associated with an App Service plan.", "operationId": "AppServicePlans_GetVnetFromServerFarm", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1005,7 +915,7 @@ "200": { "description": "OK.", "schema": { - "$ref": "#/definitions/VnetInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" } }, "404": { @@ -1022,12 +932,6 @@ "summary": "Get a Virtual Network gateway.", "description": "Get a Virtual Network gateway.", "operationId": "AppServicePlans_GetVnetGateway", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1064,7 +968,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetGateway" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" } } } @@ -1076,17 +980,6 @@ "summary": "Update a Virtual Network gateway.", "description": "Update a Virtual Network gateway.", "operationId": "AppServicePlans_UpdateVnetGateway", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1118,7 +1011,7 @@ "description": "Definition of the gateway.", "required": true, "schema": { - "$ref": "#/definitions/VnetGateway" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" } }, { @@ -1132,7 +1025,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetGateway" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" } } } @@ -1146,12 +1039,6 @@ "summary": "Get all routes that are associated with a Virtual Network in an App Service plan.", "description": "Get all routes that are associated with a Virtual Network in an App Service plan.", "operationId": "AppServicePlans_ListRoutesForVnet", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1183,7 +1070,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/definitions/VnetRoute" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetRoute" } } } @@ -1198,12 +1085,6 @@ "summary": "Get a Virtual Network route in an App Service plan.", "description": "Get a Virtual Network route in an App Service plan.", "operationId": "AppServicePlans_GetRouteForVnet", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1242,7 +1123,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/definitions/VnetRoute" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetRoute" } } }, @@ -1258,17 +1139,6 @@ "summary": "Create or update a Virtual Network route in an App Service plan.", "description": "Create or update a Virtual Network route in an App Service plan.", "operationId": "AppServicePlans_CreateOrUpdateVnetRoute", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1300,7 +1170,7 @@ "description": "Definition of the Virtual Network route.", "required": true, "schema": { - "$ref": "#/definitions/VnetRoute" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetRoute" } }, { @@ -1314,7 +1184,7 @@ "200": { "description": "OK.", "schema": { - "$ref": "#/definitions/VnetRoute" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetRoute" } }, "400": { @@ -1380,17 +1250,6 @@ "summary": "Create or update a Virtual Network route in an App Service plan.", "description": "Create or update a Virtual Network route in an App Service plan.", "operationId": "AppServicePlans_UpdateVnetRoute", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1422,7 +1281,7 @@ "description": "Definition of the Virtual Network route.", "required": true, "schema": { - "$ref": "#/definitions/VnetRoute" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetRoute" } }, { @@ -1436,7 +1295,7 @@ "200": { "description": "OK.", "schema": { - "$ref": "#/definitions/VnetRoute" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetRoute" } }, "400": { @@ -1490,27 +1349,17 @@ } }, "definitions": { - "ApiDefinitionInfo": { - "description": "Information about the formal API definition for the app.", - "type": "object", - "properties": { - "url": { - "description": "The URL of the API definition.", - "type": "string" - } - } - }, - "AppServicePlan": { - "description": "App Service plan.", + "AppServicePlanPatchResource": { + "description": "ARM resource for a app service plan.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { "properties": { - "description": "AppServicePlan resource specific properties", + "description": "AppServicePlanPatchResource resource specific properties", "required": [ "name" ], @@ -1547,7 +1396,7 @@ "type": "string" }, "hostingEnvironmentProfile": { - "$ref": "#/definitions/HostingEnvironmentProfile", + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HostingEnvironmentProfile", "description": "Specification for the App Service Environment to use for the App Service plan.", "x-ms-mutability": [ "create", @@ -1576,6 +1425,15 @@ "type": "integer", "readOnly": true }, + "isSpot": { + "description": "If true, this App Service Plan owns spot instances.", + "type": "boolean" + }, + "spotExpirationTime": { + "format": "date-time", + "description": "The time when the server farm expires. Valid only if it is a spot server farm.", + "type": "string" + }, "resourceGroup": { "description": "Resource group of the App Service plan.", "type": "string", @@ -1618,264 +1476,11 @@ } }, "x-ms-client-flatten": true - }, - "sku": { - "$ref": "#/definitions/SkuDescription" - } - } - }, - "AppServicePlanCollection": { - "description": "Collection of App Service plans.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/AppServicePlan" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, - "AutoHealActions": { - "description": "Actions which to take by the auto-heal module when a rule is triggered.", - "type": "object", - "properties": { - "actionType": { - "description": "Predefined action to be taken.", - "enum": [ - "Recycle", - "LogEvent", - "CustomAction" - ], - "type": "string", - "x-ms-enum": { - "name": "AutoHealActionType", - "modelAsString": false - } - }, - "customAction": { - "$ref": "#/definitions/AutoHealCustomAction", - "description": "Custom action to be taken." - }, - "minProcessExecutionTime": { - "description": "Minimum time the process must execute\nbefore taking the action", - "type": "string" - } - } - }, - "AutoHealCustomAction": { - "description": "Custom action to be executed\nwhen an auto heal rule is triggered.", - "type": "object", - "properties": { - "exe": { - "description": "Executable to be run.", - "type": "string" - }, - "parameters": { - "description": "Parameters for the executable.", - "type": "string" - } - } - }, - "AutoHealRules": { - "description": "Rules that can be defined for auto-heal.", - "type": "object", - "properties": { - "triggers": { - "$ref": "#/definitions/AutoHealTriggers", - "description": "Conditions that describe when to execute the auto-heal actions." - }, - "actions": { - "$ref": "#/definitions/AutoHealActions", - "description": "Actions to be executed when a rule is triggered." - } - } - }, - "AutoHealTriggers": { - "description": "Triggers for auto-heal.", - "type": "object", - "properties": { - "requests": { - "$ref": "#/definitions/RequestsBasedTrigger", - "description": "A rule based on total requests." - }, - "privateBytesInKB": { - "format": "int32", - "description": "A rule based on private bytes.", - "type": "integer" - }, - "statusCodes": { - "description": "A rule based on status codes.", - "type": "array", - "items": { - "$ref": "#/definitions/StatusCodesBasedTrigger" - } - }, - "slowRequests": { - "$ref": "#/definitions/SlowRequestsBasedTrigger", - "description": "A rule based on request execution time." - } - } - }, - "Capability": { - "description": "Describes the capabilities/features allowed for a specific SKU.", - "type": "object", - "properties": { - "name": { - "description": "Name of the SKU capability.", - "type": "string" - }, - "value": { - "description": "Value of the SKU capability.", - "type": "string" - }, - "reason": { - "description": "Reason of the SKU capability.", - "type": "string" - } - } - }, - "CloningInfo": { - "description": "Information needed for cloning operation.", - "required": [ - "sourceWebAppId" - ], - "type": "object", - "properties": { - "correlationId": { - "format": "uuid", - "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\ntogether to use the same snapshot.", - "type": "string", - "example": "00000000-0000-0000-0000-000000000000" - }, - "overwrite": { - "description": "true to overwrite destination app; otherwise, false.", - "type": "boolean" - }, - "cloneCustomHostNames": { - "description": "true to clone custom hostnames from source app; otherwise, false.", - "type": "boolean" - }, - "cloneSourceControl": { - "description": "true to clone source control from source app; otherwise, false.", - "type": "boolean" - }, - "sourceWebAppId": { - "description": "ARM resource ID of the source app. App resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", - "type": "string" - }, - "hostingEnvironment": { - "description": "App Service Environment.", - "type": "string" - }, - "appSettingsOverrides": { - "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \nfrom source app. Otherwise, application settings from source app are retained.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "configureLoadBalancing": { - "description": "true to configure load balancing for source and destination app.", - "type": "boolean" - }, - "trafficManagerProfileId": { - "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", - "type": "string" - }, - "trafficManagerProfileName": { - "description": "Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.", - "type": "string" - } - } - }, - "ConnStringInfo": { - "description": "Database connection string information.", - "type": "object", - "properties": { - "name": { - "description": "Name of connection string.", - "type": "string" - }, - "connectionString": { - "description": "Connection string value.", - "type": "string" - }, - "type": { - "description": "Type of database.", - "enum": [ - "MySql", - "SQLServer", - "SQLAzure", - "Custom", - "NotificationHub", - "ServiceBus", - "EventHub", - "ApiHub", - "DocDb", - "RedisCache", - "PostgreSQL" - ], - "type": "string", - "x-ms-enum": { - "name": "ConnectionStringType", - "modelAsString": false - } - } - } - }, - "CorsSettings": { - "description": "Cross-Origin Resource Sharing (CORS) settings for the app.", - "type": "object", - "properties": { - "allowedOrigins": { - "description": "Gets or sets the list of origins that should be allowed to make cross-origin\ncalls (for example: http://example.com:12345). Use \"*\" to allow all.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "CsmUsageQuota": { - "description": "Usage of the quota resource.", - "type": "object", - "properties": { - "unit": { - "description": "Units of measurement for the quota resourse.", - "type": "string" - }, - "nextResetTime": { - "format": "date-time", - "description": "Next reset time for the resource counter.", - "type": "string" - }, - "currentValue": { - "format": "int64", - "description": "The current value of the resource counter.", - "type": "integer" - }, - "limit": { - "format": "int64", - "description": "The resource limit.", - "type": "integer" - }, - "name": { - "$ref": "#/definitions/LocalizableString", - "description": "Quota name." } } }, - "CsmUsageQuotaCollection": { - "description": "Collection of CSM usage quotas.", + "HybridConnectionCollection": { + "description": "Collection of hostname bindings.", "required": [ "value" ], @@ -1885,7 +1490,7 @@ "description": "Collection of resources.", "type": "array", "items": { - "$ref": "#/definitions/CsmUsageQuota" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" } }, "nextLink": { @@ -1894,160 +1499,37 @@ } } }, - "Experiments": { - "description": "Routing rules in production experiments.", - "type": "object", - "properties": { - "rampUpRules": { - "description": "List of ramp-up rules.", - "type": "array", - "items": { - "$ref": "#/definitions/RampUpRule" - } - } - } - }, - "HandlerMapping": { - "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \nFor example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", - "type": "object", - "properties": { - "extension": { - "description": "Requests with this extension will be handled using the specified FastCGI application.", - "type": "string" - }, - "scriptProcessor": { - "description": "The absolute path to the FastCGI application.", - "type": "string" - }, - "arguments": { - "description": "Command-line arguments to be passed to the script processor.", - "type": "string" - } - } - }, - "HostNameSslState": { - "description": "SSL-enabled hostname.", - "type": "object", - "properties": { - "name": { - "description": "Hostname.", - "type": "string" - }, - "sslState": { - "description": "SSL type.", - "enum": [ - "Disabled", - "SniEnabled", - "IpBasedEnabled" - ], - "type": "string", - "x-ms-enum": { - "name": "SslState", - "modelAsString": false - } - }, - "virtualIP": { - "description": "Virtual IP address assigned to the hostname if IP based SSL is enabled.", - "type": "string" - }, - "thumbprint": { - "description": "SSL certificate thumbprint.", - "type": "string" - }, - "toUpdate": { - "description": "Set to true to update existing hostname.", - "type": "boolean" - }, - "hostType": { - "description": "Indicates whether the hostname is a standard or repository hostname.", - "enum": [ - "Standard", - "Repository" - ], - "type": "string", - "x-ms-enum": { - "name": "HostType", - "modelAsString": false - } - } - } - }, - "HostingEnvironmentProfile": { - "description": "Specification for an App Service Environment to use for this resource.", - "type": "object", - "properties": { - "id": { - "description": "Resource ID of the App Service Environment.", - "type": "string" - }, - "name": { - "description": "Name of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Resource type of the App Service Environment.", - "type": "string", - "readOnly": true - } - } - }, - "HybridConnection": { - "description": "Hybrid Connection contract. This is used to configure a Hybrid Connection.", + "HybridConnectionLimits": { + "description": "Hybrid Connection limits contract. This is used to return the plan limits of Hybrid Connections.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { "properties": { - "description": "HybridConnection resource specific properties", + "description": "HybridConnectionLimits resource specific properties", "properties": { - "serviceBusNamespace": { - "description": "The name of the Service Bus namespace.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "relayName": { - "description": "The name of the Service Bus relay.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "relayArmUri": { - "description": "The ARM URI to the Service Bus relay.", - "type": "string" - }, - "hostname": { - "description": "The hostname of the endpoint.", - "type": "string" - }, - "port": { + "current": { "format": "int32", - "description": "The port of the endpoint.", - "type": "integer" - }, - "sendKeyName": { - "description": "The name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus.", - "type": "string" + "description": "The current number of Hybrid Connections.", + "type": "integer", + "readOnly": true }, - "sendKeyValue": { - "description": "The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned\nnormally, use the POST /listKeys API instead.", - "type": "string" + "maximum": { + "format": "int32", + "description": "The maximum number of Hybrid Connections allowed.", + "type": "integer", + "readOnly": true } }, "x-ms-client-flatten": true } } }, - "HybridConnectionCollection": { - "description": "Collection of hostname bindings.", + "ResourceCollection": { + "description": "Collection of resources.", "required": [ "value" ], @@ -2056,1470 +1538,10 @@ "value": { "description": "Collection of resources.", "type": "array", - "items": { - "$ref": "#/definitions/HybridConnection" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, - "HybridConnectionKey": { - "description": "Hybrid Connection key contract. This has the send key name and value for a Hybrid Connection.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "HybridConnectionKey resource specific properties", - "properties": { - "sendKeyName": { - "description": "The name of the send key.", - "type": "string", - "readOnly": true - }, - "sendKeyValue": { - "description": "The value of the send key.", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "HybridConnectionLimits": { - "description": "Hybrid Connection limits contract. This is used to return the plan limits of Hybrid Connections.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "HybridConnectionLimits resource specific properties", - "properties": { - "current": { - "format": "int32", - "description": "The current number of Hybrid Connections.", - "type": "integer", - "readOnly": true - }, - "maximum": { - "format": "int32", - "description": "The maximum number of Hybrid Connections allowed.", - "type": "integer", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "IpSecurityRestriction": { - "description": "IP security restriction on an app.", - "required": [ - "ipAddress" - ], - "type": "object", - "properties": { - "ipAddress": { - "description": "IP address the security restriction is valid for.", - "type": "string" - }, - "subnetMask": { - "description": "Subnet mask for the range of IP addresses the restriction is valid for.", - "type": "string" - } - } - }, - "LocalizableString": { - "description": "Localizable string object containing the name and a localized value.", - "type": "object", - "properties": { - "value": { - "description": "Non-localized name.", - "type": "string" - }, - "localizedValue": { - "description": "Localized name.", - "type": "string" - } - } - }, - "NameValuePair": { - "description": "Name value pair.", - "type": "object", - "properties": { - "name": { - "description": "Pair name.", - "type": "string" - }, - "value": { - "description": "Pair value.", - "type": "string" - } - } - }, - "ProxyOnlyResource": { - "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - } - }, - "x-ms-azure-resource": true - }, - "PushSettings": { - "description": "Push settings for the App.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "PushSettings resource specific properties", - "required": [ - "isPushEnabled" - ], - "properties": { - "isPushEnabled": { - "description": "Gets or sets a flag indicating whether the Push endpoint is enabled.", - "type": "boolean" - }, - "tagWhitelistJson": { - "description": "Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", - "type": "string" - }, - "tagsRequiringAuth": { - "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\nTags can consist of alphanumeric characters and the following:\n'_', '@', '#', '.', ':', '-'. \nValidation should be performed at the PushRequestHandler.", - "type": "string" - }, - "dynamicTagsJson": { - "description": "Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "RampUpRule": { - "description": "Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance.", - "type": "object", - "properties": { - "actionHostName": { - "description": "Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net.", - "type": "string" - }, - "reroutePercentage": { - "format": "double", - "description": "Percentage of the traffic which will be redirected to ActionHostName.", - "type": "number" - }, - "changeStep": { - "format": "double", - "description": "In auto ramp up scenario this is the step to to add/remove from ReroutePercentage until it reaches \nMinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specificed in ChangeIntervalInMinutes.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", - "type": "number" - }, - "changeIntervalInMinutes": { - "format": "int32", - "description": "Specifies interval in mimuntes to reevaluate ReroutePercentage.", - "type": "integer" - }, - "minReroutePercentage": { - "format": "double", - "description": "Specifies lower boundary above which ReroutePercentage will stay.", - "type": "number" - }, - "maxReroutePercentage": { - "format": "double", - "description": "Specifies upper boundary below which ReroutePercentage will stay.", - "type": "number" - }, - "changeDecisionCallbackUrl": { - "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\nhttps://www.siteextensions.net/packages/TiPCallback/", - "type": "string" - }, - "name": { - "description": "Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment.", - "type": "string" - } - } - }, - "RequestsBasedTrigger": { - "description": "Trigger based on total requests.", - "type": "object", - "properties": { - "count": { - "format": "int32", - "description": "Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } - }, - "Resource": { - "description": "Azure resource. This resource is tracked in Azure Resource Manager", - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "location": { - "description": "Resource Location.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - }, - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "identity": { - "description": "Identity for the resource.", - "type": "object", - "properties": { - "principalId": { - "description": "The principal ID of resource identity.", - "type": "string", - "readOnly": true - }, - "tenantId": { - "description": "The tenant ID of resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The identity type.", - "type": "string", - "enum": [ - "SystemAssigned" - ], - "x-ms-enum": { - "name": "ManagedServiceIdentityType", - "modelAsString": false - } - } - } - } - }, - "x-ms-azure-resource": true - }, - "ResourceCollection": { - "description": "Collection of resources.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "type": "string" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, - "ResourceMetric": { - "description": "Object representing a metric for any resource .", - "type": "object", - "properties": { - "name": { - "$ref": "#/definitions/ResourceMetricName", - "description": "Name of metric.", - "readOnly": true - }, - "unit": { - "description": "Metric unit.", - "type": "string", - "readOnly": true - }, - "timeGrain": { - "description": "Metric granularity. E.g PT1H, PT5M, P1D", - "type": "string", - "readOnly": true - }, - "startTime": { - "format": "date-time", - "description": "Metric start time.", - "type": "string", - "readOnly": true - }, - "endTime": { - "format": "date-time", - "description": "Metric end time.", - "type": "string", - "readOnly": true - }, - "resourceId": { - "description": "Metric resource Id.", - "type": "string", - "readOnly": true - }, - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "metricValues": { - "description": "Metric values.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricValue" - }, - "readOnly": true - }, - "properties": { - "description": "Properties.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricProperty" - }, - "readOnly": true - } - } - }, - "ResourceMetricAvailability": { - "description": "Metrics availability and retention.", - "type": "object", - "properties": { - "timeGrain": { - "description": "Time grain .", - "type": "string", - "readOnly": true - }, - "retention": { - "description": "Retention period for the current time grain.", - "type": "string", - "readOnly": true - } - } - }, - "ResourceMetricCollection": { - "description": "Collection of metric responses.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetric" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, - "ResourceMetricDefinition": { - "description": "Metadata for the metrics.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "ResourceMetricDefinition resource specific properties", - "properties": { - "name": { - "$ref": "#/definitions/ResourceMetricName", - "description": "Name of the metric.", - "readOnly": true - }, - "unit": { - "description": "Unit of the metric.", - "type": "string", - "readOnly": true - }, - "primaryAggregationType": { - "description": "Primary aggregation type.", - "type": "string", - "readOnly": true - }, - "metricAvailabilities": { - "description": "List of time grains supported for the metric together with retention period.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricAvailability" - }, - "readOnly": true - }, - "resourceUri": { - "description": "Resource URI.", - "type": "string", - "readOnly": true - }, - "id": { - "description": "Resource ID.", - "type": "string", - "readOnly": true - }, - "properties": { - "description": "Properties.", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "ResourceMetricDefinitionCollection": { - "description": "Collection of metric definitions.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricDefinition" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, - "ResourceMetricName": { - "description": "Name of a metric for any resource .", - "type": "object", - "properties": { - "value": { - "description": "metric name value.", - "type": "string", - "readOnly": true - }, - "localizedValue": { - "description": "Localized metric name value.", - "type": "string", - "readOnly": true - } - } - }, - "ResourceMetricProperty": { - "description": "Resource metric property.", - "type": "object", - "properties": { - "key": { - "description": "Key for resource metric property.", - "type": "string" - }, - "value": { - "description": "Value of pair.", - "type": "string" - } - } - }, - "ResourceMetricValue": { - "description": "Value of resource metric.", - "type": "object", - "properties": { - "timestamp": { - "description": "Value timestamp.", - "type": "string", - "readOnly": true - }, - "average": { - "format": "float", - "description": "Value average.", - "type": "number", - "readOnly": true - }, - "minimum": { - "format": "float", - "description": "Value minimum.", - "type": "number", - "readOnly": true - }, - "maximum": { - "format": "float", - "description": "Value maximum.", - "type": "number", - "readOnly": true - }, - "total": { - "format": "float", - "description": "Value total.", - "type": "number", - "readOnly": true - }, - "count": { - "format": "float", - "description": "Value count.", - "type": "number", - "readOnly": true - }, - "properties": { - "description": "Properties.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricProperty" - }, - "readOnly": true - } - } - }, - "Site": { - "description": "A web app, a mobile app backend, or an API app.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Site resource specific properties", - "properties": { - "state": { - "description": "Current state of the app.", - "type": "string", - "readOnly": true - }, - "hostNames": { - "description": "Hostnames associated with the app.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "repositorySiteName": { - "description": "Name of the repository site.", - "type": "string", - "readOnly": true - }, - "usageState": { - "description": "State indicating whether the app has exceeded its quota usage. Read-only.", - "enum": [ - "Normal", - "Exceeded" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "UsageState", - "modelAsString": false - } - }, - "enabled": { - "description": "true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).", - "type": "boolean" - }, - "enabledHostNames": { - "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\nthe app is not served on those hostnames.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "availabilityState": { - "description": "Management information availability state for the app.", - "enum": [ - "Normal", - "Limited", - "DisasterRecoveryMode" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "SiteAvailabilityState", - "modelAsString": false - } - }, - "hostNameSslStates": { - "description": "Hostname SSL states are used to manage the SSL bindings for app's hostnames.", - "type": "array", - "items": { - "$ref": "#/definitions/HostNameSslState" - } - }, - "serverFarmId": { - "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", - "type": "string" - }, - "reserved": { - "description": "true if reserved; otherwise, false.", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "lastModifiedTimeUtc": { - "format": "date-time", - "description": "Last time the app was modified, in UTC. Read-only.", - "type": "string", - "readOnly": true - }, - "siteConfig": { - "$ref": "#/definitions/SiteConfig", - "description": "Configuration of the app." - }, - "trafficManagerHostNames": { - "description": "Azure Traffic Manager hostnames associated with the app. Read-only.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "premiumAppDeployed": { - "description": "Indicates whether app is deployed as a premium app.", - "type": "boolean", - "readOnly": true - }, - "scmSiteAlsoStopped": { - "description": "true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", - "default": false, - "type": "boolean" - }, - "targetSwapSlot": { - "description": "Specifies which deployment slot this app will swap into. Read-only.", - "type": "string", - "readOnly": true - }, - "hostingEnvironmentProfile": { - "$ref": "#/definitions/HostingEnvironmentProfile", - "description": "App Service Environment to use for the app.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "microService": { - "description": "Micro services like apps, logic apps.", - "default": "WebSites", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "gatewaySiteName": { - "description": "Name of gateway app associated with the app.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "clientAffinityEnabled": { - "description": "true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.", - "type": "boolean" - }, - "clientCertEnabled": { - "description": "true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.", - "type": "boolean" - }, - "hostNamesDisabled": { - "description": "true to disable the public hostnames of the app; otherwise, false.\n If true, the app is only accessible via API management process.", - "type": "boolean" - }, - "outboundIpAddresses": { - "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Read-only.", - "type": "string", - "readOnly": true - }, - "containerSize": { - "format": "int32", - "description": "Size of the function container.", - "type": "integer" - }, - "dailyMemoryTimeQuota": { - "format": "int32", - "description": "Maximum allowed daily memory-time quota (applicable on dynamic apps only).", - "type": "integer" - }, - "suspendedTill": { - "format": "date-time", - "description": "App suspended till in case memory-time quota is exceeded.", - "type": "string", - "readOnly": true - }, - "maxNumberOfWorkers": { - "format": "int32", - "description": "Maximum number of workers.\nThis only applies to Functions container.", - "type": "integer", - "readOnly": true - }, - "cloningInfo": { - "$ref": "#/definitions/CloningInfo", - "description": "If specified during app creation, the app is cloned from a source app.", - "x-ms-mutability": [ - "create" - ] - }, - "snapshotInfo": { - "$ref": "#/definitions/SnapshotRecoveryRequest", - "description": "If specified during app creation, the app is created from a previous snapshot.", - "x-ms-mutability": [ - "create" - ] - }, - "resourceGroup": { - "description": "Name of the resource group the app belongs to. Read-only.", - "type": "string", - "readOnly": true - }, - "isDefaultContainer": { - "description": "true if the app is a default container; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "defaultHostName": { - "description": "Default hostname of the app. Read-only.", - "type": "string", - "readOnly": true - }, - "slotSwapStatus": { - "$ref": "#/definitions/SlotSwapStatus", - "description": "Status of the last deployment slot swap operation.", - "readOnly": true - }, - "httpsOnly": { - "description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests", - "type": "boolean" - } - }, - "x-ms-client-flatten": true - } - } - }, - "SiteConfig": { - "description": "Configuration of an App Service app.", - "type": "object", - "properties": { - "numberOfWorkers": { - "format": "int32", - "description": "Number of workers.", - "type": "integer" - }, - "defaultDocuments": { - "description": "Default documents.", - "type": "array", - "items": { - "type": "string" - } - }, - "netFrameworkVersion": { - "description": ".NET Framework version.", - "default": "v4.6", - "type": "string" - }, - "phpVersion": { - "description": "Version of PHP.", - "type": "string" - }, - "pythonVersion": { - "description": "Version of Python.", - "type": "string" - }, - "nodeVersion": { - "description": "Version of Node.js.", - "type": "string" - }, - "linuxFxVersion": { - "description": "Linux App Framework and version", - "type": "string" - }, - "requestTracingEnabled": { - "description": "true if request tracing is enabled; otherwise, false.", - "type": "boolean" - }, - "requestTracingExpirationTime": { - "format": "date-time", - "description": "Request tracing expiration time.", - "type": "string" - }, - "remoteDebuggingEnabled": { - "description": "true if remote debugging is enabled; otherwise, false.", - "type": "boolean" - }, - "remoteDebuggingVersion": { - "description": "Remote debugging version.", - "type": "string" - }, - "httpLoggingEnabled": { - "description": "true if HTTP logging is enabled; otherwise, false.", - "type": "boolean" - }, - "logsDirectorySizeLimit": { - "format": "int32", - "description": "HTTP logs directory size limit.", - "type": "integer" - }, - "detailedErrorLoggingEnabled": { - "description": "true if detailed error logging is enabled; otherwise, false.", - "type": "boolean" - }, - "publishingUsername": { - "description": "Publishing user name.", - "type": "string" - }, - "appSettings": { - "description": "Application settings.", - "type": "array", - "items": { - "$ref": "#/definitions/NameValuePair" - } - }, - "connectionStrings": { - "description": "Connection strings.", - "type": "array", - "items": { - "$ref": "#/definitions/ConnStringInfo" - } - }, - "machineKey": { - "$ref": "#/definitions/SiteMachineKey", - "description": "Site MachineKey.", - "readOnly": true - }, - "handlerMappings": { - "description": "Handler mappings.", - "type": "array", - "items": { - "$ref": "#/definitions/HandlerMapping" - } - }, - "documentRoot": { - "description": "Document root.", - "type": "string" - }, - "scmType": { - "description": "SCM type.", - "enum": [ - "None", - "Dropbox", - "Tfs", - "LocalGit", - "GitHub", - "CodePlexGit", - "CodePlexHg", - "BitbucketGit", - "BitbucketHg", - "ExternalGit", - "ExternalHg", - "OneDrive", - "VSO" - ], - "type": "string", - "x-ms-enum": { - "name": "ScmType", - "modelAsString": true - } - }, - "use32BitWorkerProcess": { - "description": "true to use 32-bit worker process; otherwise, false.", - "type": "boolean" - }, - "webSocketsEnabled": { - "description": "true if WebSocket is enabled; otherwise, false.", - "type": "boolean" - }, - "alwaysOn": { - "description": "true if Always On is enabled; otherwise, false.", - "type": "boolean" - }, - "javaVersion": { - "description": "Java version.", - "type": "string" - }, - "javaContainer": { - "description": "Java container.", - "type": "string" - }, - "javaContainerVersion": { - "description": "Java container version.", - "type": "string" - }, - "appCommandLine": { - "description": "App command line to launch.", - "type": "string" - }, - "managedPipelineMode": { - "description": "Managed pipeline mode.", - "enum": [ - "Integrated", - "Classic" - ], - "type": "string", - "x-ms-enum": { - "name": "ManagedPipelineMode", - "modelAsString": false - } - }, - "virtualApplications": { - "description": "Virtual applications.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualApplication" - } - }, - "loadBalancing": { - "description": "Site load balancing.", - "enum": [ - "WeightedRoundRobin", - "LeastRequests", - "LeastResponseTime", - "WeightedTotalTraffic", - "RequestHash" - ], - "type": "string", - "x-ms-enum": { - "name": "SiteLoadBalancing", - "modelAsString": false - } - }, - "experiments": { - "$ref": "#/definitions/Experiments", - "description": "This is work around for polymophic types." - }, - "limits": { - "$ref": "#/definitions/SiteLimits", - "description": "Site limits." - }, - "autoHealEnabled": { - "description": "true if Auto Heal is enabled; otherwise, false.", - "type": "boolean" - }, - "autoHealRules": { - "$ref": "#/definitions/AutoHealRules", - "description": "Auto Heal rules." - }, - "tracingOptions": { - "description": "Tracing options.", - "type": "string" - }, - "vnetName": { - "description": "Virtual Network name.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "cors": { - "$ref": "#/definitions/CorsSettings", - "description": "Cross-Origin Resource Sharing (CORS) settings." - }, - "push": { - "$ref": "#/definitions/PushSettings", - "description": "Push endpoint settings." - }, - "apiDefinition": { - "$ref": "#/definitions/ApiDefinitionInfo", - "description": "Information about the formal API definition for the app." - }, - "autoSwapSlotName": { - "description": "Auto-swap slot name.", - "type": "string" - }, - "localMySqlEnabled": { - "description": "true to enable local MySQL; otherwise, false.", - "default": false, - "type": "boolean" - }, - "ipSecurityRestrictions": { - "description": "IP security restrictions.", - "type": "array", - "items": { - "$ref": "#/definitions/IpSecurityRestriction" - } - } - } - }, - "SiteLimits": { - "description": "Metric limits set on an app.", - "type": "object", - "properties": { - "maxPercentageCpu": { - "format": "double", - "description": "Maximum allowed CPU usage percentage.", - "type": "number" - }, - "maxMemoryInMb": { - "format": "int64", - "description": "Maximum allowed memory usage in MB.", - "type": "integer" - }, - "maxDiskSizeInMb": { - "format": "int64", - "description": "Maximum allowed disk size usage in MB.", - "type": "integer" - } - } - }, - "SiteMachineKey": { - "description": "MachineKey of an app.", - "type": "object", - "properties": { - "validation": { - "description": "MachineKey validation.", - "type": "string" - }, - "validationKey": { - "description": "Validation key.", - "type": "string" - }, - "decryption": { - "description": "Decryption.", - "type": "string" - }, - "decryptionKey": { - "description": "Decryption key.", - "type": "string" - } - } - }, - "SkuCapacity": { - "description": "Description of the App Service plan scale options.", - "type": "object", - "properties": { - "minimum": { - "format": "int32", - "description": "Minimum number of workers for this App Service plan SKU.", - "type": "integer" - }, - "maximum": { - "format": "int32", - "description": "Maximum number of workers for this App Service plan SKU.", - "type": "integer" - }, - "default": { - "format": "int32", - "description": "Default number of workers for this App Service plan SKU.", - "type": "integer" - }, - "scaleType": { - "description": "Available scale configurations for an App Service plan.", - "type": "string" - } - } - }, - "SkuDescription": { - "description": "Description of 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" - }, - "skuCapacity": { - "$ref": "#/definitions/SkuCapacity", - "description": "Min, max, and default scale values of the SKU." - }, - "locations": { - "description": "Locations of the SKU.", - "type": "array", "items": { "type": "string" } }, - "capabilities": { - "description": "Capabilities of the SKU, e.g., is traffic manager enabled?", - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } - } - } - }, - "SlotSwapStatus": { - "description": "The status of the last successfull slot swap operation.", - "type": "object", - "properties": { - "timestampUtc": { - "format": "date-time", - "description": "The time the last successful slot swap completed.", - "type": "string", - "readOnly": true - }, - "sourceSlotName": { - "description": "The source slot of the last swap operation.", - "type": "string", - "readOnly": true - }, - "destinationSlotName": { - "description": "The destination slot of the last swap operation.", - "type": "string", - "readOnly": true - } - } - }, - "SlowRequestsBasedTrigger": { - "description": "Trigger based on request execution time.", - "type": "object", - "properties": { - "timeTaken": { - "description": "Time taken.", - "type": "string" - }, - "count": { - "format": "int32", - "description": "Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } - }, - "SnapshotRecoveryRequest": { - "description": "Details about app recovery operation.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "SnapshotRecoveryRequest resource specific properties", - "required": [ - "overwrite" - ], - "properties": { - "snapshotTime": { - "description": "Point in time in which the app recovery should be attempted, formatted as a DateTime string.", - "type": "string" - }, - "recoveryTarget": { - "$ref": "#/definitions/SnapshotRecoveryTarget", - "description": "Specifies the web app that snapshot contents will be written to." - }, - "overwrite": { - "description": "If true the recovery operation can overwrite source app; otherwise, false.", - "type": "boolean" - }, - "recoverConfiguration": { - "description": "If true, site configuration, in addition to content, will be reverted.", - "type": "boolean" - }, - "ignoreConflictingHostNames": { - "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\nThis setting is only necessary when RecoverConfiguration is enabled.", - "type": "boolean" - } - }, - "x-ms-client-flatten": true - } - } - }, - "SnapshotRecoveryTarget": { - "description": "Specifies the web app that snapshot contents will be written to.", - "type": "object", - "properties": { - "location": { - "description": "Geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS", - "type": "string" - }, - "id": { - "description": "ARM resource ID of the target app. \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", - "type": "string" - } - } - }, - "StatusCodesBasedTrigger": { - "description": "Trigger based on status code.", - "type": "object", - "properties": { - "status": { - "format": "int32", - "description": "HTTP status code.", - "type": "integer" - }, - "subStatus": { - "format": "int32", - "description": "SubStatus.", - "type": "integer" - }, - "win32Status": { - "format": "int32", - "description": "Win32 error code.", - "type": "integer" - }, - "count": { - "format": "int32", - "description": "Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } - }, - "VirtualApplication": { - "description": "Virtual application in an app.", - "type": "object", - "properties": { - "virtualPath": { - "description": "Virtual path.", - "type": "string" - }, - "physicalPath": { - "description": "Physical path.", - "type": "string" - }, - "preloadEnabled": { - "description": "true if preloading is enabled; otherwise, false.", - "type": "boolean" - }, - "virtualDirectories": { - "description": "Virtual directories for virtual application.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualDirectory" - } - } - } - }, - "VirtualDirectory": { - "description": "Directory for virtual application.", - "type": "object", - "properties": { - "virtualPath": { - "description": "Path to virtual application.", - "type": "string" - }, - "physicalPath": { - "description": "Physical path.", - "type": "string" - } - } - }, - "VnetGateway": { - "description": "The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "VnetGateway resource specific properties", - "required": [ - "vpnPackageUri" - ], - "properties": { - "vnetName": { - "description": "The Virtual Network name.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "vpnPackageUri": { - "description": "The URI where the VPN package can be downloaded.", - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ] - } - }, - "x-ms-client-flatten": true - } - } - }, - "VnetInfo": { - "description": "Virtual Network information contract.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "VnetInfo resource specific properties", - "properties": { - "vnetResourceId": { - "description": "The Virtual Network's resource ID.", - "type": "string" - }, - "certThumbprint": { - "description": "The client certificate thumbprint.", - "type": "string", - "readOnly": true - }, - "certBlob": { - "format": "byte", - "description": "A certificate file (.cer) blob containing the public key of the private key used to authenticate a \nPoint-To-Site VPN connection.", - "type": "string" - }, - "routes": { - "description": "The routes that this Virtual Network connection uses.", - "type": "array", - "items": { - "$ref": "#/definitions/VnetRoute" - }, - "readOnly": true - }, - "resyncRequired": { - "description": "true if a resync is required; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "dnsServers": { - "description": "DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "VnetRoute": { - "description": "Virtual Network route contract used to pass routing information for a Virtual Network.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "VnetRoute resource specific properties", - "properties": { - "name": { - "description": "The name of this route. This is only returned by the server and does not need to be set by the client.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-ms-client-name": "vnetRouteName" - }, - "startAddress": { - "description": "The starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified.", - "type": "string" - }, - "endAddress": { - "description": "The ending address for this route. If the start address is specified in CIDR notation, this must be omitted.", - "type": "string" - }, - "routeType": { - "description": "The type of route this is:\nDEFAULT - By default, every app has routes to the local address ranges specified by RFC1918\nINHERITED - Routes inherited from the real Virtual Network routes\nSTATIC - Static route set on the app only\n\nThese values will be used for syncing an app's routes with those from a Virtual Network.", - "enum": [ - "DEFAULT", - "INHERITED", - "STATIC" - ], - "type": "string", - "x-ms-enum": { - "name": "RouteType", - "modelAsString": true - } - } - }, - "x-ms-client-flatten": true - } - } - }, - "WebAppCollection": { - "description": "Collection of App Service apps.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/Site" - } - }, "nextLink": { "description": "Link to next page of resources.", "type": "string" @@ -3540,11 +1562,11 @@ "in": "path", "description": "Name of the resource group to which the resource belongs.", "required": true, - "x-ms-parameter-location": "method", "type": "string", "maxLength": 90, "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$" + "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", + "x-ms-parameter-location": "method" }, "apiVersionParameter": { "name": "api-version", diff --git a/specification/web/resource-manager/readme.md b/specification/web/resource-manager/readme.md index a779713a52da..36e8f8f1890a 100644 --- a/specification/web/resource-manager/readme.md +++ b/specification/web/resource-manager/readme.md @@ -48,6 +48,7 @@ input-file: - Microsoft.DomainRegistration/2015-04-01/Domains.json - Microsoft.DomainRegistration/2015-04-01/TopLevelDomains.json - Microsoft.Web/2016-03-01/Certificates.json +- Microsoft.Web/2016-03-01/CommonDefinitions.json - Microsoft.Web/2016-03-01/DeletedWebApps.json - Microsoft.Web/2016-03-01/Provider.json - Microsoft.Web/2016-03-01/Recommendations.json From 3680787a8c97bb105e2e41f508dbd04ebfa65a28 Mon Sep 17 00:00:00 2001 From: Navy Aziz Date: Thu, 19 Oct 2017 18:19:56 -0700 Subject: [PATCH 19/27] Fix spurious references to commonDefinitions --- .../AppServiceCertificateOrders.json | 4 +- .../2015-04-01/Domains.json | 2 +- .../2016-03-01/ResourceProvider.json | 4 +- .../Microsoft.Web/2016-08-01/WebApps.json | 211 ++++++------------ .../2016-09-01/AppServiceEnvironments.json | 56 ++--- .../2016-09-01/AppServicePlans.json | 8 +- 6 files changed, 100 insertions(+), 185 deletions(-) diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json index b9c9d2fba9ef..87202f66fa8b 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json @@ -697,7 +697,7 @@ "description": "Site seal request.", "required": true, "schema": { - "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/SiteSealRequest" + "$ref": "#/definitions/SiteSealRequest" } }, { @@ -711,7 +711,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/SiteSeal" + "$ref": "#/definitions/SiteSeal" } } } diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json b/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json index 1c0d066744f9..8016d31713e9 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json @@ -134,7 +134,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/NameIdentifierCollection" + "$ref": "#/definitions/NameIdentifierCollection" } } }, diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json index 9b3e5cf9ce55..c954aedbe6fa 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json @@ -158,7 +158,7 @@ "description": "Name availability request.", "required": true, "schema": { - "$ref": "./CommonDefinitions.json#/definitions/ResourceNameAvailabilityRequest" + "$ref": "#/definitions/ResourceNameAvailabilityRequest" }, "x-ms-client-flatten": true }, @@ -173,7 +173,7 @@ "200": { "description": "OK", "schema": { - "$ref": "./CommonDefinitions.json#/definitions/ResourceNameAvailability" + "$ref": "#/definitions/ResourceNameAvailability" } } } diff --git a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json index 2c414f42f6a6..d1e6e70fb7a5 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json @@ -273,7 +273,7 @@ "description": "A JSON representation of the app properties. See example.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SitePatchResource" + "$ref": "#/definitions/SitePatchResource" } }, { @@ -755,7 +755,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigResourceCollection" + "$ref": "#/definitions/SiteConfigResourceCollection" } } }, @@ -870,7 +870,7 @@ "description": "Auth settings associated with web app.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteAuthSettings" + "$ref": "#/definitions/SiteAuthSettings" } }, { @@ -884,7 +884,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteAuthSettings" + "$ref": "#/definitions/SiteAuthSettings" } } } @@ -920,7 +920,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteAuthSettings" + "$ref": "#/definitions/SiteAuthSettings" } } } @@ -1149,7 +1149,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteLogsConfig" + "$ref": "#/definitions/SiteLogsConfig" } } } @@ -1178,7 +1178,7 @@ "description": "A SiteLogsConfig JSON object that contains the logging configuration to change in the \"properties\" property.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteLogsConfig" + "$ref": "#/definitions/SiteLogsConfig" } }, { @@ -1192,7 +1192,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteLogsConfig" + "$ref": "#/definitions/SiteLogsConfig" } } } @@ -1506,7 +1506,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigResource" + "$ref": "#/definitions/SiteConfigResource" } } } @@ -1535,7 +1535,7 @@ "description": "JSON representation of a SiteConfig object. See example.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigResource" + "$ref": "#/definitions/SiteConfigResource" } }, { @@ -1549,7 +1549,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigResource" + "$ref": "#/definitions/SiteConfigResource" } } } @@ -1578,7 +1578,7 @@ "description": "JSON representation of a SiteConfig object. See example.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigResource" + "$ref": "#/definitions/SiteConfigResource" } }, { @@ -1592,7 +1592,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigResource" + "$ref": "#/definitions/SiteConfigResource" } } } @@ -1628,7 +1628,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigurationSnapshotInfoCollection" + "$ref": "#/definitions/SiteConfigurationSnapshotInfoCollection" } } }, @@ -1674,7 +1674,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigResource" + "$ref": "#/definitions/SiteConfigResource" } } } @@ -1759,45 +1759,6 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/containerlogs/zip": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Gets the ZIP archived docker log files for the given site", - "description": "Gets the ZIP archived docker log files for the given site", - "operationId": "WebApps_GetContainerLogsZip", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "200": { - "description": "OK", - "schema": { - "type": "file" - } - } - } - } - }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/containerlogs/zip/download": { "post": { "tags": [ @@ -4207,7 +4168,7 @@ "200": { "description": "OK.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteCloneability" + "$ref": "#/definitions/SiteCloneability" } } } @@ -4722,7 +4683,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SitePhpErrorLogFlag" + "$ref": "#/definitions/SitePhpErrorLogFlag" } } } @@ -5646,7 +5607,7 @@ "200": { "description": "SiteExtension information returned.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteExtensionInfoCollection" + "$ref": "#/definitions/SiteExtensionInfoCollection" } }, "404": { @@ -5695,7 +5656,7 @@ "200": { "description": "SiteExtension information returned.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteExtensionInfo" + "$ref": "#/definitions/SiteExtensionInfo" } }, "404": { @@ -5739,13 +5700,13 @@ "201": { "description": "Site Extension created.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteExtensionInfo" + "$ref": "#/definitions/SiteExtensionInfo" } }, "200": { "description": "Site Extension created.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteExtensionInfo" + "$ref": "#/definitions/SiteExtensionInfo" } }, "429": { @@ -6047,7 +6008,7 @@ "description": "A JSON representation of the app properties. See example.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SitePatchResource" + "$ref": "#/definitions/SitePatchResource" } }, { @@ -6606,7 +6567,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigResourceCollection" + "$ref": "#/definitions/SiteConfigResourceCollection" } } }, @@ -6735,7 +6696,7 @@ "description": "Auth settings associated with web app.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteAuthSettings" + "$ref": "#/definitions/SiteAuthSettings" } }, { @@ -6756,7 +6717,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteAuthSettings" + "$ref": "#/definitions/SiteAuthSettings" } } } @@ -6799,7 +6760,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteAuthSettings" + "$ref": "#/definitions/SiteAuthSettings" } } } @@ -7070,7 +7031,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteLogsConfig" + "$ref": "#/definitions/SiteLogsConfig" } } } @@ -7099,7 +7060,7 @@ "description": "A SiteLogsConfig JSON object that contains the logging configuration to change in the \"properties\" property.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteLogsConfig" + "$ref": "#/definitions/SiteLogsConfig" } }, { @@ -7120,7 +7081,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteLogsConfig" + "$ref": "#/definitions/SiteLogsConfig" } } } @@ -7397,7 +7358,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigResource" + "$ref": "#/definitions/SiteConfigResource" } } } @@ -7426,7 +7387,7 @@ "description": "JSON representation of a SiteConfig object. See example.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigResource" + "$ref": "#/definitions/SiteConfigResource" } }, { @@ -7447,7 +7408,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigResource" + "$ref": "#/definitions/SiteConfigResource" } } } @@ -7476,7 +7437,7 @@ "description": "JSON representation of a SiteConfig object. See example.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigResource" + "$ref": "#/definitions/SiteConfigResource" } }, { @@ -7497,7 +7458,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigResource" + "$ref": "#/definitions/SiteConfigResource" } } } @@ -7540,7 +7501,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigurationSnapshotInfoCollection" + "$ref": "#/definitions/SiteConfigurationSnapshotInfoCollection" } } }, @@ -7593,7 +7554,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigResource" + "$ref": "#/definitions/SiteConfigResource" } } } @@ -7692,52 +7653,6 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/containerlogs/zip": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Gets the ZIP archived docker log files for the given site", - "description": "Gets the ZIP archived docker log files for the given site", - "operationId": "WebApps_GetContainerLogsZipSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "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": { - "204": { - "description": "No Content" - }, - "200": { - "description": "OK", - "schema": { - "type": "file" - } - } - } - } - }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/containerlogs/zip/download": { "post": { "tags": [ @@ -10518,7 +10433,7 @@ "200": { "description": "OK.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteCloneability" + "$ref": "#/definitions/SiteCloneability" } } } @@ -11004,7 +10919,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SitePhpErrorLogFlag" + "$ref": "#/definitions/SitePhpErrorLogFlag" } } } @@ -12075,7 +11990,7 @@ "200": { "description": "SiteExtension information returned.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteExtensionInfoCollection" + "$ref": "#/definitions/SiteExtensionInfoCollection" } }, "404": { @@ -12131,7 +12046,7 @@ "200": { "description": "SiteExtension information returned.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteExtensionInfo" + "$ref": "#/definitions/SiteExtensionInfo" } }, "404": { @@ -12182,13 +12097,13 @@ "201": { "description": "Site Extension created.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteExtensionInfo" + "$ref": "#/definitions/SiteExtensionInfo" } }, "200": { "description": "Site Extension created.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteExtensionInfo" + "$ref": "#/definitions/SiteExtensionInfo" } }, "429": { @@ -12437,7 +12352,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteSourceControl" + "$ref": "#/definitions/SiteSourceControl" } } } @@ -12466,7 +12381,7 @@ "description": "JSON representation of a SiteSourceControl object. See example.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteSourceControl" + "$ref": "#/definitions/SiteSourceControl" } }, { @@ -12487,13 +12402,13 @@ "200": { "description": "Succesfully created or updated source control for web app.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteSourceControl" + "$ref": "#/definitions/SiteSourceControl" } }, "201": { "description": "Create or update source control for web app in progress.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteSourceControl" + "$ref": "#/definitions/SiteSourceControl" } } }, @@ -12567,7 +12482,7 @@ "description": "JSON representation of a SiteSourceControl object. See example.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteSourceControl" + "$ref": "#/definitions/SiteSourceControl" } }, { @@ -12588,13 +12503,13 @@ "200": { "description": "Succesfully created or updated source control for web app.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteSourceControl" + "$ref": "#/definitions/SiteSourceControl" } }, "201": { "description": "Create or update source control for web app in progress.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteSourceControl" + "$ref": "#/definitions/SiteSourceControl" } } } @@ -13831,7 +13746,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteSourceControl" + "$ref": "#/definitions/SiteSourceControl" } } } @@ -13860,7 +13775,7 @@ "description": "JSON representation of a SiteSourceControl object. See example.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteSourceControl" + "$ref": "#/definitions/SiteSourceControl" } }, { @@ -13874,13 +13789,13 @@ "200": { "description": "Succesfully created or updated source control for web app.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteSourceControl" + "$ref": "#/definitions/SiteSourceControl" } }, "201": { "description": "Create or update source control for web app in progress.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteSourceControl" + "$ref": "#/definitions/SiteSourceControl" } } }, @@ -13947,7 +13862,7 @@ "description": "JSON representation of a SiteSourceControl object. See example.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteSourceControl" + "$ref": "#/definitions/SiteSourceControl" } }, { @@ -13961,13 +13876,13 @@ "200": { "description": "Succesfully created or updated source control for web app.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteSourceControl" + "$ref": "#/definitions/SiteSourceControl" } }, "201": { "description": "Create or update source control for web app in progress.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteSourceControl" + "$ref": "#/definitions/SiteSourceControl" } } } @@ -17193,21 +17108,21 @@ "description": "List of features enabled on app that prevent cloning.", "type": "array", "items": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteCloneabilityCriterion" + "$ref": "#/definitions/SiteCloneabilityCriterion" } }, "unsupportedFeatures": { "description": "List of features enabled on app that are non-blocking but cannot be cloned. The app can still be cloned\nbut the features in this list will not be set up on cloned app.", "type": "array", "items": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteCloneabilityCriterion" + "$ref": "#/definitions/SiteCloneabilityCriterion" } }, "blockingCharacteristics": { "description": "List of blocking application characteristics.", "type": "array", "items": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteCloneabilityCriterion" + "$ref": "#/definitions/SiteCloneabilityCriterion" } } } @@ -17253,7 +17168,7 @@ "description": "Collection of resources.", "type": "array", "items": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigResource" + "$ref": "#/definitions/SiteConfigResource" } }, "nextLink": { @@ -17302,7 +17217,7 @@ "description": "Collection of resources.", "type": "array", "items": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfigurationSnapshotInfo" + "$ref": "#/definitions/SiteConfigurationSnapshotInfo" } }, "nextLink": { @@ -17433,7 +17348,7 @@ "description": "Collection of resources.", "type": "array", "items": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteExtensionInfo" + "$ref": "#/definitions/SiteExtensionInfo" } }, "nextLink": { @@ -18266,7 +18181,7 @@ "description": "Collection of resources.", "type": "array", "items": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteInstance" + "$ref": "#/definitions/SiteInstance" } }, "nextLink": { diff --git a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json index 5df9b533a5c3..0d736c7c474f 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json @@ -35,7 +35,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServiceEnvironmentCollection" + "$ref": "#/definitions/AppServiceEnvironmentCollection" } } }, @@ -67,7 +67,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServiceEnvironmentCollection" + "$ref": "#/definitions/AppServiceEnvironmentCollection" } } }, @@ -106,7 +106,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServiceEnvironmentResource" + "$ref": "#/definitions/AppServiceEnvironmentResource" } } } @@ -135,7 +135,7 @@ "description": "Configuration details of the App Service Environment.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServiceEnvironmentResource" + "$ref": "#/definitions/AppServiceEnvironmentResource" } }, { @@ -149,13 +149,13 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServiceEnvironmentResource" + "$ref": "#/definitions/AppServiceEnvironmentResource" } }, "202": { "description": "Operation is in progress.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServiceEnvironmentResource" + "$ref": "#/definitions/AppServiceEnvironmentResource" } }, "400": { @@ -244,7 +244,7 @@ "description": "Configuration details of the App Service Environment.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServiceEnvironmentPatchResource" + "$ref": "#/definitions/AppServiceEnvironmentPatchResource" } }, { @@ -258,13 +258,13 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServiceEnvironmentResource" + "$ref": "#/definitions/AppServiceEnvironmentResource" } }, "202": { "description": "Operation is in progress.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServiceEnvironmentResource" + "$ref": "#/definitions/AppServiceEnvironmentResource" } }, "400": { @@ -309,7 +309,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/StampCapacityCollection" + "$ref": "#/definitions/StampCapacityCollection" } } }, @@ -554,7 +554,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolCollection" + "$ref": "#/definitions/WorkerPoolCollection" } } }, @@ -593,7 +593,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolResource" + "$ref": "#/definitions/WorkerPoolResource" } } } @@ -622,7 +622,7 @@ "description": "Properties of the multi-role pool.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolResource" + "$ref": "#/definitions/WorkerPoolResource" } }, { @@ -636,13 +636,13 @@ "200": { "description": "OK.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolResource" + "$ref": "#/definitions/WorkerPoolResource" } }, "202": { "description": "Operation is in progress.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolResource" + "$ref": "#/definitions/WorkerPoolResource" } }, "400": { @@ -681,7 +681,7 @@ "description": "Properties of the multi-role pool.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolResource" + "$ref": "#/definitions/WorkerPoolResource" } }, { @@ -695,13 +695,13 @@ "200": { "description": "OK.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolResource" + "$ref": "#/definitions/WorkerPoolResource" } }, "202": { "description": "Operation is in progress.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolResource" + "$ref": "#/definitions/WorkerPoolResource" } }, "400": { @@ -1334,7 +1334,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolCollection" + "$ref": "#/definitions/WorkerPoolCollection" } } }, @@ -1380,7 +1380,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolResource" + "$ref": "#/definitions/WorkerPoolResource" } } } @@ -1416,7 +1416,7 @@ "description": "Properties of the worker pool.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolResource" + "$ref": "#/definitions/WorkerPoolResource" } }, { @@ -1430,13 +1430,13 @@ "200": { "description": "OK.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolResource" + "$ref": "#/definitions/WorkerPoolResource" } }, "202": { "description": "Operation is in progress.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolResource" + "$ref": "#/definitions/WorkerPoolResource" } }, "400": { @@ -1482,7 +1482,7 @@ "description": "Properties of the worker pool.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolResource" + "$ref": "#/definitions/WorkerPoolResource" } }, { @@ -1496,13 +1496,13 @@ "200": { "description": "OK.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolResource" + "$ref": "#/definitions/WorkerPoolResource" } }, "202": { "description": "Operation is in progress.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolResource" + "$ref": "#/definitions/WorkerPoolResource" } }, "400": { @@ -1874,7 +1874,7 @@ "description": "Collection of resources.", "type": "array", "items": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServiceEnvironmentResource" + "$ref": "#/definitions/AppServiceEnvironmentResource" } }, "nextLink": { @@ -2151,7 +2151,7 @@ "description": "Collection of resources.", "type": "array", "items": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPoolResource" + "$ref": "#/definitions/WorkerPoolResource" } }, "nextLink": { diff --git a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json index ebd532642c8c..58f2bfea9521 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json @@ -228,7 +228,7 @@ "description": "Details of the App Service plan.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServicePlanPatchResource" + "$ref": "#/definitions/AppServicePlanPatchResource" } }, { @@ -485,7 +485,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceCollection" + "$ref": "#/definitions/ResourceCollection" } } }, @@ -524,7 +524,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnectionLimits" + "$ref": "#/definitions/HybridConnectionLimits" } } } @@ -560,7 +560,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnectionCollection" + "$ref": "#/definitions/HybridConnectionCollection" } } }, From f9bffdc8272c9dc0711e853ef7de3be2a0f3d2c4 Mon Sep 17 00:00:00 2001 From: Navy Aziz Date: Thu, 19 Oct 2017 19:03:45 -0700 Subject: [PATCH 20/27] Address CR issues. --- .../2016-03-01/Certificates.json | 10 ++ .../2016-03-01/DeletedWebApps.json | 4 +- .../2016-03-01/Recommendations.json | 6 - .../Microsoft.Web/2016-08-01/WebApps.json | 161 +++++++++--------- 4 files changed, 95 insertions(+), 86 deletions(-) diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json index e88847612893..abb867e6d1b4 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json @@ -361,6 +361,11 @@ "modelAsString": false } }, + "geoRegion": { + "description": "Region of the certificate.", + "type": "string", + "readOnly": true + }, "serverFarmId": { "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", "type": "string" @@ -517,6 +522,11 @@ "modelAsString": false } }, + "geoRegion": { + "description": "Region of the certificate.", + "type": "string", + "readOnly": true + }, "serverFarmId": { "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", "type": "string" diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/DeletedWebApps.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/DeletedWebApps.json index d6c94d120e4f..11cb03b510fd 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/DeletedWebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/DeletedWebApps.json @@ -50,7 +50,7 @@ "description": "A deleted app.", "type": "object", "properties": { - "deletedSiteId": { + "id": { "format": "int32", "description": "Numeric id for the deleted site", "type": "integer" @@ -70,7 +70,7 @@ "type": "string", "readOnly": true }, - "deletedSiteName": { + "name": { "description": "Name of the deleted site", "type": "string", "readOnly": true diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Recommendations.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Recommendations.json index cb7c07e35c9b..feb0fc3e1323 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Recommendations.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Recommendations.json @@ -276,12 +276,6 @@ "description": "Specify true to update the last-seen timestamp of the recommendation object.", "type": "boolean" }, - { - "name": "recommendationId", - "in": "query", - "description": "The GUID of the recommedation object if you query an expired one. You don't need to specify it to query an active entry.", - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, diff --git a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json index d1e6e70fb7a5..ae723110146d 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json @@ -15232,11 +15232,11 @@ "modelAsString": false } }, - "detailed_status": { + "detailedStatus": { "description": "Detailed status.", "type": "string" }, - "log_url": { + "logUrl": { "description": "Log URL.", "type": "string" }, @@ -15245,7 +15245,7 @@ "type": "string", "readOnly": true }, - "run_command": { + "runCommand": { "description": "Run command.", "type": "string" }, @@ -15253,7 +15253,7 @@ "description": "Job URL.", "type": "string" }, - "extra_info_url": { + "extraInfoUrl": { "description": "Extra Info URL.", "type": "string" }, @@ -15273,7 +15273,7 @@ "description": "Error information.", "type": "string" }, - "using_sdk": { + "usingSdk": { "description": "Using SDK?", "type": "boolean" }, @@ -15508,16 +15508,16 @@ "description": "Who performed the deployment.", "type": "string" }, - "author_email": { + "authorEmail": { "description": "Author email.", "type": "string" }, - "start_time": { + "startTime": { "format": "date-time", "description": "Start time.", "type": "string" }, - "end_time": { + "endTime": { "format": "date-time", "description": "End time.", "type": "string" @@ -15634,15 +15634,15 @@ "description": "Script root path URI.", "type": "string" }, - "script_href": { + "scriptHref": { "description": "Script URI.", "type": "string" }, - "config_href": { + "configHref": { "description": "Config URI.", "type": "string" }, - "secrets_file_href": { + "secretsFileHref": { "description": "Secrets file URI.", "type": "string" }, @@ -15661,7 +15661,7 @@ "type": "string" } }, - "test_data": { + "testData": { "description": "Test data used when testing via the Azure Portal.", "type": "string" } @@ -15706,7 +15706,7 @@ "description": "Secret key.", "type": "string" }, - "trigger_url": { + "triggerUrl": { "description": "Trigger URL.", "type": "string" } @@ -16260,6 +16260,11 @@ "format": "double", "description": "Value of counter at a certain time.", "type": "number" + }, + "coreCount": { + "format": "int32", + "description": "Core Count of worker. Not a data member", + "type": "integer" } } }, @@ -16376,11 +16381,11 @@ "description": "HRef URI.", "type": "string" }, - "minidump": { + "miniDump": { "description": "Minidump URI.", "type": "string" }, - "is_profile_running": { + "isProfileRunning": { "description": "Is profile running?", "type": "boolean" }, @@ -16425,112 +16430,112 @@ "$ref": "#/definitions/ProcessModuleInfo" } }, - "file_name": { + "fileName": { "description": "File name of this process.", "type": "string" }, - "command_line": { + "commandLine": { "description": "Command line.", "type": "string" }, - "user_name": { + "userName": { "description": "User name.", "type": "string" }, - "handle_count": { + "handleCount": { "format": "int32", "description": "Handle count.", "type": "integer" }, - "module_count": { + "moduleCount": { "format": "int32", "description": "Module count.", "type": "integer" }, - "thread_count": { + "threadCount": { "format": "int32", "description": "Thread count.", "type": "integer" }, - "start_time": { + "startTime": { "format": "date-time", "description": "Start time.", "type": "string" }, - "total_cpu_time": { + "totalCpuTime": { "description": "Total CPU time.", "type": "string" }, - "user_cpu_time": { + "userCpuTime": { "description": "User CPU time.", "type": "string" }, - "privileged_cpu_time": { + "privilegedCpuTime": { "description": "Privileged CPU time.", "type": "string" }, - "working_set": { + "workingSet": { "format": "int64", "description": "Working set.", "type": "integer" }, - "peak_working_set": { + "peakWorkingSet": { "format": "int64", "description": "Peak working set.", "type": "integer" }, - "private_memory": { + "privateMemory": { "format": "int64", "description": "Private memory size.", "type": "integer" }, - "virtual_memory": { + "virtualMemory": { "format": "int64", "description": "Virtual memory size.", "type": "integer" }, - "peak_virtual_memory": { + "peakVirtualMemory": { "format": "int64", "description": "Peak virtual memory usage.", "type": "integer" }, - "paged_system_memory": { + "pagedSystemMemory": { "format": "int64", "description": "Paged system memory.", "type": "integer" }, - "non_paged_system_memory": { + "nonPagedSystemMemory": { "format": "int64", "description": "Non-paged system memory.", "type": "integer" }, - "paged_memory": { + "pagedMemory": { "format": "int64", "description": "Paged memory.", "type": "integer" }, - "peak_paged_memory": { + "peakPagedMemory": { "format": "int64", "description": "Peak paged memory.", "type": "integer" }, - "time_stamp": { + "timeStamp": { "format": "date-time", "description": "Time stamp.", "type": "string" }, - "environment_variables": { + "environmentVariables": { "description": "List of environment variables.", "type": "object", "additionalProperties": { "type": "string" } }, - "is_scm_site": { + "isScmSite": { "description": "Is this the SCM site?", "type": "boolean" }, - "is_webjob": { + "isWebJob": { "description": "Is this a Web Job?", "type": "boolean" }, @@ -16575,11 +16580,11 @@ "properties": { "description": "ProcessModuleInfo resource specific properties", "properties": { - "base_address": { + "baseAddress": { "description": "Base address. Used as module identifier in ARM resource URI.", "type": "string" }, - "file_name": { + "fileName": { "description": "File name.", "type": "string" }, @@ -16587,20 +16592,20 @@ "description": "HRef URI.", "type": "string" }, - "file_path": { + "filePath": { "description": "File path.", "type": "string" }, - "module_memory_size": { + "moduleMemorySize": { "format": "int32", "description": "Module memory size.", "type": "integer" }, - "file_version": { + "fileVersion": { "description": "File version.", "type": "string" }, - "file_description": { + "fileDescription": { "description": "File description.", "type": "string" }, @@ -16608,11 +16613,11 @@ "description": "Product name.", "type": "string" }, - "product_version": { + "productVersion": { "description": "Product version.", "type": "string" }, - "is_debug": { + "isDebug": { "description": "Is debug?", "type": "boolean" }, @@ -16670,38 +16675,38 @@ "description": "Process URI.", "type": "string" }, - "start_address": { + "startAddress": { "description": "Start address.", "type": "string" }, - "current_priority": { + "currentPriority": { "format": "int32", "description": "Current thread priority.", "type": "integer" }, - "priority_level": { + "priorityLevel": { "description": "Thread priority level.", "type": "string" }, - "base_priority": { + "basePriority": { "format": "int32", "description": "Base priority.", "type": "integer" }, - "start_time": { + "startTime": { "format": "date-time", "description": "Start time.", "type": "string" }, - "total_processor_time": { + "totalProcessorTime": { "description": "Total processor time.", "type": "string" }, - "user_processor_time": { + "userProcessorTime": { "description": "User processor time.", "type": "string" }, - "priviledged_processor_time": { + "priviledgedProcessorTime": { "description": "Priviledged processor time.", "type": "string" }, @@ -16709,7 +16714,7 @@ "description": "Thread state.", "type": "string" }, - "wait_reason": { + "waitReason": { "description": "Wait reason.", "type": "string" } @@ -17270,23 +17275,23 @@ "description": "Version information.", "type": "string" }, - "extension_url": { + "extensionUrl": { "description": "Extension URL.", "type": "string" }, - "project_url": { + "projectUrl": { "description": "Project URL.", "type": "string" }, - "icon_url": { + "iconUrl": { "description": "Icon URL.", "type": "string" }, - "license_url": { + "licenseUrl": { "description": "License URL.", "type": "string" }, - "feed_url": { + "feedUrl": { "description": "Feed URL.", "type": "string" }, @@ -17297,25 +17302,25 @@ "type": "string" } }, - "installer_command_line_params": { + "installerCommandLineParams": { "description": "Installer command line parameters.", "type": "string" }, - "published_date_time": { + "publishedDateTime": { "format": "date-time", "description": "Published timestamp.", "type": "string" }, - "download_count": { + "downloadCount": { "format": "int32", "description": "Count of downloads.", "type": "integer" }, - "local_is_latest_version": { + "localIsLatestVersion": { "description": "true if the local version is the latest version; false otherwise.", "type": "boolean" }, - "local_path": { + "localPath": { "description": "Local path.", "type": "string" }, @@ -18038,12 +18043,12 @@ "modelAsString": false } }, - "start_time": { + "startTime": { "format": "date-time", "description": "Start time.", "type": "string" }, - "end_time": { + "endTime": { "format": "date-time", "description": "End time.", "type": "string" @@ -18052,11 +18057,11 @@ "description": "Job duration.", "type": "string" }, - "output_url": { + "outputUrl": { "description": "Output URL.", "type": "string" }, - "error_url": { + "errorUrl": { "description": "Error URL.", "type": "string" }, @@ -18064,7 +18069,7 @@ "description": "Job URL.", "type": "string" }, - "job_name": { + "jobName": { "description": "Job name.", "type": "string" }, @@ -18089,15 +18094,15 @@ "properties": { "description": "TriggeredWebJob resource specific properties", "properties": { - "latest_run": { + "latestRun": { "$ref": "#/definitions/TriggeredJobRun", "description": "Latest job run information." }, - "history_url": { + "historyUrl": { "description": "History URL.", "type": "string" }, - "scheduler_logs_url": { + "schedulerLogsUrl": { "description": "Scheduler Logs URL.", "type": "string" }, @@ -18106,7 +18111,7 @@ "type": "string", "readOnly": true }, - "run_command": { + "runCommand": { "description": "Run command.", "type": "string" }, @@ -18114,7 +18119,7 @@ "description": "Job URL.", "type": "string" }, - "extra_info_url": { + "extraInfoUrl": { "description": "Extra Info URL.", "type": "string" }, @@ -18134,7 +18139,7 @@ "description": "Error information.", "type": "string" }, - "using_sdk": { + "usingSdk": { "description": "Using SDK?", "type": "boolean" }, @@ -18207,7 +18212,7 @@ "type": "string", "readOnly": true }, - "run_command": { + "runCommand": { "description": "Run command.", "type": "string" }, @@ -18235,7 +18240,7 @@ "description": "Error information.", "type": "string" }, - "using_sdk": { + "usingSdk": { "description": "Using SDK?", "type": "boolean" }, From 486666084551399217a8cc270d1981e0ed841e4e Mon Sep 17 00:00:00 2001 From: Navy Aziz Date: Fri, 20 Oct 2017 10:09:50 -0700 Subject: [PATCH 21/27] Revert references to common definitions --- .../AppServiceCertificateOrders.json | 93 +- .../2015-04-01/Domains.json | 85 +- .../2015-04-01/TopLevelDomains.json | 27 +- .../2016-03-01/Certificates.json | 93 +- .../2016-03-01/ResourceProvider.json | 568 +++- .../Microsoft.Web/2016-08-01/WebApps.json | 2317 +++++++++++++-- .../2016-09-01/AppServiceEnvironments.json | 2478 ++++++++++++++++- .../2016-09-01/AppServicePlans.json | 2055 +++++++++++++- specification/web/resource-manager/readme.md | 1 - 9 files changed, 7303 insertions(+), 414 deletions(-) diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json index 87202f66fa8b..b2158d93b895 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json @@ -655,7 +655,7 @@ "description": "Email address", "required": true, "schema": { - "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/NameIdentifier" + "$ref": "#/definitions/NameIdentifier" } }, { @@ -891,7 +891,7 @@ "type": "object", "allOf": [ { - "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/Resource" + "$ref": "#/definitions/Resource" } ], "properties": { @@ -1095,7 +1095,7 @@ "type": "object", "allOf": [ { - "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -1279,7 +1279,7 @@ "type": "object", "allOf": [ { - "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -1295,7 +1295,7 @@ "type": "object", "allOf": [ { - "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/Resource" + "$ref": "#/definitions/Resource" } ], "properties": { @@ -1365,7 +1365,7 @@ "type": "object", "allOf": [ { - "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -1391,7 +1391,7 @@ "type": "object", "allOf": [ { - "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/Resource" + "$ref": "#/definitions/Resource" } ], "properties": { @@ -1432,12 +1432,47 @@ } } }, + "NameIdentifier": { + "description": "Identifies an object.", + "type": "object", + "properties": { + "name": { + "description": "Name of the object.", + "type": "string" + } + } + }, + "ProxyOnlyResource": { + "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", + "properties": { + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource Name.", + "type": "string", + "readOnly": true + }, + "kind": { + "description": "Kind of resource.", + "type": "string" + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, "ReissueCertificateOrderRequest": { "description": "Class representing certificate reissue request.", "type": "object", "allOf": [ { - "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/Resource" + "$ref": "#/definitions/Resource" } ], "properties": { @@ -1472,7 +1507,7 @@ "type": "object", "allOf": [ { - "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/Resource" + "$ref": "#/definitions/Resource" } ], "properties": { @@ -1497,6 +1532,46 @@ } } }, + "Resource": { + "description": "Azure resource. This resource is tracked in Azure Resource Manager", + "properties": { + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource Name.", + "type": "string", + "readOnly": true + }, + "kind": { + "description": "Kind of resource.", + "type": "string" + }, + "location": { + "description": "Resource Location.", + "type": "string", + "x-ms-mutability": [ + "create", + "update" + ] + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + }, + "tags": { + "description": "Resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, "SiteSeal": { "description": "Site seal", "required": [ diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json b/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json index 8016d31713e9..9c506f82ecd8 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json @@ -30,7 +30,7 @@ "description": "Name of the domain.", "required": true, "schema": { - "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/NameIdentifier" + "$ref": "#/definitions/NameIdentifier" } }, { @@ -667,7 +667,7 @@ "type": "object", "allOf": [ { - "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/Resource" + "$ref": "#/definitions/Resource" } ], "properties": { @@ -937,7 +937,7 @@ "type": "object", "allOf": [ { - "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -978,7 +978,7 @@ "type": "object", "allOf": [ { - "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -1270,6 +1270,16 @@ } } }, + "NameIdentifier": { + "description": "Identifies an object.", + "type": "object", + "properties": { + "name": { + "description": "Name of the object.", + "type": "string" + } + } + }, "NameIdentifierCollection": { "description": "Collection of domain name identifiers.", "required": [ @@ -1281,7 +1291,7 @@ "description": "Collection of resources.", "type": "array", "items": { - "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/NameIdentifier" + "$ref": "#/definitions/NameIdentifier" } }, "nextLink": { @@ -1289,6 +1299,71 @@ "type": "string" } } + }, + "ProxyOnlyResource": { + "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", + "properties": { + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource Name.", + "type": "string", + "readOnly": true + }, + "kind": { + "description": "Kind of resource.", + "type": "string" + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "Resource": { + "description": "Azure resource. This resource is tracked in Azure Resource Manager", + "properties": { + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource Name.", + "type": "string", + "readOnly": true + }, + "kind": { + "description": "Kind of resource.", + "type": "string" + }, + "location": { + "description": "Resource Location.", + "type": "string", + "x-ms-mutability": [ + "create", + "update" + ] + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + }, + "tags": { + "description": "Resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true } }, "parameters": { diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/TopLevelDomains.json b/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/TopLevelDomains.json index a08a14a46c5d..a551aaacba3c 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/TopLevelDomains.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/TopLevelDomains.json @@ -124,6 +124,31 @@ } }, "definitions": { + "ProxyOnlyResource": { + "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", + "properties": { + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource Name.", + "type": "string", + "readOnly": true + }, + "kind": { + "description": "Kind of resource.", + "type": "string" + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, "TldLegalAgreement": { "description": "Legal agreement for a top level domain.", "required": [ @@ -176,7 +201,7 @@ "type": "object", "allOf": [ { - "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json index abb867e6d1b4..81cf04cf5a1d 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json @@ -239,7 +239,7 @@ "type": "object", "allOf": [ { - "$ref": "./CommonDefinitions.json#/definitions/Resource" + "$ref": "#/definitions/Resource" } ], "properties": { @@ -327,7 +327,7 @@ "readOnly": true }, "hostingEnvironmentProfile": { - "$ref": "./CommonDefinitions.json#/definitions/HostingEnvironmentProfile", + "$ref": "#/definitions/HostingEnvironmentProfile", "description": "Specification for the App Service Environment to use for the certificate.", "readOnly": true }, @@ -400,7 +400,7 @@ "type": "object", "allOf": [ { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -488,7 +488,7 @@ "readOnly": true }, "hostingEnvironmentProfile": { - "$ref": "./CommonDefinitions.json#/definitions/HostingEnvironmentProfile", + "$ref": "#/definitions/HostingEnvironmentProfile", "description": "Specification for the App Service Environment to use for the certificate.", "readOnly": true }, @@ -535,6 +535,91 @@ "x-ms-client-flatten": true } } + }, + "HostingEnvironmentProfile": { + "description": "Specification for an App Service Environment to use for this resource.", + "type": "object", + "properties": { + "id": { + "description": "Resource ID of the App Service Environment.", + "type": "string" + }, + "name": { + "description": "Name of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Resource type of the App Service Environment.", + "type": "string", + "readOnly": true + } + } + }, + "ProxyOnlyResource": { + "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", + "properties": { + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource Name.", + "type": "string", + "readOnly": true + }, + "kind": { + "description": "Kind of resource.", + "type": "string" + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "Resource": { + "description": "Azure resource. This resource is tracked in Azure Resource Manager", + "properties": { + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource Name.", + "type": "string", + "readOnly": true + }, + "kind": { + "description": "Kind of resource.", + "type": "string" + }, + "location": { + "description": "Resource Location.", + "type": "string", + "x-ms-mutability": [ + "create", + "update" + ] + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + }, + "tags": { + "description": "Resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true } }, "parameters": { diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json index c954aedbe6fa..0bb5b03c5541 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json @@ -29,7 +29,7 @@ "200": { "description": "OK", "schema": { - "$ref": "./CommonDefinitions.json#/definitions/User" + "$ref": "#/definitions/User" } } } @@ -45,7 +45,7 @@ "description": "Details of publishing user", "required": true, "schema": { - "$ref": "./CommonDefinitions.json#/definitions/User" + "$ref": "#/definitions/User" } }, { @@ -56,7 +56,7 @@ "200": { "description": "OK", "schema": { - "$ref": "./CommonDefinitions.json#/definitions/User" + "$ref": "#/definitions/User" } } } @@ -441,6 +441,251 @@ } }, "definitions": { + "AppServiceEnvironment": { + "description": "Description of an App Service Environment.", + "required": [ + "name", + "location", + "virtualNetwork", + "workerPools" + ], + "type": "object", + "properties": { + "name": { + "description": "Name of the App Service Environment.", + "type": "string" + }, + "location": { + "description": "Location of the App Service Environment, e.g. \"West US\".", + "type": "string" + }, + "provisioningState": { + "description": "Provisioning state of the App Service Environment.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "InProgress", + "Deleting" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": false + } + }, + "status": { + "description": "Current status of the App Service Environment.", + "enum": [ + "Preparing", + "Ready", + "Scaling", + "Deleting" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "HostingEnvironmentStatus", + "modelAsString": false + } + }, + "vnetName": { + "description": "Name of the Virtual Network for the App Service Environment.", + "type": "string" + }, + "vnetResourceGroupName": { + "description": "Resource group of the Virtual Network.", + "type": "string" + }, + "vnetSubnetName": { + "description": "Subnet of the Virtual Network.", + "type": "string" + }, + "virtualNetwork": { + "$ref": "#/definitions/VirtualNetworkProfile", + "description": "Description of the Virtual Network." + }, + "internalLoadBalancingMode": { + "description": "Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment.", + "enum": [ + "None", + "Web", + "Publishing" + ], + "type": "string", + "x-ms-enum": { + "name": "InternalLoadBalancingMode", + "modelAsString": false + } + }, + "multiSize": { + "description": "Front-end VM size, e.g. \"Medium\", \"Large\".", + "type": "string" + }, + "multiRoleCount": { + "format": "int32", + "description": "Number of front-end instances.", + "type": "integer" + }, + "workerPools": { + "description": "Description of worker pools with worker size IDs, VM sizes, and number of workers in each pool.", + "type": "array", + "items": { + "$ref": "#/definitions/WorkerPool" + } + }, + "ipsslAddressCount": { + "format": "int32", + "description": "Number of IP SSL addresses reserved for the App Service Environment.", + "type": "integer" + }, + "databaseEdition": { + "description": "Edition of the metadata database for the App Service Environment, e.g. \"Standard\".", + "type": "string", + "readOnly": true + }, + "databaseServiceObjective": { + "description": "Service objective of the metadata database for the App Service Environment, e.g. \"S0\".", + "type": "string", + "readOnly": true + }, + "upgradeDomains": { + "format": "int32", + "description": "Number of upgrade domains of the App Service Environment.", + "type": "integer", + "readOnly": true + }, + "subscriptionId": { + "description": "Subscription of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "dnsSuffix": { + "description": "DNS suffix of the App Service Environment.", + "type": "string" + }, + "lastAction": { + "description": "Last deployment action on the App Service Environment.", + "type": "string", + "readOnly": true + }, + "lastActionResult": { + "description": "Result of the last deployment action on the App Service Environment.", + "type": "string", + "readOnly": true + }, + "allowedMultiSizes": { + "description": "List of comma separated strings describing which VM sizes are allowed for front-ends.", + "type": "string", + "readOnly": true + }, + "allowedWorkerSizes": { + "description": "List of comma separated strings describing which VM sizes are allowed for workers.", + "type": "string", + "readOnly": true + }, + "maximumNumberOfMachines": { + "format": "int32", + "description": "Maximum number of VMs in the App Service Environment.", + "type": "integer", + "readOnly": true + }, + "vipMappings": { + "description": "Description of IP SSL mapping for the App Service Environment.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualIPMapping" + }, + "readOnly": true + }, + "environmentCapacities": { + "description": "Current total, used, and available worker capacities.", + "type": "array", + "items": { + "$ref": "#/definitions/StampCapacity" + }, + "readOnly": true + }, + "networkAccessControlList": { + "description": "Access control list for controlling traffic to the App Service Environment.", + "type": "array", + "items": { + "$ref": "#/definitions/NetworkAccessControlEntry" + } + }, + "environmentIsHealthy": { + "description": "True/false indicating whether the App Service Environment is healthy.", + "type": "boolean", + "readOnly": true + }, + "environmentStatus": { + "description": "Detailed message about with results of the last check of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "resourceGroup": { + "description": "Resource group of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "frontEndScaleFactor": { + "format": "int32", + "description": "Scale factor for front-ends.", + "type": "integer" + }, + "defaultFrontEndScaleFactor": { + "format": "int32", + "description": "Default Scale Factor for FrontEnds.", + "type": "integer", + "readOnly": true + }, + "apiManagementAccountId": { + "description": "API Management Account associated with the App Service Environment.", + "type": "string" + }, + "suspended": { + "description": "true if the App Service Environment is suspended; otherwise, false. The environment can be suspended, e.g. when the management endpoint is no longer available\n (most likely because NSG blocked the incoming traffic).", + "type": "boolean" + }, + "dynamicCacheEnabled": { + "description": "True/false indicating whether the App Service Environment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available\n(most likely because NSG blocked the incoming traffic).", + "type": "boolean" + }, + "clusterSettings": { + "description": "Custom settings for changing the behavior of the App Service Environment.", + "type": "array", + "items": { + "$ref": "#/definitions/NameValuePair" + } + }, + "userWhitelistedIpRanges": { + "description": "User added ip ranges to whitelist on ASE db", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "Capability": { + "description": "Describes the capabilities/features allowed for a specific SKU.", + "type": "object", + "properties": { + "name": { + "description": "Name of the SKU capability.", + "type": "string" + }, + "value": { + "description": "Value of the SKU capability.", + "type": "string" + }, + "reason": { + "description": "Reason of the SKU capability.", + "type": "string" + } + } + }, "CsmMoveResourceEnvelope": { "description": "Object with a list of the resources that need to be moved and the resource group they should be moved to.", "type": "object", @@ -474,7 +719,7 @@ "description": "Available App Service Environments with full descriptions of the environments.", "type": "array", "items": { - "$ref": "./CommonDefinitions.json#/definitions/AppServiceEnvironment" + "$ref": "#/definitions/AppServiceEnvironment" } }, "hostingEnvironmentDeploymentInfos": { @@ -491,7 +736,7 @@ "type": "object", "allOf": [ { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -559,7 +804,7 @@ "type": "string" }, "capacity": { - "$ref": "./CommonDefinitions.json#/definitions/SkuCapacity", + "$ref": "#/definitions/SkuCapacity", "description": "Min, max, and default scale values of the SKU." }, "locations": { @@ -573,7 +818,7 @@ "description": "Capabilities of the SKU, e.g., is traffic manager enabled?", "type": "array", "items": { - "$ref": "./CommonDefinitions.json#/definitions/Capability" + "$ref": "#/definitions/Capability" } } } @@ -592,12 +837,57 @@ } } }, + "NameValuePair": { + "description": "Name value pair.", + "type": "object", + "properties": { + "name": { + "description": "Pair name.", + "type": "string" + }, + "value": { + "description": "Pair value.", + "type": "string" + } + } + }, + "NetworkAccessControlEntry": { + "description": "Network access control entry.", + "type": "object", + "properties": { + "action": { + "description": "Action object.", + "enum": [ + "Permit", + "Deny" + ], + "type": "string", + "x-ms-enum": { + "name": "AccessControlEntryAction", + "modelAsString": false + } + }, + "description": { + "description": "Description.", + "type": "string" + }, + "order": { + "format": "int32", + "description": "Order of precedence.", + "type": "integer" + }, + "remoteSubnet": { + "description": "Remote subnet.", + "type": "string" + } + } + }, "PremierAddOnOffer": { "description": "Premier add-on offer.", "type": "object", "allOf": [ { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -686,6 +976,31 @@ } } }, + "ProxyOnlyResource": { + "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", + "properties": { + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource Name.", + "type": "string", + "readOnly": true + }, + "kind": { + "description": "Kind of resource.", + "type": "string" + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, "ResourceNameAvailability": { "description": "Information regarding availbility of a resource name.", "type": "object", @@ -743,6 +1058,31 @@ } } }, + "SkuCapacity": { + "description": "Description of the App Service plan scale options.", + "type": "object", + "properties": { + "minimum": { + "format": "int32", + "description": "Minimum number of workers for this App Service plan SKU.", + "type": "integer" + }, + "maximum": { + "format": "int32", + "description": "Maximum number of workers for this App Service plan SKU.", + "type": "integer" + }, + "default": { + "format": "int32", + "description": "Default number of workers for this App Service plan SKU.", + "type": "integer" + }, + "scaleType": { + "description": "Available scale configurations for an App Service plan.", + "type": "string" + } + } + }, "SkuInfos": { "description": "Collection of SKU information.", "type": "object", @@ -765,7 +1105,7 @@ "type": "object", "allOf": [ { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -818,6 +1158,121 @@ } } }, + "StampCapacity": { + "description": "Stamp capacity information.", + "type": "object", + "properties": { + "name": { + "description": "Name of the stamp.", + "type": "string" + }, + "availableCapacity": { + "format": "int64", + "description": "Available capacity (# of machines, bytes of storage etc...).", + "type": "integer" + }, + "totalCapacity": { + "format": "int64", + "description": "Total capacity (# of machines, bytes of storage etc...).", + "type": "integer" + }, + "unit": { + "description": "Name of the unit.", + "type": "string" + }, + "computeMode": { + "description": "Shared/dedicated workers.", + "enum": [ + "Shared", + "Dedicated", + "Dynamic" + ], + "type": "string", + "x-ms-enum": { + "name": "ComputeModeOptions", + "modelAsString": false + } + }, + "workerSize": { + "description": "Size of the machines.", + "enum": [ + "Small", + "Medium", + "Large", + "D1", + "D2", + "D3", + "Default" + ], + "type": "string", + "x-ms-enum": { + "name": "WorkerSizeOptions", + "modelAsString": false + } + }, + "workerSizeId": { + "format": "int32", + "description": "Size ID of machines: \n0 - Small\n1 - Medium\n2 - Large", + "type": "integer" + }, + "excludeFromCapacityAllocation": { + "description": "If true, it includes basic apps.\nBasic apps are not used for capacity allocation.", + "type": "boolean" + }, + "isApplicableForAllComputeModes": { + "description": "true if capacity is applicable for all apps; otherwise, false.", + "type": "boolean" + }, + "siteMode": { + "description": "Shared or Dedicated.", + "type": "string" + } + } + }, + "User": { + "description": "User crendentials used for publishing activity.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "User resource specific properties", + "required": [ + "publishingUserName" + ], + "properties": { + "name": { + "description": "Username", + "type": "string", + "x-ms-client-name": "UserName" + }, + "publishingUserName": { + "description": "Username used for publishing.", + "type": "string" + }, + "publishingPassword": { + "format": "password", + "description": "Password used for publishing.", + "type": "string" + }, + "publishingPasswordHash": { + "format": "password", + "description": "Password hash used for publishing.", + "type": "string" + }, + "publishingPasswordHashSalt": { + "format": "password", + "description": "Password hash salt used for publishing.", + "type": "string" + } + }, + "x-ms-client-flatten": true + } + } + }, "ValidateProperties": { "description": "App properties used for validation.", "type": "object", @@ -915,12 +1370,60 @@ } } }, + "VirtualIPMapping": { + "description": "Virtual IP mapping.", + "type": "object", + "properties": { + "virtualIP": { + "description": "Virtual IP address.", + "type": "string" + }, + "internalHttpPort": { + "format": "int32", + "description": "Internal HTTP port.", + "type": "integer" + }, + "internalHttpsPort": { + "format": "int32", + "description": "Internal HTTPS port.", + "type": "integer" + }, + "inUse": { + "description": "Is virtual IP mapping in use.", + "type": "boolean" + } + } + }, + "VirtualNetworkProfile": { + "description": "Specification for using a Virtual Network.", + "type": "object", + "properties": { + "id": { + "description": "Resource id of the Virtual Network.", + "type": "string" + }, + "name": { + "description": "Name of the Virtual Network (read-only).", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Resource type of the Virtual Network (read-only).", + "type": "string", + "readOnly": true + }, + "subnet": { + "description": "Subnet within the Virtual Network.", + "type": "string" + } + } + }, "VnetParameters": { "description": "The required set of inputs to validate a VNET", "type": "object", "allOf": [ { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -949,7 +1452,7 @@ "type": "object", "allOf": [ { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -977,7 +1480,7 @@ "type": "object", "allOf": [ { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -996,6 +1499,47 @@ "x-ms-client-flatten": true } } + }, + "WorkerPool": { + "description": "Worker pool of an App Service Environment.", + "type": "object", + "properties": { + "workerSizeId": { + "format": "int32", + "description": "Worker size ID for referencing this worker pool.", + "type": "integer" + }, + "computeMode": { + "description": "Shared or dedicated app hosting.", + "enum": [ + "Shared", + "Dedicated", + "Dynamic" + ], + "type": "string", + "x-ms-enum": { + "name": "ComputeModeOptions", + "modelAsString": false + } + }, + "workerSize": { + "description": "VM size of the worker pool instances.", + "type": "string" + }, + "workerCount": { + "format": "int32", + "description": "Number of instances in the worker pool.", + "type": "integer" + }, + "instanceNames": { + "description": "Names of all instances in the worker pool (read only).", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + } + } } }, "parameters": { diff --git a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json index ae723110146d..5c5c83fe8f04 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json @@ -35,7 +35,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WebAppCollection" + "$ref": "#/definitions/WebAppCollection" } } }, @@ -73,7 +73,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WebAppCollection" + "$ref": "#/definitions/WebAppCollection" } } }, @@ -112,7 +112,7 @@ "200": { "description": "OK.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" + "$ref": "#/definitions/Site" } }, "404": { @@ -144,7 +144,7 @@ "description": "A JSON representation of the app properties. See example.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" + "$ref": "#/definitions/Site" } }, { @@ -182,13 +182,13 @@ "200": { "description": "OK.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" + "$ref": "#/definitions/Site" } }, "202": { "description": "Asynchronous operation in progress.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" + "$ref": "#/definitions/Site" } } }, @@ -311,13 +311,13 @@ "200": { "description": "OK.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" + "$ref": "#/definitions/Site" } }, "202": { "description": "Asynchronous operation in progress.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" + "$ref": "#/definitions/Site" } } } @@ -1309,7 +1309,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/User" + "$ref": "#/definitions/User" } } }, @@ -1341,7 +1341,7 @@ "description": "Push settings associated with web app.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/PushSettings" + "$ref": "#/definitions/PushSettings" } }, { @@ -1355,7 +1355,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/PushSettings" + "$ref": "#/definitions/PushSettings" } } } @@ -1391,7 +1391,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/PushSettings" + "$ref": "#/definitions/PushSettings" } } } @@ -3047,7 +3047,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" + "$ref": "#/definitions/HybridConnection" } } } @@ -3090,7 +3090,7 @@ "description": "The details of the hybrid connection.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" + "$ref": "#/definitions/HybridConnection" } }, { @@ -3104,7 +3104,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" + "$ref": "#/definitions/HybridConnection" } } } @@ -3195,7 +3195,7 @@ "description": "The details of the hybrid connection.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" + "$ref": "#/definitions/HybridConnection" } }, { @@ -3209,7 +3209,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" + "$ref": "#/definitions/HybridConnection" } } } @@ -3259,7 +3259,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnectionKey" + "$ref": "#/definitions/HybridConnectionKey" } } } @@ -3295,7 +3295,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" + "$ref": "#/definitions/HybridConnection" } } } @@ -4240,7 +4240,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricDefinitionCollection" + "$ref": "#/definitions/ResourceMetricDefinitionCollection" } } }, @@ -4292,7 +4292,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricCollection" + "$ref": "#/definitions/ResourceMetricCollection" } } }, @@ -4393,7 +4393,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Operation" + "$ref": "#/definitions/Operation" } } }, @@ -5481,7 +5481,7 @@ "description": "Snapshot data used for web app recovery. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SnapshotRecoveryRequest" + "$ref": "#/definitions/SnapshotRecoveryRequest" } }, { @@ -5787,7 +5787,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WebAppCollection" + "$ref": "#/definitions/WebAppCollection" } } }, @@ -5833,7 +5833,7 @@ "200": { "description": "OK.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" + "$ref": "#/definitions/Site" } }, "404": { @@ -5865,7 +5865,7 @@ "description": "A JSON representation of the app properties. See example.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" + "$ref": "#/definitions/Site" } }, { @@ -5910,13 +5910,13 @@ "200": { "description": "OK.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" + "$ref": "#/definitions/Site" } }, "202": { "description": "Asynchronous operation in progress.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" + "$ref": "#/definitions/Site" } } }, @@ -6053,13 +6053,13 @@ "200": { "description": "OK.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" + "$ref": "#/definitions/Site" } }, "202": { "description": "Asynchronous operation in progress.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" + "$ref": "#/definitions/Site" } } } @@ -7219,7 +7219,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/User" + "$ref": "#/definitions/User" } } }, @@ -7251,7 +7251,7 @@ "description": "Push settings associated with web app.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/PushSettings" + "$ref": "#/definitions/PushSettings" } }, { @@ -7272,7 +7272,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/PushSettings" + "$ref": "#/definitions/PushSettings" } } } @@ -7315,7 +7315,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/PushSettings" + "$ref": "#/definitions/PushSettings" } } } @@ -9151,7 +9151,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" + "$ref": "#/definitions/HybridConnection" } } } @@ -9194,7 +9194,7 @@ "description": "The details of the hybrid connection.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" + "$ref": "#/definitions/HybridConnection" } }, { @@ -9215,7 +9215,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" + "$ref": "#/definitions/HybridConnection" } } } @@ -9313,7 +9313,7 @@ "description": "The details of the hybrid connection.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" + "$ref": "#/definitions/HybridConnection" } }, { @@ -9334,7 +9334,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" + "$ref": "#/definitions/HybridConnection" } } } @@ -9391,7 +9391,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnectionKey" + "$ref": "#/definitions/HybridConnectionKey" } } } @@ -9434,7 +9434,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" + "$ref": "#/definitions/HybridConnection" } } } @@ -10519,7 +10519,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricDefinitionCollection" + "$ref": "#/definitions/ResourceMetricDefinitionCollection" } } }, @@ -10578,7 +10578,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricCollection" + "$ref": "#/definitions/ResourceMetricCollection" } } }, @@ -11836,7 +11836,7 @@ "description": "Snapshot data used for web app recovery. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SnapshotRecoveryRequest" + "$ref": "#/definitions/SnapshotRecoveryRequest" } }, { @@ -13032,7 +13032,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/CsmUsageQuotaCollection" + "$ref": "#/definitions/CsmUsageQuotaCollection" } } }, @@ -13080,7 +13080,7 @@ "schema": { "type": "array", "items": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" + "$ref": "#/definitions/VnetInfo" } } } @@ -13131,7 +13131,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" + "$ref": "#/definitions/VnetInfo" } } } @@ -13167,7 +13167,7 @@ "description": "Properties of the Virtual Network connection. See example.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" + "$ref": "#/definitions/VnetInfo" } }, { @@ -13188,7 +13188,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" + "$ref": "#/definitions/VnetInfo" } } } @@ -13272,7 +13272,7 @@ "description": "Properties of the Virtual Network connection. See example.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" + "$ref": "#/definitions/VnetInfo" } }, { @@ -13293,7 +13293,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" + "$ref": "#/definitions/VnetInfo" } } } @@ -13350,7 +13350,7 @@ "200": { "description": "OK.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" + "$ref": "#/definitions/VnetGateway" } }, "404": { @@ -13396,7 +13396,7 @@ "description": "The properties to update this gateway with.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" + "$ref": "#/definitions/VnetGateway" } }, { @@ -13417,7 +13417,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" + "$ref": "#/definitions/VnetGateway" } } } @@ -13460,7 +13460,7 @@ "description": "The properties to update this gateway with.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" + "$ref": "#/definitions/VnetGateway" } }, { @@ -13481,7 +13481,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" + "$ref": "#/definitions/VnetGateway" } } } @@ -14328,7 +14328,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/CsmUsageQuotaCollection" + "$ref": "#/definitions/CsmUsageQuotaCollection" } } }, @@ -14369,7 +14369,7 @@ "schema": { "type": "array", "items": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" + "$ref": "#/definitions/VnetInfo" } } } @@ -14413,7 +14413,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" + "$ref": "#/definitions/VnetInfo" } } } @@ -14449,7 +14449,7 @@ "description": "Properties of the Virtual Network connection. See example.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" + "$ref": "#/definitions/VnetInfo" } }, { @@ -14463,7 +14463,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" + "$ref": "#/definitions/VnetInfo" } } } @@ -14540,7 +14540,7 @@ "description": "Properties of the Virtual Network connection. See example.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" + "$ref": "#/definitions/VnetInfo" } }, { @@ -14554,7 +14554,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" + "$ref": "#/definitions/VnetInfo" } } } @@ -14604,7 +14604,7 @@ "200": { "description": "OK.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" + "$ref": "#/definitions/VnetGateway" } }, "404": { @@ -14650,7 +14650,7 @@ "description": "The properties to update this gateway with.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" + "$ref": "#/definitions/VnetGateway" } }, { @@ -14664,7 +14664,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" + "$ref": "#/definitions/VnetGateway" } } } @@ -14707,7 +14707,7 @@ "description": "The properties to update this gateway with.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" + "$ref": "#/definitions/VnetGateway" } }, { @@ -14721,7 +14721,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" + "$ref": "#/definitions/VnetGateway" } } } @@ -14811,6 +14811,16 @@ } }, "definitions": { + "ApiDefinitionInfo": { + "description": "Information about the formal API definition for the app.", + "type": "object", + "properties": { + "url": { + "description": "The URL of the API definition.", + "type": "string" + } + } + }, "ApplicationLogsConfig": { "description": "Application logs configuration.", "type": "object", @@ -14829,6 +14839,87 @@ } } }, + "AutoHealActions": { + "description": "Actions which to take by the auto-heal module when a rule is triggered.", + "type": "object", + "properties": { + "actionType": { + "description": "Predefined action to be taken.", + "enum": [ + "Recycle", + "LogEvent", + "CustomAction" + ], + "type": "string", + "x-ms-enum": { + "name": "AutoHealActionType", + "modelAsString": false + } + }, + "customAction": { + "$ref": "#/definitions/AutoHealCustomAction", + "description": "Custom action to be taken." + }, + "minProcessExecutionTime": { + "description": "Minimum time the process must execute\nbefore taking the action", + "type": "string" + } + } + }, + "AutoHealCustomAction": { + "description": "Custom action to be executed\nwhen an auto heal rule is triggered.", + "type": "object", + "properties": { + "exe": { + "description": "Executable to be run.", + "type": "string" + }, + "parameters": { + "description": "Parameters for the executable.", + "type": "string" + } + } + }, + "AutoHealRules": { + "description": "Rules that can be defined for auto-heal.", + "type": "object", + "properties": { + "triggers": { + "$ref": "#/definitions/AutoHealTriggers", + "description": "Conditions that describe when to execute the auto-heal actions." + }, + "actions": { + "$ref": "#/definitions/AutoHealActions", + "description": "Actions to be executed when a rule is triggered." + } + } + }, + "AutoHealTriggers": { + "description": "Triggers for auto-heal.", + "type": "object", + "properties": { + "requests": { + "$ref": "#/definitions/RequestsBasedTrigger", + "description": "A rule based on total requests." + }, + "privateBytesInKB": { + "format": "int32", + "description": "A rule based on private bytes.", + "type": "integer" + }, + "statusCodes": { + "description": "A rule based on status codes.", + "type": "array", + "items": { + "$ref": "#/definitions/StatusCodesBasedTrigger" + } + }, + "slowRequests": { + "$ref": "#/definitions/SlowRequestsBasedTrigger", + "description": "A rule based on request execution time." + } + } + }, "AzureBlobStorageApplicationLogsConfig": { "description": "Application logs azure blob storage configuration.", "type": "object", @@ -14911,7 +15002,7 @@ "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -15044,7 +15135,7 @@ "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -15151,6 +15242,95 @@ } } }, + "CloningInfo": { + "description": "Information needed for cloning operation.", + "required": [ + "sourceWebAppId" + ], + "type": "object", + "properties": { + "correlationId": { + "format": "uuid", + "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\ntogether to use the same snapshot.", + "type": "string", + "example": "00000000-0000-0000-0000-000000000000" + }, + "overwrite": { + "description": "true to overwrite destination app; otherwise, false.", + "type": "boolean" + }, + "cloneCustomHostNames": { + "description": "true to clone custom hostnames from source app; otherwise, false.", + "type": "boolean" + }, + "cloneSourceControl": { + "description": "true to clone source control from source app; otherwise, false.", + "type": "boolean" + }, + "sourceWebAppId": { + "description": "ARM resource ID of the source app. App resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "type": "string" + }, + "hostingEnvironment": { + "description": "App Service Environment.", + "type": "string" + }, + "appSettingsOverrides": { + "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \nfrom source app. Otherwise, application settings from source app are retained.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "configureLoadBalancing": { + "description": "true to configure load balancing for source and destination app.", + "type": "boolean" + }, + "trafficManagerProfileId": { + "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", + "type": "string" + }, + "trafficManagerProfileName": { + "description": "Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.", + "type": "string" + } + } + }, + "ConnStringInfo": { + "description": "Database connection string information.", + "type": "object", + "properties": { + "name": { + "description": "Name of connection string.", + "type": "string" + }, + "connectionString": { + "description": "Connection string value.", + "type": "string" + }, + "type": { + "description": "Type of database.", + "enum": [ + "MySql", + "SQLServer", + "SQLAzure", + "Custom", + "NotificationHub", + "ServiceBus", + "EventHub", + "ApiHub", + "DocDb", + "RedisCache", + "PostgreSQL" + ], + "type": "string", + "x-ms-enum": { + "name": "ConnectionStringType", + "modelAsString": false + } + } + } + }, "ConnStringValueTypePair": { "description": "Database connection string value to type pair.", "required": [ @@ -15191,7 +15371,7 @@ "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -15210,7 +15390,7 @@ "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -15257,7 +15437,7 @@ "description": "Extra Info URL.", "type": "string" }, - "type": { + "JobType": { "description": "Job type.", "enum": [ "Continuous", @@ -15309,6 +15489,19 @@ } } }, + "CorsSettings": { + "description": "Cross-Origin Resource Sharing (CORS) settings for the app.", + "type": "object", + "properties": { + "allowedOrigins": { + "description": "Gets or sets the list of origins that should be allowed to make cross-origin\ncalls (for example: http://example.com:12345). Use \"*\" to allow all.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, "CsmPublishingProfileOptions": { "description": "Publishing options for requested profile.", "type": "object", @@ -15346,12 +15539,61 @@ } } }, + "CsmUsageQuota": { + "description": "Usage of the quota resource.", + "type": "object", + "properties": { + "unit": { + "description": "Units of measurement for the quota resourse.", + "type": "string" + }, + "nextResetTime": { + "format": "date-time", + "description": "Next reset time for the resource counter.", + "type": "string" + }, + "currentValue": { + "format": "int64", + "description": "The current value of the resource counter.", + "type": "integer" + }, + "limit": { + "format": "int64", + "description": "The resource limit.", + "type": "integer" + }, + "name": { + "$ref": "#/definitions/LocalizableString", + "description": "Quota name." + } + } + }, + "CsmUsageQuotaCollection": { + "description": "Collection of CSM usage quotas.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/CsmUsageQuota" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, "CustomHostnameAnalysisResult": { "description": "Custom domain analysis.", "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -15378,7 +15620,7 @@ } }, "customDomainVerificationFailureInfo": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ErrorEntity", + "$ref": "#/definitions/ErrorEntity", "description": "Raw failure information if DNS verification fails.", "readOnly": true }, @@ -15476,7 +15718,7 @@ "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -15515,7 +15757,11 @@ "startTime": { "format": "date-time", "description": "Start time.", - "type": "string" + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] }, "endTime": { "format": "date-time", @@ -15565,6 +15811,55 @@ } } }, + "ErrorEntity": { + "description": "Body of the error response returned from the API.", + "type": "object", + "properties": { + "extendedCode": { + "description": "Type of error.", + "type": "string" + }, + "messageTemplate": { + "description": "Message template.", + "type": "string" + }, + "parameters": { + "description": "Parameters for the template.", + "type": "array", + "items": { + "type": "string" + } + }, + "innerErrors": { + "description": "Inner errors.", + "type": "array", + "items": { + "$ref": "#/definitions/ErrorEntity" + } + }, + "code": { + "description": "Basic error code.", + "type": "string" + }, + "message": { + "description": "Any details of the error.", + "type": "string" + } + } + }, + "Experiments": { + "description": "Routing rules in production experiments.", + "type": "object", + "properties": { + "rampUpRules": { + "description": "List of ramp-up rules.", + "type": "array", + "items": { + "$ref": "#/definitions/RampUpRule" + } + } + } + }, "FileSystemApplicationLogsConfig": { "description": "Application logs to file system configuration.", "type": "object", @@ -15614,7 +15909,7 @@ "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -15626,11 +15921,12 @@ "type": "string", "readOnly": true }, - "function_app_id": { + "functionAppId": { "description": "Function App ID.", - "type": "string" + "type": "string", + "readOnly": true }, - "script_root_path_href": { + "scriptRootPathHref": { "description": "Script root path URI.", "type": "string" }, @@ -15695,7 +15991,7 @@ "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -15706,7 +16002,7 @@ "description": "Secret key.", "type": "string" }, - "triggerUrl": { + "trigger_url": { "description": "Trigger URL.", "type": "string" } @@ -15715,12 +16011,30 @@ } } }, + "HandlerMapping": { + "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \nFor example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", + "type": "object", + "properties": { + "extension": { + "description": "Requests with this extension will be handled using the specified FastCGI application.", + "type": "string" + }, + "scriptProcessor": { + "description": "The absolute path to the FastCGI application.", + "type": "string" + }, + "arguments": { + "description": "Command-line arguments to be passed to the script processor.", + "type": "string" + } + } + }, "HostNameBinding": { "description": "A hostname binding object.", "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -15854,6 +16168,73 @@ } } }, + "HostNameSslState": { + "description": "SSL-enabled hostname.", + "type": "object", + "properties": { + "name": { + "description": "Hostname.", + "type": "string" + }, + "sslState": { + "description": "SSL type.", + "enum": [ + "Disabled", + "SniEnabled", + "IpBasedEnabled" + ], + "type": "string", + "x-ms-enum": { + "name": "SslState", + "modelAsString": false + } + }, + "virtualIP": { + "description": "Virtual IP address assigned to the hostname if IP based SSL is enabled.", + "type": "string" + }, + "thumbprint": { + "description": "SSL certificate thumbprint.", + "type": "string" + }, + "toUpdate": { + "description": "Set to true to update existing hostname.", + "type": "boolean" + }, + "hostType": { + "description": "Indicates whether the hostname is a standard or repository hostname.", + "enum": [ + "Standard", + "Repository" + ], + "type": "string", + "x-ms-enum": { + "name": "HostType", + "modelAsString": false + } + } + } + }, + "HostingEnvironmentProfile": { + "description": "Specification for an App Service Environment to use for this resource.", + "type": "object", + "properties": { + "id": { + "description": "Resource ID of the App Service Environment.", + "type": "string" + }, + "name": { + "description": "Name of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Resource type of the App Service Environment.", + "type": "string", + "readOnly": true + } + } + }, "HttpLogsConfig": { "description": "Http logs configuration.", "type": "object", @@ -15868,21 +16249,106 @@ } } }, - "Identifier": { - "description": "Identifier.", + "HybridConnection": { + "description": "Hybrid Connection contract. This is used to configure a Hybrid Connection.", "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { "properties": { - "description": "Identifier resource specific properties", + "description": "HybridConnection resource specific properties", "properties": { - "id": { - "description": "String representation of the identity.", - "type": "string" + "serviceBusNamespace": { + "description": "The name of the Service Bus namespace.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "relayName": { + "description": "The name of the Service Bus relay.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "relayArmUri": { + "description": "The ARM URI to the Service Bus relay.", + "type": "string" + }, + "hostname": { + "description": "The hostname of the endpoint.", + "type": "string" + }, + "port": { + "format": "int32", + "description": "The port of the endpoint.", + "type": "integer" + }, + "sendKeyName": { + "description": "The name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus.", + "type": "string" + }, + "sendKeyValue": { + "description": "The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned\nnormally, use the POST /listKeys API instead.", + "type": "string" + }, + "serviceBusSuffix": { + "description": "The suffix for the service bus endpoint. By default this is .servicebus.windows.net", + "type": "string" + } + }, + "x-ms-client-flatten": true + } + } + }, + "HybridConnectionKey": { + "description": "Hybrid Connection key contract. This has the send key name and value for a Hybrid Connection.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "HybridConnectionKey resource specific properties", + "properties": { + "sendKeyName": { + "description": "The name of the send key.", + "type": "string", + "readOnly": true + }, + "sendKeyValue": { + "description": "The value of the send key.", + "type": "string", + "readOnly": true + } + }, + "x-ms-client-flatten": true + } + } + }, + "Identifier": { + "description": "Identifier.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "Identifier resource specific properties", + "properties": { + "id": { + "description": "String representation of the identity.", + "type": "string" } }, "x-ms-client-flatten": true @@ -15909,12 +16375,43 @@ } } }, + "IpSecurityRestriction": { + "description": "IP security restriction on an app.", + "required": [ + "ipAddress" + ], + "type": "object", + "properties": { + "ipAddress": { + "description": "IP address the security restriction is valid for.", + "type": "string" + }, + "subnetMask": { + "description": "Subnet mask for the range of IP addresses the restriction is valid for.", + "type": "string" + } + } + }, + "LocalizableString": { + "description": "Localizable string object containing the name and a localized value.", + "type": "object", + "properties": { + "value": { + "description": "Non-localized name.", + "type": "string" + }, + "localizedValue": { + "description": "Localized name.", + "type": "string" + } + } + }, "MSDeploy": { "description": "MSDeploy ARM PUT information", "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -15976,7 +16473,7 @@ "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -16032,7 +16529,7 @@ "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -16082,12 +16579,38 @@ } } }, + "ManagedServiceIdentity": { + "description": "Managed service identity.", + "type": "object", + "properties": { + "type": { + "description": "Type of managed service identity.", + "enum": [ + "SystemAssigned" + ], + "x-ms-enum": { + "name": "ManagedServiceIdentityType", + "modelAsString": true + } + }, + "tenantId": { + "description": "Tenant of managed service identity.", + "type": "string", + "readOnly": true + }, + "principalId": { + "description": "Principal Id of managed service identity.", + "type": "string", + "readOnly": true + } + } + }, "MigrateMySqlRequest": { "description": "MySQL migration request.", "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -16124,7 +16647,7 @@ "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -16162,12 +16685,26 @@ } } }, + "NameValuePair": { + "description": "Name value pair.", + "type": "object", + "properties": { + "name": { + "description": "Pair name.", + "type": "string" + }, + "value": { + "description": "Pair value.", + "type": "string" + } + } + }, "NetworkFeatures": { "description": "Full view of network features for an app (presently VNET integration and Hybrid Connections).", "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -16180,7 +16717,7 @@ "readOnly": true }, "virtualNetworkConnection": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo", + "$ref": "#/definitions/VnetInfo", "description": "The Virtual Network summary view.", "readOnly": true }, @@ -16196,7 +16733,7 @@ "description": "The Hybrid Connection V2 (Service Bus) view.", "type": "array", "items": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" + "$ref": "#/definitions/HybridConnection" }, "readOnly": true } @@ -16205,6 +16742,63 @@ } } }, + "Operation": { + "description": "Operation.", + "type": "object", + "properties": { + "id": { + "description": "Operation ID.", + "type": "string" + }, + "name": { + "description": "Operation name.", + "type": "string" + }, + "status": { + "description": "The current status of the operation.", + "enum": [ + "InProgress", + "Failed", + "Succeeded", + "TimedOut", + "Created" + ], + "type": "string", + "x-ms-enum": { + "name": "OperationStatus", + "modelAsString": false + } + }, + "errors": { + "description": "Any errors associate with the operation.", + "type": "array", + "items": { + "$ref": "#/definitions/ErrorEntity" + } + }, + "createdTime": { + "format": "date-time", + "description": "Time when operation has started.", + "type": "string" + }, + "modifiedTime": { + "format": "date-time", + "description": "Time when operation has been updated.", + "type": "string" + }, + "expirationTime": { + "format": "date-time", + "description": "Time when operation will expire.", + "type": "string" + }, + "geoMasterOperationId": { + "format": "uuid", + "description": "Applicable only for stamp operation ids.", + "type": "string", + "example": "00000000-0000-0000-0000-000000000000" + } + } + }, "PerfMonCounterCollection": { "description": "Collection of performance monitor counters.", "required": [ @@ -16260,11 +16854,6 @@ "format": "double", "description": "Value of counter at a certain time.", "type": "number" - }, - "coreCount": { - "format": "int32", - "description": "Core Count of worker. Not a data member", - "type": "integer" } } }, @@ -16304,7 +16893,7 @@ "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Resource" + "$ref": "#/definitions/Resource" } ], "properties": { @@ -16357,7 +16946,7 @@ "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -16389,11 +16978,11 @@ "description": "Is profile running?", "type": "boolean" }, - "is_iis_profile_running": { + "isIisProfileRunning": { "description": "Is the IIS Profile running?", "type": "boolean" }, - "iis_profile_timeout_in_seconds": { + "iisProfileTimeoutInSeconds": { "format": "double", "description": "IIS Profile timeout (seconds).", "type": "number" @@ -16416,7 +17005,7 @@ "$ref": "#/definitions/ProcessThreadInfo" } }, - "open_file_handles": { + "openFileHandles": { "description": "List of open files.", "type": "array", "items": { @@ -16462,59 +17051,59 @@ "description": "Start time.", "type": "string" }, - "totalCpuTime": { + "totalProcessorTime": { "description": "Total CPU time.", "type": "string" }, - "userCpuTime": { + "userProcessorTime": { "description": "User CPU time.", "type": "string" }, - "privilegedCpuTime": { + "privilegedProcessorTime": { "description": "Privileged CPU time.", "type": "string" }, - "workingSet": { + "workingSet64": { "format": "int64", "description": "Working set.", "type": "integer" }, - "peakWorkingSet": { + "peakWorkingSet64": { "format": "int64", "description": "Peak working set.", "type": "integer" }, - "privateMemory": { + "privateMemorySize64": { "format": "int64", "description": "Private memory size.", "type": "integer" }, - "virtualMemory": { + "virtualMemorySize64": { "format": "int64", "description": "Virtual memory size.", "type": "integer" }, - "peakVirtualMemory": { + "peakVirtualMemorySize64": { "format": "int64", "description": "Peak virtual memory usage.", "type": "integer" }, - "pagedSystemMemory": { + "pagedSystemMemorySize64": { "format": "int64", "description": "Paged system memory.", "type": "integer" }, - "nonPagedSystemMemory": { + "nonPagedSystemMemorySize64": { "format": "int64", "description": "Non-paged system memory.", "type": "integer" }, - "pagedMemory": { + "pagedMemorySize64": { "format": "int64", "description": "Paged memory.", "type": "integer" }, - "peakPagedMemory": { + "peakPagedMemorySize64": { "format": "int64", "description": "Peak paged memory.", "type": "integer" @@ -16573,7 +17162,7 @@ "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -16655,7 +17244,7 @@ "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -16743,12 +17332,37 @@ } } }, + "ProxyOnlyResource": { + "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", + "properties": { + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource Name.", + "type": "string", + "readOnly": true + }, + "kind": { + "description": "Kind of resource.", + "type": "string" + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, "PublicCertificate": { "description": "Public certificate object", "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -16803,6 +17417,85 @@ } } }, + "PushSettings": { + "description": "Push settings for the App.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "PushSettings resource specific properties", + "required": [ + "isPushEnabled" + ], + "properties": { + "isPushEnabled": { + "description": "Gets or sets a flag indicating whether the Push endpoint is enabled.", + "type": "boolean" + }, + "tagWhitelistJson": { + "description": "Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", + "type": "string" + }, + "tagsRequiringAuth": { + "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\nTags can consist of alphanumeric characters and the following:\n'_', '@', '#', '.', ':', '-'. \nValidation should be performed at the PushRequestHandler.", + "type": "string" + }, + "dynamicTagsJson": { + "description": "Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", + "type": "string" + } + }, + "x-ms-client-flatten": true + } + } + }, + "RampUpRule": { + "description": "Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance.", + "type": "object", + "properties": { + "actionHostName": { + "description": "Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net.", + "type": "string" + }, + "reroutePercentage": { + "format": "double", + "description": "Percentage of the traffic which will be redirected to ActionHostName.", + "type": "number" + }, + "changeStep": { + "format": "double", + "description": "In auto ramp up scenario this is the step to to add/remove from ReroutePercentage until it reaches \nMinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specificed in ChangeIntervalInMinutes.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", + "type": "number" + }, + "changeIntervalInMinutes": { + "format": "int32", + "description": "Specifies interval in mimuntes to reevaluate ReroutePercentage.", + "type": "integer" + }, + "minReroutePercentage": { + "format": "double", + "description": "Specifies lower boundary above which ReroutePercentage will stay.", + "type": "number" + }, + "maxReroutePercentage": { + "format": "double", + "description": "Specifies upper boundary below which ReroutePercentage will stay.", + "type": "number" + }, + "changeDecisionCallbackUrl": { + "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\nhttps://www.siteextensions.net/packages/TiPCallback/", + "type": "string" + }, + "name": { + "description": "Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment.", + "type": "string" + } + } + }, "RelayServiceConnectionEntity": { "description": "Hybrid Connection for an App Service app.", "type": "object", @@ -16842,37 +17535,344 @@ } } }, - "RestoreRequest": { - "description": "Description of a restore request.", + "RequestsBasedTrigger": { + "description": "Trigger based on total requests.", "type": "object", - "allOf": [ - { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "properties": { + "count": { + "format": "int32", + "description": "Count.", + "type": "integer" + }, + "timeInterval": { + "description": "Time interval.", + "type": "string" } - ], + } + }, + "Resource": { + "description": "Azure resource. This resource is tracked in Azure Resource Manager", "properties": { - "properties": { - "description": "RestoreRequest resource specific properties", - "required": [ - "storageAccountUrl", - "overwrite" - ], - "properties": { - "storageAccountUrl": { - "description": "SAS URL to the container.", - "type": "string" - }, - "blobName": { - "description": "Name of a blob which contains the backup.", - "type": "string" - }, - "overwrite": { - "description": "true if the restore operation can overwrite target app; otherwise, false. true is needed if trying to restore over an existing app.", - "type": "boolean" - }, - "siteName": { - "description": "Name of an app.", - "type": "string" + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource Name.", + "type": "string", + "readOnly": true + }, + "kind": { + "description": "Kind of resource.", + "type": "string" + }, + "location": { + "description": "Resource Location.", + "type": "string", + "x-ms-mutability": [ + "create", + "update" + ] + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + }, + "tags": { + "description": "Resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "ResourceMetric": { + "description": "Object representing a metric for any resource .", + "type": "object", + "properties": { + "name": { + "$ref": "#/definitions/ResourceMetricName", + "description": "Name of metric.", + "readOnly": true + }, + "unit": { + "description": "Metric unit.", + "type": "string", + "readOnly": true + }, + "timeGrain": { + "description": "Metric granularity. E.g PT1H, PT5M, P1D", + "type": "string", + "readOnly": true + }, + "startTime": { + "format": "date-time", + "description": "Metric start time.", + "type": "string", + "readOnly": true + }, + "endTime": { + "format": "date-time", + "description": "Metric end time.", + "type": "string", + "readOnly": true + }, + "resourceId": { + "description": "Metric resource Id.", + "type": "string", + "readOnly": true + }, + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "metricValues": { + "description": "Metric values.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricValue" + }, + "readOnly": true + }, + "properties": { + "description": "Properties.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricProperty" + }, + "readOnly": true + } + } + }, + "ResourceMetricAvailability": { + "description": "Metrics availability and retention.", + "type": "object", + "properties": { + "timeGrain": { + "description": "Time grain .", + "type": "string", + "readOnly": true + }, + "retention": { + "description": "Retention period for the current time grain.", + "type": "string", + "readOnly": true + } + } + }, + "ResourceMetricCollection": { + "description": "Collection of metric responses.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetric" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "ResourceMetricDefinition": { + "description": "Metadata for the metrics.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "ResourceMetricDefinition resource specific properties", + "properties": { + "name": { + "$ref": "#/definitions/ResourceMetricName", + "description": "Name of the metric.", + "readOnly": true + }, + "unit": { + "description": "Unit of the metric.", + "type": "string", + "readOnly": true + }, + "primaryAggregationType": { + "description": "Primary aggregation type.", + "type": "string", + "readOnly": true + }, + "metricAvailabilities": { + "description": "List of time grains supported for the metric together with retention period.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricAvailability" + }, + "readOnly": true + }, + "resourceUri": { + "description": "Resource URI.", + "type": "string", + "readOnly": true + }, + "id": { + "description": "Resource ID.", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "Properties.", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "readOnly": true + } + }, + "x-ms-client-flatten": true + } + } + }, + "ResourceMetricDefinitionCollection": { + "description": "Collection of metric definitions.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricDefinition" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "ResourceMetricName": { + "description": "Name of a metric for any resource .", + "type": "object", + "properties": { + "value": { + "description": "metric name value.", + "type": "string", + "readOnly": true + }, + "localizedValue": { + "description": "Localized metric name value.", + "type": "string", + "readOnly": true + } + } + }, + "ResourceMetricProperty": { + "description": "Resource metric property.", + "type": "object", + "properties": { + "key": { + "description": "Key for resource metric property.", + "type": "string" + }, + "value": { + "description": "Value of pair.", + "type": "string" + } + } + }, + "ResourceMetricValue": { + "description": "Value of resource metric.", + "type": "object", + "properties": { + "timestamp": { + "description": "Value timestamp.", + "type": "string", + "readOnly": true + }, + "average": { + "format": "float", + "description": "Value average.", + "type": "number", + "readOnly": true + }, + "minimum": { + "format": "float", + "description": "Value minimum.", + "type": "number", + "readOnly": true + }, + "maximum": { + "format": "float", + "description": "Value maximum.", + "type": "number", + "readOnly": true + }, + "total": { + "format": "float", + "description": "Value total.", + "type": "number", + "readOnly": true + }, + "count": { + "format": "float", + "description": "Value count.", + "type": "number", + "readOnly": true + }, + "properties": { + "description": "Properties.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricProperty" + }, + "readOnly": true + } + } + }, + "RestoreRequest": { + "description": "Description of a restore request.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "RestoreRequest resource specific properties", + "required": [ + "storageAccountUrl", + "overwrite" + ], + "properties": { + "storageAccountUrl": { + "description": "SAS URL to the container.", + "type": "string" + }, + "blobName": { + "description": "Name of a blob which contains the backup.", + "type": "string" + }, + "overwrite": { + "description": "true if the restore operation can overwrite target app; otherwise, false. true is needed if trying to restore over an existing app.", + "type": "boolean" + }, + "siteName": { + "description": "Name of an app.", + "type": "string" }, "databases": { "description": "Collection of databases which should be restored. This list has to match the list of databases included in the backup.", @@ -16881,67 +17881,282 @@ "$ref": "#/definitions/DatabaseBackupSetting" } }, - "ignoreConflictingHostNames": { - "description": "Changes a logic when restoring an app with custom domains. true to remove custom domains automatically. If false, custom domains are added to \nthe app's object when it is being restored, but that might fail due to conflicts during the operation.", - "default": false, + "ignoreConflictingHostNames": { + "description": "Changes a logic when restoring an app with custom domains. true to remove custom domains automatically. If false, custom domains are added to \nthe app's object when it is being restored, but that might fail due to conflicts during the operation.", + "default": false, + "type": "boolean" + }, + "ignoreDatabases": { + "description": "Ignore the databases and only restore the site content", + "default": false, + "type": "boolean" + }, + "appServicePlan": { + "description": "Specify app service plan that will own restored site.", + "type": "string" + }, + "operationType": { + "description": "Operation type.", + "default": "Default", + "enum": [ + "Default", + "Clone", + "Relocation", + "Snapshot" + ], + "type": "string", + "x-ms-enum": { + "name": "BackupRestoreOperationType", + "modelAsString": false + } + }, + "adjustConnectionStrings": { + "description": "true if SiteConfig.ConnectionStrings should be set in new app; otherwise, false.", + "type": "boolean" + }, + "hostingEnvironment": { + "description": "App Service Environment name, if needed (only when restoring an app to an App Service Environment).", + "type": "string" + } + }, + "x-ms-client-flatten": true + } + } + }, + "RestoreResponse": { + "description": "Response for an app restore request.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "RestoreResponse resource specific properties", + "properties": { + "operationId": { + "description": "When server starts the restore process, it will return an operation ID identifying that particular restore operation.", + "type": "string", + "readOnly": true + } + }, + "x-ms-client-flatten": true + } + } + }, + "Site": { + "description": "A web app, a mobile app backend, or an API app.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Site resource specific properties", + "properties": { + "state": { + "description": "Current state of the app.", + "type": "string", + "readOnly": true + }, + "hostNames": { + "description": "Hostnames associated with the app.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "repositorySiteName": { + "description": "Name of the repository site.", + "type": "string", + "readOnly": true + }, + "usageState": { + "description": "State indicating whether the app has exceeded its quota usage. Read-only.", + "enum": [ + "Normal", + "Exceeded" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "UsageState", + "modelAsString": false + } + }, + "enabled": { + "description": "true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).", + "type": "boolean" + }, + "enabledHostNames": { + "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\nthe app is not served on those hostnames.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "availabilityState": { + "description": "Management information availability state for the app.", + "enum": [ + "Normal", + "Limited", + "DisasterRecoveryMode" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "SiteAvailabilityState", + "modelAsString": false + } + }, + "hostNameSslStates": { + "description": "Hostname SSL states are used to manage the SSL bindings for app's hostnames.", + "type": "array", + "items": { + "$ref": "#/definitions/HostNameSslState" + } + }, + "serverFarmId": { + "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", + "type": "string" + }, + "reserved": { + "description": "true if reserved; otherwise, false.", + "default": false, + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "lastModifiedTimeUtc": { + "format": "date-time", + "description": "Last time the app was modified, in UTC. Read-only.", + "type": "string", + "readOnly": true + }, + "siteConfig": { + "$ref": "#/definitions/SiteConfig", + "description": "Configuration of the app." + }, + "trafficManagerHostNames": { + "description": "Azure Traffic Manager hostnames associated with the app. Read-only.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "scmSiteAlsoStopped": { + "description": "true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", + "default": false, + "type": "boolean" + }, + "targetSwapSlot": { + "description": "Specifies which deployment slot this app will swap into. Read-only.", + "type": "string", + "readOnly": true + }, + "hostingEnvironmentProfile": { + "$ref": "#/definitions/HostingEnvironmentProfile", + "description": "App Service Environment to use for the app.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "clientAffinityEnabled": { + "description": "true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.", "type": "boolean" }, - "ignoreDatabases": { - "description": "Ignore the databases and only restore the site content", - "default": false, + "clientCertEnabled": { + "description": "true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.", "type": "boolean" }, - "appServicePlan": { - "description": "Specify app service plan that will own restored site.", - "type": "string" + "hostNamesDisabled": { + "description": "true to disable the public hostnames of the app; otherwise, false.\n If true, the app is only accessible via API management process.", + "type": "boolean" }, - "operationType": { - "description": "Operation type.", - "default": "Default", - "enum": [ - "Default", - "Clone", - "Relocation", - "Snapshot" - ], + "outboundIpAddresses": { + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only.", "type": "string", - "x-ms-enum": { - "name": "BackupRestoreOperationType", - "modelAsString": false - } + "readOnly": true }, - "adjustConnectionStrings": { - "description": "true if SiteConfig.ConnectionStrings should be set in new app; otherwise, false.", - "type": "boolean" + "possibleOutboundIpAddresses": { + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only.", + "type": "string", + "readOnly": true }, - "hostingEnvironment": { - "description": "App Service Environment name, if needed (only when restoring an app to an App Service Environment).", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "RestoreResponse": { - "description": "Response for an app restore request.", - "type": "object", - "allOf": [ - { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "RestoreResponse resource specific properties", - "properties": { - "operationId": { - "description": "When server starts the restore process, it will return an operation ID identifying that particular restore operation.", + "containerSize": { + "format": "int32", + "description": "Size of the function container.", + "type": "integer" + }, + "dailyMemoryTimeQuota": { + "format": "int32", + "description": "Maximum allowed daily memory-time quota (applicable on dynamic apps only).", + "type": "integer" + }, + "suspendedTill": { + "format": "date-time", + "description": "App suspended till in case memory-time quota is exceeded.", + "type": "string", + "readOnly": true + }, + "maxNumberOfWorkers": { + "format": "int32", + "description": "Maximum number of workers.\nThis only applies to Functions container.", + "type": "integer", + "readOnly": true + }, + "cloningInfo": { + "$ref": "#/definitions/CloningInfo", + "description": "If specified during app creation, the app is cloned from a source app.", + "x-ms-mutability": [ + "create" + ] + }, + "snapshotInfo": { + "$ref": "#/definitions/SnapshotRecoveryRequest", + "description": "If specified during app creation, the app is created from a previous snapshot.", + "x-ms-mutability": [ + "create" + ] + }, + "resourceGroup": { + "description": "Name of the resource group the app belongs to. Read-only.", + "type": "string", + "readOnly": true + }, + "isDefaultContainer": { + "description": "true if the app is a default container; otherwise, false.", + "type": "boolean", + "readOnly": true + }, + "defaultHostName": { + "description": "Default hostname of the app. Read-only.", "type": "string", "readOnly": true + }, + "slotSwapStatus": { + "$ref": "#/definitions/SlotSwapStatus", + "description": "Status of the last deployment slot swap operation.", + "readOnly": true + }, + "httpsOnly": { + "description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests", + "type": "boolean" } }, "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/ManagedServiceIdentity" } } }, @@ -16950,7 +18165,7 @@ "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -17146,17 +18361,261 @@ } } }, + "SiteConfig": { + "description": "Configuration of an App Service app.", + "type": "object", + "properties": { + "numberOfWorkers": { + "format": "int32", + "description": "Number of workers.", + "type": "integer" + }, + "defaultDocuments": { + "description": "Default documents.", + "type": "array", + "items": { + "type": "string" + } + }, + "netFrameworkVersion": { + "description": ".NET Framework version.", + "default": "v4.6", + "type": "string" + }, + "phpVersion": { + "description": "Version of PHP.", + "type": "string" + }, + "pythonVersion": { + "description": "Version of Python.", + "type": "string" + }, + "nodeVersion": { + "description": "Version of Node.js.", + "type": "string" + }, + "linuxFxVersion": { + "description": "Linux App Framework and version", + "type": "string" + }, + "requestTracingEnabled": { + "description": "true if request tracing is enabled; otherwise, false.", + "type": "boolean" + }, + "requestTracingExpirationTime": { + "format": "date-time", + "description": "Request tracing expiration time.", + "type": "string" + }, + "remoteDebuggingEnabled": { + "description": "true if remote debugging is enabled; otherwise, false.", + "type": "boolean" + }, + "remoteDebuggingVersion": { + "description": "Remote debugging version.", + "type": "string" + }, + "httpLoggingEnabled": { + "description": "true if HTTP logging is enabled; otherwise, false.", + "type": "boolean" + }, + "logsDirectorySizeLimit": { + "format": "int32", + "description": "HTTP logs directory size limit.", + "type": "integer" + }, + "detailedErrorLoggingEnabled": { + "description": "true if detailed error logging is enabled; otherwise, false.", + "type": "boolean" + }, + "publishingUsername": { + "description": "Publishing user name.", + "type": "string" + }, + "appSettings": { + "description": "Application settings.", + "type": "array", + "items": { + "$ref": "#/definitions/NameValuePair" + } + }, + "connectionStrings": { + "description": "Connection strings.", + "type": "array", + "items": { + "$ref": "#/definitions/ConnStringInfo" + } + }, + "machineKey": { + "$ref": "#/definitions/SiteMachineKey", + "description": "Site MachineKey.", + "readOnly": true + }, + "handlerMappings": { + "description": "Handler mappings.", + "type": "array", + "items": { + "$ref": "#/definitions/HandlerMapping" + } + }, + "documentRoot": { + "description": "Document root.", + "type": "string" + }, + "scmType": { + "description": "SCM type.", + "enum": [ + "None", + "Dropbox", + "Tfs", + "LocalGit", + "GitHub", + "CodePlexGit", + "CodePlexHg", + "BitbucketGit", + "BitbucketHg", + "ExternalGit", + "ExternalHg", + "OneDrive", + "VSO" + ], + "type": "string", + "x-ms-enum": { + "name": "ScmType", + "modelAsString": true + } + }, + "use32BitWorkerProcess": { + "description": "true to use 32-bit worker process; otherwise, false.", + "type": "boolean" + }, + "webSocketsEnabled": { + "description": "true if WebSocket is enabled; otherwise, false.", + "type": "boolean" + }, + "alwaysOn": { + "description": "true if Always On is enabled; otherwise, false.", + "type": "boolean" + }, + "javaVersion": { + "description": "Java version.", + "type": "string" + }, + "javaContainer": { + "description": "Java container.", + "type": "string" + }, + "javaContainerVersion": { + "description": "Java container version.", + "type": "string" + }, + "appCommandLine": { + "description": "App command line to launch.", + "type": "string" + }, + "managedPipelineMode": { + "description": "Managed pipeline mode.", + "enum": [ + "Integrated", + "Classic" + ], + "type": "string", + "x-ms-enum": { + "name": "ManagedPipelineMode", + "modelAsString": false + } + }, + "virtualApplications": { + "description": "Virtual applications.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualApplication" + } + }, + "loadBalancing": { + "description": "Site load balancing.", + "enum": [ + "WeightedRoundRobin", + "LeastRequests", + "LeastResponseTime", + "WeightedTotalTraffic", + "RequestHash" + ], + "type": "string", + "x-ms-enum": { + "name": "SiteLoadBalancing", + "modelAsString": false + } + }, + "experiments": { + "$ref": "#/definitions/Experiments", + "description": "This is work around for polymophic types." + }, + "limits": { + "$ref": "#/definitions/SiteLimits", + "description": "Site limits." + }, + "autoHealEnabled": { + "description": "true if Auto Heal is enabled; otherwise, false.", + "type": "boolean" + }, + "autoHealRules": { + "$ref": "#/definitions/AutoHealRules", + "description": "Auto Heal rules." + }, + "tracingOptions": { + "description": "Tracing options.", + "type": "string" + }, + "vnetName": { + "description": "Virtual Network name.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "cors": { + "$ref": "#/definitions/CorsSettings", + "description": "Cross-Origin Resource Sharing (CORS) settings." + }, + "push": { + "$ref": "#/definitions/PushSettings", + "description": "Push endpoint settings." + }, + "apiDefinition": { + "$ref": "#/definitions/ApiDefinitionInfo", + "description": "Information about the formal API definition for the app." + }, + "autoSwapSlotName": { + "description": "Auto-swap slot name.", + "type": "string" + }, + "localMySqlEnabled": { + "description": "true to enable local MySQL; otherwise, false.", + "default": false, + "type": "boolean" + }, + "ipSecurityRestrictions": { + "description": "IP security restrictions.", + "type": "array", + "items": { + "$ref": "#/definitions/IpSecurityRestriction" + } + } + } + }, "SiteConfigResource": { "description": "Web app configuration ARM resource.", "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { "properties": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfig", + "$ref": "#/definitions/SiteConfig", "description": "Core resource properties", "x-ms-client-flatten": true } @@ -17187,7 +18646,7 @@ "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -17236,7 +18695,7 @@ "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -17324,7 +18783,7 @@ "description": "Local path.", "type": "string" }, - "installed_date_time": { + "installedDateTime": { "format": "date-time", "description": "Installed timestamp.", "type": "string" @@ -17367,7 +18826,7 @@ "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -17384,12 +18843,33 @@ } } }, + "SiteLimits": { + "description": "Metric limits set on an app.", + "type": "object", + "properties": { + "maxPercentageCpu": { + "format": "double", + "description": "Maximum allowed CPU usage percentage.", + "type": "number" + }, + "maxMemoryInMb": { + "format": "int64", + "description": "Maximum allowed memory usage in MB.", + "type": "integer" + }, + "maxDiskSizeInMb": { + "format": "int64", + "description": "Maximum allowed disk size usage in MB.", + "type": "integer" + } + } + }, "SiteLogsConfig": { "description": "Configuration of App Service site logs.", "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -17417,12 +18897,34 @@ } } }, + "SiteMachineKey": { + "description": "MachineKey of an app.", + "type": "object", + "properties": { + "validation": { + "description": "MachineKey validation.", + "type": "string" + }, + "validationKey": { + "description": "Validation key.", + "type": "string" + }, + "decryption": { + "description": "Decryption.", + "type": "string" + }, + "decryptionKey": { + "description": "Decryption key.", + "type": "string" + } + } + }, "SitePatchResource": { "description": "ARM resource for a site.", "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -17490,7 +18992,7 @@ "description": "Hostname SSL states are used to manage the SSL bindings for app's hostnames.", "type": "array", "items": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HostNameSslState" + "$ref": "#/definitions/HostNameSslState" } }, "serverFarmId": { @@ -17513,7 +19015,7 @@ "readOnly": true }, "siteConfig": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfig", + "$ref": "#/definitions/SiteConfig", "description": "Configuration of the app." }, "trafficManagerHostNames": { @@ -17535,7 +19037,7 @@ "readOnly": true }, "hostingEnvironmentProfile": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HostingEnvironmentProfile", + "$ref": "#/definitions/HostingEnvironmentProfile", "description": "App Service Environment to use for the app.", "x-ms-mutability": [ "create", @@ -17587,14 +19089,14 @@ "readOnly": true }, "cloningInfo": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/CloningInfo", + "$ref": "#/definitions/CloningInfo", "description": "If specified during app creation, the app is cloned from a source app.", "x-ms-mutability": [ "create" ] }, "snapshotInfo": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SnapshotRecoveryRequest", + "$ref": "#/definitions/SnapshotRecoveryRequest", "description": "If specified during app creation, the app is created from a previous snapshot.", "x-ms-mutability": [ "create" @@ -17616,7 +19118,7 @@ "readOnly": true }, "slotSwapStatus": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SlotSwapStatus", + "$ref": "#/definitions/SlotSwapStatus", "description": "Status of the last deployment slot swap operation.", "readOnly": true }, @@ -17634,7 +19136,7 @@ "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -17667,7 +19169,7 @@ "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -17744,7 +19246,7 @@ "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -17760,7 +19262,7 @@ "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -17827,12 +19329,53 @@ } } }, + "SlotSwapStatus": { + "description": "The status of the last successfull slot swap operation.", + "type": "object", + "properties": { + "timestampUtc": { + "format": "date-time", + "description": "The time the last successful slot swap completed.", + "type": "string", + "readOnly": true + }, + "sourceSlotName": { + "description": "The source slot of the last swap operation.", + "type": "string", + "readOnly": true + }, + "destinationSlotName": { + "description": "The destination slot of the last swap operation.", + "type": "string", + "readOnly": true + } + } + }, + "SlowRequestsBasedTrigger": { + "description": "Trigger based on request execution time.", + "type": "object", + "properties": { + "timeTaken": { + "description": "Time taken.", + "type": "string" + }, + "count": { + "format": "int32", + "description": "Count.", + "type": "integer" + }, + "timeInterval": { + "description": "Time interval.", + "type": "string" + } + } + }, "Snapshot": { "description": "A snapshot of an app.", "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -17869,12 +19412,96 @@ } } }, + "SnapshotRecoveryRequest": { + "description": "Details about app recovery operation.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "SnapshotRecoveryRequest resource specific properties", + "required": [ + "overwrite" + ], + "properties": { + "snapshotTime": { + "description": "Point in time in which the app recovery should be attempted, formatted as a DateTime string.", + "type": "string" + }, + "recoveryTarget": { + "$ref": "#/definitions/SnapshotRecoveryTarget", + "description": "Specifies the web app that snapshot contents will be written to." + }, + "overwrite": { + "description": "If true the recovery operation can overwrite source app; otherwise, false.", + "type": "boolean" + }, + "recoverConfiguration": { + "description": "If true, site configuration, in addition to content, will be reverted.", + "type": "boolean" + }, + "ignoreConflictingHostNames": { + "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\nThis setting is only necessary when RecoverConfiguration is enabled.", + "type": "boolean" + } + }, + "x-ms-client-flatten": true + } + } + }, + "SnapshotRecoveryTarget": { + "description": "Specifies the web app that snapshot contents will be written to.", + "type": "object", + "properties": { + "location": { + "description": "Geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS", + "type": "string" + }, + "id": { + "description": "ARM resource ID of the target app. \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "type": "string" + } + } + }, + "StatusCodesBasedTrigger": { + "description": "Trigger based on status code.", + "type": "object", + "properties": { + "status": { + "format": "int32", + "description": "HTTP status code.", + "type": "integer" + }, + "subStatus": { + "format": "int32", + "description": "SubStatus.", + "type": "integer" + }, + "win32Status": { + "format": "int32", + "description": "Win32 error code.", + "type": "integer" + }, + "count": { + "format": "int32", + "description": "Count.", + "type": "integer" + }, + "timeInterval": { + "description": "Time interval.", + "type": "string" + } + } + }, "StorageMigrationOptions": { "description": "Options for app content migration.", "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -17925,7 +19552,7 @@ "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -17947,7 +19574,7 @@ "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -17966,7 +19593,7 @@ "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -18010,7 +19637,7 @@ "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -18087,7 +19714,7 @@ "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -18175,6 +19802,240 @@ } } }, + "User": { + "description": "User crendentials used for publishing activity.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "User resource specific properties", + "required": [ + "publishingUserName" + ], + "properties": { + "name": { + "description": "Username", + "type": "string", + "x-ms-client-name": "UserName" + }, + "publishingUserName": { + "description": "Username used for publishing.", + "type": "string" + }, + "publishingPassword": { + "format": "password", + "description": "Password used for publishing.", + "type": "string" + }, + "publishingPasswordHash": { + "format": "password", + "description": "Password hash used for publishing.", + "type": "string" + }, + "publishingPasswordHashSalt": { + "format": "password", + "description": "Password hash salt used for publishing.", + "type": "string" + } + }, + "x-ms-client-flatten": true + } + } + }, + "VirtualApplication": { + "description": "Virtual application in an app.", + "type": "object", + "properties": { + "virtualPath": { + "description": "Virtual path.", + "type": "string" + }, + "physicalPath": { + "description": "Physical path.", + "type": "string" + }, + "preloadEnabled": { + "description": "true if preloading is enabled; otherwise, false.", + "type": "boolean" + }, + "virtualDirectories": { + "description": "Virtual directories for virtual application.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualDirectory" + } + } + } + }, + "VirtualDirectory": { + "description": "Directory for virtual application.", + "type": "object", + "properties": { + "virtualPath": { + "description": "Path to virtual application.", + "type": "string" + }, + "physicalPath": { + "description": "Physical path.", + "type": "string" + } + } + }, + "VnetGateway": { + "description": "The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "VnetGateway resource specific properties", + "required": [ + "vpnPackageUri" + ], + "properties": { + "vnetName": { + "description": "The Virtual Network name.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "vpnPackageUri": { + "description": "The URI where the VPN package can be downloaded.", + "type": "string", + "x-ms-mutability": [ + "create", + "update" + ] + } + }, + "x-ms-client-flatten": true + } + } + }, + "VnetInfo": { + "description": "Virtual Network information contract.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "VnetInfo resource specific properties", + "properties": { + "vnetResourceId": { + "description": "The Virtual Network's resource ID.", + "type": "string" + }, + "certThumbprint": { + "description": "The client certificate thumbprint.", + "type": "string", + "readOnly": true + }, + "certBlob": { + "format": "byte", + "description": "A certificate file (.cer) blob containing the public key of the private key used to authenticate a \nPoint-To-Site VPN connection.", + "type": "string" + }, + "routes": { + "description": "The routes that this Virtual Network connection uses.", + "type": "array", + "items": { + "$ref": "#/definitions/VnetRoute" + }, + "readOnly": true + }, + "resyncRequired": { + "description": "true if a resync is required; otherwise, false.", + "type": "boolean", + "readOnly": true + }, + "dnsServers": { + "description": "DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses.", + "type": "string" + } + }, + "x-ms-client-flatten": true + } + } + }, + "VnetRoute": { + "description": "Virtual Network route contract used to pass routing information for a Virtual Network.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "VnetRoute resource specific properties", + "properties": { + "name": { + "description": "The name of this route. This is only returned by the server and does not need to be set by the client.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-ms-client-name": "vnetRouteName" + }, + "startAddress": { + "description": "The starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified.", + "type": "string" + }, + "endAddress": { + "description": "The ending address for this route. If the start address is specified in CIDR notation, this must be omitted.", + "type": "string" + }, + "routeType": { + "description": "The type of route this is:\nDEFAULT - By default, every app has routes to the local address ranges specified by RFC1918\nINHERITED - Routes inherited from the real Virtual Network routes\nSTATIC - Static route set on the app only\n\nThese values will be used for syncing an app's routes with those from a Virtual Network.", + "enum": [ + "DEFAULT", + "INHERITED", + "STATIC" + ], + "type": "string", + "x-ms-enum": { + "name": "RouteType", + "modelAsString": true + } + } + }, + "x-ms-client-flatten": true + } + } + }, + "WebAppCollection": { + "description": "Collection of App Service apps.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/Site" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, "WebAppInstanceCollection": { "description": "Collection of app instances.", "required": [ @@ -18200,7 +20061,7 @@ "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -18220,7 +20081,7 @@ "description": "Job URL.", "type": "string" }, - "extra_info_url": { + "extraInfoUrl": { "description": "Extra Info URL.", "type": "string" }, diff --git a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json index 0d736c7c474f..426e42a14e69 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json @@ -515,7 +515,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricCollection" + "$ref": "#/definitions/ResourceMetricCollection" } } }, @@ -753,7 +753,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricDefinitionCollection" + "$ref": "#/definitions/ResourceMetricDefinitionCollection" } } }, @@ -805,7 +805,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricCollection" + "$ref": "#/definitions/ResourceMetricCollection" } } }, @@ -844,7 +844,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricDefinitionCollection" + "$ref": "#/definitions/ResourceMetricDefinitionCollection" } } }, @@ -914,7 +914,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricCollection" + "$ref": "#/definitions/ResourceMetricCollection" } } }, @@ -1033,7 +1033,7 @@ "schema": { "type": "array", "items": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Operation" + "$ref": "#/definitions/Operation" } } } @@ -1112,13 +1112,13 @@ "200": { "description": "OK.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WebAppCollection" + "$ref": "#/definitions/WebAppCollection" } }, "202": { "description": "Operation is in progress.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WebAppCollection" + "$ref": "#/definitions/WebAppCollection" } } }, @@ -1158,7 +1158,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServicePlanCollection" + "$ref": "#/definitions/AppServicePlanCollection" } } }, @@ -1203,7 +1203,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WebAppCollection" + "$ref": "#/definitions/WebAppCollection" } } }, @@ -1242,13 +1242,13 @@ "200": { "description": "OK.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WebAppCollection" + "$ref": "#/definitions/WebAppCollection" } }, "202": { "description": "Operation is in progress.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WebAppCollection" + "$ref": "#/definitions/WebAppCollection" } } }, @@ -1295,7 +1295,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/CsmUsageQuotaCollection" + "$ref": "#/definitions/CsmUsageQuotaCollection" } } }, @@ -1561,7 +1561,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricDefinitionCollection" + "$ref": "#/definitions/ResourceMetricDefinitionCollection" } } }, @@ -1627,7 +1627,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricCollection" + "$ref": "#/definitions/ResourceMetricCollection" } } }, @@ -1673,7 +1673,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricDefinitionCollection" + "$ref": "#/definitions/ResourceMetricDefinitionCollection" } } }, @@ -1732,7 +1732,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricCollection" + "$ref": "#/definitions/ResourceMetricCollection" } } }, @@ -1858,7 +1858,244 @@ "description": "Additional virtual IPs.", "type": "array", "items": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VirtualIPMapping" + "$ref": "#/definitions/VirtualIPMapping" + } + } + } + }, + "ApiDefinitionInfo": { + "description": "Information about the formal API definition for the app.", + "type": "object", + "properties": { + "url": { + "description": "The URL of the API definition.", + "type": "string" + } + } + }, + "AppServiceEnvironment": { + "description": "Description of an App Service Environment.", + "required": [ + "name", + "location", + "virtualNetwork", + "workerPools" + ], + "type": "object", + "properties": { + "name": { + "description": "Name of the App Service Environment.", + "type": "string" + }, + "location": { + "description": "Location of the App Service Environment, e.g. \"West US\".", + "type": "string" + }, + "provisioningState": { + "description": "Provisioning state of the App Service Environment.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "InProgress", + "Deleting" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": false + } + }, + "status": { + "description": "Current status of the App Service Environment.", + "enum": [ + "Preparing", + "Ready", + "Scaling", + "Deleting" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "HostingEnvironmentStatus", + "modelAsString": false + } + }, + "vnetName": { + "description": "Name of the Virtual Network for the App Service Environment.", + "type": "string" + }, + "vnetResourceGroupName": { + "description": "Resource group of the Virtual Network.", + "type": "string" + }, + "vnetSubnetName": { + "description": "Subnet of the Virtual Network.", + "type": "string" + }, + "virtualNetwork": { + "$ref": "#/definitions/VirtualNetworkProfile", + "description": "Description of the Virtual Network." + }, + "internalLoadBalancingMode": { + "description": "Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment.", + "enum": [ + "None", + "Web", + "Publishing" + ], + "type": "string", + "x-ms-enum": { + "name": "InternalLoadBalancingMode", + "modelAsString": false + } + }, + "multiSize": { + "description": "Front-end VM size, e.g. \"Medium\", \"Large\".", + "type": "string" + }, + "multiRoleCount": { + "format": "int32", + "description": "Number of front-end instances.", + "type": "integer" + }, + "workerPools": { + "description": "Description of worker pools with worker size IDs, VM sizes, and number of workers in each pool.", + "type": "array", + "items": { + "$ref": "#/definitions/WorkerPool" + } + }, + "ipsslAddressCount": { + "format": "int32", + "description": "Number of IP SSL addresses reserved for the App Service Environment.", + "type": "integer" + }, + "databaseEdition": { + "description": "Edition of the metadata database for the App Service Environment, e.g. \"Standard\".", + "type": "string", + "readOnly": true + }, + "databaseServiceObjective": { + "description": "Service objective of the metadata database for the App Service Environment, e.g. \"S0\".", + "type": "string", + "readOnly": true + }, + "upgradeDomains": { + "format": "int32", + "description": "Number of upgrade domains of the App Service Environment.", + "type": "integer", + "readOnly": true + }, + "subscriptionId": { + "description": "Subscription of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "dnsSuffix": { + "description": "DNS suffix of the App Service Environment.", + "type": "string" + }, + "lastAction": { + "description": "Last deployment action on the App Service Environment.", + "type": "string", + "readOnly": true + }, + "lastActionResult": { + "description": "Result of the last deployment action on the App Service Environment.", + "type": "string", + "readOnly": true + }, + "allowedMultiSizes": { + "description": "List of comma separated strings describing which VM sizes are allowed for front-ends.", + "type": "string", + "readOnly": true + }, + "allowedWorkerSizes": { + "description": "List of comma separated strings describing which VM sizes are allowed for workers.", + "type": "string", + "readOnly": true + }, + "maximumNumberOfMachines": { + "format": "int32", + "description": "Maximum number of VMs in the App Service Environment.", + "type": "integer", + "readOnly": true + }, + "vipMappings": { + "description": "Description of IP SSL mapping for the App Service Environment.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualIPMapping" + }, + "readOnly": true + }, + "environmentCapacities": { + "description": "Current total, used, and available worker capacities.", + "type": "array", + "items": { + "$ref": "#/definitions/StampCapacity" + }, + "readOnly": true + }, + "networkAccessControlList": { + "description": "Access control list for controlling traffic to the App Service Environment.", + "type": "array", + "items": { + "$ref": "#/definitions/NetworkAccessControlEntry" + } + }, + "environmentIsHealthy": { + "description": "True/false indicating whether the App Service Environment is healthy.", + "type": "boolean", + "readOnly": true + }, + "environmentStatus": { + "description": "Detailed message about with results of the last check of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "resourceGroup": { + "description": "Resource group of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "frontEndScaleFactor": { + "format": "int32", + "description": "Scale factor for front-ends.", + "type": "integer" + }, + "defaultFrontEndScaleFactor": { + "format": "int32", + "description": "Default Scale Factor for FrontEnds.", + "type": "integer", + "readOnly": true + }, + "apiManagementAccountId": { + "description": "API Management Account associated with the App Service Environment.", + "type": "string" + }, + "suspended": { + "description": "true if the App Service Environment is suspended; otherwise, false. The environment can be suspended, e.g. when the management endpoint is no longer available\n (most likely because NSG blocked the incoming traffic).", + "type": "boolean" + }, + "dynamicCacheEnabled": { + "description": "True/false indicating whether the App Service Environment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available\n(most likely because NSG blocked the incoming traffic).", + "type": "boolean" + }, + "clusterSettings": { + "description": "Custom settings for changing the behavior of the App Service Environment.", + "type": "array", + "items": { + "$ref": "#/definitions/NameValuePair" + } + }, + "userWhitelistedIpRanges": { + "description": "User added ip ranges to whitelist on ASE db", + "type": "array", + "items": { + "type": "string" } } } @@ -1874,154 +2111,1999 @@ "description": "Collection of resources.", "type": "array", "items": { - "$ref": "#/definitions/AppServiceEnvironmentResource" + "$ref": "#/definitions/AppServiceEnvironmentResource" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "AppServiceEnvironmentPatchResource": { + "description": "ARM resource for a app service enviroment.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/AppServiceEnvironment", + "description": "Core resource properties", + "x-ms-client-flatten": true + } + } + }, + "AppServiceEnvironmentResource": { + "description": "App Service Environment ARM resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/AppServiceEnvironment", + "description": "Core resource properties", + "x-ms-client-flatten": true + } + } + }, + "AppServicePlan": { + "description": "App Service plan.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "AppServicePlan resource specific properties", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name for the App Service plan.", + "type": "string" + }, + "workerTierName": { + "description": "Target worker tier assigned to the App Service plan.", + "type": "string" + }, + "status": { + "description": "App Service plan status.", + "enum": [ + "Ready", + "Pending", + "Creating" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "StatusOptions", + "modelAsString": false + } + }, + "subscription": { + "description": "App Service plan subscription.", + "type": "string", + "readOnly": true + }, + "adminSiteName": { + "description": "App Service plan administration site.", + "type": "string" + }, + "hostingEnvironmentProfile": { + "$ref": "#/definitions/HostingEnvironmentProfile", + "description": "Specification for the App Service Environment to use for the App Service plan.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "maximumNumberOfWorkers": { + "format": "int32", + "description": "Maximum number of instances that can be assigned to this App Service plan.", + "type": "integer", + "readOnly": true + }, + "geoRegion": { + "description": "Geographical location for the App Service plan.", + "type": "string", + "readOnly": true + }, + "perSiteScaling": { + "description": "If true, apps assigned to this App Service plan can be scaled independently.\nIf false, apps assigned to this App Service plan will scale to all instances of the plan.", + "default": false, + "type": "boolean" + }, + "numberOfSites": { + "format": "int32", + "description": "Number of apps assigned to this App Service plan.", + "type": "integer", + "readOnly": true + }, + "isSpot": { + "description": "If true, this App Service Plan owns spot instances.", + "type": "boolean" + }, + "spotExpirationTime": { + "format": "date-time", + "description": "The time when the server farm expires. Valid only if it is a spot server farm.", + "type": "string" + }, + "resourceGroup": { + "description": "Resource group of the App Service plan.", + "type": "string", + "readOnly": true + }, + "reserved": { + "description": "Reserved.", + "default": false, + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "targetWorkerCount": { + "format": "int32", + "description": "Scaling worker count.", + "type": "integer" + }, + "targetWorkerSizeId": { + "format": "int32", + "description": "Scaling worker size ID.", + "type": "integer" + }, + "provisioningState": { + "description": "Provisioning state of the App Service Environment.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "InProgress", + "Deleting" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": false + } + } + }, + "x-ms-client-flatten": true + }, + "sku": { + "$ref": "#/definitions/SkuDescription" + } + } + }, + "AppServicePlanCollection": { + "description": "Collection of App Service plans.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/AppServicePlan" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "AutoHealActions": { + "description": "Actions which to take by the auto-heal module when a rule is triggered.", + "type": "object", + "properties": { + "actionType": { + "description": "Predefined action to be taken.", + "enum": [ + "Recycle", + "LogEvent", + "CustomAction" + ], + "type": "string", + "x-ms-enum": { + "name": "AutoHealActionType", + "modelAsString": false + } + }, + "customAction": { + "$ref": "#/definitions/AutoHealCustomAction", + "description": "Custom action to be taken." + }, + "minProcessExecutionTime": { + "description": "Minimum time the process must execute\nbefore taking the action", + "type": "string" + } + } + }, + "AutoHealCustomAction": { + "description": "Custom action to be executed\nwhen an auto heal rule is triggered.", + "type": "object", + "properties": { + "exe": { + "description": "Executable to be run.", + "type": "string" + }, + "parameters": { + "description": "Parameters for the executable.", + "type": "string" + } + } + }, + "AutoHealRules": { + "description": "Rules that can be defined for auto-heal.", + "type": "object", + "properties": { + "triggers": { + "$ref": "#/definitions/AutoHealTriggers", + "description": "Conditions that describe when to execute the auto-heal actions." + }, + "actions": { + "$ref": "#/definitions/AutoHealActions", + "description": "Actions to be executed when a rule is triggered." + } + } + }, + "AutoHealTriggers": { + "description": "Triggers for auto-heal.", + "type": "object", + "properties": { + "requests": { + "$ref": "#/definitions/RequestsBasedTrigger", + "description": "A rule based on total requests." + }, + "privateBytesInKB": { + "format": "int32", + "description": "A rule based on private bytes.", + "type": "integer" + }, + "statusCodes": { + "description": "A rule based on status codes.", + "type": "array", + "items": { + "$ref": "#/definitions/StatusCodesBasedTrigger" + } + }, + "slowRequests": { + "$ref": "#/definitions/SlowRequestsBasedTrigger", + "description": "A rule based on request execution time." + } + } + }, + "Capability": { + "description": "Describes the capabilities/features allowed for a specific SKU.", + "type": "object", + "properties": { + "name": { + "description": "Name of the SKU capability.", + "type": "string" + }, + "value": { + "description": "Value of the SKU capability.", + "type": "string" + }, + "reason": { + "description": "Reason of the SKU capability.", + "type": "string" + } + } + }, + "CloningInfo": { + "description": "Information needed for cloning operation.", + "required": [ + "sourceWebAppId" + ], + "type": "object", + "properties": { + "correlationId": { + "format": "uuid", + "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\ntogether to use the same snapshot.", + "type": "string", + "example": "00000000-0000-0000-0000-000000000000" + }, + "overwrite": { + "description": "true to overwrite destination app; otherwise, false.", + "type": "boolean" + }, + "cloneCustomHostNames": { + "description": "true to clone custom hostnames from source app; otherwise, false.", + "type": "boolean" + }, + "cloneSourceControl": { + "description": "true to clone source control from source app; otherwise, false.", + "type": "boolean" + }, + "sourceWebAppId": { + "description": "ARM resource ID of the source app. App resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "type": "string" + }, + "hostingEnvironment": { + "description": "App Service Environment.", + "type": "string" + }, + "appSettingsOverrides": { + "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \nfrom source app. Otherwise, application settings from source app are retained.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "configureLoadBalancing": { + "description": "true to configure load balancing for source and destination app.", + "type": "boolean" + }, + "trafficManagerProfileId": { + "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", + "type": "string" + }, + "trafficManagerProfileName": { + "description": "Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.", + "type": "string" + } + } + }, + "ConnStringInfo": { + "description": "Database connection string information.", + "type": "object", + "properties": { + "name": { + "description": "Name of connection string.", + "type": "string" + }, + "connectionString": { + "description": "Connection string value.", + "type": "string" + }, + "type": { + "description": "Type of database.", + "enum": [ + "MySql", + "SQLServer", + "SQLAzure", + "Custom", + "NotificationHub", + "ServiceBus", + "EventHub", + "ApiHub", + "DocDb", + "RedisCache", + "PostgreSQL" + ], + "type": "string", + "x-ms-enum": { + "name": "ConnectionStringType", + "modelAsString": false + } + } + } + }, + "CorsSettings": { + "description": "Cross-Origin Resource Sharing (CORS) settings for the app.", + "type": "object", + "properties": { + "allowedOrigins": { + "description": "Gets or sets the list of origins that should be allowed to make cross-origin\ncalls (for example: http://example.com:12345). Use \"*\" to allow all.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "CsmUsageQuota": { + "description": "Usage of the quota resource.", + "type": "object", + "properties": { + "unit": { + "description": "Units of measurement for the quota resourse.", + "type": "string" + }, + "nextResetTime": { + "format": "date-time", + "description": "Next reset time for the resource counter.", + "type": "string" + }, + "currentValue": { + "format": "int64", + "description": "The current value of the resource counter.", + "type": "integer" + }, + "limit": { + "format": "int64", + "description": "The resource limit.", + "type": "integer" + }, + "name": { + "$ref": "#/definitions/LocalizableString", + "description": "Quota name." + } + } + }, + "CsmUsageQuotaCollection": { + "description": "Collection of CSM usage quotas.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/CsmUsageQuota" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "ErrorEntity": { + "description": "Body of the error response returned from the API.", + "type": "object", + "properties": { + "extendedCode": { + "description": "Type of error.", + "type": "string" + }, + "messageTemplate": { + "description": "Message template.", + "type": "string" + }, + "parameters": { + "description": "Parameters for the template.", + "type": "array", + "items": { + "type": "string" + } + }, + "innerErrors": { + "description": "Inner errors.", + "type": "array", + "items": { + "$ref": "#/definitions/ErrorEntity" + } + }, + "code": { + "description": "Basic error code.", + "type": "string" + }, + "message": { + "description": "Any details of the error.", + "type": "string" + } + } + }, + "Experiments": { + "description": "Routing rules in production experiments.", + "type": "object", + "properties": { + "rampUpRules": { + "description": "List of ramp-up rules.", + "type": "array", + "items": { + "$ref": "#/definitions/RampUpRule" + } + } + } + }, + "HandlerMapping": { + "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \nFor example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", + "type": "object", + "properties": { + "extension": { + "description": "Requests with this extension will be handled using the specified FastCGI application.", + "type": "string" + }, + "scriptProcessor": { + "description": "The absolute path to the FastCGI application.", + "type": "string" + }, + "arguments": { + "description": "Command-line arguments to be passed to the script processor.", + "type": "string" + } + } + }, + "HostNameSslState": { + "description": "SSL-enabled hostname.", + "type": "object", + "properties": { + "name": { + "description": "Hostname.", + "type": "string" + }, + "sslState": { + "description": "SSL type.", + "enum": [ + "Disabled", + "SniEnabled", + "IpBasedEnabled" + ], + "type": "string", + "x-ms-enum": { + "name": "SslState", + "modelAsString": false + } + }, + "virtualIP": { + "description": "Virtual IP address assigned to the hostname if IP based SSL is enabled.", + "type": "string" + }, + "thumbprint": { + "description": "SSL certificate thumbprint.", + "type": "string" + }, + "toUpdate": { + "description": "Set to true to update existing hostname.", + "type": "boolean" + }, + "hostType": { + "description": "Indicates whether the hostname is a standard or repository hostname.", + "enum": [ + "Standard", + "Repository" + ], + "type": "string", + "x-ms-enum": { + "name": "HostType", + "modelAsString": false + } + } + } + }, + "HostingEnvironmentDiagnostics": { + "description": "Diagnostics for an App Service Environment.", + "type": "object", + "properties": { + "name": { + "description": "Name/identifier of the diagnostics.", + "type": "string" + }, + "diagnosicsOutput": { + "description": "Diagnostics output.", + "type": "string" + } + } + }, + "HostingEnvironmentProfile": { + "description": "Specification for an App Service Environment to use for this resource.", + "type": "object", + "properties": { + "id": { + "description": "Resource ID of the App Service Environment.", + "type": "string" + }, + "name": { + "description": "Name of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Resource type of the App Service Environment.", + "type": "string", + "readOnly": true + } + } + }, + "IpSecurityRestriction": { + "description": "IP security restriction on an app.", + "required": [ + "ipAddress" + ], + "type": "object", + "properties": { + "ipAddress": { + "description": "IP address the security restriction is valid for.", + "type": "string" + }, + "subnetMask": { + "description": "Subnet mask for the range of IP addresses the restriction is valid for.", + "type": "string" + } + } + }, + "LocalizableString": { + "description": "Localizable string object containing the name and a localized value.", + "type": "object", + "properties": { + "value": { + "description": "Non-localized name.", + "type": "string" + }, + "localizedValue": { + "description": "Localized name.", + "type": "string" + } + } + }, + "ManagedServiceIdentity": { + "description": "Managed service identity.", + "type": "object", + "properties": { + "type": { + "description": "Type of managed service identity.", + "enum": [ + "SystemAssigned" + ], + "x-ms-enum": { + "name": "ManagedServiceIdentityType", + "modelAsString": true + } + }, + "tenantId": { + "description": "Tenant of managed service identity.", + "type": "string", + "readOnly": true + }, + "principalId": { + "description": "Principal Id of managed service identity.", + "type": "string", + "readOnly": true + } + } + }, + "MetricAvailabilily": { + "description": "Metric availability and retention.", + "type": "object", + "properties": { + "timeGrain": { + "description": "Time grain.", + "type": "string" + }, + "retention": { + "description": "Retention period for the current time grain.", + "type": "string" + } + } + }, + "MetricDefinition": { + "description": "Metadata for a metric.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "MetricDefinition resource specific properties", + "properties": { + "name": { + "description": "Name of the metric.", + "type": "string", + "readOnly": true + }, + "unit": { + "description": "Unit of the metric.", + "type": "string", + "readOnly": true + }, + "primaryAggregationType": { + "description": "Primary aggregation type.", + "type": "string", + "readOnly": true + }, + "metricAvailabilities": { + "description": "List of time grains supported for the metric together with retention period.", + "type": "array", + "items": { + "$ref": "#/definitions/MetricAvailabilily" + }, + "readOnly": true + }, + "displayName": { + "description": "Friendly name shown in the UI.", + "type": "string", + "readOnly": true + } + }, + "x-ms-client-flatten": true + } + } + }, + "NameValuePair": { + "description": "Name value pair.", + "type": "object", + "properties": { + "name": { + "description": "Pair name.", + "type": "string" + }, + "value": { + "description": "Pair value.", + "type": "string" + } + } + }, + "NetworkAccessControlEntry": { + "description": "Network access control entry.", + "type": "object", + "properties": { + "action": { + "description": "Action object.", + "enum": [ + "Permit", + "Deny" + ], + "type": "string", + "x-ms-enum": { + "name": "AccessControlEntryAction", + "modelAsString": false + } + }, + "description": { + "description": "Description.", + "type": "string" + }, + "order": { + "format": "int32", + "description": "Order of precedence.", + "type": "integer" + }, + "remoteSubnet": { + "description": "Remote subnet.", + "type": "string" + } + } + }, + "Operation": { + "description": "Operation.", + "type": "object", + "properties": { + "id": { + "description": "Operation ID.", + "type": "string" + }, + "name": { + "description": "Operation name.", + "type": "string" + }, + "status": { + "description": "The current status of the operation.", + "enum": [ + "InProgress", + "Failed", + "Succeeded", + "TimedOut", + "Created" + ], + "type": "string", + "x-ms-enum": { + "name": "OperationStatus", + "modelAsString": false + } + }, + "errors": { + "description": "Any errors associate with the operation.", + "type": "array", + "items": { + "$ref": "#/definitions/ErrorEntity" + } + }, + "createdTime": { + "format": "date-time", + "description": "Time when operation has started.", + "type": "string" + }, + "modifiedTime": { + "format": "date-time", + "description": "Time when operation has been updated.", + "type": "string" + }, + "expirationTime": { + "format": "date-time", + "description": "Time when operation will expire.", + "type": "string" + }, + "geoMasterOperationId": { + "format": "uuid", + "description": "Applicable only for stamp operation ids.", + "type": "string", + "example": "00000000-0000-0000-0000-000000000000" + } + } + }, + "ProxyOnlyResource": { + "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", + "properties": { + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource Name.", + "type": "string", + "readOnly": true + }, + "kind": { + "description": "Kind of resource.", + "type": "string" + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "PushSettings": { + "description": "Push settings for the App.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "PushSettings resource specific properties", + "required": [ + "isPushEnabled" + ], + "properties": { + "isPushEnabled": { + "description": "Gets or sets a flag indicating whether the Push endpoint is enabled.", + "type": "boolean" + }, + "tagWhitelistJson": { + "description": "Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", + "type": "string" + }, + "tagsRequiringAuth": { + "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\nTags can consist of alphanumeric characters and the following:\n'_', '@', '#', '.', ':', '-'. \nValidation should be performed at the PushRequestHandler.", + "type": "string" + }, + "dynamicTagsJson": { + "description": "Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", + "type": "string" + } + }, + "x-ms-client-flatten": true + } + } + }, + "RampUpRule": { + "description": "Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance.", + "type": "object", + "properties": { + "actionHostName": { + "description": "Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net.", + "type": "string" + }, + "reroutePercentage": { + "format": "double", + "description": "Percentage of the traffic which will be redirected to ActionHostName.", + "type": "number" + }, + "changeStep": { + "format": "double", + "description": "In auto ramp up scenario this is the step to to add/remove from ReroutePercentage until it reaches \nMinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specificed in ChangeIntervalInMinutes.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", + "type": "number" + }, + "changeIntervalInMinutes": { + "format": "int32", + "description": "Specifies interval in mimuntes to reevaluate ReroutePercentage.", + "type": "integer" + }, + "minReroutePercentage": { + "format": "double", + "description": "Specifies lower boundary above which ReroutePercentage will stay.", + "type": "number" + }, + "maxReroutePercentage": { + "format": "double", + "description": "Specifies upper boundary below which ReroutePercentage will stay.", + "type": "number" + }, + "changeDecisionCallbackUrl": { + "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\nhttps://www.siteextensions.net/packages/TiPCallback/", + "type": "string" + }, + "name": { + "description": "Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment.", + "type": "string" + } + } + }, + "RequestsBasedTrigger": { + "description": "Trigger based on total requests.", + "type": "object", + "properties": { + "count": { + "format": "int32", + "description": "Count.", + "type": "integer" + }, + "timeInterval": { + "description": "Time interval.", + "type": "string" + } + } + }, + "Resource": { + "description": "Azure resource. This resource is tracked in Azure Resource Manager", + "properties": { + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource Name.", + "type": "string", + "readOnly": true + }, + "kind": { + "description": "Kind of resource.", + "type": "string" + }, + "location": { + "description": "Resource Location.", + "type": "string", + "x-ms-mutability": [ + "create", + "update" + ] + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + }, + "tags": { + "description": "Resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "ResourceMetric": { + "description": "Object representing a metric for any resource .", + "type": "object", + "properties": { + "name": { + "$ref": "#/definitions/ResourceMetricName", + "description": "Name of metric.", + "readOnly": true + }, + "unit": { + "description": "Metric unit.", + "type": "string", + "readOnly": true + }, + "timeGrain": { + "description": "Metric granularity. E.g PT1H, PT5M, P1D", + "type": "string", + "readOnly": true + }, + "startTime": { + "format": "date-time", + "description": "Metric start time.", + "type": "string", + "readOnly": true + }, + "endTime": { + "format": "date-time", + "description": "Metric end time.", + "type": "string", + "readOnly": true + }, + "resourceId": { + "description": "Metric resource Id.", + "type": "string", + "readOnly": true + }, + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "metricValues": { + "description": "Metric values.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricValue" + }, + "readOnly": true + }, + "properties": { + "description": "Properties.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricProperty" + }, + "readOnly": true + } + } + }, + "ResourceMetricAvailability": { + "description": "Metrics availability and retention.", + "type": "object", + "properties": { + "timeGrain": { + "description": "Time grain .", + "type": "string", + "readOnly": true + }, + "retention": { + "description": "Retention period for the current time grain.", + "type": "string", + "readOnly": true + } + } + }, + "ResourceMetricCollection": { + "description": "Collection of metric responses.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetric" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "ResourceMetricDefinition": { + "description": "Metadata for the metrics.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "ResourceMetricDefinition resource specific properties", + "properties": { + "name": { + "$ref": "#/definitions/ResourceMetricName", + "description": "Name of the metric.", + "readOnly": true + }, + "unit": { + "description": "Unit of the metric.", + "type": "string", + "readOnly": true + }, + "primaryAggregationType": { + "description": "Primary aggregation type.", + "type": "string", + "readOnly": true + }, + "metricAvailabilities": { + "description": "List of time grains supported for the metric together with retention period.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricAvailability" + }, + "readOnly": true + }, + "resourceUri": { + "description": "Resource URI.", + "type": "string", + "readOnly": true + }, + "id": { + "description": "Resource ID.", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "Properties.", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "readOnly": true + } + }, + "x-ms-client-flatten": true + } + } + }, + "ResourceMetricDefinitionCollection": { + "description": "Collection of metric definitions.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricDefinition" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "ResourceMetricName": { + "description": "Name of a metric for any resource .", + "type": "object", + "properties": { + "value": { + "description": "metric name value.", + "type": "string", + "readOnly": true + }, + "localizedValue": { + "description": "Localized metric name value.", + "type": "string", + "readOnly": true + } + } + }, + "ResourceMetricProperty": { + "description": "Resource metric property.", + "type": "object", + "properties": { + "key": { + "description": "Key for resource metric property.", + "type": "string" + }, + "value": { + "description": "Value of pair.", + "type": "string" + } + } + }, + "ResourceMetricValue": { + "description": "Value of resource metric.", + "type": "object", + "properties": { + "timestamp": { + "description": "Value timestamp.", + "type": "string", + "readOnly": true + }, + "average": { + "format": "float", + "description": "Value average.", + "type": "number", + "readOnly": true + }, + "minimum": { + "format": "float", + "description": "Value minimum.", + "type": "number", + "readOnly": true + }, + "maximum": { + "format": "float", + "description": "Value maximum.", + "type": "number", + "readOnly": true + }, + "total": { + "format": "float", + "description": "Value total.", + "type": "number", + "readOnly": true + }, + "count": { + "format": "float", + "description": "Value count.", + "type": "number", + "readOnly": true + }, + "properties": { + "description": "Properties.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricProperty" + }, + "readOnly": true + } + } + }, + "Site": { + "description": "A web app, a mobile app backend, or an API app.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Site resource specific properties", + "properties": { + "state": { + "description": "Current state of the app.", + "type": "string", + "readOnly": true + }, + "hostNames": { + "description": "Hostnames associated with the app.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "repositorySiteName": { + "description": "Name of the repository site.", + "type": "string", + "readOnly": true + }, + "usageState": { + "description": "State indicating whether the app has exceeded its quota usage. Read-only.", + "enum": [ + "Normal", + "Exceeded" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "UsageState", + "modelAsString": false + } + }, + "enabled": { + "description": "true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).", + "type": "boolean" + }, + "enabledHostNames": { + "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\nthe app is not served on those hostnames.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "availabilityState": { + "description": "Management information availability state for the app.", + "enum": [ + "Normal", + "Limited", + "DisasterRecoveryMode" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "SiteAvailabilityState", + "modelAsString": false + } + }, + "hostNameSslStates": { + "description": "Hostname SSL states are used to manage the SSL bindings for app's hostnames.", + "type": "array", + "items": { + "$ref": "#/definitions/HostNameSslState" + } + }, + "serverFarmId": { + "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", + "type": "string" + }, + "reserved": { + "description": "true if reserved; otherwise, false.", + "default": false, + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "lastModifiedTimeUtc": { + "format": "date-time", + "description": "Last time the app was modified, in UTC. Read-only.", + "type": "string", + "readOnly": true + }, + "siteConfig": { + "$ref": "#/definitions/SiteConfig", + "description": "Configuration of the app." + }, + "trafficManagerHostNames": { + "description": "Azure Traffic Manager hostnames associated with the app. Read-only.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "scmSiteAlsoStopped": { + "description": "true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", + "default": false, + "type": "boolean" + }, + "targetSwapSlot": { + "description": "Specifies which deployment slot this app will swap into. Read-only.", + "type": "string", + "readOnly": true + }, + "hostingEnvironmentProfile": { + "$ref": "#/definitions/HostingEnvironmentProfile", + "description": "App Service Environment to use for the app.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "clientAffinityEnabled": { + "description": "true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.", + "type": "boolean" + }, + "clientCertEnabled": { + "description": "true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.", + "type": "boolean" + }, + "hostNamesDisabled": { + "description": "true to disable the public hostnames of the app; otherwise, false.\n If true, the app is only accessible via API management process.", + "type": "boolean" + }, + "outboundIpAddresses": { + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only.", + "type": "string", + "readOnly": true + }, + "possibleOutboundIpAddresses": { + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only.", + "type": "string", + "readOnly": true + }, + "containerSize": { + "format": "int32", + "description": "Size of the function container.", + "type": "integer" + }, + "dailyMemoryTimeQuota": { + "format": "int32", + "description": "Maximum allowed daily memory-time quota (applicable on dynamic apps only).", + "type": "integer" + }, + "suspendedTill": { + "format": "date-time", + "description": "App suspended till in case memory-time quota is exceeded.", + "type": "string", + "readOnly": true + }, + "maxNumberOfWorkers": { + "format": "int32", + "description": "Maximum number of workers.\nThis only applies to Functions container.", + "type": "integer", + "readOnly": true + }, + "cloningInfo": { + "$ref": "#/definitions/CloningInfo", + "description": "If specified during app creation, the app is cloned from a source app.", + "x-ms-mutability": [ + "create" + ] + }, + "snapshotInfo": { + "$ref": "#/definitions/SnapshotRecoveryRequest", + "description": "If specified during app creation, the app is created from a previous snapshot.", + "x-ms-mutability": [ + "create" + ] + }, + "resourceGroup": { + "description": "Name of the resource group the app belongs to. Read-only.", + "type": "string", + "readOnly": true + }, + "isDefaultContainer": { + "description": "true if the app is a default container; otherwise, false.", + "type": "boolean", + "readOnly": true + }, + "defaultHostName": { + "description": "Default hostname of the app. Read-only.", + "type": "string", + "readOnly": true + }, + "slotSwapStatus": { + "$ref": "#/definitions/SlotSwapStatus", + "description": "Status of the last deployment slot swap operation.", + "readOnly": true + }, + "httpsOnly": { + "description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests", + "type": "boolean" + } + }, + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/ManagedServiceIdentity" + } + } + }, + "SiteConfig": { + "description": "Configuration of an App Service app.", + "type": "object", + "properties": { + "numberOfWorkers": { + "format": "int32", + "description": "Number of workers.", + "type": "integer" + }, + "defaultDocuments": { + "description": "Default documents.", + "type": "array", + "items": { + "type": "string" + } + }, + "netFrameworkVersion": { + "description": ".NET Framework version.", + "default": "v4.6", + "type": "string" + }, + "phpVersion": { + "description": "Version of PHP.", + "type": "string" + }, + "pythonVersion": { + "description": "Version of Python.", + "type": "string" + }, + "nodeVersion": { + "description": "Version of Node.js.", + "type": "string" + }, + "linuxFxVersion": { + "description": "Linux App Framework and version", + "type": "string" + }, + "requestTracingEnabled": { + "description": "true if request tracing is enabled; otherwise, false.", + "type": "boolean" + }, + "requestTracingExpirationTime": { + "format": "date-time", + "description": "Request tracing expiration time.", + "type": "string" + }, + "remoteDebuggingEnabled": { + "description": "true if remote debugging is enabled; otherwise, false.", + "type": "boolean" + }, + "remoteDebuggingVersion": { + "description": "Remote debugging version.", + "type": "string" + }, + "httpLoggingEnabled": { + "description": "true if HTTP logging is enabled; otherwise, false.", + "type": "boolean" + }, + "logsDirectorySizeLimit": { + "format": "int32", + "description": "HTTP logs directory size limit.", + "type": "integer" + }, + "detailedErrorLoggingEnabled": { + "description": "true if detailed error logging is enabled; otherwise, false.", + "type": "boolean" + }, + "publishingUsername": { + "description": "Publishing user name.", + "type": "string" + }, + "appSettings": { + "description": "Application settings.", + "type": "array", + "items": { + "$ref": "#/definitions/NameValuePair" + } + }, + "connectionStrings": { + "description": "Connection strings.", + "type": "array", + "items": { + "$ref": "#/definitions/ConnStringInfo" + } + }, + "machineKey": { + "$ref": "#/definitions/SiteMachineKey", + "description": "Site MachineKey.", + "readOnly": true + }, + "handlerMappings": { + "description": "Handler mappings.", + "type": "array", + "items": { + "$ref": "#/definitions/HandlerMapping" + } + }, + "documentRoot": { + "description": "Document root.", + "type": "string" + }, + "scmType": { + "description": "SCM type.", + "enum": [ + "None", + "Dropbox", + "Tfs", + "LocalGit", + "GitHub", + "CodePlexGit", + "CodePlexHg", + "BitbucketGit", + "BitbucketHg", + "ExternalGit", + "ExternalHg", + "OneDrive", + "VSO" + ], + "type": "string", + "x-ms-enum": { + "name": "ScmType", + "modelAsString": true + } + }, + "use32BitWorkerProcess": { + "description": "true to use 32-bit worker process; otherwise, false.", + "type": "boolean" + }, + "webSocketsEnabled": { + "description": "true if WebSocket is enabled; otherwise, false.", + "type": "boolean" + }, + "alwaysOn": { + "description": "true if Always On is enabled; otherwise, false.", + "type": "boolean" + }, + "javaVersion": { + "description": "Java version.", + "type": "string" + }, + "javaContainer": { + "description": "Java container.", + "type": "string" + }, + "javaContainerVersion": { + "description": "Java container version.", + "type": "string" + }, + "appCommandLine": { + "description": "App command line to launch.", + "type": "string" + }, + "managedPipelineMode": { + "description": "Managed pipeline mode.", + "enum": [ + "Integrated", + "Classic" + ], + "type": "string", + "x-ms-enum": { + "name": "ManagedPipelineMode", + "modelAsString": false + } + }, + "virtualApplications": { + "description": "Virtual applications.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualApplication" + } + }, + "loadBalancing": { + "description": "Site load balancing.", + "enum": [ + "WeightedRoundRobin", + "LeastRequests", + "LeastResponseTime", + "WeightedTotalTraffic", + "RequestHash" + ], + "type": "string", + "x-ms-enum": { + "name": "SiteLoadBalancing", + "modelAsString": false + } + }, + "experiments": { + "$ref": "#/definitions/Experiments", + "description": "This is work around for polymophic types." + }, + "limits": { + "$ref": "#/definitions/SiteLimits", + "description": "Site limits." + }, + "autoHealEnabled": { + "description": "true if Auto Heal is enabled; otherwise, false.", + "type": "boolean" + }, + "autoHealRules": { + "$ref": "#/definitions/AutoHealRules", + "description": "Auto Heal rules." + }, + "tracingOptions": { + "description": "Tracing options.", + "type": "string" + }, + "vnetName": { + "description": "Virtual Network name.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "cors": { + "$ref": "#/definitions/CorsSettings", + "description": "Cross-Origin Resource Sharing (CORS) settings." + }, + "push": { + "$ref": "#/definitions/PushSettings", + "description": "Push endpoint settings." + }, + "apiDefinition": { + "$ref": "#/definitions/ApiDefinitionInfo", + "description": "Information about the formal API definition for the app." + }, + "autoSwapSlotName": { + "description": "Auto-swap slot name.", + "type": "string" + }, + "localMySqlEnabled": { + "description": "true to enable local MySQL; otherwise, false.", + "default": false, + "type": "boolean" + }, + "ipSecurityRestrictions": { + "description": "IP security restrictions.", + "type": "array", + "items": { + "$ref": "#/definitions/IpSecurityRestriction" } + } + } + }, + "SiteLimits": { + "description": "Metric limits set on an app.", + "type": "object", + "properties": { + "maxPercentageCpu": { + "format": "double", + "description": "Maximum allowed CPU usage percentage.", + "type": "number" }, - "nextLink": { - "description": "Link to next page of resources.", + "maxMemoryInMb": { + "format": "int64", + "description": "Maximum allowed memory usage in MB.", + "type": "integer" + }, + "maxDiskSizeInMb": { + "format": "int64", + "description": "Maximum allowed disk size usage in MB.", + "type": "integer" + } + } + }, + "SiteMachineKey": { + "description": "MachineKey of an app.", + "type": "object", + "properties": { + "validation": { + "description": "MachineKey validation.", + "type": "string" + }, + "validationKey": { + "description": "Validation key.", + "type": "string" + }, + "decryption": { + "description": "Decryption.", + "type": "string" + }, + "decryptionKey": { + "description": "Decryption key.", "type": "string" } } }, - "AppServiceEnvironmentPatchResource": { - "description": "ARM resource for a app service enviroment.", + "SkuCapacity": { + "description": "Description of the App Service plan scale options.", "type": "object", - "allOf": [ - { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "properties": { + "minimum": { + "format": "int32", + "description": "Minimum number of workers for this App Service plan SKU.", + "type": "integer" + }, + "maximum": { + "format": "int32", + "description": "Maximum number of workers for this App Service plan SKU.", + "type": "integer" + }, + "default": { + "format": "int32", + "description": "Default number of workers for this App Service plan SKU.", + "type": "integer" + }, + "scaleType": { + "description": "Available scale configurations for an App Service plan.", + "type": "string" } - ], + } + }, + "SkuDescription": { + "description": "Description of a SKU for a scalable resource.", + "type": "object", "properties": { - "properties": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServiceEnvironment", - "description": "Core resource properties", - "x-ms-client-flatten": true + "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" + }, + "skuCapacity": { + "$ref": "#/definitions/SkuCapacity", + "description": "Min, max, and default scale values of the SKU." + }, + "locations": { + "description": "Locations of the SKU.", + "type": "array", + "items": { + "type": "string" + } + }, + "capabilities": { + "description": "Capabilities of the SKU, e.g., is traffic manager enabled?", + "type": "array", + "items": { + "$ref": "#/definitions/Capability" + } } } }, - "AppServiceEnvironmentResource": { - "description": "App Service Environment ARM resource.", + "SkuInfo": { + "description": "SKU discovery information.", "type": "object", - "allOf": [ - { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Resource" + "properties": { + "resourceType": { + "description": "Resource type that this SKU applies to.", + "type": "string" + }, + "sku": { + "$ref": "#/definitions/SkuDescription", + "description": "Name and tier of the SKU." + }, + "capacity": { + "$ref": "#/definitions/SkuCapacity", + "description": "Min, max, and default scale values of the SKU." } + } + }, + "SkuInfoCollection": { + "description": "Collection of SKU information.", + "required": [ + "value" ], + "type": "object", "properties": { - "properties": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServiceEnvironment", - "description": "Core resource properties", - "x-ms-client-flatten": true + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/SkuInfo" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" } } }, - "HostingEnvironmentDiagnostics": { - "description": "Diagnostics for an App Service Environment.", + "SlotSwapStatus": { + "description": "The status of the last successfull slot swap operation.", "type": "object", "properties": { - "name": { - "description": "Name/identifier of the diagnostics.", - "type": "string" + "timestampUtc": { + "format": "date-time", + "description": "The time the last successful slot swap completed.", + "type": "string", + "readOnly": true }, - "diagnosicsOutput": { - "description": "Diagnostics output.", - "type": "string" + "sourceSlotName": { + "description": "The source slot of the last swap operation.", + "type": "string", + "readOnly": true + }, + "destinationSlotName": { + "description": "The destination slot of the last swap operation.", + "type": "string", + "readOnly": true } } }, - "MetricAvailabilily": { - "description": "Metric availability and retention.", + "SlowRequestsBasedTrigger": { + "description": "Trigger based on request execution time.", "type": "object", "properties": { - "timeGrain": { - "description": "Time grain.", + "timeTaken": { + "description": "Time taken.", "type": "string" }, - "retention": { - "description": "Retention period for the current time grain.", + "count": { + "format": "int32", + "description": "Count.", + "type": "integer" + }, + "timeInterval": { + "description": "Time interval.", "type": "string" } } }, - "MetricDefinition": { - "description": "Metadata for a metric.", + "SnapshotRecoveryRequest": { + "description": "Details about app recovery operation.", "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { "properties": { - "description": "MetricDefinition resource specific properties", + "description": "SnapshotRecoveryRequest resource specific properties", + "required": [ + "overwrite" + ], "properties": { - "name": { - "description": "Name of the metric.", - "type": "string", - "readOnly": true + "snapshotTime": { + "description": "Point in time in which the app recovery should be attempted, formatted as a DateTime string.", + "type": "string" }, - "unit": { - "description": "Unit of the metric.", - "type": "string", - "readOnly": true + "recoveryTarget": { + "$ref": "#/definitions/SnapshotRecoveryTarget", + "description": "Specifies the web app that snapshot contents will be written to." }, - "primaryAggregationType": { - "description": "Primary aggregation type.", - "type": "string", - "readOnly": true + "overwrite": { + "description": "If true the recovery operation can overwrite source app; otherwise, false.", + "type": "boolean" }, - "metricAvailabilities": { - "description": "List of time grains supported for the metric together with retention period.", - "type": "array", - "items": { - "$ref": "#/definitions/MetricAvailabilily" - }, - "readOnly": true + "recoverConfiguration": { + "description": "If true, site configuration, in addition to content, will be reverted.", + "type": "boolean" }, - "displayName": { - "description": "Friendly name shown in the UI.", - "type": "string", - "readOnly": true + "ignoreConflictingHostNames": { + "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\nThis setting is only necessary when RecoverConfiguration is enabled.", + "type": "boolean" } }, "x-ms-client-flatten": true } } }, - "SkuInfo": { - "description": "SKU discovery information.", + "SnapshotRecoveryTarget": { + "description": "Specifies the web app that snapshot contents will be written to.", "type": "object", "properties": { - "resourceType": { - "description": "Resource type that this SKU applies to.", + "location": { + "description": "Geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS", "type": "string" }, - "sku": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SkuDescription", - "description": "Name and tier of the SKU." - }, - "capacity": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SkuCapacity", - "description": "Min, max, and default scale values of the SKU." + "id": { + "description": "ARM resource ID of the target app. \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "type": "string" } } }, - "SkuInfoCollection": { - "description": "Collection of SKU information.", - "required": [ - "value" - ], + "StampCapacity": { + "description": "Stamp capacity information.", "type": "object", "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/SkuInfo" + "name": { + "description": "Name of the stamp.", + "type": "string" + }, + "availableCapacity": { + "format": "int64", + "description": "Available capacity (# of machines, bytes of storage etc...).", + "type": "integer" + }, + "totalCapacity": { + "format": "int64", + "description": "Total capacity (# of machines, bytes of storage etc...).", + "type": "integer" + }, + "unit": { + "description": "Name of the unit.", + "type": "string" + }, + "computeMode": { + "description": "Shared/dedicated workers.", + "enum": [ + "Shared", + "Dedicated", + "Dynamic" + ], + "type": "string", + "x-ms-enum": { + "name": "ComputeModeOptions", + "modelAsString": false } }, - "nextLink": { - "description": "Link to next page of resources.", + "workerSize": { + "description": "Size of the machines.", + "enum": [ + "Small", + "Medium", + "Large", + "D1", + "D2", + "D3", + "Default" + ], + "type": "string", + "x-ms-enum": { + "name": "WorkerSizeOptions", + "modelAsString": false + } + }, + "workerSizeId": { + "format": "int32", + "description": "Size ID of machines: \n0 - Small\n1 - Medium\n2 - Large", + "type": "integer" + }, + "excludeFromCapacityAllocation": { + "description": "If true, it includes basic apps.\nBasic apps are not used for capacity allocation.", + "type": "boolean" + }, + "isApplicableForAllComputeModes": { + "description": "true if capacity is applicable for all apps; otherwise, false.", + "type": "boolean" + }, + "siteMode": { + "description": "Shared or Dedicated.", "type": "string" } } @@ -2037,7 +4119,7 @@ "description": "Collection of resources.", "type": "array", "items": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/StampCapacity" + "$ref": "#/definitions/StampCapacity" } }, "nextLink": { @@ -2046,12 +4128,42 @@ } } }, + "StatusCodesBasedTrigger": { + "description": "Trigger based on status code.", + "type": "object", + "properties": { + "status": { + "format": "int32", + "description": "HTTP status code.", + "type": "integer" + }, + "subStatus": { + "format": "int32", + "description": "SubStatus.", + "type": "integer" + }, + "win32Status": { + "format": "int32", + "description": "Win32 error code.", + "type": "integer" + }, + "count": { + "format": "int32", + "description": "Count.", + "type": "integer" + }, + "timeInterval": { + "description": "Time interval.", + "type": "string" + } + } + }, "Usage": { "description": "Usage of the quota resource.", "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -2140,6 +4252,154 @@ } } }, + "VirtualApplication": { + "description": "Virtual application in an app.", + "type": "object", + "properties": { + "virtualPath": { + "description": "Virtual path.", + "type": "string" + }, + "physicalPath": { + "description": "Physical path.", + "type": "string" + }, + "preloadEnabled": { + "description": "true if preloading is enabled; otherwise, false.", + "type": "boolean" + }, + "virtualDirectories": { + "description": "Virtual directories for virtual application.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualDirectory" + } + } + } + }, + "VirtualDirectory": { + "description": "Directory for virtual application.", + "type": "object", + "properties": { + "virtualPath": { + "description": "Path to virtual application.", + "type": "string" + }, + "physicalPath": { + "description": "Physical path.", + "type": "string" + } + } + }, + "VirtualIPMapping": { + "description": "Virtual IP mapping.", + "type": "object", + "properties": { + "virtualIP": { + "description": "Virtual IP address.", + "type": "string" + }, + "internalHttpPort": { + "format": "int32", + "description": "Internal HTTP port.", + "type": "integer" + }, + "internalHttpsPort": { + "format": "int32", + "description": "Internal HTTPS port.", + "type": "integer" + }, + "inUse": { + "description": "Is virtual IP mapping in use.", + "type": "boolean" + } + } + }, + "VirtualNetworkProfile": { + "description": "Specification for using a Virtual Network.", + "type": "object", + "properties": { + "id": { + "description": "Resource id of the Virtual Network.", + "type": "string" + }, + "name": { + "description": "Name of the Virtual Network (read-only).", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Resource type of the Virtual Network (read-only).", + "type": "string", + "readOnly": true + }, + "subnet": { + "description": "Subnet within the Virtual Network.", + "type": "string" + } + } + }, + "WebAppCollection": { + "description": "Collection of App Service apps.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/Site" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "WorkerPool": { + "description": "Worker pool of an App Service Environment.", + "type": "object", + "properties": { + "workerSizeId": { + "format": "int32", + "description": "Worker size ID for referencing this worker pool.", + "type": "integer" + }, + "computeMode": { + "description": "Shared or dedicated app hosting.", + "enum": [ + "Shared", + "Dedicated", + "Dynamic" + ], + "type": "string", + "x-ms-enum": { + "name": "ComputeModeOptions", + "modelAsString": false + } + }, + "workerSize": { + "description": "VM size of the worker pool instances.", + "type": "string" + }, + "workerCount": { + "format": "int32", + "description": "Number of instances in the worker pool.", + "type": "integer" + }, + "instanceNames": { + "description": "Names of all instances in the worker pool (read only).", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + } + } + }, "WorkerPoolCollection": { "description": "Collection of worker pools.", "required": [ @@ -2165,17 +4425,17 @@ "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { "properties": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPool", + "$ref": "#/definitions/WorkerPool", "description": "Core resource properties", "x-ms-client-flatten": true }, "sku": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SkuDescription" + "$ref": "#/definitions/SkuDescription" } } } diff --git a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json index 58f2bfea9521..f8684f37894e 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json @@ -41,7 +41,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServicePlanCollection" + "$ref": "#/definitions/AppServicePlanCollection" } } }, @@ -73,7 +73,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServicePlanCollection" + "$ref": "#/definitions/AppServicePlanCollection" } } }, @@ -112,7 +112,7 @@ "200": { "description": "OK.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServicePlan" + "$ref": "#/definitions/AppServicePlan" } }, "404": { @@ -144,7 +144,7 @@ "description": "Details of the App Service plan.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServicePlan" + "$ref": "#/definitions/AppServicePlan" } }, { @@ -158,13 +158,13 @@ "200": { "description": "OK.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServicePlan" + "$ref": "#/definitions/AppServicePlan" } }, "202": { "description": "Operation is in progress.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServicePlan" + "$ref": "#/definitions/AppServicePlan" } } }, @@ -242,13 +242,13 @@ "200": { "description": "OK.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServicePlan" + "$ref": "#/definitions/AppServicePlan" } }, "202": { "description": "Operation is in progress.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServicePlan" + "$ref": "#/definitions/AppServicePlan" } } } @@ -286,7 +286,7 @@ "schema": { "type": "array", "items": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Capability" + "$ref": "#/definitions/Capability" } } } @@ -337,7 +337,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" + "$ref": "#/definitions/HybridConnection" } } } @@ -435,7 +435,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnectionKey" + "$ref": "#/definitions/HybridConnectionKey" } } } @@ -599,7 +599,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricDefinitionCollection" + "$ref": "#/definitions/ResourceMetricDefinitionCollection" } } }, @@ -651,7 +651,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricCollection" + "$ref": "#/definitions/ResourceMetricCollection" } } }, @@ -748,7 +748,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WebAppCollection" + "$ref": "#/definitions/WebAppCollection" } } }, @@ -830,7 +830,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/CsmUsageQuotaCollection" + "$ref": "#/definitions/CsmUsageQuotaCollection" } } }, @@ -871,7 +871,7 @@ "schema": { "type": "array", "items": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" + "$ref": "#/definitions/VnetInfo" } } } @@ -915,7 +915,7 @@ "200": { "description": "OK.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" + "$ref": "#/definitions/VnetInfo" } }, "404": { @@ -968,7 +968,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" + "$ref": "#/definitions/VnetGateway" } } } @@ -1011,7 +1011,7 @@ "description": "Definition of the gateway.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" + "$ref": "#/definitions/VnetGateway" } }, { @@ -1025,7 +1025,7 @@ "200": { "description": "OK", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" + "$ref": "#/definitions/VnetGateway" } } } @@ -1070,7 +1070,7 @@ "schema": { "type": "array", "items": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetRoute" + "$ref": "#/definitions/VnetRoute" } } } @@ -1123,7 +1123,7 @@ "schema": { "type": "array", "items": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetRoute" + "$ref": "#/definitions/VnetRoute" } } }, @@ -1170,7 +1170,7 @@ "description": "Definition of the Virtual Network route.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetRoute" + "$ref": "#/definitions/VnetRoute" } }, { @@ -1184,7 +1184,7 @@ "200": { "description": "OK.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetRoute" + "$ref": "#/definitions/VnetRoute" } }, "400": { @@ -1281,7 +1281,7 @@ "description": "Definition of the Virtual Network route.", "required": true, "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetRoute" + "$ref": "#/definitions/VnetRoute" } }, { @@ -1295,7 +1295,7 @@ "200": { "description": "OK.", "schema": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetRoute" + "$ref": "#/definitions/VnetRoute" } }, "400": { @@ -1349,17 +1349,27 @@ } }, "definitions": { - "AppServicePlanPatchResource": { - "description": "ARM resource for a app service plan.", + "ApiDefinitionInfo": { + "description": "Information about the formal API definition for the app.", + "type": "object", + "properties": { + "url": { + "description": "The URL of the API definition.", + "type": "string" + } + } + }, + "AppServicePlan": { + "description": "App Service plan.", "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/Resource" } ], "properties": { "properties": { - "description": "AppServicePlanPatchResource resource specific properties", + "description": "AppServicePlan resource specific properties", "required": [ "name" ], @@ -1396,7 +1406,7 @@ "type": "string" }, "hostingEnvironmentProfile": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HostingEnvironmentProfile", + "$ref": "#/definitions/HostingEnvironmentProfile", "description": "Specification for the App Service Environment to use for the App Service plan.", "x-ms-mutability": [ "create", @@ -1476,11 +1486,14 @@ } }, "x-ms-client-flatten": true + }, + "sku": { + "$ref": "#/definitions/SkuDescription" } } }, - "HybridConnectionCollection": { - "description": "Collection of hostname bindings.", + "AppServicePlanCollection": { + "description": "Collection of App Service plans.", "required": [ "value" ], @@ -1490,7 +1503,7 @@ "description": "Collection of resources.", "type": "array", "items": { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" + "$ref": "#/definitions/AppServicePlan" } }, "nextLink": { @@ -1499,37 +1512,368 @@ } } }, - "HybridConnectionLimits": { - "description": "Hybrid Connection limits contract. This is used to return the plan limits of Hybrid Connections.", + "AppServicePlanPatchResource": { + "description": "ARM resource for a app service plan.", "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { "properties": { - "description": "HybridConnectionLimits resource specific properties", + "description": "AppServicePlanPatchResource resource specific properties", + "required": [ + "name" + ], "properties": { - "current": { + "name": { + "description": "Name for the App Service plan.", + "type": "string" + }, + "workerTierName": { + "description": "Target worker tier assigned to the App Service plan.", + "type": "string" + }, + "status": { + "description": "App Service plan status.", + "enum": [ + "Ready", + "Pending", + "Creating" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "StatusOptions", + "modelAsString": false + } + }, + "subscription": { + "description": "App Service plan subscription.", + "type": "string", + "readOnly": true + }, + "adminSiteName": { + "description": "App Service plan administration site.", + "type": "string" + }, + "hostingEnvironmentProfile": { + "$ref": "#/definitions/HostingEnvironmentProfile", + "description": "Specification for the App Service Environment to use for the App Service plan.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "maximumNumberOfWorkers": { "format": "int32", - "description": "The current number of Hybrid Connections.", + "description": "Maximum number of instances that can be assigned to this App Service plan.", "type": "integer", "readOnly": true }, - "maximum": { + "geoRegion": { + "description": "Geographical location for the App Service plan.", + "type": "string", + "readOnly": true + }, + "perSiteScaling": { + "description": "If true, apps assigned to this App Service plan can be scaled independently.\nIf false, apps assigned to this App Service plan will scale to all instances of the plan.", + "default": false, + "type": "boolean" + }, + "numberOfSites": { "format": "int32", - "description": "The maximum number of Hybrid Connections allowed.", + "description": "Number of apps assigned to this App Service plan.", "type": "integer", "readOnly": true + }, + "isSpot": { + "description": "If true, this App Service Plan owns spot instances.", + "type": "boolean" + }, + "spotExpirationTime": { + "format": "date-time", + "description": "The time when the server farm expires. Valid only if it is a spot server farm.", + "type": "string" + }, + "resourceGroup": { + "description": "Resource group of the App Service plan.", + "type": "string", + "readOnly": true + }, + "reserved": { + "description": "Reserved.", + "default": false, + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "targetWorkerCount": { + "format": "int32", + "description": "Scaling worker count.", + "type": "integer" + }, + "targetWorkerSizeId": { + "format": "int32", + "description": "Scaling worker size ID.", + "type": "integer" + }, + "provisioningState": { + "description": "Provisioning state of the App Service Environment.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "InProgress", + "Deleting" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": false + } } }, "x-ms-client-flatten": true } } }, - "ResourceCollection": { - "description": "Collection of resources.", + "AutoHealActions": { + "description": "Actions which to take by the auto-heal module when a rule is triggered.", + "type": "object", + "properties": { + "actionType": { + "description": "Predefined action to be taken.", + "enum": [ + "Recycle", + "LogEvent", + "CustomAction" + ], + "type": "string", + "x-ms-enum": { + "name": "AutoHealActionType", + "modelAsString": false + } + }, + "customAction": { + "$ref": "#/definitions/AutoHealCustomAction", + "description": "Custom action to be taken." + }, + "minProcessExecutionTime": { + "description": "Minimum time the process must execute\nbefore taking the action", + "type": "string" + } + } + }, + "AutoHealCustomAction": { + "description": "Custom action to be executed\nwhen an auto heal rule is triggered.", + "type": "object", + "properties": { + "exe": { + "description": "Executable to be run.", + "type": "string" + }, + "parameters": { + "description": "Parameters for the executable.", + "type": "string" + } + } + }, + "AutoHealRules": { + "description": "Rules that can be defined for auto-heal.", + "type": "object", + "properties": { + "triggers": { + "$ref": "#/definitions/AutoHealTriggers", + "description": "Conditions that describe when to execute the auto-heal actions." + }, + "actions": { + "$ref": "#/definitions/AutoHealActions", + "description": "Actions to be executed when a rule is triggered." + } + } + }, + "AutoHealTriggers": { + "description": "Triggers for auto-heal.", + "type": "object", + "properties": { + "requests": { + "$ref": "#/definitions/RequestsBasedTrigger", + "description": "A rule based on total requests." + }, + "privateBytesInKB": { + "format": "int32", + "description": "A rule based on private bytes.", + "type": "integer" + }, + "statusCodes": { + "description": "A rule based on status codes.", + "type": "array", + "items": { + "$ref": "#/definitions/StatusCodesBasedTrigger" + } + }, + "slowRequests": { + "$ref": "#/definitions/SlowRequestsBasedTrigger", + "description": "A rule based on request execution time." + } + } + }, + "Capability": { + "description": "Describes the capabilities/features allowed for a specific SKU.", + "type": "object", + "properties": { + "name": { + "description": "Name of the SKU capability.", + "type": "string" + }, + "value": { + "description": "Value of the SKU capability.", + "type": "string" + }, + "reason": { + "description": "Reason of the SKU capability.", + "type": "string" + } + } + }, + "CloningInfo": { + "description": "Information needed for cloning operation.", + "required": [ + "sourceWebAppId" + ], + "type": "object", + "properties": { + "correlationId": { + "format": "uuid", + "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\ntogether to use the same snapshot.", + "type": "string", + "example": "00000000-0000-0000-0000-000000000000" + }, + "overwrite": { + "description": "true to overwrite destination app; otherwise, false.", + "type": "boolean" + }, + "cloneCustomHostNames": { + "description": "true to clone custom hostnames from source app; otherwise, false.", + "type": "boolean" + }, + "cloneSourceControl": { + "description": "true to clone source control from source app; otherwise, false.", + "type": "boolean" + }, + "sourceWebAppId": { + "description": "ARM resource ID of the source app. App resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "type": "string" + }, + "hostingEnvironment": { + "description": "App Service Environment.", + "type": "string" + }, + "appSettingsOverrides": { + "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \nfrom source app. Otherwise, application settings from source app are retained.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "configureLoadBalancing": { + "description": "true to configure load balancing for source and destination app.", + "type": "boolean" + }, + "trafficManagerProfileId": { + "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", + "type": "string" + }, + "trafficManagerProfileName": { + "description": "Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.", + "type": "string" + } + } + }, + "ConnStringInfo": { + "description": "Database connection string information.", + "type": "object", + "properties": { + "name": { + "description": "Name of connection string.", + "type": "string" + }, + "connectionString": { + "description": "Connection string value.", + "type": "string" + }, + "type": { + "description": "Type of database.", + "enum": [ + "MySql", + "SQLServer", + "SQLAzure", + "Custom", + "NotificationHub", + "ServiceBus", + "EventHub", + "ApiHub", + "DocDb", + "RedisCache", + "PostgreSQL" + ], + "type": "string", + "x-ms-enum": { + "name": "ConnectionStringType", + "modelAsString": false + } + } + } + }, + "CorsSettings": { + "description": "Cross-Origin Resource Sharing (CORS) settings for the app.", + "type": "object", + "properties": { + "allowedOrigins": { + "description": "Gets or sets the list of origins that should be allowed to make cross-origin\ncalls (for example: http://example.com:12345). Use \"*\" to allow all.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "CsmUsageQuota": { + "description": "Usage of the quota resource.", + "type": "object", + "properties": { + "unit": { + "description": "Units of measurement for the quota resourse.", + "type": "string" + }, + "nextResetTime": { + "format": "date-time", + "description": "Next reset time for the resource counter.", + "type": "string" + }, + "currentValue": { + "format": "int64", + "description": "The current value of the resource counter.", + "type": "integer" + }, + "limit": { + "format": "int64", + "description": "The resource limit.", + "type": "integer" + }, + "name": { + "$ref": "#/definitions/LocalizableString", + "description": "Quota name." + } + } + }, + "CsmUsageQuotaCollection": { + "description": "Collection of CSM usage quotas.", "required": [ "value" ], @@ -1539,7 +1883,1628 @@ "description": "Collection of resources.", "type": "array", "items": { - "type": "string" + "$ref": "#/definitions/CsmUsageQuota" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "Experiments": { + "description": "Routing rules in production experiments.", + "type": "object", + "properties": { + "rampUpRules": { + "description": "List of ramp-up rules.", + "type": "array", + "items": { + "$ref": "#/definitions/RampUpRule" + } + } + } + }, + "HandlerMapping": { + "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \nFor example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", + "type": "object", + "properties": { + "extension": { + "description": "Requests with this extension will be handled using the specified FastCGI application.", + "type": "string" + }, + "scriptProcessor": { + "description": "The absolute path to the FastCGI application.", + "type": "string" + }, + "arguments": { + "description": "Command-line arguments to be passed to the script processor.", + "type": "string" + } + } + }, + "HostNameSslState": { + "description": "SSL-enabled hostname.", + "type": "object", + "properties": { + "name": { + "description": "Hostname.", + "type": "string" + }, + "sslState": { + "description": "SSL type.", + "enum": [ + "Disabled", + "SniEnabled", + "IpBasedEnabled" + ], + "type": "string", + "x-ms-enum": { + "name": "SslState", + "modelAsString": false + } + }, + "virtualIP": { + "description": "Virtual IP address assigned to the hostname if IP based SSL is enabled.", + "type": "string" + }, + "thumbprint": { + "description": "SSL certificate thumbprint.", + "type": "string" + }, + "toUpdate": { + "description": "Set to true to update existing hostname.", + "type": "boolean" + }, + "hostType": { + "description": "Indicates whether the hostname is a standard or repository hostname.", + "enum": [ + "Standard", + "Repository" + ], + "type": "string", + "x-ms-enum": { + "name": "HostType", + "modelAsString": false + } + } + } + }, + "HostingEnvironmentProfile": { + "description": "Specification for an App Service Environment to use for this resource.", + "type": "object", + "properties": { + "id": { + "description": "Resource ID of the App Service Environment.", + "type": "string" + }, + "name": { + "description": "Name of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Resource type of the App Service Environment.", + "type": "string", + "readOnly": true + } + } + }, + "HybridConnection": { + "description": "Hybrid Connection contract. This is used to configure a Hybrid Connection.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "HybridConnection resource specific properties", + "properties": { + "serviceBusNamespace": { + "description": "The name of the Service Bus namespace.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "relayName": { + "description": "The name of the Service Bus relay.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "relayArmUri": { + "description": "The ARM URI to the Service Bus relay.", + "type": "string" + }, + "hostname": { + "description": "The hostname of the endpoint.", + "type": "string" + }, + "port": { + "format": "int32", + "description": "The port of the endpoint.", + "type": "integer" + }, + "sendKeyName": { + "description": "The name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus.", + "type": "string" + }, + "sendKeyValue": { + "description": "The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned\nnormally, use the POST /listKeys API instead.", + "type": "string" + }, + "serviceBusSuffix": { + "description": "The suffix for the service bus endpoint. By default this is .servicebus.windows.net", + "type": "string" + } + }, + "x-ms-client-flatten": true + } + } + }, + "HybridConnectionCollection": { + "description": "Collection of hostname bindings.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/HybridConnection" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "HybridConnectionKey": { + "description": "Hybrid Connection key contract. This has the send key name and value for a Hybrid Connection.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "HybridConnectionKey resource specific properties", + "properties": { + "sendKeyName": { + "description": "The name of the send key.", + "type": "string", + "readOnly": true + }, + "sendKeyValue": { + "description": "The value of the send key.", + "type": "string", + "readOnly": true + } + }, + "x-ms-client-flatten": true + } + } + }, + "HybridConnectionLimits": { + "description": "Hybrid Connection limits contract. This is used to return the plan limits of Hybrid Connections.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "HybridConnectionLimits resource specific properties", + "properties": { + "current": { + "format": "int32", + "description": "The current number of Hybrid Connections.", + "type": "integer", + "readOnly": true + }, + "maximum": { + "format": "int32", + "description": "The maximum number of Hybrid Connections allowed.", + "type": "integer", + "readOnly": true + } + }, + "x-ms-client-flatten": true + } + } + }, + "IpSecurityRestriction": { + "description": "IP security restriction on an app.", + "required": [ + "ipAddress" + ], + "type": "object", + "properties": { + "ipAddress": { + "description": "IP address the security restriction is valid for.", + "type": "string" + }, + "subnetMask": { + "description": "Subnet mask for the range of IP addresses the restriction is valid for.", + "type": "string" + } + } + }, + "LocalizableString": { + "description": "Localizable string object containing the name and a localized value.", + "type": "object", + "properties": { + "value": { + "description": "Non-localized name.", + "type": "string" + }, + "localizedValue": { + "description": "Localized name.", + "type": "string" + } + } + }, + "ManagedServiceIdentity": { + "description": "Managed service identity.", + "type": "object", + "properties": { + "type": { + "description": "Type of managed service identity.", + "enum": [ + "SystemAssigned" + ], + "x-ms-enum": { + "name": "ManagedServiceIdentityType", + "modelAsString": true + } + }, + "tenantId": { + "description": "Tenant of managed service identity.", + "type": "string", + "readOnly": true + }, + "principalId": { + "description": "Principal Id of managed service identity.", + "type": "string", + "readOnly": true + } + } + }, + "NameValuePair": { + "description": "Name value pair.", + "type": "object", + "properties": { + "name": { + "description": "Pair name.", + "type": "string" + }, + "value": { + "description": "Pair value.", + "type": "string" + } + } + }, + "ProxyOnlyResource": { + "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", + "properties": { + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource Name.", + "type": "string", + "readOnly": true + }, + "kind": { + "description": "Kind of resource.", + "type": "string" + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "PushSettings": { + "description": "Push settings for the App.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "PushSettings resource specific properties", + "required": [ + "isPushEnabled" + ], + "properties": { + "isPushEnabled": { + "description": "Gets or sets a flag indicating whether the Push endpoint is enabled.", + "type": "boolean" + }, + "tagWhitelistJson": { + "description": "Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", + "type": "string" + }, + "tagsRequiringAuth": { + "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\nTags can consist of alphanumeric characters and the following:\n'_', '@', '#', '.', ':', '-'. \nValidation should be performed at the PushRequestHandler.", + "type": "string" + }, + "dynamicTagsJson": { + "description": "Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", + "type": "string" + } + }, + "x-ms-client-flatten": true + } + } + }, + "RampUpRule": { + "description": "Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance.", + "type": "object", + "properties": { + "actionHostName": { + "description": "Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net.", + "type": "string" + }, + "reroutePercentage": { + "format": "double", + "description": "Percentage of the traffic which will be redirected to ActionHostName.", + "type": "number" + }, + "changeStep": { + "format": "double", + "description": "In auto ramp up scenario this is the step to to add/remove from ReroutePercentage until it reaches \nMinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specificed in ChangeIntervalInMinutes.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", + "type": "number" + }, + "changeIntervalInMinutes": { + "format": "int32", + "description": "Specifies interval in mimuntes to reevaluate ReroutePercentage.", + "type": "integer" + }, + "minReroutePercentage": { + "format": "double", + "description": "Specifies lower boundary above which ReroutePercentage will stay.", + "type": "number" + }, + "maxReroutePercentage": { + "format": "double", + "description": "Specifies upper boundary below which ReroutePercentage will stay.", + "type": "number" + }, + "changeDecisionCallbackUrl": { + "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\nhttps://www.siteextensions.net/packages/TiPCallback/", + "type": "string" + }, + "name": { + "description": "Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment.", + "type": "string" + } + } + }, + "RequestsBasedTrigger": { + "description": "Trigger based on total requests.", + "type": "object", + "properties": { + "count": { + "format": "int32", + "description": "Count.", + "type": "integer" + }, + "timeInterval": { + "description": "Time interval.", + "type": "string" + } + } + }, + "Resource": { + "description": "Azure resource. This resource is tracked in Azure Resource Manager", + "properties": { + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource Name.", + "type": "string", + "readOnly": true + }, + "kind": { + "description": "Kind of resource.", + "type": "string" + }, + "location": { + "description": "Resource Location.", + "type": "string", + "x-ms-mutability": [ + "create", + "update" + ] + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + }, + "tags": { + "description": "Resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "ResourceCollection": { + "description": "Collection of resources.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "type": "string" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "ResourceMetric": { + "description": "Object representing a metric for any resource .", + "type": "object", + "properties": { + "name": { + "$ref": "#/definitions/ResourceMetricName", + "description": "Name of metric.", + "readOnly": true + }, + "unit": { + "description": "Metric unit.", + "type": "string", + "readOnly": true + }, + "timeGrain": { + "description": "Metric granularity. E.g PT1H, PT5M, P1D", + "type": "string", + "readOnly": true + }, + "startTime": { + "format": "date-time", + "description": "Metric start time.", + "type": "string", + "readOnly": true + }, + "endTime": { + "format": "date-time", + "description": "Metric end time.", + "type": "string", + "readOnly": true + }, + "resourceId": { + "description": "Metric resource Id.", + "type": "string", + "readOnly": true + }, + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "metricValues": { + "description": "Metric values.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricValue" + }, + "readOnly": true + }, + "properties": { + "description": "Properties.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricProperty" + }, + "readOnly": true + } + } + }, + "ResourceMetricAvailability": { + "description": "Metrics availability and retention.", + "type": "object", + "properties": { + "timeGrain": { + "description": "Time grain .", + "type": "string", + "readOnly": true + }, + "retention": { + "description": "Retention period for the current time grain.", + "type": "string", + "readOnly": true + } + } + }, + "ResourceMetricCollection": { + "description": "Collection of metric responses.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetric" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "ResourceMetricDefinition": { + "description": "Metadata for the metrics.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "ResourceMetricDefinition resource specific properties", + "properties": { + "name": { + "$ref": "#/definitions/ResourceMetricName", + "description": "Name of the metric.", + "readOnly": true + }, + "unit": { + "description": "Unit of the metric.", + "type": "string", + "readOnly": true + }, + "primaryAggregationType": { + "description": "Primary aggregation type.", + "type": "string", + "readOnly": true + }, + "metricAvailabilities": { + "description": "List of time grains supported for the metric together with retention period.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricAvailability" + }, + "readOnly": true + }, + "resourceUri": { + "description": "Resource URI.", + "type": "string", + "readOnly": true + }, + "id": { + "description": "Resource ID.", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "Properties.", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "readOnly": true + } + }, + "x-ms-client-flatten": true + } + } + }, + "ResourceMetricDefinitionCollection": { + "description": "Collection of metric definitions.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricDefinition" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "ResourceMetricName": { + "description": "Name of a metric for any resource .", + "type": "object", + "properties": { + "value": { + "description": "metric name value.", + "type": "string", + "readOnly": true + }, + "localizedValue": { + "description": "Localized metric name value.", + "type": "string", + "readOnly": true + } + } + }, + "ResourceMetricProperty": { + "description": "Resource metric property.", + "type": "object", + "properties": { + "key": { + "description": "Key for resource metric property.", + "type": "string" + }, + "value": { + "description": "Value of pair.", + "type": "string" + } + } + }, + "ResourceMetricValue": { + "description": "Value of resource metric.", + "type": "object", + "properties": { + "timestamp": { + "description": "Value timestamp.", + "type": "string", + "readOnly": true + }, + "average": { + "format": "float", + "description": "Value average.", + "type": "number", + "readOnly": true + }, + "minimum": { + "format": "float", + "description": "Value minimum.", + "type": "number", + "readOnly": true + }, + "maximum": { + "format": "float", + "description": "Value maximum.", + "type": "number", + "readOnly": true + }, + "total": { + "format": "float", + "description": "Value total.", + "type": "number", + "readOnly": true + }, + "count": { + "format": "float", + "description": "Value count.", + "type": "number", + "readOnly": true + }, + "properties": { + "description": "Properties.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricProperty" + }, + "readOnly": true + } + } + }, + "Site": { + "description": "A web app, a mobile app backend, or an API app.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Site resource specific properties", + "properties": { + "state": { + "description": "Current state of the app.", + "type": "string", + "readOnly": true + }, + "hostNames": { + "description": "Hostnames associated with the app.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "repositorySiteName": { + "description": "Name of the repository site.", + "type": "string", + "readOnly": true + }, + "usageState": { + "description": "State indicating whether the app has exceeded its quota usage. Read-only.", + "enum": [ + "Normal", + "Exceeded" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "UsageState", + "modelAsString": false + } + }, + "enabled": { + "description": "true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).", + "type": "boolean" + }, + "enabledHostNames": { + "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\nthe app is not served on those hostnames.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "availabilityState": { + "description": "Management information availability state for the app.", + "enum": [ + "Normal", + "Limited", + "DisasterRecoveryMode" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "SiteAvailabilityState", + "modelAsString": false + } + }, + "hostNameSslStates": { + "description": "Hostname SSL states are used to manage the SSL bindings for app's hostnames.", + "type": "array", + "items": { + "$ref": "#/definitions/HostNameSslState" + } + }, + "serverFarmId": { + "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", + "type": "string" + }, + "reserved": { + "description": "true if reserved; otherwise, false.", + "default": false, + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "lastModifiedTimeUtc": { + "format": "date-time", + "description": "Last time the app was modified, in UTC. Read-only.", + "type": "string", + "readOnly": true + }, + "siteConfig": { + "$ref": "#/definitions/SiteConfig", + "description": "Configuration of the app." + }, + "trafficManagerHostNames": { + "description": "Azure Traffic Manager hostnames associated with the app. Read-only.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "scmSiteAlsoStopped": { + "description": "true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", + "default": false, + "type": "boolean" + }, + "targetSwapSlot": { + "description": "Specifies which deployment slot this app will swap into. Read-only.", + "type": "string", + "readOnly": true + }, + "hostingEnvironmentProfile": { + "$ref": "#/definitions/HostingEnvironmentProfile", + "description": "App Service Environment to use for the app.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "clientAffinityEnabled": { + "description": "true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.", + "type": "boolean" + }, + "clientCertEnabled": { + "description": "true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.", + "type": "boolean" + }, + "hostNamesDisabled": { + "description": "true to disable the public hostnames of the app; otherwise, false.\n If true, the app is only accessible via API management process.", + "type": "boolean" + }, + "outboundIpAddresses": { + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only.", + "type": "string", + "readOnly": true + }, + "possibleOutboundIpAddresses": { + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only.", + "type": "string", + "readOnly": true + }, + "containerSize": { + "format": "int32", + "description": "Size of the function container.", + "type": "integer" + }, + "dailyMemoryTimeQuota": { + "format": "int32", + "description": "Maximum allowed daily memory-time quota (applicable on dynamic apps only).", + "type": "integer" + }, + "suspendedTill": { + "format": "date-time", + "description": "App suspended till in case memory-time quota is exceeded.", + "type": "string", + "readOnly": true + }, + "maxNumberOfWorkers": { + "format": "int32", + "description": "Maximum number of workers.\nThis only applies to Functions container.", + "type": "integer", + "readOnly": true + }, + "cloningInfo": { + "$ref": "#/definitions/CloningInfo", + "description": "If specified during app creation, the app is cloned from a source app.", + "x-ms-mutability": [ + "create" + ] + }, + "snapshotInfo": { + "$ref": "#/definitions/SnapshotRecoveryRequest", + "description": "If specified during app creation, the app is created from a previous snapshot.", + "x-ms-mutability": [ + "create" + ] + }, + "resourceGroup": { + "description": "Name of the resource group the app belongs to. Read-only.", + "type": "string", + "readOnly": true + }, + "isDefaultContainer": { + "description": "true if the app is a default container; otherwise, false.", + "type": "boolean", + "readOnly": true + }, + "defaultHostName": { + "description": "Default hostname of the app. Read-only.", + "type": "string", + "readOnly": true + }, + "slotSwapStatus": { + "$ref": "#/definitions/SlotSwapStatus", + "description": "Status of the last deployment slot swap operation.", + "readOnly": true + }, + "httpsOnly": { + "description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests", + "type": "boolean" + } + }, + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/ManagedServiceIdentity" + } + } + }, + "SiteConfig": { + "description": "Configuration of an App Service app.", + "type": "object", + "properties": { + "numberOfWorkers": { + "format": "int32", + "description": "Number of workers.", + "type": "integer" + }, + "defaultDocuments": { + "description": "Default documents.", + "type": "array", + "items": { + "type": "string" + } + }, + "netFrameworkVersion": { + "description": ".NET Framework version.", + "default": "v4.6", + "type": "string" + }, + "phpVersion": { + "description": "Version of PHP.", + "type": "string" + }, + "pythonVersion": { + "description": "Version of Python.", + "type": "string" + }, + "nodeVersion": { + "description": "Version of Node.js.", + "type": "string" + }, + "linuxFxVersion": { + "description": "Linux App Framework and version", + "type": "string" + }, + "requestTracingEnabled": { + "description": "true if request tracing is enabled; otherwise, false.", + "type": "boolean" + }, + "requestTracingExpirationTime": { + "format": "date-time", + "description": "Request tracing expiration time.", + "type": "string" + }, + "remoteDebuggingEnabled": { + "description": "true if remote debugging is enabled; otherwise, false.", + "type": "boolean" + }, + "remoteDebuggingVersion": { + "description": "Remote debugging version.", + "type": "string" + }, + "httpLoggingEnabled": { + "description": "true if HTTP logging is enabled; otherwise, false.", + "type": "boolean" + }, + "logsDirectorySizeLimit": { + "format": "int32", + "description": "HTTP logs directory size limit.", + "type": "integer" + }, + "detailedErrorLoggingEnabled": { + "description": "true if detailed error logging is enabled; otherwise, false.", + "type": "boolean" + }, + "publishingUsername": { + "description": "Publishing user name.", + "type": "string" + }, + "appSettings": { + "description": "Application settings.", + "type": "array", + "items": { + "$ref": "#/definitions/NameValuePair" + } + }, + "connectionStrings": { + "description": "Connection strings.", + "type": "array", + "items": { + "$ref": "#/definitions/ConnStringInfo" + } + }, + "machineKey": { + "$ref": "#/definitions/SiteMachineKey", + "description": "Site MachineKey.", + "readOnly": true + }, + "handlerMappings": { + "description": "Handler mappings.", + "type": "array", + "items": { + "$ref": "#/definitions/HandlerMapping" + } + }, + "documentRoot": { + "description": "Document root.", + "type": "string" + }, + "scmType": { + "description": "SCM type.", + "enum": [ + "None", + "Dropbox", + "Tfs", + "LocalGit", + "GitHub", + "CodePlexGit", + "CodePlexHg", + "BitbucketGit", + "BitbucketHg", + "ExternalGit", + "ExternalHg", + "OneDrive", + "VSO" + ], + "type": "string", + "x-ms-enum": { + "name": "ScmType", + "modelAsString": true + } + }, + "use32BitWorkerProcess": { + "description": "true to use 32-bit worker process; otherwise, false.", + "type": "boolean" + }, + "webSocketsEnabled": { + "description": "true if WebSocket is enabled; otherwise, false.", + "type": "boolean" + }, + "alwaysOn": { + "description": "true if Always On is enabled; otherwise, false.", + "type": "boolean" + }, + "javaVersion": { + "description": "Java version.", + "type": "string" + }, + "javaContainer": { + "description": "Java container.", + "type": "string" + }, + "javaContainerVersion": { + "description": "Java container version.", + "type": "string" + }, + "appCommandLine": { + "description": "App command line to launch.", + "type": "string" + }, + "managedPipelineMode": { + "description": "Managed pipeline mode.", + "enum": [ + "Integrated", + "Classic" + ], + "type": "string", + "x-ms-enum": { + "name": "ManagedPipelineMode", + "modelAsString": false + } + }, + "virtualApplications": { + "description": "Virtual applications.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualApplication" + } + }, + "loadBalancing": { + "description": "Site load balancing.", + "enum": [ + "WeightedRoundRobin", + "LeastRequests", + "LeastResponseTime", + "WeightedTotalTraffic", + "RequestHash" + ], + "type": "string", + "x-ms-enum": { + "name": "SiteLoadBalancing", + "modelAsString": false + } + }, + "experiments": { + "$ref": "#/definitions/Experiments", + "description": "This is work around for polymophic types." + }, + "limits": { + "$ref": "#/definitions/SiteLimits", + "description": "Site limits." + }, + "autoHealEnabled": { + "description": "true if Auto Heal is enabled; otherwise, false.", + "type": "boolean" + }, + "autoHealRules": { + "$ref": "#/definitions/AutoHealRules", + "description": "Auto Heal rules." + }, + "tracingOptions": { + "description": "Tracing options.", + "type": "string" + }, + "vnetName": { + "description": "Virtual Network name.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "cors": { + "$ref": "#/definitions/CorsSettings", + "description": "Cross-Origin Resource Sharing (CORS) settings." + }, + "push": { + "$ref": "#/definitions/PushSettings", + "description": "Push endpoint settings." + }, + "apiDefinition": { + "$ref": "#/definitions/ApiDefinitionInfo", + "description": "Information about the formal API definition for the app." + }, + "autoSwapSlotName": { + "description": "Auto-swap slot name.", + "type": "string" + }, + "localMySqlEnabled": { + "description": "true to enable local MySQL; otherwise, false.", + "default": false, + "type": "boolean" + }, + "ipSecurityRestrictions": { + "description": "IP security restrictions.", + "type": "array", + "items": { + "$ref": "#/definitions/IpSecurityRestriction" + } + } + } + }, + "SiteLimits": { + "description": "Metric limits set on an app.", + "type": "object", + "properties": { + "maxPercentageCpu": { + "format": "double", + "description": "Maximum allowed CPU usage percentage.", + "type": "number" + }, + "maxMemoryInMb": { + "format": "int64", + "description": "Maximum allowed memory usage in MB.", + "type": "integer" + }, + "maxDiskSizeInMb": { + "format": "int64", + "description": "Maximum allowed disk size usage in MB.", + "type": "integer" + } + } + }, + "SiteMachineKey": { + "description": "MachineKey of an app.", + "type": "object", + "properties": { + "validation": { + "description": "MachineKey validation.", + "type": "string" + }, + "validationKey": { + "description": "Validation key.", + "type": "string" + }, + "decryption": { + "description": "Decryption.", + "type": "string" + }, + "decryptionKey": { + "description": "Decryption key.", + "type": "string" + } + } + }, + "SkuCapacity": { + "description": "Description of the App Service plan scale options.", + "type": "object", + "properties": { + "minimum": { + "format": "int32", + "description": "Minimum number of workers for this App Service plan SKU.", + "type": "integer" + }, + "maximum": { + "format": "int32", + "description": "Maximum number of workers for this App Service plan SKU.", + "type": "integer" + }, + "default": { + "format": "int32", + "description": "Default number of workers for this App Service plan SKU.", + "type": "integer" + }, + "scaleType": { + "description": "Available scale configurations for an App Service plan.", + "type": "string" + } + } + }, + "SkuDescription": { + "description": "Description of 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" + }, + "skuCapacity": { + "$ref": "#/definitions/SkuCapacity", + "description": "Min, max, and default scale values of the SKU." + }, + "locations": { + "description": "Locations of the SKU.", + "type": "array", + "items": { + "type": "string" + } + }, + "capabilities": { + "description": "Capabilities of the SKU, e.g., is traffic manager enabled?", + "type": "array", + "items": { + "$ref": "#/definitions/Capability" + } + } + } + }, + "SlotSwapStatus": { + "description": "The status of the last successfull slot swap operation.", + "type": "object", + "properties": { + "timestampUtc": { + "format": "date-time", + "description": "The time the last successful slot swap completed.", + "type": "string", + "readOnly": true + }, + "sourceSlotName": { + "description": "The source slot of the last swap operation.", + "type": "string", + "readOnly": true + }, + "destinationSlotName": { + "description": "The destination slot of the last swap operation.", + "type": "string", + "readOnly": true + } + } + }, + "SlowRequestsBasedTrigger": { + "description": "Trigger based on request execution time.", + "type": "object", + "properties": { + "timeTaken": { + "description": "Time taken.", + "type": "string" + }, + "count": { + "format": "int32", + "description": "Count.", + "type": "integer" + }, + "timeInterval": { + "description": "Time interval.", + "type": "string" + } + } + }, + "SnapshotRecoveryRequest": { + "description": "Details about app recovery operation.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "SnapshotRecoveryRequest resource specific properties", + "required": [ + "overwrite" + ], + "properties": { + "snapshotTime": { + "description": "Point in time in which the app recovery should be attempted, formatted as a DateTime string.", + "type": "string" + }, + "recoveryTarget": { + "$ref": "#/definitions/SnapshotRecoveryTarget", + "description": "Specifies the web app that snapshot contents will be written to." + }, + "overwrite": { + "description": "If true the recovery operation can overwrite source app; otherwise, false.", + "type": "boolean" + }, + "recoverConfiguration": { + "description": "If true, site configuration, in addition to content, will be reverted.", + "type": "boolean" + }, + "ignoreConflictingHostNames": { + "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\nThis setting is only necessary when RecoverConfiguration is enabled.", + "type": "boolean" + } + }, + "x-ms-client-flatten": true + } + } + }, + "SnapshotRecoveryTarget": { + "description": "Specifies the web app that snapshot contents will be written to.", + "type": "object", + "properties": { + "location": { + "description": "Geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS", + "type": "string" + }, + "id": { + "description": "ARM resource ID of the target app. \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "type": "string" + } + } + }, + "StatusCodesBasedTrigger": { + "description": "Trigger based on status code.", + "type": "object", + "properties": { + "status": { + "format": "int32", + "description": "HTTP status code.", + "type": "integer" + }, + "subStatus": { + "format": "int32", + "description": "SubStatus.", + "type": "integer" + }, + "win32Status": { + "format": "int32", + "description": "Win32 error code.", + "type": "integer" + }, + "count": { + "format": "int32", + "description": "Count.", + "type": "integer" + }, + "timeInterval": { + "description": "Time interval.", + "type": "string" + } + } + }, + "VirtualApplication": { + "description": "Virtual application in an app.", + "type": "object", + "properties": { + "virtualPath": { + "description": "Virtual path.", + "type": "string" + }, + "physicalPath": { + "description": "Physical path.", + "type": "string" + }, + "preloadEnabled": { + "description": "true if preloading is enabled; otherwise, false.", + "type": "boolean" + }, + "virtualDirectories": { + "description": "Virtual directories for virtual application.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualDirectory" + } + } + } + }, + "VirtualDirectory": { + "description": "Directory for virtual application.", + "type": "object", + "properties": { + "virtualPath": { + "description": "Path to virtual application.", + "type": "string" + }, + "physicalPath": { + "description": "Physical path.", + "type": "string" + } + } + }, + "VnetGateway": { + "description": "The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "VnetGateway resource specific properties", + "required": [ + "vpnPackageUri" + ], + "properties": { + "vnetName": { + "description": "The Virtual Network name.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "vpnPackageUri": { + "description": "The URI where the VPN package can be downloaded.", + "type": "string", + "x-ms-mutability": [ + "create", + "update" + ] + } + }, + "x-ms-client-flatten": true + } + } + }, + "VnetInfo": { + "description": "Virtual Network information contract.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "VnetInfo resource specific properties", + "properties": { + "vnetResourceId": { + "description": "The Virtual Network's resource ID.", + "type": "string" + }, + "certThumbprint": { + "description": "The client certificate thumbprint.", + "type": "string", + "readOnly": true + }, + "certBlob": { + "format": "byte", + "description": "A certificate file (.cer) blob containing the public key of the private key used to authenticate a \nPoint-To-Site VPN connection.", + "type": "string" + }, + "routes": { + "description": "The routes that this Virtual Network connection uses.", + "type": "array", + "items": { + "$ref": "#/definitions/VnetRoute" + }, + "readOnly": true + }, + "resyncRequired": { + "description": "true if a resync is required; otherwise, false.", + "type": "boolean", + "readOnly": true + }, + "dnsServers": { + "description": "DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses.", + "type": "string" + } + }, + "x-ms-client-flatten": true + } + } + }, + "VnetRoute": { + "description": "Virtual Network route contract used to pass routing information for a Virtual Network.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "VnetRoute resource specific properties", + "properties": { + "name": { + "description": "The name of this route. This is only returned by the server and does not need to be set by the client.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-ms-client-name": "vnetRouteName" + }, + "startAddress": { + "description": "The starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified.", + "type": "string" + }, + "endAddress": { + "description": "The ending address for this route. If the start address is specified in CIDR notation, this must be omitted.", + "type": "string" + }, + "routeType": { + "description": "The type of route this is:\nDEFAULT - By default, every app has routes to the local address ranges specified by RFC1918\nINHERITED - Routes inherited from the real Virtual Network routes\nSTATIC - Static route set on the app only\n\nThese values will be used for syncing an app's routes with those from a Virtual Network.", + "enum": [ + "DEFAULT", + "INHERITED", + "STATIC" + ], + "type": "string", + "x-ms-enum": { + "name": "RouteType", + "modelAsString": true + } + } + }, + "x-ms-client-flatten": true + } + } + }, + "WebAppCollection": { + "description": "Collection of App Service apps.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/Site" } }, "nextLink": { diff --git a/specification/web/resource-manager/readme.md b/specification/web/resource-manager/readme.md index fdb92218c912..fd7c6f050e0f 100644 --- a/specification/web/resource-manager/readme.md +++ b/specification/web/resource-manager/readme.md @@ -48,7 +48,6 @@ input-file: - Microsoft.DomainRegistration/2015-04-01/Domains.json - Microsoft.DomainRegistration/2015-04-01/TopLevelDomains.json - Microsoft.Web/2016-03-01/Certificates.json -- Microsoft.Web/2016-03-01/CommonDefinitions.json - Microsoft.Web/2016-03-01/DeletedWebApps.json - Microsoft.Web/2016-03-01/Provider.json - Microsoft.Web/2016-03-01/Recommendations.json From 947835742558dfaf6eb03f6a53b0b12f1d8cd246 Mon Sep 17 00:00:00 2001 From: Navy Aziz Date: Fri, 20 Oct 2017 10:21:29 -0700 Subject: [PATCH 22/27] Revert Model Resource to have required location. --- .../2015-08-01/AppServiceCertificateOrders.json | 9 ++++----- .../Microsoft.DomainRegistration/2015-04-01/Domains.json | 9 ++++----- .../Microsoft.Web/2016-03-01/Certificates.json | 9 ++++----- .../Microsoft.Web/2016-03-01/CommonDefinitions.json | 9 ++++----- .../Microsoft.Web/2016-08-01/WebApps.json | 9 ++++----- .../Microsoft.Web/2016-09-01/AppServiceEnvironments.json | 9 ++++----- .../Microsoft.Web/2016-09-01/AppServicePlans.json | 9 ++++----- 7 files changed, 28 insertions(+), 35 deletions(-) diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json index b2158d93b895..a3996798ff08 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json @@ -1534,6 +1534,9 @@ }, "Resource": { "description": "Azure resource. This resource is tracked in Azure Resource Manager", + "required": [ + "location" + ], "properties": { "id": { "description": "Resource Id.", @@ -1551,11 +1554,7 @@ }, "location": { "description": "Resource Location.", - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ] + "type": "string" }, "type": { "description": "Resource type.", diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json b/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json index 9c506f82ecd8..93f008aa849e 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json @@ -1327,6 +1327,9 @@ }, "Resource": { "description": "Azure resource. This resource is tracked in Azure Resource Manager", + "required": [ + "location" + ], "properties": { "id": { "description": "Resource Id.", @@ -1344,11 +1347,7 @@ }, "location": { "description": "Resource Location.", - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ] + "type": "string" }, "type": { "description": "Resource type.", diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json index 81cf04cf5a1d..ef4b3b8ba8e0 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json @@ -583,6 +583,9 @@ }, "Resource": { "description": "Azure resource. This resource is tracked in Azure Resource Manager", + "required": [ + "location" + ], "properties": { "id": { "description": "Resource Id.", @@ -600,11 +603,7 @@ }, "location": { "description": "Resource Location.", - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ] + "type": "string" }, "type": { "description": "Resource type.", diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/CommonDefinitions.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/CommonDefinitions.json index f918e406faa7..f05ec6843e7f 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/CommonDefinitions.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/CommonDefinitions.json @@ -1165,6 +1165,9 @@ }, "Resource": { "description": "Azure resource. This resource is tracked in Azure Resource Manager", + "required": [ + "location" + ], "properties": { "id": { "description": "Resource Id.", @@ -1182,11 +1185,7 @@ }, "location": { "description": "Resource Location.", - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ] + "type": "string" }, "type": { "description": "Resource type.", diff --git a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json index 5c5c83fe8f04..9a78a8f47b6b 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json @@ -17552,6 +17552,9 @@ }, "Resource": { "description": "Azure resource. This resource is tracked in Azure Resource Manager", + "required": [ + "location" + ], "properties": { "id": { "description": "Resource Id.", @@ -17569,11 +17572,7 @@ }, "location": { "description": "Resource Location.", - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ] + "type": "string" }, "type": { "description": "Resource type.", diff --git a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json index 426e42a14e69..ad17481136c3 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json @@ -3042,6 +3042,9 @@ }, "Resource": { "description": "Azure resource. This resource is tracked in Azure Resource Manager", + "required": [ + "location" + ], "properties": { "id": { "description": "Resource Id.", @@ -3059,11 +3062,7 @@ }, "location": { "description": "Resource Location.", - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ] + "type": "string" }, "type": { "description": "Resource type.", diff --git a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json index f8684f37894e..583239dd2c52 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json @@ -2316,6 +2316,9 @@ }, "Resource": { "description": "Azure resource. This resource is tracked in Azure Resource Manager", + "required": [ + "location" + ], "properties": { "id": { "description": "Resource Id.", @@ -2333,11 +2336,7 @@ }, "location": { "description": "Resource Location.", - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ] + "type": "string" }, "type": { "description": "Resource type.", From e1592df2167040b2a0a07750a16951b2a4ab1421 Mon Sep 17 00:00:00 2001 From: Navy Aziz Date: Fri, 20 Oct 2017 10:49:20 -0700 Subject: [PATCH 23/27] Fixing a few straglers --- .../2016-03-01/CommonDefinitions.json | 4 +-- .../2016-03-01/ResourceProvider.json | 4 +-- .../Microsoft.Web/2016-08-01/WebApps.json | 25 +++++++++++++------ .../2016-09-01/AppServiceEnvironments.json | 8 ++++-- .../2016-09-01/AppServicePlans.json | 4 +++ 5 files changed, 31 insertions(+), 14 deletions(-) diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/CommonDefinitions.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/CommonDefinitions.json index f05ec6843e7f..db432dd033c3 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/CommonDefinitions.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/CommonDefinitions.json @@ -2159,13 +2159,13 @@ "workerSize": { "description": "Size of the machines.", "enum": [ + "Default", "Small", "Medium", "Large", "D1", "D2", - "D3", - "Default" + "D3" ], "type": "string", "x-ms-enum": { diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json index 0bb5b03c5541..c27d25e7ea8c 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json @@ -1196,13 +1196,13 @@ "workerSize": { "description": "Size of the machines.", "enum": [ + "Default", "Small", "Medium", "Large", "D1", "D2", - "D3", - "Default" + "D3" ], "type": "string", "x-ms-enum": { diff --git a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json index 9a78a8f47b6b..41b689fdaabc 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json @@ -15293,6 +15293,10 @@ "trafficManagerProfileName": { "description": "Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.", "type": "string" + }, + "ignoreQuotas": { + "description": "true if quotas should be ignored; otherwise, false.", + "type": "boolean" } } }, @@ -15437,7 +15441,7 @@ "description": "Extra Info URL.", "type": "string" }, - "JobType": { + "jobType": { "description": "Job type.", "enum": [ "Continuous", @@ -16002,7 +16006,7 @@ "description": "Secret key.", "type": "string" }, - "trigger_url": { + "triggerUrl": { "description": "Trigger URL.", "type": "string" } @@ -16854,6 +16858,11 @@ "format": "double", "description": "Value of counter at a certain time.", "type": "number" + }, + "coreCount": { + "format": "int32", + "description": "Core Count of worker. Not a data member", + "type": "integer" } } }, @@ -17093,7 +17102,7 @@ "description": "Paged system memory.", "type": "integer" }, - "nonPagedSystemMemorySize64": { + "nonpagedSystemMemorySize64": { "format": "int64", "description": "Non-paged system memory.", "type": "integer" @@ -17501,7 +17510,7 @@ "type": "object", "allOf": [ { - "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -18760,7 +18769,7 @@ "type": "string" } }, - "installerCommandLineParams": { + "installationArgs": { "description": "Installer command line parameters.", "type": "string" }, @@ -19599,7 +19608,7 @@ "properties": { "description": "TriggeredJobHistory resource specific properties", "properties": { - "runs": { + "triggeredJobRuns": { "description": "List of triggered web job runs.", "type": "array", "items": { @@ -19749,7 +19758,7 @@ "description": "Extra Info URL.", "type": "string" }, - "type": { + "jobType": { "description": "Job type.", "enum": [ "Continuous", @@ -20084,7 +20093,7 @@ "description": "Extra Info URL.", "type": "string" }, - "type": { + "jobType": { "description": "Job type.", "enum": [ "Continuous", diff --git a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json index ad17481136c3..4e0383acf992 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json @@ -2455,6 +2455,10 @@ "trafficManagerProfileName": { "description": "Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.", "type": "string" + }, + "ignoreQuotas": { + "description": "true if quotas should be ignored; otherwise, false.", + "type": "boolean" } } }, @@ -4074,13 +4078,13 @@ "workerSize": { "description": "Size of the machines.", "enum": [ + "Default", "Small", "Medium", "Large", "D1", "D2", - "D3", - "Default" + "D3" ], "type": "string", "x-ms-enum": { diff --git a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json index 583239dd2c52..82154e3834d2 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json @@ -1792,6 +1792,10 @@ "trafficManagerProfileName": { "description": "Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.", "type": "string" + }, + "ignoreQuotas": { + "description": "true if quotas should be ignored; otherwise, false.", + "type": "boolean" } } }, From 71b15d0c99693c9064ecb78b2c180d38a46899c9 Mon Sep 17 00:00:00 2001 From: Navy Aziz Date: Mon, 23 Oct 2017 13:06:19 -0700 Subject: [PATCH 24/27] Use relative references to models in common definitions json. Remove duplicate models from each swagger collection doc --- .../AppServiceCertificateOrders.json | 92 +- .../2015-04-01/Domains.json | 84 +- .../2015-04-01/TopLevelDomains.json | 27 +- .../2016-03-01/Certificates.json | 92 +- .../2016-03-01/ResourceProvider.json | 568 +--- .../Microsoft.Web/2016-08-01/WebApps.json | 2095 +------------- .../2016-09-01/AppServiceEnvironments.json | 2489 +---------------- .../2016-09-01/AppServicePlans.json | 2056 +------------- specification/web/resource-manager/readme.md | 1 + 9 files changed, 329 insertions(+), 7175 deletions(-) diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json index a3996798ff08..87202f66fa8b 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json @@ -655,7 +655,7 @@ "description": "Email address", "required": true, "schema": { - "$ref": "#/definitions/NameIdentifier" + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/NameIdentifier" } }, { @@ -891,7 +891,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/Resource" } ], "properties": { @@ -1095,7 +1095,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -1279,7 +1279,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -1295,7 +1295,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/Resource" } ], "properties": { @@ -1365,7 +1365,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -1391,7 +1391,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/Resource" } ], "properties": { @@ -1432,47 +1432,12 @@ } } }, - "NameIdentifier": { - "description": "Identifies an object.", - "type": "object", - "properties": { - "name": { - "description": "Name of the object.", - "type": "string" - } - } - }, - "ProxyOnlyResource": { - "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - } - }, - "x-ms-azure-resource": true - }, "ReissueCertificateOrderRequest": { "description": "Class representing certificate reissue request.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/Resource" } ], "properties": { @@ -1507,7 +1472,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/Resource" } ], "properties": { @@ -1532,45 +1497,6 @@ } } }, - "Resource": { - "description": "Azure resource. This resource is tracked in Azure Resource Manager", - "required": [ - "location" - ], - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "location": { - "description": "Resource Location.", - "type": "string" - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - }, - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "x-ms-azure-resource": true - }, "SiteSeal": { "description": "Site seal", "required": [ diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json b/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json index 93f008aa849e..8016d31713e9 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json @@ -30,7 +30,7 @@ "description": "Name of the domain.", "required": true, "schema": { - "$ref": "#/definitions/NameIdentifier" + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/NameIdentifier" } }, { @@ -667,7 +667,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/Resource" } ], "properties": { @@ -937,7 +937,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -978,7 +978,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -1270,16 +1270,6 @@ } } }, - "NameIdentifier": { - "description": "Identifies an object.", - "type": "object", - "properties": { - "name": { - "description": "Name of the object.", - "type": "string" - } - } - }, "NameIdentifierCollection": { "description": "Collection of domain name identifiers.", "required": [ @@ -1291,7 +1281,7 @@ "description": "Collection of resources.", "type": "array", "items": { - "$ref": "#/definitions/NameIdentifier" + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/NameIdentifier" } }, "nextLink": { @@ -1299,70 +1289,6 @@ "type": "string" } } - }, - "ProxyOnlyResource": { - "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - } - }, - "x-ms-azure-resource": true - }, - "Resource": { - "description": "Azure resource. This resource is tracked in Azure Resource Manager", - "required": [ - "location" - ], - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "location": { - "description": "Resource Location.", - "type": "string" - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - }, - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "x-ms-azure-resource": true } }, "parameters": { diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/TopLevelDomains.json b/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/TopLevelDomains.json index a551aaacba3c..a08a14a46c5d 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/TopLevelDomains.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/TopLevelDomains.json @@ -124,31 +124,6 @@ } }, "definitions": { - "ProxyOnlyResource": { - "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - } - }, - "x-ms-azure-resource": true - }, "TldLegalAgreement": { "description": "Legal agreement for a top level domain.", "required": [ @@ -201,7 +176,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../../Microsoft.Web/2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json index ef4b3b8ba8e0..abb867e6d1b4 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json @@ -239,7 +239,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "./CommonDefinitions.json#/definitions/Resource" } ], "properties": { @@ -327,7 +327,7 @@ "readOnly": true }, "hostingEnvironmentProfile": { - "$ref": "#/definitions/HostingEnvironmentProfile", + "$ref": "./CommonDefinitions.json#/definitions/HostingEnvironmentProfile", "description": "Specification for the App Service Environment to use for the certificate.", "readOnly": true }, @@ -400,7 +400,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -488,7 +488,7 @@ "readOnly": true }, "hostingEnvironmentProfile": { - "$ref": "#/definitions/HostingEnvironmentProfile", + "$ref": "./CommonDefinitions.json#/definitions/HostingEnvironmentProfile", "description": "Specification for the App Service Environment to use for the certificate.", "readOnly": true }, @@ -535,90 +535,6 @@ "x-ms-client-flatten": true } } - }, - "HostingEnvironmentProfile": { - "description": "Specification for an App Service Environment to use for this resource.", - "type": "object", - "properties": { - "id": { - "description": "Resource ID of the App Service Environment.", - "type": "string" - }, - "name": { - "description": "Name of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Resource type of the App Service Environment.", - "type": "string", - "readOnly": true - } - } - }, - "ProxyOnlyResource": { - "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - } - }, - "x-ms-azure-resource": true - }, - "Resource": { - "description": "Azure resource. This resource is tracked in Azure Resource Manager", - "required": [ - "location" - ], - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "location": { - "description": "Resource Location.", - "type": "string" - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - }, - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "x-ms-azure-resource": true } }, "parameters": { diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json index c27d25e7ea8c..c954aedbe6fa 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json @@ -29,7 +29,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/User" + "$ref": "./CommonDefinitions.json#/definitions/User" } } } @@ -45,7 +45,7 @@ "description": "Details of publishing user", "required": true, "schema": { - "$ref": "#/definitions/User" + "$ref": "./CommonDefinitions.json#/definitions/User" } }, { @@ -56,7 +56,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/User" + "$ref": "./CommonDefinitions.json#/definitions/User" } } } @@ -441,251 +441,6 @@ } }, "definitions": { - "AppServiceEnvironment": { - "description": "Description of an App Service Environment.", - "required": [ - "name", - "location", - "virtualNetwork", - "workerPools" - ], - "type": "object", - "properties": { - "name": { - "description": "Name of the App Service Environment.", - "type": "string" - }, - "location": { - "description": "Location of the App Service Environment, e.g. \"West US\".", - "type": "string" - }, - "provisioningState": { - "description": "Provisioning state of the App Service Environment.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "InProgress", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": false - } - }, - "status": { - "description": "Current status of the App Service Environment.", - "enum": [ - "Preparing", - "Ready", - "Scaling", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "HostingEnvironmentStatus", - "modelAsString": false - } - }, - "vnetName": { - "description": "Name of the Virtual Network for the App Service Environment.", - "type": "string" - }, - "vnetResourceGroupName": { - "description": "Resource group of the Virtual Network.", - "type": "string" - }, - "vnetSubnetName": { - "description": "Subnet of the Virtual Network.", - "type": "string" - }, - "virtualNetwork": { - "$ref": "#/definitions/VirtualNetworkProfile", - "description": "Description of the Virtual Network." - }, - "internalLoadBalancingMode": { - "description": "Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment.", - "enum": [ - "None", - "Web", - "Publishing" - ], - "type": "string", - "x-ms-enum": { - "name": "InternalLoadBalancingMode", - "modelAsString": false - } - }, - "multiSize": { - "description": "Front-end VM size, e.g. \"Medium\", \"Large\".", - "type": "string" - }, - "multiRoleCount": { - "format": "int32", - "description": "Number of front-end instances.", - "type": "integer" - }, - "workerPools": { - "description": "Description of worker pools with worker size IDs, VM sizes, and number of workers in each pool.", - "type": "array", - "items": { - "$ref": "#/definitions/WorkerPool" - } - }, - "ipsslAddressCount": { - "format": "int32", - "description": "Number of IP SSL addresses reserved for the App Service Environment.", - "type": "integer" - }, - "databaseEdition": { - "description": "Edition of the metadata database for the App Service Environment, e.g. \"Standard\".", - "type": "string", - "readOnly": true - }, - "databaseServiceObjective": { - "description": "Service objective of the metadata database for the App Service Environment, e.g. \"S0\".", - "type": "string", - "readOnly": true - }, - "upgradeDomains": { - "format": "int32", - "description": "Number of upgrade domains of the App Service Environment.", - "type": "integer", - "readOnly": true - }, - "subscriptionId": { - "description": "Subscription of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "dnsSuffix": { - "description": "DNS suffix of the App Service Environment.", - "type": "string" - }, - "lastAction": { - "description": "Last deployment action on the App Service Environment.", - "type": "string", - "readOnly": true - }, - "lastActionResult": { - "description": "Result of the last deployment action on the App Service Environment.", - "type": "string", - "readOnly": true - }, - "allowedMultiSizes": { - "description": "List of comma separated strings describing which VM sizes are allowed for front-ends.", - "type": "string", - "readOnly": true - }, - "allowedWorkerSizes": { - "description": "List of comma separated strings describing which VM sizes are allowed for workers.", - "type": "string", - "readOnly": true - }, - "maximumNumberOfMachines": { - "format": "int32", - "description": "Maximum number of VMs in the App Service Environment.", - "type": "integer", - "readOnly": true - }, - "vipMappings": { - "description": "Description of IP SSL mapping for the App Service Environment.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualIPMapping" - }, - "readOnly": true - }, - "environmentCapacities": { - "description": "Current total, used, and available worker capacities.", - "type": "array", - "items": { - "$ref": "#/definitions/StampCapacity" - }, - "readOnly": true - }, - "networkAccessControlList": { - "description": "Access control list for controlling traffic to the App Service Environment.", - "type": "array", - "items": { - "$ref": "#/definitions/NetworkAccessControlEntry" - } - }, - "environmentIsHealthy": { - "description": "True/false indicating whether the App Service Environment is healthy.", - "type": "boolean", - "readOnly": true - }, - "environmentStatus": { - "description": "Detailed message about with results of the last check of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "resourceGroup": { - "description": "Resource group of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "frontEndScaleFactor": { - "format": "int32", - "description": "Scale factor for front-ends.", - "type": "integer" - }, - "defaultFrontEndScaleFactor": { - "format": "int32", - "description": "Default Scale Factor for FrontEnds.", - "type": "integer", - "readOnly": true - }, - "apiManagementAccountId": { - "description": "API Management Account associated with the App Service Environment.", - "type": "string" - }, - "suspended": { - "description": "true if the App Service Environment is suspended; otherwise, false. The environment can be suspended, e.g. when the management endpoint is no longer available\n (most likely because NSG blocked the incoming traffic).", - "type": "boolean" - }, - "dynamicCacheEnabled": { - "description": "True/false indicating whether the App Service Environment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available\n(most likely because NSG blocked the incoming traffic).", - "type": "boolean" - }, - "clusterSettings": { - "description": "Custom settings for changing the behavior of the App Service Environment.", - "type": "array", - "items": { - "$ref": "#/definitions/NameValuePair" - } - }, - "userWhitelistedIpRanges": { - "description": "User added ip ranges to whitelist on ASE db", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "Capability": { - "description": "Describes the capabilities/features allowed for a specific SKU.", - "type": "object", - "properties": { - "name": { - "description": "Name of the SKU capability.", - "type": "string" - }, - "value": { - "description": "Value of the SKU capability.", - "type": "string" - }, - "reason": { - "description": "Reason of the SKU capability.", - "type": "string" - } - } - }, "CsmMoveResourceEnvelope": { "description": "Object with a list of the resources that need to be moved and the resource group they should be moved to.", "type": "object", @@ -719,7 +474,7 @@ "description": "Available App Service Environments with full descriptions of the environments.", "type": "array", "items": { - "$ref": "#/definitions/AppServiceEnvironment" + "$ref": "./CommonDefinitions.json#/definitions/AppServiceEnvironment" } }, "hostingEnvironmentDeploymentInfos": { @@ -736,7 +491,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -804,7 +559,7 @@ "type": "string" }, "capacity": { - "$ref": "#/definitions/SkuCapacity", + "$ref": "./CommonDefinitions.json#/definitions/SkuCapacity", "description": "Min, max, and default scale values of the SKU." }, "locations": { @@ -818,7 +573,7 @@ "description": "Capabilities of the SKU, e.g., is traffic manager enabled?", "type": "array", "items": { - "$ref": "#/definitions/Capability" + "$ref": "./CommonDefinitions.json#/definitions/Capability" } } } @@ -837,57 +592,12 @@ } } }, - "NameValuePair": { - "description": "Name value pair.", - "type": "object", - "properties": { - "name": { - "description": "Pair name.", - "type": "string" - }, - "value": { - "description": "Pair value.", - "type": "string" - } - } - }, - "NetworkAccessControlEntry": { - "description": "Network access control entry.", - "type": "object", - "properties": { - "action": { - "description": "Action object.", - "enum": [ - "Permit", - "Deny" - ], - "type": "string", - "x-ms-enum": { - "name": "AccessControlEntryAction", - "modelAsString": false - } - }, - "description": { - "description": "Description.", - "type": "string" - }, - "order": { - "format": "int32", - "description": "Order of precedence.", - "type": "integer" - }, - "remoteSubnet": { - "description": "Remote subnet.", - "type": "string" - } - } - }, "PremierAddOnOffer": { "description": "Premier add-on offer.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -976,31 +686,6 @@ } } }, - "ProxyOnlyResource": { - "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - } - }, - "x-ms-azure-resource": true - }, "ResourceNameAvailability": { "description": "Information regarding availbility of a resource name.", "type": "object", @@ -1058,31 +743,6 @@ } } }, - "SkuCapacity": { - "description": "Description of the App Service plan scale options.", - "type": "object", - "properties": { - "minimum": { - "format": "int32", - "description": "Minimum number of workers for this App Service plan SKU.", - "type": "integer" - }, - "maximum": { - "format": "int32", - "description": "Maximum number of workers for this App Service plan SKU.", - "type": "integer" - }, - "default": { - "format": "int32", - "description": "Default number of workers for this App Service plan SKU.", - "type": "integer" - }, - "scaleType": { - "description": "Available scale configurations for an App Service plan.", - "type": "string" - } - } - }, "SkuInfos": { "description": "Collection of SKU information.", "type": "object", @@ -1105,7 +765,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -1158,121 +818,6 @@ } } }, - "StampCapacity": { - "description": "Stamp capacity information.", - "type": "object", - "properties": { - "name": { - "description": "Name of the stamp.", - "type": "string" - }, - "availableCapacity": { - "format": "int64", - "description": "Available capacity (# of machines, bytes of storage etc...).", - "type": "integer" - }, - "totalCapacity": { - "format": "int64", - "description": "Total capacity (# of machines, bytes of storage etc...).", - "type": "integer" - }, - "unit": { - "description": "Name of the unit.", - "type": "string" - }, - "computeMode": { - "description": "Shared/dedicated workers.", - "enum": [ - "Shared", - "Dedicated", - "Dynamic" - ], - "type": "string", - "x-ms-enum": { - "name": "ComputeModeOptions", - "modelAsString": false - } - }, - "workerSize": { - "description": "Size of the machines.", - "enum": [ - "Default", - "Small", - "Medium", - "Large", - "D1", - "D2", - "D3" - ], - "type": "string", - "x-ms-enum": { - "name": "WorkerSizeOptions", - "modelAsString": false - } - }, - "workerSizeId": { - "format": "int32", - "description": "Size ID of machines: \n0 - Small\n1 - Medium\n2 - Large", - "type": "integer" - }, - "excludeFromCapacityAllocation": { - "description": "If true, it includes basic apps.\nBasic apps are not used for capacity allocation.", - "type": "boolean" - }, - "isApplicableForAllComputeModes": { - "description": "true if capacity is applicable for all apps; otherwise, false.", - "type": "boolean" - }, - "siteMode": { - "description": "Shared or Dedicated.", - "type": "string" - } - } - }, - "User": { - "description": "User crendentials used for publishing activity.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "User resource specific properties", - "required": [ - "publishingUserName" - ], - "properties": { - "name": { - "description": "Username", - "type": "string", - "x-ms-client-name": "UserName" - }, - "publishingUserName": { - "description": "Username used for publishing.", - "type": "string" - }, - "publishingPassword": { - "format": "password", - "description": "Password used for publishing.", - "type": "string" - }, - "publishingPasswordHash": { - "format": "password", - "description": "Password hash used for publishing.", - "type": "string" - }, - "publishingPasswordHashSalt": { - "format": "password", - "description": "Password hash salt used for publishing.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, "ValidateProperties": { "description": "App properties used for validation.", "type": "object", @@ -1370,60 +915,12 @@ } } }, - "VirtualIPMapping": { - "description": "Virtual IP mapping.", - "type": "object", - "properties": { - "virtualIP": { - "description": "Virtual IP address.", - "type": "string" - }, - "internalHttpPort": { - "format": "int32", - "description": "Internal HTTP port.", - "type": "integer" - }, - "internalHttpsPort": { - "format": "int32", - "description": "Internal HTTPS port.", - "type": "integer" - }, - "inUse": { - "description": "Is virtual IP mapping in use.", - "type": "boolean" - } - } - }, - "VirtualNetworkProfile": { - "description": "Specification for using a Virtual Network.", - "type": "object", - "properties": { - "id": { - "description": "Resource id of the Virtual Network.", - "type": "string" - }, - "name": { - "description": "Name of the Virtual Network (read-only).", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Resource type of the Virtual Network (read-only).", - "type": "string", - "readOnly": true - }, - "subnet": { - "description": "Subnet within the Virtual Network.", - "type": "string" - } - } - }, "VnetParameters": { "description": "The required set of inputs to validate a VNET", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -1452,7 +949,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -1480,7 +977,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -1499,47 +996,6 @@ "x-ms-client-flatten": true } } - }, - "WorkerPool": { - "description": "Worker pool of an App Service Environment.", - "type": "object", - "properties": { - "workerSizeId": { - "format": "int32", - "description": "Worker size ID for referencing this worker pool.", - "type": "integer" - }, - "computeMode": { - "description": "Shared or dedicated app hosting.", - "enum": [ - "Shared", - "Dedicated", - "Dynamic" - ], - "type": "string", - "x-ms-enum": { - "name": "ComputeModeOptions", - "modelAsString": false - } - }, - "workerSize": { - "description": "VM size of the worker pool instances.", - "type": "string" - }, - "workerCount": { - "format": "int32", - "description": "Number of instances in the worker pool.", - "type": "integer" - }, - "instanceNames": { - "description": "Names of all instances in the worker pool (read only).", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - } - } } }, "parameters": { diff --git a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json index 41b689fdaabc..bfc0a50b66f1 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json @@ -35,7 +35,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/WebAppCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WebAppCollection" } } }, @@ -73,7 +73,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/WebAppCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WebAppCollection" } } }, @@ -112,7 +112,7 @@ "200": { "description": "OK.", "schema": { - "$ref": "#/definitions/Site" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" } }, "404": { @@ -144,7 +144,7 @@ "description": "A JSON representation of the app properties. See example.", "required": true, "schema": { - "$ref": "#/definitions/Site" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" } }, { @@ -182,13 +182,13 @@ "200": { "description": "OK.", "schema": { - "$ref": "#/definitions/Site" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" } }, "202": { "description": "Asynchronous operation in progress.", "schema": { - "$ref": "#/definitions/Site" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" } } }, @@ -311,13 +311,13 @@ "200": { "description": "OK.", "schema": { - "$ref": "#/definitions/Site" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" } }, "202": { "description": "Asynchronous operation in progress.", "schema": { - "$ref": "#/definitions/Site" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" } } } @@ -1309,7 +1309,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/User" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/User" } } }, @@ -1341,7 +1341,7 @@ "description": "Push settings associated with web app.", "required": true, "schema": { - "$ref": "#/definitions/PushSettings" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/PushSettings" } }, { @@ -1355,7 +1355,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/PushSettings" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/PushSettings" } } } @@ -1391,7 +1391,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/PushSettings" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/PushSettings" } } } @@ -3047,7 +3047,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HybridConnection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" } } } @@ -3090,7 +3090,7 @@ "description": "The details of the hybrid connection.", "required": true, "schema": { - "$ref": "#/definitions/HybridConnection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" } }, { @@ -3104,7 +3104,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HybridConnection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" } } } @@ -3195,7 +3195,7 @@ "description": "The details of the hybrid connection.", "required": true, "schema": { - "$ref": "#/definitions/HybridConnection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" } }, { @@ -3209,7 +3209,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HybridConnection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" } } } @@ -3259,7 +3259,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HybridConnectionKey" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnectionKey" } } } @@ -3295,7 +3295,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HybridConnection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" } } } @@ -4240,7 +4240,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ResourceMetricDefinitionCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricDefinitionCollection" } } }, @@ -4292,7 +4292,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ResourceMetricCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricCollection" } } }, @@ -4393,7 +4393,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Operation" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Operation" } } }, @@ -5481,7 +5481,7 @@ "description": "Snapshot data used for web app recovery. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API.", "required": true, "schema": { - "$ref": "#/definitions/SnapshotRecoveryRequest" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SnapshotRecoveryRequest" } }, { @@ -5787,7 +5787,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/WebAppCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WebAppCollection" } } }, @@ -5833,7 +5833,7 @@ "200": { "description": "OK.", "schema": { - "$ref": "#/definitions/Site" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" } }, "404": { @@ -5865,7 +5865,7 @@ "description": "A JSON representation of the app properties. See example.", "required": true, "schema": { - "$ref": "#/definitions/Site" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" } }, { @@ -5910,13 +5910,13 @@ "200": { "description": "OK.", "schema": { - "$ref": "#/definitions/Site" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" } }, "202": { "description": "Asynchronous operation in progress.", "schema": { - "$ref": "#/definitions/Site" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" } } }, @@ -6053,13 +6053,13 @@ "200": { "description": "OK.", "schema": { - "$ref": "#/definitions/Site" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" } }, "202": { "description": "Asynchronous operation in progress.", "schema": { - "$ref": "#/definitions/Site" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Site" } } } @@ -7219,7 +7219,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/User" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/User" } } }, @@ -7251,7 +7251,7 @@ "description": "Push settings associated with web app.", "required": true, "schema": { - "$ref": "#/definitions/PushSettings" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/PushSettings" } }, { @@ -7272,7 +7272,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/PushSettings" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/PushSettings" } } } @@ -7315,7 +7315,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/PushSettings" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/PushSettings" } } } @@ -9151,7 +9151,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HybridConnection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" } } } @@ -9194,7 +9194,7 @@ "description": "The details of the hybrid connection.", "required": true, "schema": { - "$ref": "#/definitions/HybridConnection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" } }, { @@ -9215,7 +9215,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HybridConnection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" } } } @@ -9313,7 +9313,7 @@ "description": "The details of the hybrid connection.", "required": true, "schema": { - "$ref": "#/definitions/HybridConnection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" } }, { @@ -9334,7 +9334,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HybridConnection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" } } } @@ -9391,7 +9391,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HybridConnectionKey" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnectionKey" } } } @@ -9434,7 +9434,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HybridConnection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" } } } @@ -10519,7 +10519,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ResourceMetricDefinitionCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricDefinitionCollection" } } }, @@ -10578,7 +10578,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ResourceMetricCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricCollection" } } }, @@ -11836,7 +11836,7 @@ "description": "Snapshot data used for web app recovery. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API.", "required": true, "schema": { - "$ref": "#/definitions/SnapshotRecoveryRequest" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SnapshotRecoveryRequest" } }, { @@ -13032,7 +13032,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/CsmUsageQuotaCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/CsmUsageQuotaCollection" } } }, @@ -13080,7 +13080,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/definitions/VnetInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" } } } @@ -13131,7 +13131,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" } } } @@ -13167,7 +13167,7 @@ "description": "Properties of the Virtual Network connection. See example.", "required": true, "schema": { - "$ref": "#/definitions/VnetInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" } }, { @@ -13188,7 +13188,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" } } } @@ -13272,7 +13272,7 @@ "description": "Properties of the Virtual Network connection. See example.", "required": true, "schema": { - "$ref": "#/definitions/VnetInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" } }, { @@ -13293,7 +13293,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" } } } @@ -13350,7 +13350,7 @@ "200": { "description": "OK.", "schema": { - "$ref": "#/definitions/VnetGateway" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" } }, "404": { @@ -13396,7 +13396,7 @@ "description": "The properties to update this gateway with.", "required": true, "schema": { - "$ref": "#/definitions/VnetGateway" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" } }, { @@ -13417,7 +13417,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetGateway" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" } } } @@ -13460,7 +13460,7 @@ "description": "The properties to update this gateway with.", "required": true, "schema": { - "$ref": "#/definitions/VnetGateway" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" } }, { @@ -13481,7 +13481,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetGateway" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" } } } @@ -14328,7 +14328,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/CsmUsageQuotaCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/CsmUsageQuotaCollection" } } }, @@ -14369,7 +14369,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/definitions/VnetInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" } } } @@ -14413,7 +14413,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" } } } @@ -14449,7 +14449,7 @@ "description": "Properties of the Virtual Network connection. See example.", "required": true, "schema": { - "$ref": "#/definitions/VnetInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" } }, { @@ -14463,7 +14463,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" } } } @@ -14540,7 +14540,7 @@ "description": "Properties of the Virtual Network connection. See example.", "required": true, "schema": { - "$ref": "#/definitions/VnetInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" } }, { @@ -14554,7 +14554,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" } } } @@ -14604,7 +14604,7 @@ "200": { "description": "OK.", "schema": { - "$ref": "#/definitions/VnetGateway" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" } }, "404": { @@ -14650,7 +14650,7 @@ "description": "The properties to update this gateway with.", "required": true, "schema": { - "$ref": "#/definitions/VnetGateway" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" } }, { @@ -14664,7 +14664,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetGateway" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" } } } @@ -14707,7 +14707,7 @@ "description": "The properties to update this gateway with.", "required": true, "schema": { - "$ref": "#/definitions/VnetGateway" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" } }, { @@ -14721,7 +14721,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetGateway" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" } } } @@ -14811,16 +14811,6 @@ } }, "definitions": { - "ApiDefinitionInfo": { - "description": "Information about the formal API definition for the app.", - "type": "object", - "properties": { - "url": { - "description": "The URL of the API definition.", - "type": "string" - } - } - }, "ApplicationLogsConfig": { "description": "Application logs configuration.", "type": "object", @@ -14839,87 +14829,6 @@ } } }, - "AutoHealActions": { - "description": "Actions which to take by the auto-heal module when a rule is triggered.", - "type": "object", - "properties": { - "actionType": { - "description": "Predefined action to be taken.", - "enum": [ - "Recycle", - "LogEvent", - "CustomAction" - ], - "type": "string", - "x-ms-enum": { - "name": "AutoHealActionType", - "modelAsString": false - } - }, - "customAction": { - "$ref": "#/definitions/AutoHealCustomAction", - "description": "Custom action to be taken." - }, - "minProcessExecutionTime": { - "description": "Minimum time the process must execute\nbefore taking the action", - "type": "string" - } - } - }, - "AutoHealCustomAction": { - "description": "Custom action to be executed\nwhen an auto heal rule is triggered.", - "type": "object", - "properties": { - "exe": { - "description": "Executable to be run.", - "type": "string" - }, - "parameters": { - "description": "Parameters for the executable.", - "type": "string" - } - } - }, - "AutoHealRules": { - "description": "Rules that can be defined for auto-heal.", - "type": "object", - "properties": { - "triggers": { - "$ref": "#/definitions/AutoHealTriggers", - "description": "Conditions that describe when to execute the auto-heal actions." - }, - "actions": { - "$ref": "#/definitions/AutoHealActions", - "description": "Actions to be executed when a rule is triggered." - } - } - }, - "AutoHealTriggers": { - "description": "Triggers for auto-heal.", - "type": "object", - "properties": { - "requests": { - "$ref": "#/definitions/RequestsBasedTrigger", - "description": "A rule based on total requests." - }, - "privateBytesInKB": { - "format": "int32", - "description": "A rule based on private bytes.", - "type": "integer" - }, - "statusCodes": { - "description": "A rule based on status codes.", - "type": "array", - "items": { - "$ref": "#/definitions/StatusCodesBasedTrigger" - } - }, - "slowRequests": { - "$ref": "#/definitions/SlowRequestsBasedTrigger", - "description": "A rule based on request execution time." - } - } - }, "AzureBlobStorageApplicationLogsConfig": { "description": "Application logs azure blob storage configuration.", "type": "object", @@ -15002,7 +14911,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -15135,7 +15044,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -15242,99 +15151,6 @@ } } }, - "CloningInfo": { - "description": "Information needed for cloning operation.", - "required": [ - "sourceWebAppId" - ], - "type": "object", - "properties": { - "correlationId": { - "format": "uuid", - "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\ntogether to use the same snapshot.", - "type": "string", - "example": "00000000-0000-0000-0000-000000000000" - }, - "overwrite": { - "description": "true to overwrite destination app; otherwise, false.", - "type": "boolean" - }, - "cloneCustomHostNames": { - "description": "true to clone custom hostnames from source app; otherwise, false.", - "type": "boolean" - }, - "cloneSourceControl": { - "description": "true to clone source control from source app; otherwise, false.", - "type": "boolean" - }, - "sourceWebAppId": { - "description": "ARM resource ID of the source app. App resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", - "type": "string" - }, - "hostingEnvironment": { - "description": "App Service Environment.", - "type": "string" - }, - "appSettingsOverrides": { - "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \nfrom source app. Otherwise, application settings from source app are retained.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "configureLoadBalancing": { - "description": "true to configure load balancing for source and destination app.", - "type": "boolean" - }, - "trafficManagerProfileId": { - "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", - "type": "string" - }, - "trafficManagerProfileName": { - "description": "Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.", - "type": "string" - }, - "ignoreQuotas": { - "description": "true if quotas should be ignored; otherwise, false.", - "type": "boolean" - } - } - }, - "ConnStringInfo": { - "description": "Database connection string information.", - "type": "object", - "properties": { - "name": { - "description": "Name of connection string.", - "type": "string" - }, - "connectionString": { - "description": "Connection string value.", - "type": "string" - }, - "type": { - "description": "Type of database.", - "enum": [ - "MySql", - "SQLServer", - "SQLAzure", - "Custom", - "NotificationHub", - "ServiceBus", - "EventHub", - "ApiHub", - "DocDb", - "RedisCache", - "PostgreSQL" - ], - "type": "string", - "x-ms-enum": { - "name": "ConnectionStringType", - "modelAsString": false - } - } - } - }, "ConnStringValueTypePair": { "description": "Database connection string value to type pair.", "required": [ @@ -15375,7 +15191,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -15394,7 +15210,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -15493,19 +15309,6 @@ } } }, - "CorsSettings": { - "description": "Cross-Origin Resource Sharing (CORS) settings for the app.", - "type": "object", - "properties": { - "allowedOrigins": { - "description": "Gets or sets the list of origins that should be allowed to make cross-origin\ncalls (for example: http://example.com:12345). Use \"*\" to allow all.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, "CsmPublishingProfileOptions": { "description": "Publishing options for requested profile.", "type": "object", @@ -15543,61 +15346,12 @@ } } }, - "CsmUsageQuota": { - "description": "Usage of the quota resource.", - "type": "object", - "properties": { - "unit": { - "description": "Units of measurement for the quota resourse.", - "type": "string" - }, - "nextResetTime": { - "format": "date-time", - "description": "Next reset time for the resource counter.", - "type": "string" - }, - "currentValue": { - "format": "int64", - "description": "The current value of the resource counter.", - "type": "integer" - }, - "limit": { - "format": "int64", - "description": "The resource limit.", - "type": "integer" - }, - "name": { - "$ref": "#/definitions/LocalizableString", - "description": "Quota name." - } - } - }, - "CsmUsageQuotaCollection": { - "description": "Collection of CSM usage quotas.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/CsmUsageQuota" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, "CustomHostnameAnalysisResult": { "description": "Custom domain analysis.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -15624,7 +15378,7 @@ } }, "customDomainVerificationFailureInfo": { - "$ref": "#/definitions/ErrorEntity", + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ErrorEntity", "description": "Raw failure information if DNS verification fails.", "readOnly": true }, @@ -15722,7 +15476,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -15925,7 +15679,7 @@ "type": "string", "readOnly": true }, - "functionAppId": { + "function_app_id": { "description": "Function App ID.", "type": "string", "readOnly": true @@ -15995,7 +15749,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -16015,30 +15769,12 @@ } } }, - "HandlerMapping": { - "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \nFor example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", - "type": "object", - "properties": { - "extension": { - "description": "Requests with this extension will be handled using the specified FastCGI application.", - "type": "string" - }, - "scriptProcessor": { - "description": "The absolute path to the FastCGI application.", - "type": "string" - }, - "arguments": { - "description": "Command-line arguments to be passed to the script processor.", - "type": "string" - } - } - }, "HostNameBinding": { "description": "A hostname binding object.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -16172,73 +15908,6 @@ } } }, - "HostNameSslState": { - "description": "SSL-enabled hostname.", - "type": "object", - "properties": { - "name": { - "description": "Hostname.", - "type": "string" - }, - "sslState": { - "description": "SSL type.", - "enum": [ - "Disabled", - "SniEnabled", - "IpBasedEnabled" - ], - "type": "string", - "x-ms-enum": { - "name": "SslState", - "modelAsString": false - } - }, - "virtualIP": { - "description": "Virtual IP address assigned to the hostname if IP based SSL is enabled.", - "type": "string" - }, - "thumbprint": { - "description": "SSL certificate thumbprint.", - "type": "string" - }, - "toUpdate": { - "description": "Set to true to update existing hostname.", - "type": "boolean" - }, - "hostType": { - "description": "Indicates whether the hostname is a standard or repository hostname.", - "enum": [ - "Standard", - "Repository" - ], - "type": "string", - "x-ms-enum": { - "name": "HostType", - "modelAsString": false - } - } - } - }, - "HostingEnvironmentProfile": { - "description": "Specification for an App Service Environment to use for this resource.", - "type": "object", - "properties": { - "id": { - "description": "Resource ID of the App Service Environment.", - "type": "string" - }, - "name": { - "description": "Name of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Resource type of the App Service Environment.", - "type": "string", - "readOnly": true - } - } - }, "HttpLogsConfig": { "description": "Http logs configuration.", "type": "object", @@ -16253,57 +15922,20 @@ } } }, - "HybridConnection": { - "description": "Hybrid Connection contract. This is used to configure a Hybrid Connection.", + "Identifier": { + "description": "Identifier.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { "properties": { - "description": "HybridConnection resource specific properties", + "description": "Identifier resource specific properties", "properties": { - "serviceBusNamespace": { - "description": "The name of the Service Bus namespace.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "relayName": { - "description": "The name of the Service Bus relay.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "relayArmUri": { - "description": "The ARM URI to the Service Bus relay.", - "type": "string" - }, - "hostname": { - "description": "The hostname of the endpoint.", - "type": "string" - }, - "port": { - "format": "int32", - "description": "The port of the endpoint.", - "type": "integer" - }, - "sendKeyName": { - "description": "The name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus.", - "type": "string" - }, - "sendKeyValue": { - "description": "The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned\nnormally, use the POST /listKeys API instead.", - "type": "string" - }, - "serviceBusSuffix": { - "description": "The suffix for the service bus endpoint. By default this is .servicebus.windows.net", + "id": { + "description": "String representation of the identity.", "type": "string" } }, @@ -16311,60 +15943,12 @@ } } }, - "HybridConnectionKey": { - "description": "Hybrid Connection key contract. This has the send key name and value for a Hybrid Connection.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } + "IdentifierCollection": { + "description": "Collection of identifiers.", + "required": [ + "value" ], - "properties": { - "properties": { - "description": "HybridConnectionKey resource specific properties", - "properties": { - "sendKeyName": { - "description": "The name of the send key.", - "type": "string", - "readOnly": true - }, - "sendKeyValue": { - "description": "The value of the send key.", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "Identifier": { - "description": "Identifier.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "Identifier resource specific properties", - "properties": { - "id": { - "description": "String representation of the identity.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "IdentifierCollection": { - "description": "Collection of identifiers.", - "required": [ - "value" - ], - "type": "object", + "type": "object", "properties": { "value": { "description": "Collection of resources.", @@ -16379,43 +15963,12 @@ } } }, - "IpSecurityRestriction": { - "description": "IP security restriction on an app.", - "required": [ - "ipAddress" - ], - "type": "object", - "properties": { - "ipAddress": { - "description": "IP address the security restriction is valid for.", - "type": "string" - }, - "subnetMask": { - "description": "Subnet mask for the range of IP addresses the restriction is valid for.", - "type": "string" - } - } - }, - "LocalizableString": { - "description": "Localizable string object containing the name and a localized value.", - "type": "object", - "properties": { - "value": { - "description": "Non-localized name.", - "type": "string" - }, - "localizedValue": { - "description": "Localized name.", - "type": "string" - } - } - }, "MSDeploy": { "description": "MSDeploy ARM PUT information", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -16477,7 +16030,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -16533,7 +16086,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -16583,38 +16136,12 @@ } } }, - "ManagedServiceIdentity": { - "description": "Managed service identity.", - "type": "object", - "properties": { - "type": { - "description": "Type of managed service identity.", - "enum": [ - "SystemAssigned" - ], - "x-ms-enum": { - "name": "ManagedServiceIdentityType", - "modelAsString": true - } - }, - "tenantId": { - "description": "Tenant of managed service identity.", - "type": "string", - "readOnly": true - }, - "principalId": { - "description": "Principal Id of managed service identity.", - "type": "string", - "readOnly": true - } - } - }, "MigrateMySqlRequest": { "description": "MySQL migration request.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -16651,7 +16178,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -16689,26 +16216,12 @@ } } }, - "NameValuePair": { - "description": "Name value pair.", - "type": "object", - "properties": { - "name": { - "description": "Pair name.", - "type": "string" - }, - "value": { - "description": "Pair value.", - "type": "string" - } - } - }, "NetworkFeatures": { "description": "Full view of network features for an app (presently VNET integration and Hybrid Connections).", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -16721,7 +16234,7 @@ "readOnly": true }, "virtualNetworkConnection": { - "$ref": "#/definitions/VnetInfo", + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo", "description": "The Virtual Network summary view.", "readOnly": true }, @@ -16737,7 +16250,7 @@ "description": "The Hybrid Connection V2 (Service Bus) view.", "type": "array", "items": { - "$ref": "#/definitions/HybridConnection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" }, "readOnly": true } @@ -16746,63 +16259,6 @@ } } }, - "Operation": { - "description": "Operation.", - "type": "object", - "properties": { - "id": { - "description": "Operation ID.", - "type": "string" - }, - "name": { - "description": "Operation name.", - "type": "string" - }, - "status": { - "description": "The current status of the operation.", - "enum": [ - "InProgress", - "Failed", - "Succeeded", - "TimedOut", - "Created" - ], - "type": "string", - "x-ms-enum": { - "name": "OperationStatus", - "modelAsString": false - } - }, - "errors": { - "description": "Any errors associate with the operation.", - "type": "array", - "items": { - "$ref": "#/definitions/ErrorEntity" - } - }, - "createdTime": { - "format": "date-time", - "description": "Time when operation has started.", - "type": "string" - }, - "modifiedTime": { - "format": "date-time", - "description": "Time when operation has been updated.", - "type": "string" - }, - "expirationTime": { - "format": "date-time", - "description": "Time when operation will expire.", - "type": "string" - }, - "geoMasterOperationId": { - "format": "uuid", - "description": "Applicable only for stamp operation ids.", - "type": "string", - "example": "00000000-0000-0000-0000-000000000000" - } - } - }, "PerfMonCounterCollection": { "description": "Collection of performance monitor counters.", "required": [ @@ -16902,7 +16358,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Resource" } ], "properties": { @@ -16955,7 +16411,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -17171,7 +16627,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -17253,7 +16709,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -17341,37 +16797,12 @@ } } }, - "ProxyOnlyResource": { - "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - } - }, - "x-ms-azure-resource": true - }, "PublicCertificate": { "description": "Public certificate object", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -17426,91 +16857,12 @@ } } }, - "PushSettings": { - "description": "Push settings for the App.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "PushSettings resource specific properties", - "required": [ - "isPushEnabled" - ], - "properties": { - "isPushEnabled": { - "description": "Gets or sets a flag indicating whether the Push endpoint is enabled.", - "type": "boolean" - }, - "tagWhitelistJson": { - "description": "Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", - "type": "string" - }, - "tagsRequiringAuth": { - "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\nTags can consist of alphanumeric characters and the following:\n'_', '@', '#', '.', ':', '-'. \nValidation should be performed at the PushRequestHandler.", - "type": "string" - }, - "dynamicTagsJson": { - "description": "Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "RampUpRule": { - "description": "Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance.", - "type": "object", - "properties": { - "actionHostName": { - "description": "Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net.", - "type": "string" - }, - "reroutePercentage": { - "format": "double", - "description": "Percentage of the traffic which will be redirected to ActionHostName.", - "type": "number" - }, - "changeStep": { - "format": "double", - "description": "In auto ramp up scenario this is the step to to add/remove from ReroutePercentage until it reaches \nMinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specificed in ChangeIntervalInMinutes.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", - "type": "number" - }, - "changeIntervalInMinutes": { - "format": "int32", - "description": "Specifies interval in mimuntes to reevaluate ReroutePercentage.", - "type": "integer" - }, - "minReroutePercentage": { - "format": "double", - "description": "Specifies lower boundary above which ReroutePercentage will stay.", - "type": "number" - }, - "maxReroutePercentage": { - "format": "double", - "description": "Specifies upper boundary below which ReroutePercentage will stay.", - "type": "number" - }, - "changeDecisionCallbackUrl": { - "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\nhttps://www.siteextensions.net/packages/TiPCallback/", - "type": "string" - }, - "name": { - "description": "Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment.", - "type": "string" - } - } - }, "RelayServiceConnectionEntity": { "description": "Hybrid Connection for an App Service app.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -17544,318 +16896,12 @@ } } }, - "RequestsBasedTrigger": { - "description": "Trigger based on total requests.", + "RestoreRequest": { + "description": "Description of a restore request.", "type": "object", - "properties": { - "count": { - "format": "int32", - "description": "Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } - }, - "Resource": { - "description": "Azure resource. This resource is tracked in Azure Resource Manager", - "required": [ - "location" - ], - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "location": { - "description": "Resource Location.", - "type": "string" - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - }, - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "x-ms-azure-resource": true - }, - "ResourceMetric": { - "description": "Object representing a metric for any resource .", - "type": "object", - "properties": { - "name": { - "$ref": "#/definitions/ResourceMetricName", - "description": "Name of metric.", - "readOnly": true - }, - "unit": { - "description": "Metric unit.", - "type": "string", - "readOnly": true - }, - "timeGrain": { - "description": "Metric granularity. E.g PT1H, PT5M, P1D", - "type": "string", - "readOnly": true - }, - "startTime": { - "format": "date-time", - "description": "Metric start time.", - "type": "string", - "readOnly": true - }, - "endTime": { - "format": "date-time", - "description": "Metric end time.", - "type": "string", - "readOnly": true - }, - "resourceId": { - "description": "Metric resource Id.", - "type": "string", - "readOnly": true - }, - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "metricValues": { - "description": "Metric values.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricValue" - }, - "readOnly": true - }, - "properties": { - "description": "Properties.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricProperty" - }, - "readOnly": true - } - } - }, - "ResourceMetricAvailability": { - "description": "Metrics availability and retention.", - "type": "object", - "properties": { - "timeGrain": { - "description": "Time grain .", - "type": "string", - "readOnly": true - }, - "retention": { - "description": "Retention period for the current time grain.", - "type": "string", - "readOnly": true - } - } - }, - "ResourceMetricCollection": { - "description": "Collection of metric responses.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetric" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, - "ResourceMetricDefinition": { - "description": "Metadata for the metrics.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "ResourceMetricDefinition resource specific properties", - "properties": { - "name": { - "$ref": "#/definitions/ResourceMetricName", - "description": "Name of the metric.", - "readOnly": true - }, - "unit": { - "description": "Unit of the metric.", - "type": "string", - "readOnly": true - }, - "primaryAggregationType": { - "description": "Primary aggregation type.", - "type": "string", - "readOnly": true - }, - "metricAvailabilities": { - "description": "List of time grains supported for the metric together with retention period.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricAvailability" - }, - "readOnly": true - }, - "resourceUri": { - "description": "Resource URI.", - "type": "string", - "readOnly": true - }, - "id": { - "description": "Resource ID.", - "type": "string", - "readOnly": true - }, - "properties": { - "description": "Properties.", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "ResourceMetricDefinitionCollection": { - "description": "Collection of metric definitions.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricDefinition" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, - "ResourceMetricName": { - "description": "Name of a metric for any resource .", - "type": "object", - "properties": { - "value": { - "description": "metric name value.", - "type": "string", - "readOnly": true - }, - "localizedValue": { - "description": "Localized metric name value.", - "type": "string", - "readOnly": true - } - } - }, - "ResourceMetricProperty": { - "description": "Resource metric property.", - "type": "object", - "properties": { - "key": { - "description": "Key for resource metric property.", - "type": "string" - }, - "value": { - "description": "Value of pair.", - "type": "string" - } - } - }, - "ResourceMetricValue": { - "description": "Value of resource metric.", - "type": "object", - "properties": { - "timestamp": { - "description": "Value timestamp.", - "type": "string", - "readOnly": true - }, - "average": { - "format": "float", - "description": "Value average.", - "type": "number", - "readOnly": true - }, - "minimum": { - "format": "float", - "description": "Value minimum.", - "type": "number", - "readOnly": true - }, - "maximum": { - "format": "float", - "description": "Value maximum.", - "type": "number", - "readOnly": true - }, - "total": { - "format": "float", - "description": "Value total.", - "type": "number", - "readOnly": true - }, - "count": { - "format": "float", - "description": "Value count.", - "type": "number", - "readOnly": true - }, - "properties": { - "description": "Properties.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricProperty" - }, - "readOnly": true - } - } - }, - "RestoreRequest": { - "description": "Description of a restore request.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" + "allOf": [ + { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -17936,7 +16982,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -17953,227 +16999,12 @@ } } }, - "Site": { - "description": "A web app, a mobile app backend, or an API app.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Site resource specific properties", - "properties": { - "state": { - "description": "Current state of the app.", - "type": "string", - "readOnly": true - }, - "hostNames": { - "description": "Hostnames associated with the app.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "repositorySiteName": { - "description": "Name of the repository site.", - "type": "string", - "readOnly": true - }, - "usageState": { - "description": "State indicating whether the app has exceeded its quota usage. Read-only.", - "enum": [ - "Normal", - "Exceeded" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "UsageState", - "modelAsString": false - } - }, - "enabled": { - "description": "true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).", - "type": "boolean" - }, - "enabledHostNames": { - "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\nthe app is not served on those hostnames.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "availabilityState": { - "description": "Management information availability state for the app.", - "enum": [ - "Normal", - "Limited", - "DisasterRecoveryMode" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "SiteAvailabilityState", - "modelAsString": false - } - }, - "hostNameSslStates": { - "description": "Hostname SSL states are used to manage the SSL bindings for app's hostnames.", - "type": "array", - "items": { - "$ref": "#/definitions/HostNameSslState" - } - }, - "serverFarmId": { - "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", - "type": "string" - }, - "reserved": { - "description": "true if reserved; otherwise, false.", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "lastModifiedTimeUtc": { - "format": "date-time", - "description": "Last time the app was modified, in UTC. Read-only.", - "type": "string", - "readOnly": true - }, - "siteConfig": { - "$ref": "#/definitions/SiteConfig", - "description": "Configuration of the app." - }, - "trafficManagerHostNames": { - "description": "Azure Traffic Manager hostnames associated with the app. Read-only.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "scmSiteAlsoStopped": { - "description": "true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", - "default": false, - "type": "boolean" - }, - "targetSwapSlot": { - "description": "Specifies which deployment slot this app will swap into. Read-only.", - "type": "string", - "readOnly": true - }, - "hostingEnvironmentProfile": { - "$ref": "#/definitions/HostingEnvironmentProfile", - "description": "App Service Environment to use for the app.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "clientAffinityEnabled": { - "description": "true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.", - "type": "boolean" - }, - "clientCertEnabled": { - "description": "true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.", - "type": "boolean" - }, - "hostNamesDisabled": { - "description": "true to disable the public hostnames of the app; otherwise, false.\n If true, the app is only accessible via API management process.", - "type": "boolean" - }, - "outboundIpAddresses": { - "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only.", - "type": "string", - "readOnly": true - }, - "possibleOutboundIpAddresses": { - "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only.", - "type": "string", - "readOnly": true - }, - "containerSize": { - "format": "int32", - "description": "Size of the function container.", - "type": "integer" - }, - "dailyMemoryTimeQuota": { - "format": "int32", - "description": "Maximum allowed daily memory-time quota (applicable on dynamic apps only).", - "type": "integer" - }, - "suspendedTill": { - "format": "date-time", - "description": "App suspended till in case memory-time quota is exceeded.", - "type": "string", - "readOnly": true - }, - "maxNumberOfWorkers": { - "format": "int32", - "description": "Maximum number of workers.\nThis only applies to Functions container.", - "type": "integer", - "readOnly": true - }, - "cloningInfo": { - "$ref": "#/definitions/CloningInfo", - "description": "If specified during app creation, the app is cloned from a source app.", - "x-ms-mutability": [ - "create" - ] - }, - "snapshotInfo": { - "$ref": "#/definitions/SnapshotRecoveryRequest", - "description": "If specified during app creation, the app is created from a previous snapshot.", - "x-ms-mutability": [ - "create" - ] - }, - "resourceGroup": { - "description": "Name of the resource group the app belongs to. Read-only.", - "type": "string", - "readOnly": true - }, - "isDefaultContainer": { - "description": "true if the app is a default container; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "defaultHostName": { - "description": "Default hostname of the app. Read-only.", - "type": "string", - "readOnly": true - }, - "slotSwapStatus": { - "$ref": "#/definitions/SlotSwapStatus", - "description": "Status of the last deployment slot swap operation.", - "readOnly": true - }, - "httpsOnly": { - "description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests", - "type": "boolean" - } - }, - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/ManagedServiceIdentity" - } - } - }, "SiteAuthSettings": { "description": "Configuration settings for the Azure App Service Authentication / Authorization feature.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -18369,261 +17200,17 @@ } } }, - "SiteConfig": { - "description": "Configuration of an App Service app.", - "type": "object", - "properties": { - "numberOfWorkers": { - "format": "int32", - "description": "Number of workers.", - "type": "integer" - }, - "defaultDocuments": { - "description": "Default documents.", - "type": "array", - "items": { - "type": "string" - } - }, - "netFrameworkVersion": { - "description": ".NET Framework version.", - "default": "v4.6", - "type": "string" - }, - "phpVersion": { - "description": "Version of PHP.", - "type": "string" - }, - "pythonVersion": { - "description": "Version of Python.", - "type": "string" - }, - "nodeVersion": { - "description": "Version of Node.js.", - "type": "string" - }, - "linuxFxVersion": { - "description": "Linux App Framework and version", - "type": "string" - }, - "requestTracingEnabled": { - "description": "true if request tracing is enabled; otherwise, false.", - "type": "boolean" - }, - "requestTracingExpirationTime": { - "format": "date-time", - "description": "Request tracing expiration time.", - "type": "string" - }, - "remoteDebuggingEnabled": { - "description": "true if remote debugging is enabled; otherwise, false.", - "type": "boolean" - }, - "remoteDebuggingVersion": { - "description": "Remote debugging version.", - "type": "string" - }, - "httpLoggingEnabled": { - "description": "true if HTTP logging is enabled; otherwise, false.", - "type": "boolean" - }, - "logsDirectorySizeLimit": { - "format": "int32", - "description": "HTTP logs directory size limit.", - "type": "integer" - }, - "detailedErrorLoggingEnabled": { - "description": "true if detailed error logging is enabled; otherwise, false.", - "type": "boolean" - }, - "publishingUsername": { - "description": "Publishing user name.", - "type": "string" - }, - "appSettings": { - "description": "Application settings.", - "type": "array", - "items": { - "$ref": "#/definitions/NameValuePair" - } - }, - "connectionStrings": { - "description": "Connection strings.", - "type": "array", - "items": { - "$ref": "#/definitions/ConnStringInfo" - } - }, - "machineKey": { - "$ref": "#/definitions/SiteMachineKey", - "description": "Site MachineKey.", - "readOnly": true - }, - "handlerMappings": { - "description": "Handler mappings.", - "type": "array", - "items": { - "$ref": "#/definitions/HandlerMapping" - } - }, - "documentRoot": { - "description": "Document root.", - "type": "string" - }, - "scmType": { - "description": "SCM type.", - "enum": [ - "None", - "Dropbox", - "Tfs", - "LocalGit", - "GitHub", - "CodePlexGit", - "CodePlexHg", - "BitbucketGit", - "BitbucketHg", - "ExternalGit", - "ExternalHg", - "OneDrive", - "VSO" - ], - "type": "string", - "x-ms-enum": { - "name": "ScmType", - "modelAsString": true - } - }, - "use32BitWorkerProcess": { - "description": "true to use 32-bit worker process; otherwise, false.", - "type": "boolean" - }, - "webSocketsEnabled": { - "description": "true if WebSocket is enabled; otherwise, false.", - "type": "boolean" - }, - "alwaysOn": { - "description": "true if Always On is enabled; otherwise, false.", - "type": "boolean" - }, - "javaVersion": { - "description": "Java version.", - "type": "string" - }, - "javaContainer": { - "description": "Java container.", - "type": "string" - }, - "javaContainerVersion": { - "description": "Java container version.", - "type": "string" - }, - "appCommandLine": { - "description": "App command line to launch.", - "type": "string" - }, - "managedPipelineMode": { - "description": "Managed pipeline mode.", - "enum": [ - "Integrated", - "Classic" - ], - "type": "string", - "x-ms-enum": { - "name": "ManagedPipelineMode", - "modelAsString": false - } - }, - "virtualApplications": { - "description": "Virtual applications.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualApplication" - } - }, - "loadBalancing": { - "description": "Site load balancing.", - "enum": [ - "WeightedRoundRobin", - "LeastRequests", - "LeastResponseTime", - "WeightedTotalTraffic", - "RequestHash" - ], - "type": "string", - "x-ms-enum": { - "name": "SiteLoadBalancing", - "modelAsString": false - } - }, - "experiments": { - "$ref": "#/definitions/Experiments", - "description": "This is work around for polymophic types." - }, - "limits": { - "$ref": "#/definitions/SiteLimits", - "description": "Site limits." - }, - "autoHealEnabled": { - "description": "true if Auto Heal is enabled; otherwise, false.", - "type": "boolean" - }, - "autoHealRules": { - "$ref": "#/definitions/AutoHealRules", - "description": "Auto Heal rules." - }, - "tracingOptions": { - "description": "Tracing options.", - "type": "string" - }, - "vnetName": { - "description": "Virtual Network name.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "cors": { - "$ref": "#/definitions/CorsSettings", - "description": "Cross-Origin Resource Sharing (CORS) settings." - }, - "push": { - "$ref": "#/definitions/PushSettings", - "description": "Push endpoint settings." - }, - "apiDefinition": { - "$ref": "#/definitions/ApiDefinitionInfo", - "description": "Information about the formal API definition for the app." - }, - "autoSwapSlotName": { - "description": "Auto-swap slot name.", - "type": "string" - }, - "localMySqlEnabled": { - "description": "true to enable local MySQL; otherwise, false.", - "default": false, - "type": "boolean" - }, - "ipSecurityRestrictions": { - "description": "IP security restrictions.", - "type": "array", - "items": { - "$ref": "#/definitions/IpSecurityRestriction" - } - } - } - }, "SiteConfigResource": { "description": "Web app configuration ARM resource.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { "properties": { - "$ref": "#/definitions/SiteConfig", + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfig", "description": "Core resource properties", "x-ms-client-flatten": true } @@ -18654,7 +17241,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -18703,7 +17290,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -18834,7 +17421,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -18851,33 +17438,12 @@ } } }, - "SiteLimits": { - "description": "Metric limits set on an app.", - "type": "object", - "properties": { - "maxPercentageCpu": { - "format": "double", - "description": "Maximum allowed CPU usage percentage.", - "type": "number" - }, - "maxMemoryInMb": { - "format": "int64", - "description": "Maximum allowed memory usage in MB.", - "type": "integer" - }, - "maxDiskSizeInMb": { - "format": "int64", - "description": "Maximum allowed disk size usage in MB.", - "type": "integer" - } - } - }, "SiteLogsConfig": { "description": "Configuration of App Service site logs.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -18897,33 +17463,11 @@ "description": "Failed requests tracing configuration." }, "detailedErrorMessages": { - "$ref": "#/definitions/EnabledConfig", - "description": "Detailed error messages configuration." - } - }, - "x-ms-client-flatten": true - } - } - }, - "SiteMachineKey": { - "description": "MachineKey of an app.", - "type": "object", - "properties": { - "validation": { - "description": "MachineKey validation.", - "type": "string" - }, - "validationKey": { - "description": "Validation key.", - "type": "string" - }, - "decryption": { - "description": "Decryption.", - "type": "string" - }, - "decryptionKey": { - "description": "Decryption key.", - "type": "string" + "$ref": "#/definitions/EnabledConfig", + "description": "Detailed error messages configuration." + } + }, + "x-ms-client-flatten": true } } }, @@ -18932,7 +17476,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -19000,7 +17544,7 @@ "description": "Hostname SSL states are used to manage the SSL bindings for app's hostnames.", "type": "array", "items": { - "$ref": "#/definitions/HostNameSslState" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HostNameSslState" } }, "serverFarmId": { @@ -19023,7 +17567,7 @@ "readOnly": true }, "siteConfig": { - "$ref": "#/definitions/SiteConfig", + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SiteConfig", "description": "Configuration of the app." }, "trafficManagerHostNames": { @@ -19045,7 +17589,7 @@ "readOnly": true }, "hostingEnvironmentProfile": { - "$ref": "#/definitions/HostingEnvironmentProfile", + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HostingEnvironmentProfile", "description": "App Service Environment to use for the app.", "x-ms-mutability": [ "create", @@ -19097,14 +17641,14 @@ "readOnly": true }, "cloningInfo": { - "$ref": "#/definitions/CloningInfo", + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/CloningInfo", "description": "If specified during app creation, the app is cloned from a source app.", "x-ms-mutability": [ "create" ] }, "snapshotInfo": { - "$ref": "#/definitions/SnapshotRecoveryRequest", + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SnapshotRecoveryRequest", "description": "If specified during app creation, the app is created from a previous snapshot.", "x-ms-mutability": [ "create" @@ -19126,7 +17670,7 @@ "readOnly": true }, "slotSwapStatus": { - "$ref": "#/definitions/SlotSwapStatus", + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SlotSwapStatus", "description": "Status of the last deployment slot swap operation.", "readOnly": true }, @@ -19144,7 +17688,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -19177,7 +17721,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -19254,7 +17798,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -19270,7 +17814,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -19337,53 +17881,12 @@ } } }, - "SlotSwapStatus": { - "description": "The status of the last successfull slot swap operation.", - "type": "object", - "properties": { - "timestampUtc": { - "format": "date-time", - "description": "The time the last successful slot swap completed.", - "type": "string", - "readOnly": true - }, - "sourceSlotName": { - "description": "The source slot of the last swap operation.", - "type": "string", - "readOnly": true - }, - "destinationSlotName": { - "description": "The destination slot of the last swap operation.", - "type": "string", - "readOnly": true - } - } - }, - "SlowRequestsBasedTrigger": { - "description": "Trigger based on request execution time.", - "type": "object", - "properties": { - "timeTaken": { - "description": "Time taken.", - "type": "string" - }, - "count": { - "format": "int32", - "description": "Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } - }, "Snapshot": { "description": "A snapshot of an app.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -19420,96 +17923,12 @@ } } }, - "SnapshotRecoveryRequest": { - "description": "Details about app recovery operation.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "SnapshotRecoveryRequest resource specific properties", - "required": [ - "overwrite" - ], - "properties": { - "snapshotTime": { - "description": "Point in time in which the app recovery should be attempted, formatted as a DateTime string.", - "type": "string" - }, - "recoveryTarget": { - "$ref": "#/definitions/SnapshotRecoveryTarget", - "description": "Specifies the web app that snapshot contents will be written to." - }, - "overwrite": { - "description": "If true the recovery operation can overwrite source app; otherwise, false.", - "type": "boolean" - }, - "recoverConfiguration": { - "description": "If true, site configuration, in addition to content, will be reverted.", - "type": "boolean" - }, - "ignoreConflictingHostNames": { - "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\nThis setting is only necessary when RecoverConfiguration is enabled.", - "type": "boolean" - } - }, - "x-ms-client-flatten": true - } - } - }, - "SnapshotRecoveryTarget": { - "description": "Specifies the web app that snapshot contents will be written to.", - "type": "object", - "properties": { - "location": { - "description": "Geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS", - "type": "string" - }, - "id": { - "description": "ARM resource ID of the target app. \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", - "type": "string" - } - } - }, - "StatusCodesBasedTrigger": { - "description": "Trigger based on status code.", - "type": "object", - "properties": { - "status": { - "format": "int32", - "description": "HTTP status code.", - "type": "integer" - }, - "subStatus": { - "format": "int32", - "description": "SubStatus.", - "type": "integer" - }, - "win32Status": { - "format": "int32", - "description": "Win32 error code.", - "type": "integer" - }, - "count": { - "format": "int32", - "description": "Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } - }, "StorageMigrationOptions": { "description": "Options for app content migration.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -19560,7 +17979,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -19582,7 +18001,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -19601,7 +18020,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -19645,7 +18064,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -19722,7 +18141,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -19810,240 +18229,6 @@ } } }, - "User": { - "description": "User crendentials used for publishing activity.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "User resource specific properties", - "required": [ - "publishingUserName" - ], - "properties": { - "name": { - "description": "Username", - "type": "string", - "x-ms-client-name": "UserName" - }, - "publishingUserName": { - "description": "Username used for publishing.", - "type": "string" - }, - "publishingPassword": { - "format": "password", - "description": "Password used for publishing.", - "type": "string" - }, - "publishingPasswordHash": { - "format": "password", - "description": "Password hash used for publishing.", - "type": "string" - }, - "publishingPasswordHashSalt": { - "format": "password", - "description": "Password hash salt used for publishing.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "VirtualApplication": { - "description": "Virtual application in an app.", - "type": "object", - "properties": { - "virtualPath": { - "description": "Virtual path.", - "type": "string" - }, - "physicalPath": { - "description": "Physical path.", - "type": "string" - }, - "preloadEnabled": { - "description": "true if preloading is enabled; otherwise, false.", - "type": "boolean" - }, - "virtualDirectories": { - "description": "Virtual directories for virtual application.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualDirectory" - } - } - } - }, - "VirtualDirectory": { - "description": "Directory for virtual application.", - "type": "object", - "properties": { - "virtualPath": { - "description": "Path to virtual application.", - "type": "string" - }, - "physicalPath": { - "description": "Physical path.", - "type": "string" - } - } - }, - "VnetGateway": { - "description": "The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "VnetGateway resource specific properties", - "required": [ - "vpnPackageUri" - ], - "properties": { - "vnetName": { - "description": "The Virtual Network name.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "vpnPackageUri": { - "description": "The URI where the VPN package can be downloaded.", - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ] - } - }, - "x-ms-client-flatten": true - } - } - }, - "VnetInfo": { - "description": "Virtual Network information contract.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "VnetInfo resource specific properties", - "properties": { - "vnetResourceId": { - "description": "The Virtual Network's resource ID.", - "type": "string" - }, - "certThumbprint": { - "description": "The client certificate thumbprint.", - "type": "string", - "readOnly": true - }, - "certBlob": { - "format": "byte", - "description": "A certificate file (.cer) blob containing the public key of the private key used to authenticate a \nPoint-To-Site VPN connection.", - "type": "string" - }, - "routes": { - "description": "The routes that this Virtual Network connection uses.", - "type": "array", - "items": { - "$ref": "#/definitions/VnetRoute" - }, - "readOnly": true - }, - "resyncRequired": { - "description": "true if a resync is required; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "dnsServers": { - "description": "DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "VnetRoute": { - "description": "Virtual Network route contract used to pass routing information for a Virtual Network.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "VnetRoute resource specific properties", - "properties": { - "name": { - "description": "The name of this route. This is only returned by the server and does not need to be set by the client.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-ms-client-name": "vnetRouteName" - }, - "startAddress": { - "description": "The starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified.", - "type": "string" - }, - "endAddress": { - "description": "The ending address for this route. If the start address is specified in CIDR notation, this must be omitted.", - "type": "string" - }, - "routeType": { - "description": "The type of route this is:\nDEFAULT - By default, every app has routes to the local address ranges specified by RFC1918\nINHERITED - Routes inherited from the real Virtual Network routes\nSTATIC - Static route set on the app only\n\nThese values will be used for syncing an app's routes with those from a Virtual Network.", - "enum": [ - "DEFAULT", - "INHERITED", - "STATIC" - ], - "type": "string", - "x-ms-enum": { - "name": "RouteType", - "modelAsString": true - } - } - }, - "x-ms-client-flatten": true - } - } - }, - "WebAppCollection": { - "description": "Collection of App Service apps.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/Site" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, "WebAppInstanceCollection": { "description": "Collection of app instances.", "required": [ @@ -20069,7 +18254,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { diff --git a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json index 4e0383acf992..0d736c7c474f 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json @@ -515,7 +515,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ResourceMetricCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricCollection" } } }, @@ -753,7 +753,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ResourceMetricDefinitionCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricDefinitionCollection" } } }, @@ -805,7 +805,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ResourceMetricCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricCollection" } } }, @@ -844,7 +844,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ResourceMetricDefinitionCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricDefinitionCollection" } } }, @@ -914,7 +914,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ResourceMetricCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricCollection" } } }, @@ -1033,7 +1033,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/definitions/Operation" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Operation" } } } @@ -1112,13 +1112,13 @@ "200": { "description": "OK.", "schema": { - "$ref": "#/definitions/WebAppCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WebAppCollection" } }, "202": { "description": "Operation is in progress.", "schema": { - "$ref": "#/definitions/WebAppCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WebAppCollection" } } }, @@ -1158,7 +1158,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/AppServicePlanCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServicePlanCollection" } } }, @@ -1203,7 +1203,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/WebAppCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WebAppCollection" } } }, @@ -1242,13 +1242,13 @@ "200": { "description": "OK.", "schema": { - "$ref": "#/definitions/WebAppCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WebAppCollection" } }, "202": { "description": "Operation is in progress.", "schema": { - "$ref": "#/definitions/WebAppCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WebAppCollection" } } }, @@ -1295,7 +1295,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/CsmUsageQuotaCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/CsmUsageQuotaCollection" } } }, @@ -1561,7 +1561,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ResourceMetricDefinitionCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricDefinitionCollection" } } }, @@ -1627,7 +1627,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ResourceMetricCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricCollection" } } }, @@ -1673,7 +1673,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ResourceMetricDefinitionCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricDefinitionCollection" } } }, @@ -1732,7 +1732,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ResourceMetricCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricCollection" } } }, @@ -1858,244 +1858,7 @@ "description": "Additional virtual IPs.", "type": "array", "items": { - "$ref": "#/definitions/VirtualIPMapping" - } - } - } - }, - "ApiDefinitionInfo": { - "description": "Information about the formal API definition for the app.", - "type": "object", - "properties": { - "url": { - "description": "The URL of the API definition.", - "type": "string" - } - } - }, - "AppServiceEnvironment": { - "description": "Description of an App Service Environment.", - "required": [ - "name", - "location", - "virtualNetwork", - "workerPools" - ], - "type": "object", - "properties": { - "name": { - "description": "Name of the App Service Environment.", - "type": "string" - }, - "location": { - "description": "Location of the App Service Environment, e.g. \"West US\".", - "type": "string" - }, - "provisioningState": { - "description": "Provisioning state of the App Service Environment.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "InProgress", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": false - } - }, - "status": { - "description": "Current status of the App Service Environment.", - "enum": [ - "Preparing", - "Ready", - "Scaling", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "HostingEnvironmentStatus", - "modelAsString": false - } - }, - "vnetName": { - "description": "Name of the Virtual Network for the App Service Environment.", - "type": "string" - }, - "vnetResourceGroupName": { - "description": "Resource group of the Virtual Network.", - "type": "string" - }, - "vnetSubnetName": { - "description": "Subnet of the Virtual Network.", - "type": "string" - }, - "virtualNetwork": { - "$ref": "#/definitions/VirtualNetworkProfile", - "description": "Description of the Virtual Network." - }, - "internalLoadBalancingMode": { - "description": "Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment.", - "enum": [ - "None", - "Web", - "Publishing" - ], - "type": "string", - "x-ms-enum": { - "name": "InternalLoadBalancingMode", - "modelAsString": false - } - }, - "multiSize": { - "description": "Front-end VM size, e.g. \"Medium\", \"Large\".", - "type": "string" - }, - "multiRoleCount": { - "format": "int32", - "description": "Number of front-end instances.", - "type": "integer" - }, - "workerPools": { - "description": "Description of worker pools with worker size IDs, VM sizes, and number of workers in each pool.", - "type": "array", - "items": { - "$ref": "#/definitions/WorkerPool" - } - }, - "ipsslAddressCount": { - "format": "int32", - "description": "Number of IP SSL addresses reserved for the App Service Environment.", - "type": "integer" - }, - "databaseEdition": { - "description": "Edition of the metadata database for the App Service Environment, e.g. \"Standard\".", - "type": "string", - "readOnly": true - }, - "databaseServiceObjective": { - "description": "Service objective of the metadata database for the App Service Environment, e.g. \"S0\".", - "type": "string", - "readOnly": true - }, - "upgradeDomains": { - "format": "int32", - "description": "Number of upgrade domains of the App Service Environment.", - "type": "integer", - "readOnly": true - }, - "subscriptionId": { - "description": "Subscription of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "dnsSuffix": { - "description": "DNS suffix of the App Service Environment.", - "type": "string" - }, - "lastAction": { - "description": "Last deployment action on the App Service Environment.", - "type": "string", - "readOnly": true - }, - "lastActionResult": { - "description": "Result of the last deployment action on the App Service Environment.", - "type": "string", - "readOnly": true - }, - "allowedMultiSizes": { - "description": "List of comma separated strings describing which VM sizes are allowed for front-ends.", - "type": "string", - "readOnly": true - }, - "allowedWorkerSizes": { - "description": "List of comma separated strings describing which VM sizes are allowed for workers.", - "type": "string", - "readOnly": true - }, - "maximumNumberOfMachines": { - "format": "int32", - "description": "Maximum number of VMs in the App Service Environment.", - "type": "integer", - "readOnly": true - }, - "vipMappings": { - "description": "Description of IP SSL mapping for the App Service Environment.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualIPMapping" - }, - "readOnly": true - }, - "environmentCapacities": { - "description": "Current total, used, and available worker capacities.", - "type": "array", - "items": { - "$ref": "#/definitions/StampCapacity" - }, - "readOnly": true - }, - "networkAccessControlList": { - "description": "Access control list for controlling traffic to the App Service Environment.", - "type": "array", - "items": { - "$ref": "#/definitions/NetworkAccessControlEntry" - } - }, - "environmentIsHealthy": { - "description": "True/false indicating whether the App Service Environment is healthy.", - "type": "boolean", - "readOnly": true - }, - "environmentStatus": { - "description": "Detailed message about with results of the last check of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "resourceGroup": { - "description": "Resource group of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "frontEndScaleFactor": { - "format": "int32", - "description": "Scale factor for front-ends.", - "type": "integer" - }, - "defaultFrontEndScaleFactor": { - "format": "int32", - "description": "Default Scale Factor for FrontEnds.", - "type": "integer", - "readOnly": true - }, - "apiManagementAccountId": { - "description": "API Management Account associated with the App Service Environment.", - "type": "string" - }, - "suspended": { - "description": "true if the App Service Environment is suspended; otherwise, false. The environment can be suspended, e.g. when the management endpoint is no longer available\n (most likely because NSG blocked the incoming traffic).", - "type": "boolean" - }, - "dynamicCacheEnabled": { - "description": "True/false indicating whether the App Service Environment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available\n(most likely because NSG blocked the incoming traffic).", - "type": "boolean" - }, - "clusterSettings": { - "description": "Custom settings for changing the behavior of the App Service Environment.", - "type": "array", - "items": { - "$ref": "#/definitions/NameValuePair" - } - }, - "userWhitelistedIpRanges": { - "description": "User added ip ranges to whitelist on ASE db", - "type": "array", - "items": { - "type": "string" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VirtualIPMapping" } } } @@ -2105,2008 +1868,160 @@ "required": [ "value" ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/AppServiceEnvironmentResource" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, - "AppServiceEnvironmentPatchResource": { - "description": "ARM resource for a app service enviroment.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/AppServiceEnvironment", - "description": "Core resource properties", - "x-ms-client-flatten": true - } - } - }, - "AppServiceEnvironmentResource": { - "description": "App Service Environment ARM resource.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/AppServiceEnvironment", - "description": "Core resource properties", - "x-ms-client-flatten": true - } - } - }, - "AppServicePlan": { - "description": "App Service plan.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "AppServicePlan resource specific properties", - "required": [ - "name" - ], - "properties": { - "name": { - "description": "Name for the App Service plan.", - "type": "string" - }, - "workerTierName": { - "description": "Target worker tier assigned to the App Service plan.", - "type": "string" - }, - "status": { - "description": "App Service plan status.", - "enum": [ - "Ready", - "Pending", - "Creating" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "StatusOptions", - "modelAsString": false - } - }, - "subscription": { - "description": "App Service plan subscription.", - "type": "string", - "readOnly": true - }, - "adminSiteName": { - "description": "App Service plan administration site.", - "type": "string" - }, - "hostingEnvironmentProfile": { - "$ref": "#/definitions/HostingEnvironmentProfile", - "description": "Specification for the App Service Environment to use for the App Service plan.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "maximumNumberOfWorkers": { - "format": "int32", - "description": "Maximum number of instances that can be assigned to this App Service plan.", - "type": "integer", - "readOnly": true - }, - "geoRegion": { - "description": "Geographical location for the App Service plan.", - "type": "string", - "readOnly": true - }, - "perSiteScaling": { - "description": "If true, apps assigned to this App Service plan can be scaled independently.\nIf false, apps assigned to this App Service plan will scale to all instances of the plan.", - "default": false, - "type": "boolean" - }, - "numberOfSites": { - "format": "int32", - "description": "Number of apps assigned to this App Service plan.", - "type": "integer", - "readOnly": true - }, - "isSpot": { - "description": "If true, this App Service Plan owns spot instances.", - "type": "boolean" - }, - "spotExpirationTime": { - "format": "date-time", - "description": "The time when the server farm expires. Valid only if it is a spot server farm.", - "type": "string" - }, - "resourceGroup": { - "description": "Resource group of the App Service plan.", - "type": "string", - "readOnly": true - }, - "reserved": { - "description": "Reserved.", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "targetWorkerCount": { - "format": "int32", - "description": "Scaling worker count.", - "type": "integer" - }, - "targetWorkerSizeId": { - "format": "int32", - "description": "Scaling worker size ID.", - "type": "integer" - }, - "provisioningState": { - "description": "Provisioning state of the App Service Environment.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "InProgress", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": false - } - } - }, - "x-ms-client-flatten": true - }, - "sku": { - "$ref": "#/definitions/SkuDescription" - } - } - }, - "AppServicePlanCollection": { - "description": "Collection of App Service plans.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/AppServicePlan" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, - "AutoHealActions": { - "description": "Actions which to take by the auto-heal module when a rule is triggered.", - "type": "object", - "properties": { - "actionType": { - "description": "Predefined action to be taken.", - "enum": [ - "Recycle", - "LogEvent", - "CustomAction" - ], - "type": "string", - "x-ms-enum": { - "name": "AutoHealActionType", - "modelAsString": false - } - }, - "customAction": { - "$ref": "#/definitions/AutoHealCustomAction", - "description": "Custom action to be taken." - }, - "minProcessExecutionTime": { - "description": "Minimum time the process must execute\nbefore taking the action", - "type": "string" - } - } - }, - "AutoHealCustomAction": { - "description": "Custom action to be executed\nwhen an auto heal rule is triggered.", - "type": "object", - "properties": { - "exe": { - "description": "Executable to be run.", - "type": "string" - }, - "parameters": { - "description": "Parameters for the executable.", - "type": "string" - } - } - }, - "AutoHealRules": { - "description": "Rules that can be defined for auto-heal.", - "type": "object", - "properties": { - "triggers": { - "$ref": "#/definitions/AutoHealTriggers", - "description": "Conditions that describe when to execute the auto-heal actions." - }, - "actions": { - "$ref": "#/definitions/AutoHealActions", - "description": "Actions to be executed when a rule is triggered." - } - } - }, - "AutoHealTriggers": { - "description": "Triggers for auto-heal.", - "type": "object", - "properties": { - "requests": { - "$ref": "#/definitions/RequestsBasedTrigger", - "description": "A rule based on total requests." - }, - "privateBytesInKB": { - "format": "int32", - "description": "A rule based on private bytes.", - "type": "integer" - }, - "statusCodes": { - "description": "A rule based on status codes.", - "type": "array", - "items": { - "$ref": "#/definitions/StatusCodesBasedTrigger" - } - }, - "slowRequests": { - "$ref": "#/definitions/SlowRequestsBasedTrigger", - "description": "A rule based on request execution time." - } - } - }, - "Capability": { - "description": "Describes the capabilities/features allowed for a specific SKU.", - "type": "object", - "properties": { - "name": { - "description": "Name of the SKU capability.", - "type": "string" - }, - "value": { - "description": "Value of the SKU capability.", - "type": "string" - }, - "reason": { - "description": "Reason of the SKU capability.", - "type": "string" - } - } - }, - "CloningInfo": { - "description": "Information needed for cloning operation.", - "required": [ - "sourceWebAppId" - ], - "type": "object", - "properties": { - "correlationId": { - "format": "uuid", - "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\ntogether to use the same snapshot.", - "type": "string", - "example": "00000000-0000-0000-0000-000000000000" - }, - "overwrite": { - "description": "true to overwrite destination app; otherwise, false.", - "type": "boolean" - }, - "cloneCustomHostNames": { - "description": "true to clone custom hostnames from source app; otherwise, false.", - "type": "boolean" - }, - "cloneSourceControl": { - "description": "true to clone source control from source app; otherwise, false.", - "type": "boolean" - }, - "sourceWebAppId": { - "description": "ARM resource ID of the source app. App resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", - "type": "string" - }, - "hostingEnvironment": { - "description": "App Service Environment.", - "type": "string" - }, - "appSettingsOverrides": { - "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \nfrom source app. Otherwise, application settings from source app are retained.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "configureLoadBalancing": { - "description": "true to configure load balancing for source and destination app.", - "type": "boolean" - }, - "trafficManagerProfileId": { - "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", - "type": "string" - }, - "trafficManagerProfileName": { - "description": "Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.", - "type": "string" - }, - "ignoreQuotas": { - "description": "true if quotas should be ignored; otherwise, false.", - "type": "boolean" - } - } - }, - "ConnStringInfo": { - "description": "Database connection string information.", - "type": "object", - "properties": { - "name": { - "description": "Name of connection string.", - "type": "string" - }, - "connectionString": { - "description": "Connection string value.", - "type": "string" - }, - "type": { - "description": "Type of database.", - "enum": [ - "MySql", - "SQLServer", - "SQLAzure", - "Custom", - "NotificationHub", - "ServiceBus", - "EventHub", - "ApiHub", - "DocDb", - "RedisCache", - "PostgreSQL" - ], - "type": "string", - "x-ms-enum": { - "name": "ConnectionStringType", - "modelAsString": false - } - } - } - }, - "CorsSettings": { - "description": "Cross-Origin Resource Sharing (CORS) settings for the app.", - "type": "object", - "properties": { - "allowedOrigins": { - "description": "Gets or sets the list of origins that should be allowed to make cross-origin\ncalls (for example: http://example.com:12345). Use \"*\" to allow all.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "CsmUsageQuota": { - "description": "Usage of the quota resource.", - "type": "object", - "properties": { - "unit": { - "description": "Units of measurement for the quota resourse.", - "type": "string" - }, - "nextResetTime": { - "format": "date-time", - "description": "Next reset time for the resource counter.", - "type": "string" - }, - "currentValue": { - "format": "int64", - "description": "The current value of the resource counter.", - "type": "integer" - }, - "limit": { - "format": "int64", - "description": "The resource limit.", - "type": "integer" - }, - "name": { - "$ref": "#/definitions/LocalizableString", - "description": "Quota name." - } - } - }, - "CsmUsageQuotaCollection": { - "description": "Collection of CSM usage quotas.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/CsmUsageQuota" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, - "ErrorEntity": { - "description": "Body of the error response returned from the API.", - "type": "object", - "properties": { - "extendedCode": { - "description": "Type of error.", - "type": "string" - }, - "messageTemplate": { - "description": "Message template.", - "type": "string" - }, - "parameters": { - "description": "Parameters for the template.", - "type": "array", - "items": { - "type": "string" - } - }, - "innerErrors": { - "description": "Inner errors.", - "type": "array", - "items": { - "$ref": "#/definitions/ErrorEntity" - } - }, - "code": { - "description": "Basic error code.", - "type": "string" - }, - "message": { - "description": "Any details of the error.", - "type": "string" - } - } - }, - "Experiments": { - "description": "Routing rules in production experiments.", - "type": "object", - "properties": { - "rampUpRules": { - "description": "List of ramp-up rules.", - "type": "array", - "items": { - "$ref": "#/definitions/RampUpRule" - } - } - } - }, - "HandlerMapping": { - "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \nFor example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", - "type": "object", - "properties": { - "extension": { - "description": "Requests with this extension will be handled using the specified FastCGI application.", - "type": "string" - }, - "scriptProcessor": { - "description": "The absolute path to the FastCGI application.", - "type": "string" - }, - "arguments": { - "description": "Command-line arguments to be passed to the script processor.", - "type": "string" - } - } - }, - "HostNameSslState": { - "description": "SSL-enabled hostname.", - "type": "object", - "properties": { - "name": { - "description": "Hostname.", - "type": "string" - }, - "sslState": { - "description": "SSL type.", - "enum": [ - "Disabled", - "SniEnabled", - "IpBasedEnabled" - ], - "type": "string", - "x-ms-enum": { - "name": "SslState", - "modelAsString": false - } - }, - "virtualIP": { - "description": "Virtual IP address assigned to the hostname if IP based SSL is enabled.", - "type": "string" - }, - "thumbprint": { - "description": "SSL certificate thumbprint.", - "type": "string" - }, - "toUpdate": { - "description": "Set to true to update existing hostname.", - "type": "boolean" - }, - "hostType": { - "description": "Indicates whether the hostname is a standard or repository hostname.", - "enum": [ - "Standard", - "Repository" - ], - "type": "string", - "x-ms-enum": { - "name": "HostType", - "modelAsString": false - } - } - } - }, - "HostingEnvironmentDiagnostics": { - "description": "Diagnostics for an App Service Environment.", - "type": "object", - "properties": { - "name": { - "description": "Name/identifier of the diagnostics.", - "type": "string" - }, - "diagnosicsOutput": { - "description": "Diagnostics output.", - "type": "string" - } - } - }, - "HostingEnvironmentProfile": { - "description": "Specification for an App Service Environment to use for this resource.", - "type": "object", - "properties": { - "id": { - "description": "Resource ID of the App Service Environment.", - "type": "string" - }, - "name": { - "description": "Name of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Resource type of the App Service Environment.", - "type": "string", - "readOnly": true - } - } - }, - "IpSecurityRestriction": { - "description": "IP security restriction on an app.", - "required": [ - "ipAddress" - ], - "type": "object", - "properties": { - "ipAddress": { - "description": "IP address the security restriction is valid for.", - "type": "string" - }, - "subnetMask": { - "description": "Subnet mask for the range of IP addresses the restriction is valid for.", - "type": "string" - } - } - }, - "LocalizableString": { - "description": "Localizable string object containing the name and a localized value.", - "type": "object", - "properties": { - "value": { - "description": "Non-localized name.", - "type": "string" - }, - "localizedValue": { - "description": "Localized name.", - "type": "string" - } - } - }, - "ManagedServiceIdentity": { - "description": "Managed service identity.", - "type": "object", - "properties": { - "type": { - "description": "Type of managed service identity.", - "enum": [ - "SystemAssigned" - ], - "x-ms-enum": { - "name": "ManagedServiceIdentityType", - "modelAsString": true - } - }, - "tenantId": { - "description": "Tenant of managed service identity.", - "type": "string", - "readOnly": true - }, - "principalId": { - "description": "Principal Id of managed service identity.", - "type": "string", - "readOnly": true - } - } - }, - "MetricAvailabilily": { - "description": "Metric availability and retention.", - "type": "object", - "properties": { - "timeGrain": { - "description": "Time grain.", - "type": "string" - }, - "retention": { - "description": "Retention period for the current time grain.", - "type": "string" - } - } - }, - "MetricDefinition": { - "description": "Metadata for a metric.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "MetricDefinition resource specific properties", - "properties": { - "name": { - "description": "Name of the metric.", - "type": "string", - "readOnly": true - }, - "unit": { - "description": "Unit of the metric.", - "type": "string", - "readOnly": true - }, - "primaryAggregationType": { - "description": "Primary aggregation type.", - "type": "string", - "readOnly": true - }, - "metricAvailabilities": { - "description": "List of time grains supported for the metric together with retention period.", - "type": "array", - "items": { - "$ref": "#/definitions/MetricAvailabilily" - }, - "readOnly": true - }, - "displayName": { - "description": "Friendly name shown in the UI.", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "NameValuePair": { - "description": "Name value pair.", - "type": "object", - "properties": { - "name": { - "description": "Pair name.", - "type": "string" - }, - "value": { - "description": "Pair value.", - "type": "string" - } - } - }, - "NetworkAccessControlEntry": { - "description": "Network access control entry.", - "type": "object", - "properties": { - "action": { - "description": "Action object.", - "enum": [ - "Permit", - "Deny" - ], - "type": "string", - "x-ms-enum": { - "name": "AccessControlEntryAction", - "modelAsString": false - } - }, - "description": { - "description": "Description.", - "type": "string" - }, - "order": { - "format": "int32", - "description": "Order of precedence.", - "type": "integer" - }, - "remoteSubnet": { - "description": "Remote subnet.", - "type": "string" - } - } - }, - "Operation": { - "description": "Operation.", - "type": "object", - "properties": { - "id": { - "description": "Operation ID.", - "type": "string" - }, - "name": { - "description": "Operation name.", - "type": "string" - }, - "status": { - "description": "The current status of the operation.", - "enum": [ - "InProgress", - "Failed", - "Succeeded", - "TimedOut", - "Created" - ], - "type": "string", - "x-ms-enum": { - "name": "OperationStatus", - "modelAsString": false - } - }, - "errors": { - "description": "Any errors associate with the operation.", - "type": "array", - "items": { - "$ref": "#/definitions/ErrorEntity" - } - }, - "createdTime": { - "format": "date-time", - "description": "Time when operation has started.", - "type": "string" - }, - "modifiedTime": { - "format": "date-time", - "description": "Time when operation has been updated.", - "type": "string" - }, - "expirationTime": { - "format": "date-time", - "description": "Time when operation will expire.", - "type": "string" - }, - "geoMasterOperationId": { - "format": "uuid", - "description": "Applicable only for stamp operation ids.", - "type": "string", - "example": "00000000-0000-0000-0000-000000000000" - } - } - }, - "ProxyOnlyResource": { - "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - } - }, - "x-ms-azure-resource": true - }, - "PushSettings": { - "description": "Push settings for the App.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "PushSettings resource specific properties", - "required": [ - "isPushEnabled" - ], - "properties": { - "isPushEnabled": { - "description": "Gets or sets a flag indicating whether the Push endpoint is enabled.", - "type": "boolean" - }, - "tagWhitelistJson": { - "description": "Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", - "type": "string" - }, - "tagsRequiringAuth": { - "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\nTags can consist of alphanumeric characters and the following:\n'_', '@', '#', '.', ':', '-'. \nValidation should be performed at the PushRequestHandler.", - "type": "string" - }, - "dynamicTagsJson": { - "description": "Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "RampUpRule": { - "description": "Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance.", - "type": "object", - "properties": { - "actionHostName": { - "description": "Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net.", - "type": "string" - }, - "reroutePercentage": { - "format": "double", - "description": "Percentage of the traffic which will be redirected to ActionHostName.", - "type": "number" - }, - "changeStep": { - "format": "double", - "description": "In auto ramp up scenario this is the step to to add/remove from ReroutePercentage until it reaches \nMinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specificed in ChangeIntervalInMinutes.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", - "type": "number" - }, - "changeIntervalInMinutes": { - "format": "int32", - "description": "Specifies interval in mimuntes to reevaluate ReroutePercentage.", - "type": "integer" - }, - "minReroutePercentage": { - "format": "double", - "description": "Specifies lower boundary above which ReroutePercentage will stay.", - "type": "number" - }, - "maxReroutePercentage": { - "format": "double", - "description": "Specifies upper boundary below which ReroutePercentage will stay.", - "type": "number" - }, - "changeDecisionCallbackUrl": { - "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\nhttps://www.siteextensions.net/packages/TiPCallback/", - "type": "string" - }, - "name": { - "description": "Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment.", - "type": "string" - } - } - }, - "RequestsBasedTrigger": { - "description": "Trigger based on total requests.", - "type": "object", - "properties": { - "count": { - "format": "int32", - "description": "Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } - }, - "Resource": { - "description": "Azure resource. This resource is tracked in Azure Resource Manager", - "required": [ - "location" - ], - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "location": { - "description": "Resource Location.", - "type": "string" - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - }, - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "x-ms-azure-resource": true - }, - "ResourceMetric": { - "description": "Object representing a metric for any resource .", - "type": "object", - "properties": { - "name": { - "$ref": "#/definitions/ResourceMetricName", - "description": "Name of metric.", - "readOnly": true - }, - "unit": { - "description": "Metric unit.", - "type": "string", - "readOnly": true - }, - "timeGrain": { - "description": "Metric granularity. E.g PT1H, PT5M, P1D", - "type": "string", - "readOnly": true - }, - "startTime": { - "format": "date-time", - "description": "Metric start time.", - "type": "string", - "readOnly": true - }, - "endTime": { - "format": "date-time", - "description": "Metric end time.", - "type": "string", - "readOnly": true - }, - "resourceId": { - "description": "Metric resource Id.", - "type": "string", - "readOnly": true - }, - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "metricValues": { - "description": "Metric values.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricValue" - }, - "readOnly": true - }, - "properties": { - "description": "Properties.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricProperty" - }, - "readOnly": true - } - } - }, - "ResourceMetricAvailability": { - "description": "Metrics availability and retention.", - "type": "object", - "properties": { - "timeGrain": { - "description": "Time grain .", - "type": "string", - "readOnly": true - }, - "retention": { - "description": "Retention period for the current time grain.", - "type": "string", - "readOnly": true - } - } - }, - "ResourceMetricCollection": { - "description": "Collection of metric responses.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetric" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, - "ResourceMetricDefinition": { - "description": "Metadata for the metrics.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "ResourceMetricDefinition resource specific properties", - "properties": { - "name": { - "$ref": "#/definitions/ResourceMetricName", - "description": "Name of the metric.", - "readOnly": true - }, - "unit": { - "description": "Unit of the metric.", - "type": "string", - "readOnly": true - }, - "primaryAggregationType": { - "description": "Primary aggregation type.", - "type": "string", - "readOnly": true - }, - "metricAvailabilities": { - "description": "List of time grains supported for the metric together with retention period.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricAvailability" - }, - "readOnly": true - }, - "resourceUri": { - "description": "Resource URI.", - "type": "string", - "readOnly": true - }, - "id": { - "description": "Resource ID.", - "type": "string", - "readOnly": true - }, - "properties": { - "description": "Properties.", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "ResourceMetricDefinitionCollection": { - "description": "Collection of metric definitions.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricDefinition" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, - "ResourceMetricName": { - "description": "Name of a metric for any resource .", - "type": "object", - "properties": { - "value": { - "description": "metric name value.", - "type": "string", - "readOnly": true - }, - "localizedValue": { - "description": "Localized metric name value.", - "type": "string", - "readOnly": true - } - } - }, - "ResourceMetricProperty": { - "description": "Resource metric property.", - "type": "object", - "properties": { - "key": { - "description": "Key for resource metric property.", - "type": "string" - }, - "value": { - "description": "Value of pair.", - "type": "string" - } - } - }, - "ResourceMetricValue": { - "description": "Value of resource metric.", - "type": "object", - "properties": { - "timestamp": { - "description": "Value timestamp.", - "type": "string", - "readOnly": true - }, - "average": { - "format": "float", - "description": "Value average.", - "type": "number", - "readOnly": true - }, - "minimum": { - "format": "float", - "description": "Value minimum.", - "type": "number", - "readOnly": true - }, - "maximum": { - "format": "float", - "description": "Value maximum.", - "type": "number", - "readOnly": true - }, - "total": { - "format": "float", - "description": "Value total.", - "type": "number", - "readOnly": true - }, - "count": { - "format": "float", - "description": "Value count.", - "type": "number", - "readOnly": true - }, - "properties": { - "description": "Properties.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricProperty" - }, - "readOnly": true - } - } - }, - "Site": { - "description": "A web app, a mobile app backend, or an API app.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Site resource specific properties", - "properties": { - "state": { - "description": "Current state of the app.", - "type": "string", - "readOnly": true - }, - "hostNames": { - "description": "Hostnames associated with the app.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "repositorySiteName": { - "description": "Name of the repository site.", - "type": "string", - "readOnly": true - }, - "usageState": { - "description": "State indicating whether the app has exceeded its quota usage. Read-only.", - "enum": [ - "Normal", - "Exceeded" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "UsageState", - "modelAsString": false - } - }, - "enabled": { - "description": "true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).", - "type": "boolean" - }, - "enabledHostNames": { - "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\nthe app is not served on those hostnames.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "availabilityState": { - "description": "Management information availability state for the app.", - "enum": [ - "Normal", - "Limited", - "DisasterRecoveryMode" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "SiteAvailabilityState", - "modelAsString": false - } - }, - "hostNameSslStates": { - "description": "Hostname SSL states are used to manage the SSL bindings for app's hostnames.", - "type": "array", - "items": { - "$ref": "#/definitions/HostNameSslState" - } - }, - "serverFarmId": { - "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", - "type": "string" - }, - "reserved": { - "description": "true if reserved; otherwise, false.", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "lastModifiedTimeUtc": { - "format": "date-time", - "description": "Last time the app was modified, in UTC. Read-only.", - "type": "string", - "readOnly": true - }, - "siteConfig": { - "$ref": "#/definitions/SiteConfig", - "description": "Configuration of the app." - }, - "trafficManagerHostNames": { - "description": "Azure Traffic Manager hostnames associated with the app. Read-only.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "scmSiteAlsoStopped": { - "description": "true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", - "default": false, - "type": "boolean" - }, - "targetSwapSlot": { - "description": "Specifies which deployment slot this app will swap into. Read-only.", - "type": "string", - "readOnly": true - }, - "hostingEnvironmentProfile": { - "$ref": "#/definitions/HostingEnvironmentProfile", - "description": "App Service Environment to use for the app.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "clientAffinityEnabled": { - "description": "true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.", - "type": "boolean" - }, - "clientCertEnabled": { - "description": "true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.", - "type": "boolean" - }, - "hostNamesDisabled": { - "description": "true to disable the public hostnames of the app; otherwise, false.\n If true, the app is only accessible via API management process.", - "type": "boolean" - }, - "outboundIpAddresses": { - "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only.", - "type": "string", - "readOnly": true - }, - "possibleOutboundIpAddresses": { - "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only.", - "type": "string", - "readOnly": true - }, - "containerSize": { - "format": "int32", - "description": "Size of the function container.", - "type": "integer" - }, - "dailyMemoryTimeQuota": { - "format": "int32", - "description": "Maximum allowed daily memory-time quota (applicable on dynamic apps only).", - "type": "integer" - }, - "suspendedTill": { - "format": "date-time", - "description": "App suspended till in case memory-time quota is exceeded.", - "type": "string", - "readOnly": true - }, - "maxNumberOfWorkers": { - "format": "int32", - "description": "Maximum number of workers.\nThis only applies to Functions container.", - "type": "integer", - "readOnly": true - }, - "cloningInfo": { - "$ref": "#/definitions/CloningInfo", - "description": "If specified during app creation, the app is cloned from a source app.", - "x-ms-mutability": [ - "create" - ] - }, - "snapshotInfo": { - "$ref": "#/definitions/SnapshotRecoveryRequest", - "description": "If specified during app creation, the app is created from a previous snapshot.", - "x-ms-mutability": [ - "create" - ] - }, - "resourceGroup": { - "description": "Name of the resource group the app belongs to. Read-only.", - "type": "string", - "readOnly": true - }, - "isDefaultContainer": { - "description": "true if the app is a default container; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "defaultHostName": { - "description": "Default hostname of the app. Read-only.", - "type": "string", - "readOnly": true - }, - "slotSwapStatus": { - "$ref": "#/definitions/SlotSwapStatus", - "description": "Status of the last deployment slot swap operation.", - "readOnly": true - }, - "httpsOnly": { - "description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests", - "type": "boolean" - } - }, - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/ManagedServiceIdentity" - } - } - }, - "SiteConfig": { - "description": "Configuration of an App Service app.", - "type": "object", - "properties": { - "numberOfWorkers": { - "format": "int32", - "description": "Number of workers.", - "type": "integer" - }, - "defaultDocuments": { - "description": "Default documents.", - "type": "array", - "items": { - "type": "string" - } - }, - "netFrameworkVersion": { - "description": ".NET Framework version.", - "default": "v4.6", - "type": "string" - }, - "phpVersion": { - "description": "Version of PHP.", - "type": "string" - }, - "pythonVersion": { - "description": "Version of Python.", - "type": "string" - }, - "nodeVersion": { - "description": "Version of Node.js.", - "type": "string" - }, - "linuxFxVersion": { - "description": "Linux App Framework and version", - "type": "string" - }, - "requestTracingEnabled": { - "description": "true if request tracing is enabled; otherwise, false.", - "type": "boolean" - }, - "requestTracingExpirationTime": { - "format": "date-time", - "description": "Request tracing expiration time.", - "type": "string" - }, - "remoteDebuggingEnabled": { - "description": "true if remote debugging is enabled; otherwise, false.", - "type": "boolean" - }, - "remoteDebuggingVersion": { - "description": "Remote debugging version.", - "type": "string" - }, - "httpLoggingEnabled": { - "description": "true if HTTP logging is enabled; otherwise, false.", - "type": "boolean" - }, - "logsDirectorySizeLimit": { - "format": "int32", - "description": "HTTP logs directory size limit.", - "type": "integer" - }, - "detailedErrorLoggingEnabled": { - "description": "true if detailed error logging is enabled; otherwise, false.", - "type": "boolean" - }, - "publishingUsername": { - "description": "Publishing user name.", - "type": "string" - }, - "appSettings": { - "description": "Application settings.", - "type": "array", - "items": { - "$ref": "#/definitions/NameValuePair" - } - }, - "connectionStrings": { - "description": "Connection strings.", - "type": "array", - "items": { - "$ref": "#/definitions/ConnStringInfo" - } - }, - "machineKey": { - "$ref": "#/definitions/SiteMachineKey", - "description": "Site MachineKey.", - "readOnly": true - }, - "handlerMappings": { - "description": "Handler mappings.", - "type": "array", - "items": { - "$ref": "#/definitions/HandlerMapping" - } - }, - "documentRoot": { - "description": "Document root.", - "type": "string" - }, - "scmType": { - "description": "SCM type.", - "enum": [ - "None", - "Dropbox", - "Tfs", - "LocalGit", - "GitHub", - "CodePlexGit", - "CodePlexHg", - "BitbucketGit", - "BitbucketHg", - "ExternalGit", - "ExternalHg", - "OneDrive", - "VSO" - ], - "type": "string", - "x-ms-enum": { - "name": "ScmType", - "modelAsString": true - } - }, - "use32BitWorkerProcess": { - "description": "true to use 32-bit worker process; otherwise, false.", - "type": "boolean" - }, - "webSocketsEnabled": { - "description": "true if WebSocket is enabled; otherwise, false.", - "type": "boolean" - }, - "alwaysOn": { - "description": "true if Always On is enabled; otherwise, false.", - "type": "boolean" - }, - "javaVersion": { - "description": "Java version.", - "type": "string" - }, - "javaContainer": { - "description": "Java container.", - "type": "string" - }, - "javaContainerVersion": { - "description": "Java container version.", - "type": "string" - }, - "appCommandLine": { - "description": "App command line to launch.", - "type": "string" - }, - "managedPipelineMode": { - "description": "Managed pipeline mode.", - "enum": [ - "Integrated", - "Classic" - ], - "type": "string", - "x-ms-enum": { - "name": "ManagedPipelineMode", - "modelAsString": false - } - }, - "virtualApplications": { - "description": "Virtual applications.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualApplication" - } - }, - "loadBalancing": { - "description": "Site load balancing.", - "enum": [ - "WeightedRoundRobin", - "LeastRequests", - "LeastResponseTime", - "WeightedTotalTraffic", - "RequestHash" - ], - "type": "string", - "x-ms-enum": { - "name": "SiteLoadBalancing", - "modelAsString": false - } - }, - "experiments": { - "$ref": "#/definitions/Experiments", - "description": "This is work around for polymophic types." - }, - "limits": { - "$ref": "#/definitions/SiteLimits", - "description": "Site limits." - }, - "autoHealEnabled": { - "description": "true if Auto Heal is enabled; otherwise, false.", - "type": "boolean" - }, - "autoHealRules": { - "$ref": "#/definitions/AutoHealRules", - "description": "Auto Heal rules." - }, - "tracingOptions": { - "description": "Tracing options.", - "type": "string" - }, - "vnetName": { - "description": "Virtual Network name.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "cors": { - "$ref": "#/definitions/CorsSettings", - "description": "Cross-Origin Resource Sharing (CORS) settings." - }, - "push": { - "$ref": "#/definitions/PushSettings", - "description": "Push endpoint settings." - }, - "apiDefinition": { - "$ref": "#/definitions/ApiDefinitionInfo", - "description": "Information about the formal API definition for the app." - }, - "autoSwapSlotName": { - "description": "Auto-swap slot name.", - "type": "string" - }, - "localMySqlEnabled": { - "description": "true to enable local MySQL; otherwise, false.", - "default": false, - "type": "boolean" - }, - "ipSecurityRestrictions": { - "description": "IP security restrictions.", + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", "type": "array", "items": { - "$ref": "#/definitions/IpSecurityRestriction" + "$ref": "#/definitions/AppServiceEnvironmentResource" } - } - } - }, - "SiteLimits": { - "description": "Metric limits set on an app.", - "type": "object", - "properties": { - "maxPercentageCpu": { - "format": "double", - "description": "Maximum allowed CPU usage percentage.", - "type": "number" - }, - "maxMemoryInMb": { - "format": "int64", - "description": "Maximum allowed memory usage in MB.", - "type": "integer" - }, - "maxDiskSizeInMb": { - "format": "int64", - "description": "Maximum allowed disk size usage in MB.", - "type": "integer" - } - } - }, - "SiteMachineKey": { - "description": "MachineKey of an app.", - "type": "object", - "properties": { - "validation": { - "description": "MachineKey validation.", - "type": "string" - }, - "validationKey": { - "description": "Validation key.", - "type": "string" }, - "decryption": { - "description": "Decryption.", - "type": "string" - }, - "decryptionKey": { - "description": "Decryption key.", + "nextLink": { + "description": "Link to next page of resources.", "type": "string" } } }, - "SkuCapacity": { - "description": "Description of the App Service plan scale options.", + "AppServiceEnvironmentPatchResource": { + "description": "ARM resource for a app service enviroment.", "type": "object", - "properties": { - "minimum": { - "format": "int32", - "description": "Minimum number of workers for this App Service plan SKU.", - "type": "integer" - }, - "maximum": { - "format": "int32", - "description": "Maximum number of workers for this App Service plan SKU.", - "type": "integer" - }, - "default": { - "format": "int32", - "description": "Default number of workers for this App Service plan SKU.", - "type": "integer" - }, - "scaleType": { - "description": "Available scale configurations for an App Service plan.", - "type": "string" + "allOf": [ + { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } - } - }, - "SkuDescription": { - "description": "Description of 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" - }, - "skuCapacity": { - "$ref": "#/definitions/SkuCapacity", - "description": "Min, max, and default scale values of the SKU." - }, - "locations": { - "description": "Locations of the SKU.", - "type": "array", - "items": { - "type": "string" - } - }, - "capabilities": { - "description": "Capabilities of the SKU, e.g., is traffic manager enabled?", - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } + "properties": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServiceEnvironment", + "description": "Core resource properties", + "x-ms-client-flatten": true } } }, - "SkuInfo": { - "description": "SKU discovery information.", + "AppServiceEnvironmentResource": { + "description": "App Service Environment ARM resource.", "type": "object", - "properties": { - "resourceType": { - "description": "Resource type that this SKU applies to.", - "type": "string" - }, - "sku": { - "$ref": "#/definitions/SkuDescription", - "description": "Name and tier of the SKU." - }, - "capacity": { - "$ref": "#/definitions/SkuCapacity", - "description": "Min, max, and default scale values of the SKU." + "allOf": [ + { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Resource" } - } - }, - "SkuInfoCollection": { - "description": "Collection of SKU information.", - "required": [ - "value" ], - "type": "object", "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/SkuInfo" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" + "properties": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServiceEnvironment", + "description": "Core resource properties", + "x-ms-client-flatten": true } } }, - "SlotSwapStatus": { - "description": "The status of the last successfull slot swap operation.", + "HostingEnvironmentDiagnostics": { + "description": "Diagnostics for an App Service Environment.", "type": "object", "properties": { - "timestampUtc": { - "format": "date-time", - "description": "The time the last successful slot swap completed.", - "type": "string", - "readOnly": true - }, - "sourceSlotName": { - "description": "The source slot of the last swap operation.", - "type": "string", - "readOnly": true + "name": { + "description": "Name/identifier of the diagnostics.", + "type": "string" }, - "destinationSlotName": { - "description": "The destination slot of the last swap operation.", - "type": "string", - "readOnly": true + "diagnosicsOutput": { + "description": "Diagnostics output.", + "type": "string" } } }, - "SlowRequestsBasedTrigger": { - "description": "Trigger based on request execution time.", + "MetricAvailabilily": { + "description": "Metric availability and retention.", "type": "object", "properties": { - "timeTaken": { - "description": "Time taken.", + "timeGrain": { + "description": "Time grain.", "type": "string" }, - "count": { - "format": "int32", - "description": "Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", + "retention": { + "description": "Retention period for the current time grain.", "type": "string" } } }, - "SnapshotRecoveryRequest": { - "description": "Details about app recovery operation.", + "MetricDefinition": { + "description": "Metadata for a metric.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { "properties": { - "description": "SnapshotRecoveryRequest resource specific properties", - "required": [ - "overwrite" - ], + "description": "MetricDefinition resource specific properties", "properties": { - "snapshotTime": { - "description": "Point in time in which the app recovery should be attempted, formatted as a DateTime string.", - "type": "string" + "name": { + "description": "Name of the metric.", + "type": "string", + "readOnly": true }, - "recoveryTarget": { - "$ref": "#/definitions/SnapshotRecoveryTarget", - "description": "Specifies the web app that snapshot contents will be written to." + "unit": { + "description": "Unit of the metric.", + "type": "string", + "readOnly": true }, - "overwrite": { - "description": "If true the recovery operation can overwrite source app; otherwise, false.", - "type": "boolean" + "primaryAggregationType": { + "description": "Primary aggregation type.", + "type": "string", + "readOnly": true }, - "recoverConfiguration": { - "description": "If true, site configuration, in addition to content, will be reverted.", - "type": "boolean" + "metricAvailabilities": { + "description": "List of time grains supported for the metric together with retention period.", + "type": "array", + "items": { + "$ref": "#/definitions/MetricAvailabilily" + }, + "readOnly": true }, - "ignoreConflictingHostNames": { - "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\nThis setting is only necessary when RecoverConfiguration is enabled.", - "type": "boolean" + "displayName": { + "description": "Friendly name shown in the UI.", + "type": "string", + "readOnly": true } }, "x-ms-client-flatten": true } } }, - "SnapshotRecoveryTarget": { - "description": "Specifies the web app that snapshot contents will be written to.", + "SkuInfo": { + "description": "SKU discovery information.", "type": "object", "properties": { - "location": { - "description": "Geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS", + "resourceType": { + "description": "Resource type that this SKU applies to.", "type": "string" }, - "id": { - "description": "ARM resource ID of the target app. \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", - "type": "string" + "sku": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SkuDescription", + "description": "Name and tier of the SKU." + }, + "capacity": { + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SkuCapacity", + "description": "Min, max, and default scale values of the SKU." } } }, - "StampCapacity": { - "description": "Stamp capacity information.", + "SkuInfoCollection": { + "description": "Collection of SKU information.", + "required": [ + "value" + ], "type": "object", "properties": { - "name": { - "description": "Name of the stamp.", - "type": "string" - }, - "availableCapacity": { - "format": "int64", - "description": "Available capacity (# of machines, bytes of storage etc...).", - "type": "integer" - }, - "totalCapacity": { - "format": "int64", - "description": "Total capacity (# of machines, bytes of storage etc...).", - "type": "integer" - }, - "unit": { - "description": "Name of the unit.", - "type": "string" - }, - "computeMode": { - "description": "Shared/dedicated workers.", - "enum": [ - "Shared", - "Dedicated", - "Dynamic" - ], - "type": "string", - "x-ms-enum": { - "name": "ComputeModeOptions", - "modelAsString": false - } - }, - "workerSize": { - "description": "Size of the machines.", - "enum": [ - "Default", - "Small", - "Medium", - "Large", - "D1", - "D2", - "D3" - ], - "type": "string", - "x-ms-enum": { - "name": "WorkerSizeOptions", - "modelAsString": false + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/SkuInfo" } }, - "workerSizeId": { - "format": "int32", - "description": "Size ID of machines: \n0 - Small\n1 - Medium\n2 - Large", - "type": "integer" - }, - "excludeFromCapacityAllocation": { - "description": "If true, it includes basic apps.\nBasic apps are not used for capacity allocation.", - "type": "boolean" - }, - "isApplicableForAllComputeModes": { - "description": "true if capacity is applicable for all apps; otherwise, false.", - "type": "boolean" - }, - "siteMode": { - "description": "Shared or Dedicated.", + "nextLink": { + "description": "Link to next page of resources.", "type": "string" } } @@ -4122,7 +2037,7 @@ "description": "Collection of resources.", "type": "array", "items": { - "$ref": "#/definitions/StampCapacity" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/StampCapacity" } }, "nextLink": { @@ -4131,42 +2046,12 @@ } } }, - "StatusCodesBasedTrigger": { - "description": "Trigger based on status code.", - "type": "object", - "properties": { - "status": { - "format": "int32", - "description": "HTTP status code.", - "type": "integer" - }, - "subStatus": { - "format": "int32", - "description": "SubStatus.", - "type": "integer" - }, - "win32Status": { - "format": "int32", - "description": "Win32 error code.", - "type": "integer" - }, - "count": { - "format": "int32", - "description": "Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } - }, "Usage": { "description": "Usage of the quota resource.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { @@ -4255,154 +2140,6 @@ } } }, - "VirtualApplication": { - "description": "Virtual application in an app.", - "type": "object", - "properties": { - "virtualPath": { - "description": "Virtual path.", - "type": "string" - }, - "physicalPath": { - "description": "Physical path.", - "type": "string" - }, - "preloadEnabled": { - "description": "true if preloading is enabled; otherwise, false.", - "type": "boolean" - }, - "virtualDirectories": { - "description": "Virtual directories for virtual application.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualDirectory" - } - } - } - }, - "VirtualDirectory": { - "description": "Directory for virtual application.", - "type": "object", - "properties": { - "virtualPath": { - "description": "Path to virtual application.", - "type": "string" - }, - "physicalPath": { - "description": "Physical path.", - "type": "string" - } - } - }, - "VirtualIPMapping": { - "description": "Virtual IP mapping.", - "type": "object", - "properties": { - "virtualIP": { - "description": "Virtual IP address.", - "type": "string" - }, - "internalHttpPort": { - "format": "int32", - "description": "Internal HTTP port.", - "type": "integer" - }, - "internalHttpsPort": { - "format": "int32", - "description": "Internal HTTPS port.", - "type": "integer" - }, - "inUse": { - "description": "Is virtual IP mapping in use.", - "type": "boolean" - } - } - }, - "VirtualNetworkProfile": { - "description": "Specification for using a Virtual Network.", - "type": "object", - "properties": { - "id": { - "description": "Resource id of the Virtual Network.", - "type": "string" - }, - "name": { - "description": "Name of the Virtual Network (read-only).", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Resource type of the Virtual Network (read-only).", - "type": "string", - "readOnly": true - }, - "subnet": { - "description": "Subnet within the Virtual Network.", - "type": "string" - } - } - }, - "WebAppCollection": { - "description": "Collection of App Service apps.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/Site" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, - "WorkerPool": { - "description": "Worker pool of an App Service Environment.", - "type": "object", - "properties": { - "workerSizeId": { - "format": "int32", - "description": "Worker size ID for referencing this worker pool.", - "type": "integer" - }, - "computeMode": { - "description": "Shared or dedicated app hosting.", - "enum": [ - "Shared", - "Dedicated", - "Dynamic" - ], - "type": "string", - "x-ms-enum": { - "name": "ComputeModeOptions", - "modelAsString": false - } - }, - "workerSize": { - "description": "VM size of the worker pool instances.", - "type": "string" - }, - "workerCount": { - "format": "int32", - "description": "Number of instances in the worker pool.", - "type": "integer" - }, - "instanceNames": { - "description": "Names of all instances in the worker pool (read only).", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - } - } - }, "WorkerPoolCollection": { "description": "Collection of worker pools.", "required": [ @@ -4428,17 +2165,17 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { "properties": { - "$ref": "#/definitions/WorkerPool", + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WorkerPool", "description": "Core resource properties", "x-ms-client-flatten": true }, "sku": { - "$ref": "#/definitions/SkuDescription" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/SkuDescription" } } } diff --git a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json index 82154e3834d2..58f2bfea9521 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json @@ -41,7 +41,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/AppServicePlanCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServicePlanCollection" } } }, @@ -73,7 +73,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/AppServicePlanCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServicePlanCollection" } } }, @@ -112,7 +112,7 @@ "200": { "description": "OK.", "schema": { - "$ref": "#/definitions/AppServicePlan" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServicePlan" } }, "404": { @@ -144,7 +144,7 @@ "description": "Details of the App Service plan.", "required": true, "schema": { - "$ref": "#/definitions/AppServicePlan" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServicePlan" } }, { @@ -158,13 +158,13 @@ "200": { "description": "OK.", "schema": { - "$ref": "#/definitions/AppServicePlan" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServicePlan" } }, "202": { "description": "Operation is in progress.", "schema": { - "$ref": "#/definitions/AppServicePlan" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServicePlan" } } }, @@ -242,13 +242,13 @@ "200": { "description": "OK.", "schema": { - "$ref": "#/definitions/AppServicePlan" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServicePlan" } }, "202": { "description": "Operation is in progress.", "schema": { - "$ref": "#/definitions/AppServicePlan" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/AppServicePlan" } } } @@ -286,7 +286,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/definitions/Capability" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/Capability" } } } @@ -337,7 +337,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HybridConnection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" } } } @@ -435,7 +435,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HybridConnectionKey" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnectionKey" } } } @@ -599,7 +599,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ResourceMetricDefinitionCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricDefinitionCollection" } } }, @@ -651,7 +651,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ResourceMetricCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ResourceMetricCollection" } } }, @@ -748,7 +748,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/WebAppCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/WebAppCollection" } } }, @@ -830,7 +830,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/CsmUsageQuotaCollection" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/CsmUsageQuotaCollection" } } }, @@ -871,7 +871,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/definitions/VnetInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" } } } @@ -915,7 +915,7 @@ "200": { "description": "OK.", "schema": { - "$ref": "#/definitions/VnetInfo" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetInfo" } }, "404": { @@ -968,7 +968,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetGateway" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" } } } @@ -1011,7 +1011,7 @@ "description": "Definition of the gateway.", "required": true, "schema": { - "$ref": "#/definitions/VnetGateway" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" } }, { @@ -1025,7 +1025,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetGateway" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetGateway" } } } @@ -1070,7 +1070,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/definitions/VnetRoute" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetRoute" } } } @@ -1123,7 +1123,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/definitions/VnetRoute" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetRoute" } } }, @@ -1170,7 +1170,7 @@ "description": "Definition of the Virtual Network route.", "required": true, "schema": { - "$ref": "#/definitions/VnetRoute" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetRoute" } }, { @@ -1184,7 +1184,7 @@ "200": { "description": "OK.", "schema": { - "$ref": "#/definitions/VnetRoute" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetRoute" } }, "400": { @@ -1281,7 +1281,7 @@ "description": "Definition of the Virtual Network route.", "required": true, "schema": { - "$ref": "#/definitions/VnetRoute" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetRoute" } }, { @@ -1295,7 +1295,7 @@ "200": { "description": "OK.", "schema": { - "$ref": "#/definitions/VnetRoute" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/VnetRoute" } }, "400": { @@ -1349,27 +1349,17 @@ } }, "definitions": { - "ApiDefinitionInfo": { - "description": "Information about the formal API definition for the app.", - "type": "object", - "properties": { - "url": { - "description": "The URL of the API definition.", - "type": "string" - } - } - }, - "AppServicePlan": { - "description": "App Service plan.", + "AppServicePlanPatchResource": { + "description": "ARM resource for a app service plan.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { "properties": { - "description": "AppServicePlan resource specific properties", + "description": "AppServicePlanPatchResource resource specific properties", "required": [ "name" ], @@ -1406,7 +1396,7 @@ "type": "string" }, "hostingEnvironmentProfile": { - "$ref": "#/definitions/HostingEnvironmentProfile", + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HostingEnvironmentProfile", "description": "Specification for the App Service Environment to use for the App Service plan.", "x-ms-mutability": [ "create", @@ -1486,14 +1476,11 @@ } }, "x-ms-client-flatten": true - }, - "sku": { - "$ref": "#/definitions/SkuDescription" } } }, - "AppServicePlanCollection": { - "description": "Collection of App Service plans.", + "HybridConnectionCollection": { + "description": "Collection of hostname bindings.", "required": [ "value" ], @@ -1503,7 +1490,7 @@ "description": "Collection of resources.", "type": "array", "items": { - "$ref": "#/definitions/AppServicePlan" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/HybridConnection" } }, "nextLink": { @@ -1512,372 +1499,37 @@ } } }, - "AppServicePlanPatchResource": { - "description": "ARM resource for a app service plan.", + "HybridConnectionLimits": { + "description": "Hybrid Connection limits contract. This is used to return the plan limits of Hybrid Connections.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { "properties": { - "description": "AppServicePlanPatchResource resource specific properties", - "required": [ - "name" - ], + "description": "HybridConnectionLimits resource specific properties", "properties": { - "name": { - "description": "Name for the App Service plan.", - "type": "string" - }, - "workerTierName": { - "description": "Target worker tier assigned to the App Service plan.", - "type": "string" - }, - "status": { - "description": "App Service plan status.", - "enum": [ - "Ready", - "Pending", - "Creating" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "StatusOptions", - "modelAsString": false - } - }, - "subscription": { - "description": "App Service plan subscription.", - "type": "string", - "readOnly": true - }, - "adminSiteName": { - "description": "App Service plan administration site.", - "type": "string" - }, - "hostingEnvironmentProfile": { - "$ref": "#/definitions/HostingEnvironmentProfile", - "description": "Specification for the App Service Environment to use for the App Service plan.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "maximumNumberOfWorkers": { + "current": { "format": "int32", - "description": "Maximum number of instances that can be assigned to this App Service plan.", + "description": "The current number of Hybrid Connections.", "type": "integer", "readOnly": true }, - "geoRegion": { - "description": "Geographical location for the App Service plan.", - "type": "string", - "readOnly": true - }, - "perSiteScaling": { - "description": "If true, apps assigned to this App Service plan can be scaled independently.\nIf false, apps assigned to this App Service plan will scale to all instances of the plan.", - "default": false, - "type": "boolean" - }, - "numberOfSites": { + "maximum": { "format": "int32", - "description": "Number of apps assigned to this App Service plan.", + "description": "The maximum number of Hybrid Connections allowed.", "type": "integer", "readOnly": true - }, - "isSpot": { - "description": "If true, this App Service Plan owns spot instances.", - "type": "boolean" - }, - "spotExpirationTime": { - "format": "date-time", - "description": "The time when the server farm expires. Valid only if it is a spot server farm.", - "type": "string" - }, - "resourceGroup": { - "description": "Resource group of the App Service plan.", - "type": "string", - "readOnly": true - }, - "reserved": { - "description": "Reserved.", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "targetWorkerCount": { - "format": "int32", - "description": "Scaling worker count.", - "type": "integer" - }, - "targetWorkerSizeId": { - "format": "int32", - "description": "Scaling worker size ID.", - "type": "integer" - }, - "provisioningState": { - "description": "Provisioning state of the App Service Environment.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "InProgress", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": false - } } }, "x-ms-client-flatten": true } } }, - "AutoHealActions": { - "description": "Actions which to take by the auto-heal module when a rule is triggered.", - "type": "object", - "properties": { - "actionType": { - "description": "Predefined action to be taken.", - "enum": [ - "Recycle", - "LogEvent", - "CustomAction" - ], - "type": "string", - "x-ms-enum": { - "name": "AutoHealActionType", - "modelAsString": false - } - }, - "customAction": { - "$ref": "#/definitions/AutoHealCustomAction", - "description": "Custom action to be taken." - }, - "minProcessExecutionTime": { - "description": "Minimum time the process must execute\nbefore taking the action", - "type": "string" - } - } - }, - "AutoHealCustomAction": { - "description": "Custom action to be executed\nwhen an auto heal rule is triggered.", - "type": "object", - "properties": { - "exe": { - "description": "Executable to be run.", - "type": "string" - }, - "parameters": { - "description": "Parameters for the executable.", - "type": "string" - } - } - }, - "AutoHealRules": { - "description": "Rules that can be defined for auto-heal.", - "type": "object", - "properties": { - "triggers": { - "$ref": "#/definitions/AutoHealTriggers", - "description": "Conditions that describe when to execute the auto-heal actions." - }, - "actions": { - "$ref": "#/definitions/AutoHealActions", - "description": "Actions to be executed when a rule is triggered." - } - } - }, - "AutoHealTriggers": { - "description": "Triggers for auto-heal.", - "type": "object", - "properties": { - "requests": { - "$ref": "#/definitions/RequestsBasedTrigger", - "description": "A rule based on total requests." - }, - "privateBytesInKB": { - "format": "int32", - "description": "A rule based on private bytes.", - "type": "integer" - }, - "statusCodes": { - "description": "A rule based on status codes.", - "type": "array", - "items": { - "$ref": "#/definitions/StatusCodesBasedTrigger" - } - }, - "slowRequests": { - "$ref": "#/definitions/SlowRequestsBasedTrigger", - "description": "A rule based on request execution time." - } - } - }, - "Capability": { - "description": "Describes the capabilities/features allowed for a specific SKU.", - "type": "object", - "properties": { - "name": { - "description": "Name of the SKU capability.", - "type": "string" - }, - "value": { - "description": "Value of the SKU capability.", - "type": "string" - }, - "reason": { - "description": "Reason of the SKU capability.", - "type": "string" - } - } - }, - "CloningInfo": { - "description": "Information needed for cloning operation.", - "required": [ - "sourceWebAppId" - ], - "type": "object", - "properties": { - "correlationId": { - "format": "uuid", - "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\ntogether to use the same snapshot.", - "type": "string", - "example": "00000000-0000-0000-0000-000000000000" - }, - "overwrite": { - "description": "true to overwrite destination app; otherwise, false.", - "type": "boolean" - }, - "cloneCustomHostNames": { - "description": "true to clone custom hostnames from source app; otherwise, false.", - "type": "boolean" - }, - "cloneSourceControl": { - "description": "true to clone source control from source app; otherwise, false.", - "type": "boolean" - }, - "sourceWebAppId": { - "description": "ARM resource ID of the source app. App resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", - "type": "string" - }, - "hostingEnvironment": { - "description": "App Service Environment.", - "type": "string" - }, - "appSettingsOverrides": { - "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \nfrom source app. Otherwise, application settings from source app are retained.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "configureLoadBalancing": { - "description": "true to configure load balancing for source and destination app.", - "type": "boolean" - }, - "trafficManagerProfileId": { - "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", - "type": "string" - }, - "trafficManagerProfileName": { - "description": "Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.", - "type": "string" - }, - "ignoreQuotas": { - "description": "true if quotas should be ignored; otherwise, false.", - "type": "boolean" - } - } - }, - "ConnStringInfo": { - "description": "Database connection string information.", - "type": "object", - "properties": { - "name": { - "description": "Name of connection string.", - "type": "string" - }, - "connectionString": { - "description": "Connection string value.", - "type": "string" - }, - "type": { - "description": "Type of database.", - "enum": [ - "MySql", - "SQLServer", - "SQLAzure", - "Custom", - "NotificationHub", - "ServiceBus", - "EventHub", - "ApiHub", - "DocDb", - "RedisCache", - "PostgreSQL" - ], - "type": "string", - "x-ms-enum": { - "name": "ConnectionStringType", - "modelAsString": false - } - } - } - }, - "CorsSettings": { - "description": "Cross-Origin Resource Sharing (CORS) settings for the app.", - "type": "object", - "properties": { - "allowedOrigins": { - "description": "Gets or sets the list of origins that should be allowed to make cross-origin\ncalls (for example: http://example.com:12345). Use \"*\" to allow all.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "CsmUsageQuota": { - "description": "Usage of the quota resource.", - "type": "object", - "properties": { - "unit": { - "description": "Units of measurement for the quota resourse.", - "type": "string" - }, - "nextResetTime": { - "format": "date-time", - "description": "Next reset time for the resource counter.", - "type": "string" - }, - "currentValue": { - "format": "int64", - "description": "The current value of the resource counter.", - "type": "integer" - }, - "limit": { - "format": "int64", - "description": "The resource limit.", - "type": "integer" - }, - "name": { - "$ref": "#/definitions/LocalizableString", - "description": "Quota name." - } - } - }, - "CsmUsageQuotaCollection": { - "description": "Collection of CSM usage quotas.", + "ResourceCollection": { + "description": "Collection of resources.", "required": [ "value" ], @@ -1886,1630 +1538,10 @@ "value": { "description": "Collection of resources.", "type": "array", - "items": { - "$ref": "#/definitions/CsmUsageQuota" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, - "Experiments": { - "description": "Routing rules in production experiments.", - "type": "object", - "properties": { - "rampUpRules": { - "description": "List of ramp-up rules.", - "type": "array", - "items": { - "$ref": "#/definitions/RampUpRule" - } - } - } - }, - "HandlerMapping": { - "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \nFor example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", - "type": "object", - "properties": { - "extension": { - "description": "Requests with this extension will be handled using the specified FastCGI application.", - "type": "string" - }, - "scriptProcessor": { - "description": "The absolute path to the FastCGI application.", - "type": "string" - }, - "arguments": { - "description": "Command-line arguments to be passed to the script processor.", - "type": "string" - } - } - }, - "HostNameSslState": { - "description": "SSL-enabled hostname.", - "type": "object", - "properties": { - "name": { - "description": "Hostname.", - "type": "string" - }, - "sslState": { - "description": "SSL type.", - "enum": [ - "Disabled", - "SniEnabled", - "IpBasedEnabled" - ], - "type": "string", - "x-ms-enum": { - "name": "SslState", - "modelAsString": false - } - }, - "virtualIP": { - "description": "Virtual IP address assigned to the hostname if IP based SSL is enabled.", - "type": "string" - }, - "thumbprint": { - "description": "SSL certificate thumbprint.", - "type": "string" - }, - "toUpdate": { - "description": "Set to true to update existing hostname.", - "type": "boolean" - }, - "hostType": { - "description": "Indicates whether the hostname is a standard or repository hostname.", - "enum": [ - "Standard", - "Repository" - ], - "type": "string", - "x-ms-enum": { - "name": "HostType", - "modelAsString": false - } - } - } - }, - "HostingEnvironmentProfile": { - "description": "Specification for an App Service Environment to use for this resource.", - "type": "object", - "properties": { - "id": { - "description": "Resource ID of the App Service Environment.", - "type": "string" - }, - "name": { - "description": "Name of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Resource type of the App Service Environment.", - "type": "string", - "readOnly": true - } - } - }, - "HybridConnection": { - "description": "Hybrid Connection contract. This is used to configure a Hybrid Connection.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "HybridConnection resource specific properties", - "properties": { - "serviceBusNamespace": { - "description": "The name of the Service Bus namespace.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "relayName": { - "description": "The name of the Service Bus relay.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "relayArmUri": { - "description": "The ARM URI to the Service Bus relay.", - "type": "string" - }, - "hostname": { - "description": "The hostname of the endpoint.", - "type": "string" - }, - "port": { - "format": "int32", - "description": "The port of the endpoint.", - "type": "integer" - }, - "sendKeyName": { - "description": "The name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus.", - "type": "string" - }, - "sendKeyValue": { - "description": "The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned\nnormally, use the POST /listKeys API instead.", - "type": "string" - }, - "serviceBusSuffix": { - "description": "The suffix for the service bus endpoint. By default this is .servicebus.windows.net", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "HybridConnectionCollection": { - "description": "Collection of hostname bindings.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/HybridConnection" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, - "HybridConnectionKey": { - "description": "Hybrid Connection key contract. This has the send key name and value for a Hybrid Connection.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "HybridConnectionKey resource specific properties", - "properties": { - "sendKeyName": { - "description": "The name of the send key.", - "type": "string", - "readOnly": true - }, - "sendKeyValue": { - "description": "The value of the send key.", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "HybridConnectionLimits": { - "description": "Hybrid Connection limits contract. This is used to return the plan limits of Hybrid Connections.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "HybridConnectionLimits resource specific properties", - "properties": { - "current": { - "format": "int32", - "description": "The current number of Hybrid Connections.", - "type": "integer", - "readOnly": true - }, - "maximum": { - "format": "int32", - "description": "The maximum number of Hybrid Connections allowed.", - "type": "integer", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "IpSecurityRestriction": { - "description": "IP security restriction on an app.", - "required": [ - "ipAddress" - ], - "type": "object", - "properties": { - "ipAddress": { - "description": "IP address the security restriction is valid for.", - "type": "string" - }, - "subnetMask": { - "description": "Subnet mask for the range of IP addresses the restriction is valid for.", - "type": "string" - } - } - }, - "LocalizableString": { - "description": "Localizable string object containing the name and a localized value.", - "type": "object", - "properties": { - "value": { - "description": "Non-localized name.", - "type": "string" - }, - "localizedValue": { - "description": "Localized name.", - "type": "string" - } - } - }, - "ManagedServiceIdentity": { - "description": "Managed service identity.", - "type": "object", - "properties": { - "type": { - "description": "Type of managed service identity.", - "enum": [ - "SystemAssigned" - ], - "x-ms-enum": { - "name": "ManagedServiceIdentityType", - "modelAsString": true - } - }, - "tenantId": { - "description": "Tenant of managed service identity.", - "type": "string", - "readOnly": true - }, - "principalId": { - "description": "Principal Id of managed service identity.", - "type": "string", - "readOnly": true - } - } - }, - "NameValuePair": { - "description": "Name value pair.", - "type": "object", - "properties": { - "name": { - "description": "Pair name.", - "type": "string" - }, - "value": { - "description": "Pair value.", - "type": "string" - } - } - }, - "ProxyOnlyResource": { - "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - } - }, - "x-ms-azure-resource": true - }, - "PushSettings": { - "description": "Push settings for the App.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "PushSettings resource specific properties", - "required": [ - "isPushEnabled" - ], - "properties": { - "isPushEnabled": { - "description": "Gets or sets a flag indicating whether the Push endpoint is enabled.", - "type": "boolean" - }, - "tagWhitelistJson": { - "description": "Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", - "type": "string" - }, - "tagsRequiringAuth": { - "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\nTags can consist of alphanumeric characters and the following:\n'_', '@', '#', '.', ':', '-'. \nValidation should be performed at the PushRequestHandler.", - "type": "string" - }, - "dynamicTagsJson": { - "description": "Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "RampUpRule": { - "description": "Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance.", - "type": "object", - "properties": { - "actionHostName": { - "description": "Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net.", - "type": "string" - }, - "reroutePercentage": { - "format": "double", - "description": "Percentage of the traffic which will be redirected to ActionHostName.", - "type": "number" - }, - "changeStep": { - "format": "double", - "description": "In auto ramp up scenario this is the step to to add/remove from ReroutePercentage until it reaches \nMinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specificed in ChangeIntervalInMinutes.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", - "type": "number" - }, - "changeIntervalInMinutes": { - "format": "int32", - "description": "Specifies interval in mimuntes to reevaluate ReroutePercentage.", - "type": "integer" - }, - "minReroutePercentage": { - "format": "double", - "description": "Specifies lower boundary above which ReroutePercentage will stay.", - "type": "number" - }, - "maxReroutePercentage": { - "format": "double", - "description": "Specifies upper boundary below which ReroutePercentage will stay.", - "type": "number" - }, - "changeDecisionCallbackUrl": { - "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\nhttps://www.siteextensions.net/packages/TiPCallback/", - "type": "string" - }, - "name": { - "description": "Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment.", - "type": "string" - } - } - }, - "RequestsBasedTrigger": { - "description": "Trigger based on total requests.", - "type": "object", - "properties": { - "count": { - "format": "int32", - "description": "Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } - }, - "Resource": { - "description": "Azure resource. This resource is tracked in Azure Resource Manager", - "required": [ - "location" - ], - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "location": { - "description": "Resource Location.", - "type": "string" - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - }, - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "x-ms-azure-resource": true - }, - "ResourceCollection": { - "description": "Collection of resources.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "type": "string" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, - "ResourceMetric": { - "description": "Object representing a metric for any resource .", - "type": "object", - "properties": { - "name": { - "$ref": "#/definitions/ResourceMetricName", - "description": "Name of metric.", - "readOnly": true - }, - "unit": { - "description": "Metric unit.", - "type": "string", - "readOnly": true - }, - "timeGrain": { - "description": "Metric granularity. E.g PT1H, PT5M, P1D", - "type": "string", - "readOnly": true - }, - "startTime": { - "format": "date-time", - "description": "Metric start time.", - "type": "string", - "readOnly": true - }, - "endTime": { - "format": "date-time", - "description": "Metric end time.", - "type": "string", - "readOnly": true - }, - "resourceId": { - "description": "Metric resource Id.", - "type": "string", - "readOnly": true - }, - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "metricValues": { - "description": "Metric values.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricValue" - }, - "readOnly": true - }, - "properties": { - "description": "Properties.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricProperty" - }, - "readOnly": true - } - } - }, - "ResourceMetricAvailability": { - "description": "Metrics availability and retention.", - "type": "object", - "properties": { - "timeGrain": { - "description": "Time grain .", - "type": "string", - "readOnly": true - }, - "retention": { - "description": "Retention period for the current time grain.", - "type": "string", - "readOnly": true - } - } - }, - "ResourceMetricCollection": { - "description": "Collection of metric responses.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetric" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, - "ResourceMetricDefinition": { - "description": "Metadata for the metrics.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "ResourceMetricDefinition resource specific properties", - "properties": { - "name": { - "$ref": "#/definitions/ResourceMetricName", - "description": "Name of the metric.", - "readOnly": true - }, - "unit": { - "description": "Unit of the metric.", - "type": "string", - "readOnly": true - }, - "primaryAggregationType": { - "description": "Primary aggregation type.", - "type": "string", - "readOnly": true - }, - "metricAvailabilities": { - "description": "List of time grains supported for the metric together with retention period.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricAvailability" - }, - "readOnly": true - }, - "resourceUri": { - "description": "Resource URI.", - "type": "string", - "readOnly": true - }, - "id": { - "description": "Resource ID.", - "type": "string", - "readOnly": true - }, - "properties": { - "description": "Properties.", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "ResourceMetricDefinitionCollection": { - "description": "Collection of metric definitions.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricDefinition" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, - "ResourceMetricName": { - "description": "Name of a metric for any resource .", - "type": "object", - "properties": { - "value": { - "description": "metric name value.", - "type": "string", - "readOnly": true - }, - "localizedValue": { - "description": "Localized metric name value.", - "type": "string", - "readOnly": true - } - } - }, - "ResourceMetricProperty": { - "description": "Resource metric property.", - "type": "object", - "properties": { - "key": { - "description": "Key for resource metric property.", - "type": "string" - }, - "value": { - "description": "Value of pair.", - "type": "string" - } - } - }, - "ResourceMetricValue": { - "description": "Value of resource metric.", - "type": "object", - "properties": { - "timestamp": { - "description": "Value timestamp.", - "type": "string", - "readOnly": true - }, - "average": { - "format": "float", - "description": "Value average.", - "type": "number", - "readOnly": true - }, - "minimum": { - "format": "float", - "description": "Value minimum.", - "type": "number", - "readOnly": true - }, - "maximum": { - "format": "float", - "description": "Value maximum.", - "type": "number", - "readOnly": true - }, - "total": { - "format": "float", - "description": "Value total.", - "type": "number", - "readOnly": true - }, - "count": { - "format": "float", - "description": "Value count.", - "type": "number", - "readOnly": true - }, - "properties": { - "description": "Properties.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricProperty" - }, - "readOnly": true - } - } - }, - "Site": { - "description": "A web app, a mobile app backend, or an API app.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Site resource specific properties", - "properties": { - "state": { - "description": "Current state of the app.", - "type": "string", - "readOnly": true - }, - "hostNames": { - "description": "Hostnames associated with the app.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "repositorySiteName": { - "description": "Name of the repository site.", - "type": "string", - "readOnly": true - }, - "usageState": { - "description": "State indicating whether the app has exceeded its quota usage. Read-only.", - "enum": [ - "Normal", - "Exceeded" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "UsageState", - "modelAsString": false - } - }, - "enabled": { - "description": "true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).", - "type": "boolean" - }, - "enabledHostNames": { - "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\nthe app is not served on those hostnames.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "availabilityState": { - "description": "Management information availability state for the app.", - "enum": [ - "Normal", - "Limited", - "DisasterRecoveryMode" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "SiteAvailabilityState", - "modelAsString": false - } - }, - "hostNameSslStates": { - "description": "Hostname SSL states are used to manage the SSL bindings for app's hostnames.", - "type": "array", - "items": { - "$ref": "#/definitions/HostNameSslState" - } - }, - "serverFarmId": { - "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", - "type": "string" - }, - "reserved": { - "description": "true if reserved; otherwise, false.", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "lastModifiedTimeUtc": { - "format": "date-time", - "description": "Last time the app was modified, in UTC. Read-only.", - "type": "string", - "readOnly": true - }, - "siteConfig": { - "$ref": "#/definitions/SiteConfig", - "description": "Configuration of the app." - }, - "trafficManagerHostNames": { - "description": "Azure Traffic Manager hostnames associated with the app. Read-only.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "scmSiteAlsoStopped": { - "description": "true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", - "default": false, - "type": "boolean" - }, - "targetSwapSlot": { - "description": "Specifies which deployment slot this app will swap into. Read-only.", - "type": "string", - "readOnly": true - }, - "hostingEnvironmentProfile": { - "$ref": "#/definitions/HostingEnvironmentProfile", - "description": "App Service Environment to use for the app.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "clientAffinityEnabled": { - "description": "true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.", - "type": "boolean" - }, - "clientCertEnabled": { - "description": "true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.", - "type": "boolean" - }, - "hostNamesDisabled": { - "description": "true to disable the public hostnames of the app; otherwise, false.\n If true, the app is only accessible via API management process.", - "type": "boolean" - }, - "outboundIpAddresses": { - "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only.", - "type": "string", - "readOnly": true - }, - "possibleOutboundIpAddresses": { - "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only.", - "type": "string", - "readOnly": true - }, - "containerSize": { - "format": "int32", - "description": "Size of the function container.", - "type": "integer" - }, - "dailyMemoryTimeQuota": { - "format": "int32", - "description": "Maximum allowed daily memory-time quota (applicable on dynamic apps only).", - "type": "integer" - }, - "suspendedTill": { - "format": "date-time", - "description": "App suspended till in case memory-time quota is exceeded.", - "type": "string", - "readOnly": true - }, - "maxNumberOfWorkers": { - "format": "int32", - "description": "Maximum number of workers.\nThis only applies to Functions container.", - "type": "integer", - "readOnly": true - }, - "cloningInfo": { - "$ref": "#/definitions/CloningInfo", - "description": "If specified during app creation, the app is cloned from a source app.", - "x-ms-mutability": [ - "create" - ] - }, - "snapshotInfo": { - "$ref": "#/definitions/SnapshotRecoveryRequest", - "description": "If specified during app creation, the app is created from a previous snapshot.", - "x-ms-mutability": [ - "create" - ] - }, - "resourceGroup": { - "description": "Name of the resource group the app belongs to. Read-only.", - "type": "string", - "readOnly": true - }, - "isDefaultContainer": { - "description": "true if the app is a default container; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "defaultHostName": { - "description": "Default hostname of the app. Read-only.", - "type": "string", - "readOnly": true - }, - "slotSwapStatus": { - "$ref": "#/definitions/SlotSwapStatus", - "description": "Status of the last deployment slot swap operation.", - "readOnly": true - }, - "httpsOnly": { - "description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests", - "type": "boolean" - } - }, - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/ManagedServiceIdentity" - } - } - }, - "SiteConfig": { - "description": "Configuration of an App Service app.", - "type": "object", - "properties": { - "numberOfWorkers": { - "format": "int32", - "description": "Number of workers.", - "type": "integer" - }, - "defaultDocuments": { - "description": "Default documents.", - "type": "array", - "items": { - "type": "string" - } - }, - "netFrameworkVersion": { - "description": ".NET Framework version.", - "default": "v4.6", - "type": "string" - }, - "phpVersion": { - "description": "Version of PHP.", - "type": "string" - }, - "pythonVersion": { - "description": "Version of Python.", - "type": "string" - }, - "nodeVersion": { - "description": "Version of Node.js.", - "type": "string" - }, - "linuxFxVersion": { - "description": "Linux App Framework and version", - "type": "string" - }, - "requestTracingEnabled": { - "description": "true if request tracing is enabled; otherwise, false.", - "type": "boolean" - }, - "requestTracingExpirationTime": { - "format": "date-time", - "description": "Request tracing expiration time.", - "type": "string" - }, - "remoteDebuggingEnabled": { - "description": "true if remote debugging is enabled; otherwise, false.", - "type": "boolean" - }, - "remoteDebuggingVersion": { - "description": "Remote debugging version.", - "type": "string" - }, - "httpLoggingEnabled": { - "description": "true if HTTP logging is enabled; otherwise, false.", - "type": "boolean" - }, - "logsDirectorySizeLimit": { - "format": "int32", - "description": "HTTP logs directory size limit.", - "type": "integer" - }, - "detailedErrorLoggingEnabled": { - "description": "true if detailed error logging is enabled; otherwise, false.", - "type": "boolean" - }, - "publishingUsername": { - "description": "Publishing user name.", - "type": "string" - }, - "appSettings": { - "description": "Application settings.", - "type": "array", - "items": { - "$ref": "#/definitions/NameValuePair" - } - }, - "connectionStrings": { - "description": "Connection strings.", - "type": "array", - "items": { - "$ref": "#/definitions/ConnStringInfo" - } - }, - "machineKey": { - "$ref": "#/definitions/SiteMachineKey", - "description": "Site MachineKey.", - "readOnly": true - }, - "handlerMappings": { - "description": "Handler mappings.", - "type": "array", - "items": { - "$ref": "#/definitions/HandlerMapping" - } - }, - "documentRoot": { - "description": "Document root.", - "type": "string" - }, - "scmType": { - "description": "SCM type.", - "enum": [ - "None", - "Dropbox", - "Tfs", - "LocalGit", - "GitHub", - "CodePlexGit", - "CodePlexHg", - "BitbucketGit", - "BitbucketHg", - "ExternalGit", - "ExternalHg", - "OneDrive", - "VSO" - ], - "type": "string", - "x-ms-enum": { - "name": "ScmType", - "modelAsString": true - } - }, - "use32BitWorkerProcess": { - "description": "true to use 32-bit worker process; otherwise, false.", - "type": "boolean" - }, - "webSocketsEnabled": { - "description": "true if WebSocket is enabled; otherwise, false.", - "type": "boolean" - }, - "alwaysOn": { - "description": "true if Always On is enabled; otherwise, false.", - "type": "boolean" - }, - "javaVersion": { - "description": "Java version.", - "type": "string" - }, - "javaContainer": { - "description": "Java container.", - "type": "string" - }, - "javaContainerVersion": { - "description": "Java container version.", - "type": "string" - }, - "appCommandLine": { - "description": "App command line to launch.", - "type": "string" - }, - "managedPipelineMode": { - "description": "Managed pipeline mode.", - "enum": [ - "Integrated", - "Classic" - ], - "type": "string", - "x-ms-enum": { - "name": "ManagedPipelineMode", - "modelAsString": false - } - }, - "virtualApplications": { - "description": "Virtual applications.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualApplication" - } - }, - "loadBalancing": { - "description": "Site load balancing.", - "enum": [ - "WeightedRoundRobin", - "LeastRequests", - "LeastResponseTime", - "WeightedTotalTraffic", - "RequestHash" - ], - "type": "string", - "x-ms-enum": { - "name": "SiteLoadBalancing", - "modelAsString": false - } - }, - "experiments": { - "$ref": "#/definitions/Experiments", - "description": "This is work around for polymophic types." - }, - "limits": { - "$ref": "#/definitions/SiteLimits", - "description": "Site limits." - }, - "autoHealEnabled": { - "description": "true if Auto Heal is enabled; otherwise, false.", - "type": "boolean" - }, - "autoHealRules": { - "$ref": "#/definitions/AutoHealRules", - "description": "Auto Heal rules." - }, - "tracingOptions": { - "description": "Tracing options.", - "type": "string" - }, - "vnetName": { - "description": "Virtual Network name.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "cors": { - "$ref": "#/definitions/CorsSettings", - "description": "Cross-Origin Resource Sharing (CORS) settings." - }, - "push": { - "$ref": "#/definitions/PushSettings", - "description": "Push endpoint settings." - }, - "apiDefinition": { - "$ref": "#/definitions/ApiDefinitionInfo", - "description": "Information about the formal API definition for the app." - }, - "autoSwapSlotName": { - "description": "Auto-swap slot name.", - "type": "string" - }, - "localMySqlEnabled": { - "description": "true to enable local MySQL; otherwise, false.", - "default": false, - "type": "boolean" - }, - "ipSecurityRestrictions": { - "description": "IP security restrictions.", - "type": "array", - "items": { - "$ref": "#/definitions/IpSecurityRestriction" - } - } - } - }, - "SiteLimits": { - "description": "Metric limits set on an app.", - "type": "object", - "properties": { - "maxPercentageCpu": { - "format": "double", - "description": "Maximum allowed CPU usage percentage.", - "type": "number" - }, - "maxMemoryInMb": { - "format": "int64", - "description": "Maximum allowed memory usage in MB.", - "type": "integer" - }, - "maxDiskSizeInMb": { - "format": "int64", - "description": "Maximum allowed disk size usage in MB.", - "type": "integer" - } - } - }, - "SiteMachineKey": { - "description": "MachineKey of an app.", - "type": "object", - "properties": { - "validation": { - "description": "MachineKey validation.", - "type": "string" - }, - "validationKey": { - "description": "Validation key.", - "type": "string" - }, - "decryption": { - "description": "Decryption.", - "type": "string" - }, - "decryptionKey": { - "description": "Decryption key.", - "type": "string" - } - } - }, - "SkuCapacity": { - "description": "Description of the App Service plan scale options.", - "type": "object", - "properties": { - "minimum": { - "format": "int32", - "description": "Minimum number of workers for this App Service plan SKU.", - "type": "integer" - }, - "maximum": { - "format": "int32", - "description": "Maximum number of workers for this App Service plan SKU.", - "type": "integer" - }, - "default": { - "format": "int32", - "description": "Default number of workers for this App Service plan SKU.", - "type": "integer" - }, - "scaleType": { - "description": "Available scale configurations for an App Service plan.", - "type": "string" - } - } - }, - "SkuDescription": { - "description": "Description of 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" - }, - "skuCapacity": { - "$ref": "#/definitions/SkuCapacity", - "description": "Min, max, and default scale values of the SKU." - }, - "locations": { - "description": "Locations of the SKU.", - "type": "array", "items": { "type": "string" } }, - "capabilities": { - "description": "Capabilities of the SKU, e.g., is traffic manager enabled?", - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } - } - } - }, - "SlotSwapStatus": { - "description": "The status of the last successfull slot swap operation.", - "type": "object", - "properties": { - "timestampUtc": { - "format": "date-time", - "description": "The time the last successful slot swap completed.", - "type": "string", - "readOnly": true - }, - "sourceSlotName": { - "description": "The source slot of the last swap operation.", - "type": "string", - "readOnly": true - }, - "destinationSlotName": { - "description": "The destination slot of the last swap operation.", - "type": "string", - "readOnly": true - } - } - }, - "SlowRequestsBasedTrigger": { - "description": "Trigger based on request execution time.", - "type": "object", - "properties": { - "timeTaken": { - "description": "Time taken.", - "type": "string" - }, - "count": { - "format": "int32", - "description": "Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } - }, - "SnapshotRecoveryRequest": { - "description": "Details about app recovery operation.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "SnapshotRecoveryRequest resource specific properties", - "required": [ - "overwrite" - ], - "properties": { - "snapshotTime": { - "description": "Point in time in which the app recovery should be attempted, formatted as a DateTime string.", - "type": "string" - }, - "recoveryTarget": { - "$ref": "#/definitions/SnapshotRecoveryTarget", - "description": "Specifies the web app that snapshot contents will be written to." - }, - "overwrite": { - "description": "If true the recovery operation can overwrite source app; otherwise, false.", - "type": "boolean" - }, - "recoverConfiguration": { - "description": "If true, site configuration, in addition to content, will be reverted.", - "type": "boolean" - }, - "ignoreConflictingHostNames": { - "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\nThis setting is only necessary when RecoverConfiguration is enabled.", - "type": "boolean" - } - }, - "x-ms-client-flatten": true - } - } - }, - "SnapshotRecoveryTarget": { - "description": "Specifies the web app that snapshot contents will be written to.", - "type": "object", - "properties": { - "location": { - "description": "Geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS", - "type": "string" - }, - "id": { - "description": "ARM resource ID of the target app. \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", - "type": "string" - } - } - }, - "StatusCodesBasedTrigger": { - "description": "Trigger based on status code.", - "type": "object", - "properties": { - "status": { - "format": "int32", - "description": "HTTP status code.", - "type": "integer" - }, - "subStatus": { - "format": "int32", - "description": "SubStatus.", - "type": "integer" - }, - "win32Status": { - "format": "int32", - "description": "Win32 error code.", - "type": "integer" - }, - "count": { - "format": "int32", - "description": "Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } - }, - "VirtualApplication": { - "description": "Virtual application in an app.", - "type": "object", - "properties": { - "virtualPath": { - "description": "Virtual path.", - "type": "string" - }, - "physicalPath": { - "description": "Physical path.", - "type": "string" - }, - "preloadEnabled": { - "description": "true if preloading is enabled; otherwise, false.", - "type": "boolean" - }, - "virtualDirectories": { - "description": "Virtual directories for virtual application.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualDirectory" - } - } - } - }, - "VirtualDirectory": { - "description": "Directory for virtual application.", - "type": "object", - "properties": { - "virtualPath": { - "description": "Path to virtual application.", - "type": "string" - }, - "physicalPath": { - "description": "Physical path.", - "type": "string" - } - } - }, - "VnetGateway": { - "description": "The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "VnetGateway resource specific properties", - "required": [ - "vpnPackageUri" - ], - "properties": { - "vnetName": { - "description": "The Virtual Network name.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "vpnPackageUri": { - "description": "The URI where the VPN package can be downloaded.", - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ] - } - }, - "x-ms-client-flatten": true - } - } - }, - "VnetInfo": { - "description": "Virtual Network information contract.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "VnetInfo resource specific properties", - "properties": { - "vnetResourceId": { - "description": "The Virtual Network's resource ID.", - "type": "string" - }, - "certThumbprint": { - "description": "The client certificate thumbprint.", - "type": "string", - "readOnly": true - }, - "certBlob": { - "format": "byte", - "description": "A certificate file (.cer) blob containing the public key of the private key used to authenticate a \nPoint-To-Site VPN connection.", - "type": "string" - }, - "routes": { - "description": "The routes that this Virtual Network connection uses.", - "type": "array", - "items": { - "$ref": "#/definitions/VnetRoute" - }, - "readOnly": true - }, - "resyncRequired": { - "description": "true if a resync is required; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "dnsServers": { - "description": "DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "VnetRoute": { - "description": "Virtual Network route contract used to pass routing information for a Virtual Network.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "VnetRoute resource specific properties", - "properties": { - "name": { - "description": "The name of this route. This is only returned by the server and does not need to be set by the client.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-ms-client-name": "vnetRouteName" - }, - "startAddress": { - "description": "The starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified.", - "type": "string" - }, - "endAddress": { - "description": "The ending address for this route. If the start address is specified in CIDR notation, this must be omitted.", - "type": "string" - }, - "routeType": { - "description": "The type of route this is:\nDEFAULT - By default, every app has routes to the local address ranges specified by RFC1918\nINHERITED - Routes inherited from the real Virtual Network routes\nSTATIC - Static route set on the app only\n\nThese values will be used for syncing an app's routes with those from a Virtual Network.", - "enum": [ - "DEFAULT", - "INHERITED", - "STATIC" - ], - "type": "string", - "x-ms-enum": { - "name": "RouteType", - "modelAsString": true - } - } - }, - "x-ms-client-flatten": true - } - } - }, - "WebAppCollection": { - "description": "Collection of App Service apps.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/Site" - } - }, "nextLink": { "description": "Link to next page of resources.", "type": "string" diff --git a/specification/web/resource-manager/readme.md b/specification/web/resource-manager/readme.md index fd7c6f050e0f..fdb92218c912 100644 --- a/specification/web/resource-manager/readme.md +++ b/specification/web/resource-manager/readme.md @@ -48,6 +48,7 @@ input-file: - Microsoft.DomainRegistration/2015-04-01/Domains.json - Microsoft.DomainRegistration/2015-04-01/TopLevelDomains.json - Microsoft.Web/2016-03-01/Certificates.json +- Microsoft.Web/2016-03-01/CommonDefinitions.json - Microsoft.Web/2016-03-01/DeletedWebApps.json - Microsoft.Web/2016-03-01/Provider.json - Microsoft.Web/2016-03-01/Recommendations.json From 14c4638a2194b1890a88a6dffe17a0bc57dc5bbb Mon Sep 17 00:00:00 2001 From: Navy Aziz Date: Mon, 23 Oct 2017 14:39:14 -0700 Subject: [PATCH 25/27] Fix missing reference to RampUpRule. --- .../Microsoft.Web/2016-08-01/WebApps.json | 51 +------------------ 1 file changed, 1 insertion(+), 50 deletions(-) diff --git a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json index bfc0a50b66f1..b372cb6fb8e6 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json @@ -15569,55 +15569,6 @@ } } }, - "ErrorEntity": { - "description": "Body of the error response returned from the API.", - "type": "object", - "properties": { - "extendedCode": { - "description": "Type of error.", - "type": "string" - }, - "messageTemplate": { - "description": "Message template.", - "type": "string" - }, - "parameters": { - "description": "Parameters for the template.", - "type": "array", - "items": { - "type": "string" - } - }, - "innerErrors": { - "description": "Inner errors.", - "type": "array", - "items": { - "$ref": "#/definitions/ErrorEntity" - } - }, - "code": { - "description": "Basic error code.", - "type": "string" - }, - "message": { - "description": "Any details of the error.", - "type": "string" - } - } - }, - "Experiments": { - "description": "Routing rules in production experiments.", - "type": "object", - "properties": { - "rampUpRules": { - "description": "List of ramp-up rules.", - "type": "array", - "items": { - "$ref": "#/definitions/RampUpRule" - } - } - } - }, "FileSystemApplicationLogsConfig": { "description": "Application logs to file system configuration.", "type": "object", @@ -15667,7 +15618,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProxyOnlyResource" + "$ref": "../2016-03-01/CommonDefinitions.json#/definitions/ProxyOnlyResource" } ], "properties": { From 8bc0468de11f573afa3d9a47beefc89b16879cc3 Mon Sep 17 00:00:00 2001 From: Navy Aziz Date: Mon, 23 Oct 2017 15:29:34 -0700 Subject: [PATCH 26/27] Add security and security definitions to common definitions. --- .../2016-03-01/CommonDefinitions.json | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/CommonDefinitions.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/CommonDefinitions.json index db432dd033c3..a9374a105eee 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/CommonDefinitions.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/CommonDefinitions.json @@ -2545,5 +2545,23 @@ } } } - } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] } \ No newline at end of file From 4fd6f00521ace3570165ab1ec3ccdbccfe2f6c68 Mon Sep 17 00:00:00 2001 From: Navy Aziz Date: Tue, 24 Oct 2017 12:57:40 -0700 Subject: [PATCH 27/27] Read IgnoreQuotas property and fix functionappid property name --- .../2016-03-01/CommonDefinitions.json | 4974 ++++++++--------- .../Microsoft.Web/2016-08-01/WebApps.json | 2 +- 2 files changed, 2487 insertions(+), 2489 deletions(-) diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/CommonDefinitions.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/CommonDefinitions.json index a9374a105eee..c5c524bf1a64 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/CommonDefinitions.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/CommonDefinitions.json @@ -1,2567 +1,2565 @@ { - "swagger": "2.0", - "info": { - "version": "2016-03-01", - "title": "Common Definitions" + "swagger": "2.0", + "info": { + "version": "2016-03-01", + "title": "Common Definitions" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "paths": {}, + "definitions": { + "ApiDefinitionInfo": { + "description": "Information about the formal API definition for the app.", + "type": "object", + "properties": { + "url": { + "description": "The URL of the API definition.", + "type": "string" + } + } }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": { - "ApiDefinitionInfo": { - "description": "Information about the formal API definition for the app.", - "type": "object", - "properties": { - "url": { - "description": "The URL of the API definition.", - "type": "string" - } - } + "AppServiceEnvironment": { + "description": "Description of an App Service Environment.", + "required": [ + "name", + "location", + "virtualNetwork", + "workerPools" + ], + "type": "object", + "properties": { + "name": { + "description": "Name of the App Service Environment.", + "type": "string" }, - "AppServiceEnvironment": { - "description": "Description of an App Service Environment.", - "required": [ - "name", - "location", - "virtualNetwork", - "workerPools" - ], - "type": "object", - "properties": { - "name": { - "description": "Name of the App Service Environment.", - "type": "string" - }, - "location": { - "description": "Location of the App Service Environment, e.g. \"West US\".", - "type": "string" - }, - "provisioningState": { - "description": "Provisioning state of the App Service Environment.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "InProgress", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": false - } - }, - "status": { - "description": "Current status of the App Service Environment.", - "enum": [ - "Preparing", - "Ready", - "Scaling", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "HostingEnvironmentStatus", - "modelAsString": false - } - }, - "vnetName": { - "description": "Name of the Virtual Network for the App Service Environment.", - "type": "string" - }, - "vnetResourceGroupName": { - "description": "Resource group of the Virtual Network.", - "type": "string" - }, - "vnetSubnetName": { - "description": "Subnet of the Virtual Network.", - "type": "string" - }, - "virtualNetwork": { - "$ref": "#/definitions/VirtualNetworkProfile", - "description": "Description of the Virtual Network." - }, - "internalLoadBalancingMode": { - "description": "Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment.", - "enum": [ - "None", - "Web", - "Publishing" - ], - "type": "string", - "x-ms-enum": { - "name": "InternalLoadBalancingMode", - "modelAsString": false - } - }, - "multiSize": { - "description": "Front-end VM size, e.g. \"Medium\", \"Large\".", - "type": "string" - }, - "multiRoleCount": { - "format": "int32", - "description": "Number of front-end instances.", - "type": "integer" - }, - "workerPools": { - "description": "Description of worker pools with worker size IDs, VM sizes, and number of workers in each pool.", - "type": "array", - "items": { - "$ref": "#/definitions/WorkerPool" - } - }, - "ipsslAddressCount": { - "format": "int32", - "description": "Number of IP SSL addresses reserved for the App Service Environment.", - "type": "integer" - }, - "databaseEdition": { - "description": "Edition of the metadata database for the App Service Environment, e.g. \"Standard\".", - "type": "string", - "readOnly": true - }, - "databaseServiceObjective": { - "description": "Service objective of the metadata database for the App Service Environment, e.g. \"S0\".", - "type": "string", - "readOnly": true - }, - "upgradeDomains": { - "format": "int32", - "description": "Number of upgrade domains of the App Service Environment.", - "type": "integer", - "readOnly": true - }, - "subscriptionId": { - "description": "Subscription of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "dnsSuffix": { - "description": "DNS suffix of the App Service Environment.", - "type": "string" - }, - "lastAction": { - "description": "Last deployment action on the App Service Environment.", - "type": "string", - "readOnly": true - }, - "lastActionResult": { - "description": "Result of the last deployment action on the App Service Environment.", - "type": "string", - "readOnly": true - }, - "allowedMultiSizes": { - "description": "List of comma separated strings describing which VM sizes are allowed for front-ends.", - "type": "string", - "readOnly": true - }, - "allowedWorkerSizes": { - "description": "List of comma separated strings describing which VM sizes are allowed for workers.", - "type": "string", - "readOnly": true - }, - "maximumNumberOfMachines": { - "format": "int32", - "description": "Maximum number of VMs in the App Service Environment.", - "type": "integer", - "readOnly": true - }, - "vipMappings": { - "description": "Description of IP SSL mapping for the App Service Environment.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualIPMapping" - }, - "readOnly": true - }, - "environmentCapacities": { - "description": "Current total, used, and available worker capacities.", - "type": "array", - "items": { - "$ref": "#/definitions/StampCapacity" - }, - "readOnly": true - }, - "networkAccessControlList": { - "description": "Access control list for controlling traffic to the App Service Environment.", - "type": "array", - "items": { - "$ref": "#/definitions/NetworkAccessControlEntry" - } - }, - "environmentIsHealthy": { - "description": "True/false indicating whether the App Service Environment is healthy.", - "type": "boolean", - "readOnly": true - }, - "environmentStatus": { - "description": "Detailed message about with results of the last check of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "resourceGroup": { - "description": "Resource group of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "frontEndScaleFactor": { - "format": "int32", - "description": "Scale factor for front-ends.", - "type": "integer" - }, - "defaultFrontEndScaleFactor": { - "format": "int32", - "description": "Default Scale Factor for FrontEnds.", - "type": "integer", - "readOnly": true - }, - "apiManagementAccountId": { - "description": "API Management Account associated with the App Service Environment.", - "type": "string" - }, - "suspended": { - "description": "true if the App Service Environment is suspended; otherwise, false. The environment can be suspended, e.g. when the management endpoint is no longer available\n (most likely because NSG blocked the incoming traffic).", - "type": "boolean" - }, - "dynamicCacheEnabled": { - "description": "True/false indicating whether the App Service Environment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available\n(most likely because NSG blocked the incoming traffic).", - "type": "boolean" - }, - "clusterSettings": { - "description": "Custom settings for changing the behavior of the App Service Environment.", - "type": "array", - "items": { - "$ref": "#/definitions/NameValuePair" - } - }, - "userWhitelistedIpRanges": { - "description": "User added ip ranges to whitelist on ASE db", - "type": "array", - "items": { - "type": "string" - } - } - } + "location": { + "description": "Location of the App Service Environment, e.g. \"West US\".", + "type": "string" }, - "AppServicePlan": { - "description": "App Service plan.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "AppServicePlan resource specific properties", - "required": [ - "name" - ], - "properties": { - "name": { - "description": "Name for the App Service plan.", - "type": "string" - }, - "workerTierName": { - "description": "Target worker tier assigned to the App Service plan.", - "type": "string" - }, - "status": { - "description": "App Service plan status.", - "enum": [ - "Ready", - "Pending", - "Creating" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "StatusOptions", - "modelAsString": false - } - }, - "subscription": { - "description": "App Service plan subscription.", - "type": "string", - "readOnly": true - }, - "adminSiteName": { - "description": "App Service plan administration site.", - "type": "string" - }, - "hostingEnvironmentProfile": { - "$ref": "#/definitions/HostingEnvironmentProfile", - "description": "Specification for the App Service Environment to use for the App Service plan.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "maximumNumberOfWorkers": { - "format": "int32", - "description": "Maximum number of instances that can be assigned to this App Service plan.", - "type": "integer", - "readOnly": true - }, - "geoRegion": { - "description": "Geographical location for the App Service plan.", - "type": "string", - "readOnly": true - }, - "perSiteScaling": { - "description": "If true, apps assigned to this App Service plan can be scaled independently.\nIf false, apps assigned to this App Service plan will scale to all instances of the plan.", - "default": false, - "type": "boolean" - }, - "numberOfSites": { - "format": "int32", - "description": "Number of apps assigned to this App Service plan.", - "type": "integer", - "readOnly": true - }, - "isSpot": { - "description": "If true, this App Service Plan owns spot instances.", - "type": "boolean" - }, - "spotExpirationTime": { - "format": "date-time", - "description": "The time when the server farm expires. Valid only if it is a spot server farm.", - "type": "string" - }, - "resourceGroup": { - "description": "Resource group of the App Service plan.", - "type": "string", - "readOnly": true - }, - "reserved": { - "description": "Reserved.", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "targetWorkerCount": { - "format": "int32", - "description": "Scaling worker count.", - "type": "integer" - }, - "targetWorkerSizeId": { - "format": "int32", - "description": "Scaling worker size ID.", - "type": "integer" - }, - "provisioningState": { - "description": "Provisioning state of the App Service Environment.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "InProgress", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": false - } - } - }, - "x-ms-client-flatten": true - }, - "sku": { - "$ref": "#/definitions/SkuDescription" - } - } + "provisioningState": { + "description": "Provisioning state of the App Service Environment.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "InProgress", + "Deleting" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": false + } }, - "AppServicePlanCollection": { - "description": "Collection of App Service plans.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/AppServicePlan" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } + "status": { + "description": "Current status of the App Service Environment.", + "enum": [ + "Preparing", + "Ready", + "Scaling", + "Deleting" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "HostingEnvironmentStatus", + "modelAsString": false + } }, - "AutoHealActions": { - "description": "Actions which to take by the auto-heal module when a rule is triggered.", - "type": "object", - "properties": { - "actionType": { - "description": "Predefined action to be taken.", - "enum": [ - "Recycle", - "LogEvent", - "CustomAction" - ], - "type": "string", - "x-ms-enum": { - "name": "AutoHealActionType", - "modelAsString": false - } - }, - "customAction": { - "$ref": "#/definitions/AutoHealCustomAction", - "description": "Custom action to be taken." - }, - "minProcessExecutionTime": { - "description": "Minimum time the process must execute\nbefore taking the action", - "type": "string" - } - } + "vnetName": { + "description": "Name of the Virtual Network for the App Service Environment.", + "type": "string" }, - "AutoHealCustomAction": { - "description": "Custom action to be executed\nwhen an auto heal rule is triggered.", - "type": "object", - "properties": { - "exe": { - "description": "Executable to be run.", - "type": "string" - }, - "parameters": { - "description": "Parameters for the executable.", - "type": "string" - } - } + "vnetResourceGroupName": { + "description": "Resource group of the Virtual Network.", + "type": "string" }, - "AutoHealRules": { - "description": "Rules that can be defined for auto-heal.", - "type": "object", - "properties": { - "triggers": { - "$ref": "#/definitions/AutoHealTriggers", - "description": "Conditions that describe when to execute the auto-heal actions." - }, - "actions": { - "$ref": "#/definitions/AutoHealActions", - "description": "Actions to be executed when a rule is triggered." - } - } + "vnetSubnetName": { + "description": "Subnet of the Virtual Network.", + "type": "string" }, - "AutoHealTriggers": { - "description": "Triggers for auto-heal.", - "type": "object", - "properties": { - "requests": { - "$ref": "#/definitions/RequestsBasedTrigger", - "description": "A rule based on total requests." - }, - "privateBytesInKB": { - "format": "int32", - "description": "A rule based on private bytes.", - "type": "integer" - }, - "statusCodes": { - "description": "A rule based on status codes.", - "type": "array", - "items": { - "$ref": "#/definitions/StatusCodesBasedTrigger" - } - }, - "slowRequests": { - "$ref": "#/definitions/SlowRequestsBasedTrigger", - "description": "A rule based on request execution time." - } - } + "virtualNetwork": { + "$ref": "#/definitions/VirtualNetworkProfile", + "description": "Description of the Virtual Network." }, - "Capability": { - "description": "Describes the capabilities/features allowed for a specific SKU.", - "type": "object", - "properties": { - "name": { - "description": "Name of the SKU capability.", - "type": "string" - }, - "value": { - "description": "Value of the SKU capability.", - "type": "string" - }, - "reason": { - "description": "Reason of the SKU capability.", - "type": "string" - } - } + "internalLoadBalancingMode": { + "description": "Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment.", + "enum": [ + "None", + "Web", + "Publishing" + ], + "type": "string", + "x-ms-enum": { + "name": "InternalLoadBalancingMode", + "modelAsString": false + } }, - "CloningInfo": { - "description": "Information needed for cloning operation.", - "required": [ - "sourceWebAppId" - ], - "type": "object", - "properties": { - "correlationId": { - "format": "uuid", - "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\ntogether to use the same snapshot.", - "type": "string", - "example": "00000000-0000-0000-0000-000000000000" - }, - "overwrite": { - "description": "true to overwrite destination app; otherwise, false.", - "type": "boolean" - }, - "cloneCustomHostNames": { - "description": "true to clone custom hostnames from source app; otherwise, false.", - "type": "boolean" - }, - "cloneSourceControl": { - "description": "true to clone source control from source app; otherwise, false.", - "type": "boolean" - }, - "sourceWebAppId": { - "description": "ARM resource ID of the source app. App resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", - "type": "string" - }, - "hostingEnvironment": { - "description": "App Service Environment.", - "type": "string" - }, - "appSettingsOverrides": { - "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \nfrom source app. Otherwise, application settings from source app are retained.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "configureLoadBalancing": { - "description": "true to configure load balancing for source and destination app.", - "type": "boolean" - }, - "trafficManagerProfileId": { - "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", - "type": "string" - }, - "trafficManagerProfileName": { - "description": "Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.", - "type": "string" - } - } + "multiSize": { + "description": "Front-end VM size, e.g. \"Medium\", \"Large\".", + "type": "string" }, - "ConnStringInfo": { - "description": "Database connection string information.", - "type": "object", - "properties": { - "name": { - "description": "Name of connection string.", - "type": "string" - }, - "connectionString": { - "description": "Connection string value.", - "type": "string" - }, - "type": { - "description": "Type of database.", - "enum": [ - "MySql", - "SQLServer", - "SQLAzure", - "Custom", - "NotificationHub", - "ServiceBus", - "EventHub", - "ApiHub", - "DocDb", - "RedisCache", - "PostgreSQL" - ], - "type": "string", - "x-ms-enum": { - "name": "ConnectionStringType", - "modelAsString": false - } - } - } + "multiRoleCount": { + "format": "int32", + "description": "Number of front-end instances.", + "type": "integer" }, - "CorsSettings": { - "description": "Cross-Origin Resource Sharing (CORS) settings for the app.", - "type": "object", - "properties": { - "allowedOrigins": { - "description": "Gets or sets the list of origins that should be allowed to make cross-origin\ncalls (for example: http://example.com:12345). Use \"*\" to allow all.", - "type": "array", - "items": { - "type": "string" - } - } - } + "workerPools": { + "description": "Description of worker pools with worker size IDs, VM sizes, and number of workers in each pool.", + "type": "array", + "items": { + "$ref": "#/definitions/WorkerPool" + } }, - "CsmUsageQuota": { - "description": "Usage of the quota resource.", - "type": "object", - "properties": { - "unit": { - "description": "Units of measurement for the quota resourse.", - "type": "string" - }, - "nextResetTime": { - "format": "date-time", - "description": "Next reset time for the resource counter.", - "type": "string" - }, - "currentValue": { - "format": "int64", - "description": "The current value of the resource counter.", - "type": "integer" - }, - "limit": { - "format": "int64", - "description": "The resource limit.", - "type": "integer" - }, - "name": { - "$ref": "#/definitions/LocalizableString", - "description": "Quota name." - } - } + "ipsslAddressCount": { + "format": "int32", + "description": "Number of IP SSL addresses reserved for the App Service Environment.", + "type": "integer" }, - "CsmUsageQuotaCollection": { - "description": "Collection of CSM usage quotas.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/CsmUsageQuota" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } + "databaseEdition": { + "description": "Edition of the metadata database for the App Service Environment, e.g. \"Standard\".", + "type": "string", + "readOnly": true }, - "ErrorEntity": { - "description": "Body of the error response returned from the API.", - "type": "object", - "properties": { - "extendedCode": { - "description": "Type of error.", - "type": "string" - }, - "messageTemplate": { - "description": "Message template.", - "type": "string" - }, - "parameters": { - "description": "Parameters for the template.", - "type": "array", - "items": { - "type": "string" - } - }, - "innerErrors": { - "description": "Inner errors.", - "type": "array", - "items": { - "$ref": "#/definitions/ErrorEntity" - } - }, - "code": { - "description": "Basic error code.", - "type": "string" - }, - "message": { - "description": "Any details of the error.", - "type": "string" - } - } + "databaseServiceObjective": { + "description": "Service objective of the metadata database for the App Service Environment, e.g. \"S0\".", + "type": "string", + "readOnly": true }, - "Experiments": { - "description": "Routing rules in production experiments.", - "type": "object", - "properties": { - "rampUpRules": { - "description": "List of ramp-up rules.", - "type": "array", - "items": { - "$ref": "#/definitions/RampUpRule" - } - } - } + "upgradeDomains": { + "format": "int32", + "description": "Number of upgrade domains of the App Service Environment.", + "type": "integer", + "readOnly": true }, - "HandlerMapping": { - "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \nFor example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", - "type": "object", - "properties": { - "extension": { - "description": "Requests with this extension will be handled using the specified FastCGI application.", - "type": "string" - }, - "scriptProcessor": { - "description": "The absolute path to the FastCGI application.", - "type": "string" - }, - "arguments": { - "description": "Command-line arguments to be passed to the script processor.", - "type": "string" - } - } + "subscriptionId": { + "description": "Subscription of the App Service Environment.", + "type": "string", + "readOnly": true }, - "HostNameSslState": { - "description": "SSL-enabled hostname.", - "type": "object", - "properties": { - "name": { - "description": "Hostname.", - "type": "string" - }, - "sslState": { - "description": "SSL type.", - "enum": [ - "Disabled", - "SniEnabled", - "IpBasedEnabled" - ], - "type": "string", - "x-ms-enum": { - "name": "SslState", - "modelAsString": false - } - }, - "virtualIP": { - "description": "Virtual IP address assigned to the hostname if IP based SSL is enabled.", - "type": "string" - }, - "thumbprint": { - "description": "SSL certificate thumbprint.", - "type": "string" - }, - "toUpdate": { - "description": "Set to true to update existing hostname.", - "type": "boolean" - }, - "hostType": { - "description": "Indicates whether the hostname is a standard or repository hostname.", - "enum": [ - "Standard", - "Repository" - ], - "type": "string", - "x-ms-enum": { - "name": "HostType", - "modelAsString": false - } - } - } + "dnsSuffix": { + "description": "DNS suffix of the App Service Environment.", + "type": "string" }, - "HostingEnvironmentProfile": { - "description": "Specification for an App Service Environment to use for this resource.", - "type": "object", - "properties": { - "id": { - "description": "Resource ID of the App Service Environment.", - "type": "string" - }, - "name": { - "description": "Name of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Resource type of the App Service Environment.", - "type": "string", - "readOnly": true - } - } + "lastAction": { + "description": "Last deployment action on the App Service Environment.", + "type": "string", + "readOnly": true }, - "HybridConnection": { - "description": "Hybrid Connection contract. This is used to configure a Hybrid Connection.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "HybridConnection resource specific properties", - "properties": { - "serviceBusNamespace": { - "description": "The name of the Service Bus namespace.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "relayName": { - "description": "The name of the Service Bus relay.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "relayArmUri": { - "description": "The ARM URI to the Service Bus relay.", - "type": "string" - }, - "hostname": { - "description": "The hostname of the endpoint.", - "type": "string" - }, - "port": { - "format": "int32", - "description": "The port of the endpoint.", - "type": "integer" - }, - "sendKeyName": { - "description": "The name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus.", - "type": "string" - }, - "sendKeyValue": { - "description": "The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned\nnormally, use the POST /listKeys API instead.", - "type": "string" - }, - "serviceBusSuffix": { - "description": "The suffix for the service bus endpoint. By default this is .servicebus.windows.net", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } + "lastActionResult": { + "description": "Result of the last deployment action on the App Service Environment.", + "type": "string", + "readOnly": true }, - "HybridConnectionKey": { - "description": "Hybrid Connection key contract. This has the send key name and value for a Hybrid Connection.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "HybridConnectionKey resource specific properties", - "properties": { - "sendKeyName": { - "description": "The name of the send key.", - "type": "string", - "readOnly": true - }, - "sendKeyValue": { - "description": "The value of the send key.", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } + "allowedMultiSizes": { + "description": "List of comma separated strings describing which VM sizes are allowed for front-ends.", + "type": "string", + "readOnly": true }, - "IpSecurityRestriction": { - "description": "IP security restriction on an app.", - "required": [ - "ipAddress" - ], - "type": "object", - "properties": { - "ipAddress": { - "description": "IP address the security restriction is valid for.", - "type": "string" - }, - "subnetMask": { - "description": "Subnet mask for the range of IP addresses the restriction is valid for.", - "type": "string" - } - } + "allowedWorkerSizes": { + "description": "List of comma separated strings describing which VM sizes are allowed for workers.", + "type": "string", + "readOnly": true }, - "LocalizableString": { - "description": "Localizable string object containing the name and a localized value.", - "type": "object", - "properties": { - "value": { - "description": "Non-localized name.", - "type": "string" - }, - "localizedValue": { - "description": "Localized name.", - "type": "string" - } - } + "maximumNumberOfMachines": { + "format": "int32", + "description": "Maximum number of VMs in the App Service Environment.", + "type": "integer", + "readOnly": true }, - "ManagedServiceIdentity": { - "description": "Managed service identity.", - "type": "object", - "properties": { - "type": { - "description": "Type of managed service identity.", - "enum": [ - "SystemAssigned" - ], - "x-ms-enum": { - "name": "ManagedServiceIdentityType", - "modelAsString": true - } - }, - "tenantId": { - "description": "Tenant of managed service identity.", - "type": "string", - "readOnly": true - }, - "principalId": { - "description": "Principal Id of managed service identity.", - "type": "string", - "readOnly": true - } - } + "vipMappings": { + "description": "Description of IP SSL mapping for the App Service Environment.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualIPMapping" + }, + "readOnly": true }, - "NameIdentifier": { - "description": "Identifies an object.", - "type": "object", - "properties": { - "name": { - "description": "Name of the object.", - "type": "string" - } - } + "environmentCapacities": { + "description": "Current total, used, and available worker capacities.", + "type": "array", + "items": { + "$ref": "#/definitions/StampCapacity" + }, + "readOnly": true }, - "NameValuePair": { - "description": "Name value pair.", - "type": "object", - "properties": { - "name": { - "description": "Pair name.", - "type": "string" - }, - "value": { - "description": "Pair value.", - "type": "string" - } - } + "networkAccessControlList": { + "description": "Access control list for controlling traffic to the App Service Environment.", + "type": "array", + "items": { + "$ref": "#/definitions/NetworkAccessControlEntry" + } }, - "NetworkAccessControlEntry": { - "description": "Network access control entry.", - "type": "object", - "properties": { - "action": { - "description": "Action object.", - "enum": [ - "Permit", - "Deny" - ], - "type": "string", - "x-ms-enum": { - "name": "AccessControlEntryAction", - "modelAsString": false - } - }, - "description": { - "description": "Description.", - "type": "string" - }, - "order": { - "format": "int32", - "description": "Order of precedence.", - "type": "integer" - }, - "remoteSubnet": { - "description": "Remote subnet.", - "type": "string" - } - } + "environmentIsHealthy": { + "description": "True/false indicating whether the App Service Environment is healthy.", + "type": "boolean", + "readOnly": true }, - "Operation": { - "description": "Operation.", - "type": "object", - "properties": { - "id": { - "description": "Operation ID.", - "type": "string" - }, - "name": { - "description": "Operation name.", - "type": "string" - }, - "status": { - "description": "The current status of the operation.", - "enum": [ - "InProgress", - "Failed", - "Succeeded", - "TimedOut", - "Created" - ], - "type": "string", - "x-ms-enum": { - "name": "OperationStatus", - "modelAsString": false - } - }, - "errors": { - "description": "Any errors associate with the operation.", - "type": "array", - "items": { - "$ref": "#/definitions/ErrorEntity" - } - }, - "createdTime": { - "format": "date-time", - "description": "Time when operation has started.", - "type": "string" - }, - "modifiedTime": { - "format": "date-time", - "description": "Time when operation has been updated.", - "type": "string" - }, - "expirationTime": { - "format": "date-time", - "description": "Time when operation will expire.", - "type": "string" - }, - "geoMasterOperationId": { - "format": "uuid", - "description": "Applicable only for stamp operation ids.", - "type": "string", - "example": "00000000-0000-0000-0000-000000000000" - } - } + "environmentStatus": { + "description": "Detailed message about with results of the last check of the App Service Environment.", + "type": "string", + "readOnly": true }, - "ProxyOnlyResource": { - "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - } - }, - "x-ms-azure-resource": true - }, - "PushSettings": { - "description": "Push settings for the App.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "PushSettings resource specific properties", - "required": [ - "isPushEnabled" - ], - "properties": { - "isPushEnabled": { - "description": "Gets or sets a flag indicating whether the Push endpoint is enabled.", - "type": "boolean" - }, - "tagWhitelistJson": { - "description": "Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", - "type": "string" - }, - "tagsRequiringAuth": { - "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\nTags can consist of alphanumeric characters and the following:\n'_', '@', '#', '.', ':', '-'. \nValidation should be performed at the PushRequestHandler.", - "type": "string" - }, - "dynamicTagsJson": { - "description": "Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } + "resourceGroup": { + "description": "Resource group of the App Service Environment.", + "type": "string", + "readOnly": true }, - "RampUpRule": { - "description": "Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance.", - "type": "object", - "properties": { - "actionHostName": { - "description": "Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net.", - "type": "string" - }, - "reroutePercentage": { - "format": "double", - "description": "Percentage of the traffic which will be redirected to ActionHostName.", - "type": "number" - }, - "changeStep": { - "format": "double", - "description": "In auto ramp up scenario this is the step to to add/remove from ReroutePercentage until it reaches \nMinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specificed in ChangeIntervalInMinutes.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", - "type": "number" - }, - "changeIntervalInMinutes": { - "format": "int32", - "description": "Specifies interval in mimuntes to reevaluate ReroutePercentage.", - "type": "integer" - }, - "minReroutePercentage": { - "format": "double", - "description": "Specifies lower boundary above which ReroutePercentage will stay.", - "type": "number" - }, - "maxReroutePercentage": { - "format": "double", - "description": "Specifies upper boundary below which ReroutePercentage will stay.", - "type": "number" - }, - "changeDecisionCallbackUrl": { - "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\nhttps://www.siteextensions.net/packages/TiPCallback/", - "type": "string" - }, - "name": { - "description": "Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment.", - "type": "string" - } - } + "frontEndScaleFactor": { + "format": "int32", + "description": "Scale factor for front-ends.", + "type": "integer" }, - "RequestsBasedTrigger": { - "description": "Trigger based on total requests.", - "type": "object", - "properties": { - "count": { - "format": "int32", - "description": "Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } + "defaultFrontEndScaleFactor": { + "format": "int32", + "description": "Default Scale Factor for FrontEnds.", + "type": "integer", + "readOnly": true }, - "Resource": { - "description": "Azure resource. This resource is tracked in Azure Resource Manager", - "required": [ - "location" - ], - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "location": { - "description": "Resource Location.", - "type": "string" - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - }, - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "x-ms-azure-resource": true - }, - "ResourceMetric": { - "description": "Object representing a metric for any resource .", - "type": "object", - "properties": { - "name": { - "$ref": "#/definitions/ResourceMetricName", - "description": "Name of metric.", - "readOnly": true - }, - "unit": { - "description": "Metric unit.", - "type": "string", - "readOnly": true - }, - "timeGrain": { - "description": "Metric granularity. E.g PT1H, PT5M, P1D", - "type": "string", - "readOnly": true - }, - "startTime": { - "format": "date-time", - "description": "Metric start time.", - "type": "string", - "readOnly": true - }, - "endTime": { - "format": "date-time", - "description": "Metric end time.", - "type": "string", - "readOnly": true - }, - "resourceId": { - "description": "Metric resource Id.", - "type": "string", - "readOnly": true - }, - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "metricValues": { - "description": "Metric values.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricValue" - }, - "readOnly": true - }, - "properties": { - "description": "Properties.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricProperty" - }, - "readOnly": true - } - } + "apiManagementAccountId": { + "description": "API Management Account associated with the App Service Environment.", + "type": "string" }, - "ResourceMetricAvailability": { - "description": "Metrics availability and retention.", - "type": "object", - "properties": { - "timeGrain": { - "description": "Time grain .", - "type": "string", - "readOnly": true - }, - "retention": { - "description": "Retention period for the current time grain.", - "type": "string", - "readOnly": true - } - } + "suspended": { + "description": "true if the App Service Environment is suspended; otherwise, false. The environment can be suspended, e.g. when the management endpoint is no longer available\n (most likely because NSG blocked the incoming traffic).", + "type": "boolean" }, - "ResourceMetricCollection": { - "description": "Collection of metric responses.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetric" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } + "dynamicCacheEnabled": { + "description": "True/false indicating whether the App Service Environment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available\n(most likely because NSG blocked the incoming traffic).", + "type": "boolean" }, - "ResourceMetricDefinition": { - "description": "Metadata for the metrics.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "ResourceMetricDefinition resource specific properties", - "properties": { - "name": { - "$ref": "#/definitions/ResourceMetricName", - "description": "Name of the metric.", - "readOnly": true - }, - "unit": { - "description": "Unit of the metric.", - "type": "string", - "readOnly": true - }, - "primaryAggregationType": { - "description": "Primary aggregation type.", - "type": "string", - "readOnly": true - }, - "metricAvailabilities": { - "description": "List of time grains supported for the metric together with retention period.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricAvailability" - }, - "readOnly": true - }, - "resourceUri": { - "description": "Resource URI.", - "type": "string", - "readOnly": true - }, - "id": { - "description": "Resource ID.", - "type": "string", - "readOnly": true - }, - "properties": { - "description": "Properties.", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } + "clusterSettings": { + "description": "Custom settings for changing the behavior of the App Service Environment.", + "type": "array", + "items": { + "$ref": "#/definitions/NameValuePair" + } }, - "ResourceMetricDefinitionCollection": { - "description": "Collection of metric definitions.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricDefinition" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } + "userWhitelistedIpRanges": { + "description": "User added ip ranges to whitelist on ASE db", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "AppServicePlan": { + "description": "App Service plan.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "AppServicePlan resource specific properties", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name for the App Service plan.", + "type": "string" + }, + "workerTierName": { + "description": "Target worker tier assigned to the App Service plan.", + "type": "string" + }, + "status": { + "description": "App Service plan status.", + "enum": [ + "Ready", + "Pending", + "Creating" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "StatusOptions", + "modelAsString": false + } + }, + "subscription": { + "description": "App Service plan subscription.", + "type": "string", + "readOnly": true + }, + "adminSiteName": { + "description": "App Service plan administration site.", + "type": "string" + }, + "hostingEnvironmentProfile": { + "$ref": "#/definitions/HostingEnvironmentProfile", + "description": "Specification for the App Service Environment to use for the App Service plan.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "maximumNumberOfWorkers": { + "format": "int32", + "description": "Maximum number of instances that can be assigned to this App Service plan.", + "type": "integer", + "readOnly": true + }, + "geoRegion": { + "description": "Geographical location for the App Service plan.", + "type": "string", + "readOnly": true + }, + "perSiteScaling": { + "description": "If true, apps assigned to this App Service plan can be scaled independently.\nIf false, apps assigned to this App Service plan will scale to all instances of the plan.", + "default": false, + "type": "boolean" + }, + "numberOfSites": { + "format": "int32", + "description": "Number of apps assigned to this App Service plan.", + "type": "integer", + "readOnly": true + }, + "isSpot": { + "description": "If true, this App Service Plan owns spot instances.", + "type": "boolean" + }, + "spotExpirationTime": { + "format": "date-time", + "description": "The time when the server farm expires. Valid only if it is a spot server farm.", + "type": "string" + }, + "resourceGroup": { + "description": "Resource group of the App Service plan.", + "type": "string", + "readOnly": true + }, + "reserved": { + "description": "Reserved.", + "default": false, + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "targetWorkerCount": { + "format": "int32", + "description": "Scaling worker count.", + "type": "integer" + }, + "targetWorkerSizeId": { + "format": "int32", + "description": "Scaling worker size ID.", + "type": "integer" + }, + "provisioningState": { + "description": "Provisioning state of the App Service Environment.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "InProgress", + "Deleting" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": false + } } + }, + "x-ms-client-flatten": true }, - "ResourceMetricName": { - "description": "Name of a metric for any resource .", - "type": "object", - "properties": { - "value": { - "description": "metric name value.", - "type": "string", - "readOnly": true - }, - "localizedValue": { - "description": "Localized metric name value.", - "type": "string", - "readOnly": true - } - } + "sku": { + "$ref": "#/definitions/SkuDescription" + } + } + }, + "AppServicePlanCollection": { + "description": "Collection of App Service plans.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/AppServicePlan" + } }, - "ResourceMetricProperty": { - "description": "Resource metric property.", - "type": "object", - "properties": { - "key": { - "description": "Key for resource metric property.", - "type": "string" - }, - "value": { - "description": "Value of pair.", - "type": "string" - } - } + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "AutoHealActions": { + "description": "Actions which to take by the auto-heal module when a rule is triggered.", + "type": "object", + "properties": { + "actionType": { + "description": "Predefined action to be taken.", + "enum": [ + "Recycle", + "LogEvent", + "CustomAction" + ], + "type": "string", + "x-ms-enum": { + "name": "AutoHealActionType", + "modelAsString": false + } }, - "ResourceMetricValue": { - "description": "Value of resource metric.", - "type": "object", - "properties": { - "timestamp": { - "description": "Value timestamp.", - "type": "string", - "readOnly": true - }, - "average": { - "format": "float", - "description": "Value average.", - "type": "number", - "readOnly": true - }, - "minimum": { - "format": "float", - "description": "Value minimum.", - "type": "number", - "readOnly": true - }, - "maximum": { - "format": "float", - "description": "Value maximum.", - "type": "number", - "readOnly": true - }, - "total": { - "format": "float", - "description": "Value total.", - "type": "number", - "readOnly": true - }, - "count": { - "format": "float", - "description": "Value count.", - "type": "number", - "readOnly": true - }, - "properties": { - "description": "Properties.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricProperty" - }, - "readOnly": true - } - } + "customAction": { + "$ref": "#/definitions/AutoHealCustomAction", + "description": "Custom action to be taken." }, - "Site": { - "description": "A web app, a mobile app backend, or an API app.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Site resource specific properties", - "properties": { - "state": { - "description": "Current state of the app.", - "type": "string", - "readOnly": true - }, - "hostNames": { - "description": "Hostnames associated with the app.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "repositorySiteName": { - "description": "Name of the repository site.", - "type": "string", - "readOnly": true - }, - "usageState": { - "description": "State indicating whether the app has exceeded its quota usage. Read-only.", - "enum": [ - "Normal", - "Exceeded" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "UsageState", - "modelAsString": false - } - }, - "enabled": { - "description": "true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).", - "type": "boolean" - }, - "enabledHostNames": { - "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\nthe app is not served on those hostnames.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "availabilityState": { - "description": "Management information availability state for the app.", - "enum": [ - "Normal", - "Limited", - "DisasterRecoveryMode" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "SiteAvailabilityState", - "modelAsString": false - } - }, - "hostNameSslStates": { - "description": "Hostname SSL states are used to manage the SSL bindings for app's hostnames.", - "type": "array", - "items": { - "$ref": "#/definitions/HostNameSslState" - } - }, - "serverFarmId": { - "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", - "type": "string" - }, - "reserved": { - "description": "true if reserved; otherwise, false.", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "lastModifiedTimeUtc": { - "format": "date-time", - "description": "Last time the app was modified, in UTC. Read-only.", - "type": "string", - "readOnly": true - }, - "siteConfig": { - "$ref": "#/definitions/SiteConfig", - "description": "Configuration of the app." - }, - "trafficManagerHostNames": { - "description": "Azure Traffic Manager hostnames associated with the app. Read-only.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "scmSiteAlsoStopped": { - "description": "true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", - "default": false, - "type": "boolean" - }, - "targetSwapSlot": { - "description": "Specifies which deployment slot this app will swap into. Read-only.", - "type": "string", - "readOnly": true - }, - "hostingEnvironmentProfile": { - "$ref": "#/definitions/HostingEnvironmentProfile", - "description": "App Service Environment to use for the app.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "clientAffinityEnabled": { - "description": "true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.", - "type": "boolean" - }, - "clientCertEnabled": { - "description": "true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.", - "type": "boolean" - }, - "hostNamesDisabled": { - "description": "true to disable the public hostnames of the app; otherwise, false.\n If true, the app is only accessible via API management process.", - "type": "boolean" - }, - "outboundIpAddresses": { - "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only.", - "type": "string", - "readOnly": true - }, - "possibleOutboundIpAddresses": { - "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only.", - "type": "string", - "readOnly": true - }, - "containerSize": { - "format": "int32", - "description": "Size of the function container.", - "type": "integer" - }, - "dailyMemoryTimeQuota": { - "format": "int32", - "description": "Maximum allowed daily memory-time quota (applicable on dynamic apps only).", - "type": "integer" - }, - "suspendedTill": { - "format": "date-time", - "description": "App suspended till in case memory-time quota is exceeded.", - "type": "string", - "readOnly": true - }, - "maxNumberOfWorkers": { - "format": "int32", - "description": "Maximum number of workers.\nThis only applies to Functions container.", - "type": "integer", - "readOnly": true - }, - "cloningInfo": { - "$ref": "#/definitions/CloningInfo", - "description": "If specified during app creation, the app is cloned from a source app.", - "x-ms-mutability": [ - "create" - ] - }, - "snapshotInfo": { - "$ref": "#/definitions/SnapshotRecoveryRequest", - "description": "If specified during app creation, the app is created from a previous snapshot.", - "x-ms-mutability": [ - "create" - ] - }, - "resourceGroup": { - "description": "Name of the resource group the app belongs to. Read-only.", - "type": "string", - "readOnly": true - }, - "isDefaultContainer": { - "description": "true if the app is a default container; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "defaultHostName": { - "description": "Default hostname of the app. Read-only.", - "type": "string", - "readOnly": true - }, - "slotSwapStatus": { - "$ref": "#/definitions/SlotSwapStatus", - "description": "Status of the last deployment slot swap operation.", - "readOnly": true - }, - "httpsOnly": { - "description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests", - "type": "boolean" - } - }, - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/ManagedServiceIdentity" - } - } + "minProcessExecutionTime": { + "description": "Minimum time the process must execute\nbefore taking the action", + "type": "string" + } + } + }, + "AutoHealCustomAction": { + "description": "Custom action to be executed\nwhen an auto heal rule is triggered.", + "type": "object", + "properties": { + "exe": { + "description": "Executable to be run.", + "type": "string" }, - "SiteConfig": { - "description": "Configuration of an App Service app.", - "type": "object", - "properties": { - "numberOfWorkers": { - "format": "int32", - "description": "Number of workers.", - "type": "integer" - }, - "defaultDocuments": { - "description": "Default documents.", - "type": "array", - "items": { - "type": "string" - } - }, - "netFrameworkVersion": { - "description": ".NET Framework version.", - "default": "v4.6", - "type": "string" - }, - "phpVersion": { - "description": "Version of PHP.", - "type": "string" - }, - "pythonVersion": { - "description": "Version of Python.", - "type": "string" - }, - "nodeVersion": { - "description": "Version of Node.js.", - "type": "string" - }, - "linuxFxVersion": { - "description": "Linux App Framework and version", - "type": "string" - }, - "requestTracingEnabled": { - "description": "true if request tracing is enabled; otherwise, false.", - "type": "boolean" - }, - "requestTracingExpirationTime": { - "format": "date-time", - "description": "Request tracing expiration time.", - "type": "string" - }, - "remoteDebuggingEnabled": { - "description": "true if remote debugging is enabled; otherwise, false.", - "type": "boolean" - }, - "remoteDebuggingVersion": { - "description": "Remote debugging version.", - "type": "string" - }, - "httpLoggingEnabled": { - "description": "true if HTTP logging is enabled; otherwise, false.", - "type": "boolean" - }, - "logsDirectorySizeLimit": { - "format": "int32", - "description": "HTTP logs directory size limit.", - "type": "integer" - }, - "detailedErrorLoggingEnabled": { - "description": "true if detailed error logging is enabled; otherwise, false.", - "type": "boolean" - }, - "publishingUsername": { - "description": "Publishing user name.", - "type": "string" - }, - "appSettings": { - "description": "Application settings.", - "type": "array", - "items": { - "$ref": "#/definitions/NameValuePair" - } - }, - "connectionStrings": { - "description": "Connection strings.", - "type": "array", - "items": { - "$ref": "#/definitions/ConnStringInfo" - } - }, - "machineKey": { - "$ref": "#/definitions/SiteMachineKey", - "description": "Site MachineKey.", - "readOnly": true - }, - "handlerMappings": { - "description": "Handler mappings.", - "type": "array", - "items": { - "$ref": "#/definitions/HandlerMapping" - } - }, - "documentRoot": { - "description": "Document root.", - "type": "string" - }, - "scmType": { - "description": "SCM type.", - "enum": [ - "None", - "Dropbox", - "Tfs", - "LocalGit", - "GitHub", - "CodePlexGit", - "CodePlexHg", - "BitbucketGit", - "BitbucketHg", - "ExternalGit", - "ExternalHg", - "OneDrive", - "VSO" - ], - "type": "string", - "x-ms-enum": { - "name": "ScmType", - "modelAsString": true - } - }, - "use32BitWorkerProcess": { - "description": "true to use 32-bit worker process; otherwise, false.", - "type": "boolean" - }, - "webSocketsEnabled": { - "description": "true if WebSocket is enabled; otherwise, false.", - "type": "boolean" - }, - "alwaysOn": { - "description": "true if Always On is enabled; otherwise, false.", - "type": "boolean" - }, - "javaVersion": { - "description": "Java version.", - "type": "string" - }, - "javaContainer": { - "description": "Java container.", - "type": "string" - }, - "javaContainerVersion": { - "description": "Java container version.", - "type": "string" - }, - "appCommandLine": { - "description": "App command line to launch.", - "type": "string" - }, - "managedPipelineMode": { - "description": "Managed pipeline mode.", - "enum": [ - "Integrated", - "Classic" - ], - "type": "string", - "x-ms-enum": { - "name": "ManagedPipelineMode", - "modelAsString": false - } - }, - "virtualApplications": { - "description": "Virtual applications.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualApplication" - } - }, - "loadBalancing": { - "description": "Site load balancing.", - "enum": [ - "WeightedRoundRobin", - "LeastRequests", - "LeastResponseTime", - "WeightedTotalTraffic", - "RequestHash" - ], - "type": "string", - "x-ms-enum": { - "name": "SiteLoadBalancing", - "modelAsString": false - } - }, - "experiments": { - "$ref": "#/definitions/Experiments", - "description": "This is work around for polymophic types." - }, - "limits": { - "$ref": "#/definitions/SiteLimits", - "description": "Site limits." - }, - "autoHealEnabled": { - "description": "true if Auto Heal is enabled; otherwise, false.", - "type": "boolean" - }, - "autoHealRules": { - "$ref": "#/definitions/AutoHealRules", - "description": "Auto Heal rules." - }, - "tracingOptions": { - "description": "Tracing options.", - "type": "string" - }, - "vnetName": { - "description": "Virtual Network name.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "cors": { - "$ref": "#/definitions/CorsSettings", - "description": "Cross-Origin Resource Sharing (CORS) settings." - }, - "push": { - "$ref": "#/definitions/PushSettings", - "description": "Push endpoint settings." - }, - "apiDefinition": { - "$ref": "#/definitions/ApiDefinitionInfo", - "description": "Information about the formal API definition for the app." - }, - "autoSwapSlotName": { - "description": "Auto-swap slot name.", - "type": "string" - }, - "localMySqlEnabled": { - "description": "true to enable local MySQL; otherwise, false.", - "default": false, - "type": "boolean" - }, - "ipSecurityRestrictions": { - "description": "IP security restrictions.", - "type": "array", - "items": { - "$ref": "#/definitions/IpSecurityRestriction" - } - } - } + "parameters": { + "description": "Parameters for the executable.", + "type": "string" + } + } + }, + "AutoHealRules": { + "description": "Rules that can be defined for auto-heal.", + "type": "object", + "properties": { + "triggers": { + "$ref": "#/definitions/AutoHealTriggers", + "description": "Conditions that describe when to execute the auto-heal actions." }, - "SiteLimits": { - "description": "Metric limits set on an app.", - "type": "object", - "properties": { - "maxPercentageCpu": { - "format": "double", - "description": "Maximum allowed CPU usage percentage.", - "type": "number" - }, - "maxMemoryInMb": { - "format": "int64", - "description": "Maximum allowed memory usage in MB.", - "type": "integer" - }, - "maxDiskSizeInMb": { - "format": "int64", - "description": "Maximum allowed disk size usage in MB.", - "type": "integer" - } - } + "actions": { + "$ref": "#/definitions/AutoHealActions", + "description": "Actions to be executed when a rule is triggered." + } + } + }, + "AutoHealTriggers": { + "description": "Triggers for auto-heal.", + "type": "object", + "properties": { + "requests": { + "$ref": "#/definitions/RequestsBasedTrigger", + "description": "A rule based on total requests." }, - "SiteMachineKey": { - "description": "MachineKey of an app.", - "type": "object", - "properties": { - "validation": { - "description": "MachineKey validation.", - "type": "string" - }, - "validationKey": { - "description": "Validation key.", - "type": "string" - }, - "decryption": { - "description": "Decryption.", - "type": "string" - }, - "decryptionKey": { - "description": "Decryption key.", - "type": "string" - } - } + "privateBytesInKB": { + "format": "int32", + "description": "A rule based on private bytes.", + "type": "integer" }, - "SkuCapacity": { - "description": "Description of the App Service plan scale options.", - "type": "object", - "properties": { - "minimum": { - "format": "int32", - "description": "Minimum number of workers for this App Service plan SKU.", - "type": "integer" - }, - "maximum": { - "format": "int32", - "description": "Maximum number of workers for this App Service plan SKU.", - "type": "integer" - }, - "default": { - "format": "int32", - "description": "Default number of workers for this App Service plan SKU.", - "type": "integer" - }, - "scaleType": { - "description": "Available scale configurations for an App Service plan.", - "type": "string" - } - } + "statusCodes": { + "description": "A rule based on status codes.", + "type": "array", + "items": { + "$ref": "#/definitions/StatusCodesBasedTrigger" + } }, - "SkuDescription": { - "description": "Description of 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" - }, - "skuCapacity": { - "$ref": "#/definitions/SkuCapacity", - "description": "Min, max, and default scale values of the SKU." - }, - "locations": { - "description": "Locations of the SKU.", - "type": "array", - "items": { - "type": "string" - } - }, - "capabilities": { - "description": "Capabilities of the SKU, e.g., is traffic manager enabled?", - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } - } - } + "slowRequests": { + "$ref": "#/definitions/SlowRequestsBasedTrigger", + "description": "A rule based on request execution time." + } + } + }, + "Capability": { + "description": "Describes the capabilities/features allowed for a specific SKU.", + "type": "object", + "properties": { + "name": { + "description": "Name of the SKU capability.", + "type": "string" }, - "SlotSwapStatus": { - "description": "The status of the last successfull slot swap operation.", - "type": "object", - "properties": { - "timestampUtc": { - "format": "date-time", - "description": "The time the last successful slot swap completed.", - "type": "string", - "readOnly": true - }, - "sourceSlotName": { - "description": "The source slot of the last swap operation.", - "type": "string", - "readOnly": true - }, - "destinationSlotName": { - "description": "The destination slot of the last swap operation.", - "type": "string", - "readOnly": true - } - } + "value": { + "description": "Value of the SKU capability.", + "type": "string" }, - "SlowRequestsBasedTrigger": { - "description": "Trigger based on request execution time.", - "type": "object", - "properties": { - "timeTaken": { - "description": "Time taken.", - "type": "string" - }, - "count": { - "format": "int32", - "description": "Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } + "reason": { + "description": "Reason of the SKU capability.", + "type": "string" + } + } + }, + "CloningInfo": { + "description": "Information needed for cloning operation.", + "required": [ + "sourceWebAppId" + ], + "type": "object", + "properties": { + "correlationId": { + "format": "uuid", + "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\ntogether to use the same snapshot.", + "type": "string", + "example": "00000000-0000-0000-0000-000000000000" }, - "SnapshotRecoveryRequest": { - "description": "Details about app recovery operation.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "SnapshotRecoveryRequest resource specific properties", - "required": [ - "overwrite" - ], - "properties": { - "snapshotTime": { - "description": "Point in time in which the app recovery should be attempted, formatted as a DateTime string.", - "type": "string" - }, - "recoveryTarget": { - "$ref": "#/definitions/SnapshotRecoveryTarget", - "description": "Specifies the web app that snapshot contents will be written to." - }, - "overwrite": { - "description": "If true the recovery operation can overwrite source app; otherwise, false.", - "type": "boolean" - }, - "recoverConfiguration": { - "description": "If true, site configuration, in addition to content, will be reverted.", - "type": "boolean" - }, - "ignoreConflictingHostNames": { - "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\nThis setting is only necessary when RecoverConfiguration is enabled.", - "type": "boolean" - } - }, - "x-ms-client-flatten": true - } - } + "overwrite": { + "description": "true to overwrite destination app; otherwise, false.", + "type": "boolean" }, - "SnapshotRecoveryTarget": { - "description": "Specifies the web app that snapshot contents will be written to.", - "type": "object", - "properties": { - "location": { - "description": "Geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS", - "type": "string" - }, - "id": { - "description": "ARM resource ID of the target app. \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", - "type": "string" - } - } + "cloneCustomHostNames": { + "description": "true to clone custom hostnames from source app; otherwise, false.", + "type": "boolean" }, - "StampCapacity": { - "description": "Stamp capacity information.", - "type": "object", - "properties": { - "name": { - "description": "Name of the stamp.", - "type": "string" - }, - "availableCapacity": { - "format": "int64", - "description": "Available capacity (# of machines, bytes of storage etc...).", - "type": "integer" - }, - "totalCapacity": { - "format": "int64", - "description": "Total capacity (# of machines, bytes of storage etc...).", - "type": "integer" - }, - "unit": { - "description": "Name of the unit.", - "type": "string" - }, - "computeMode": { - "description": "Shared/dedicated workers.", - "enum": [ - "Shared", - "Dedicated", - "Dynamic" - ], - "type": "string", - "x-ms-enum": { - "name": "ComputeModeOptions", - "modelAsString": false - } - }, - "workerSize": { - "description": "Size of the machines.", - "enum": [ - "Default", - "Small", - "Medium", - "Large", - "D1", - "D2", - "D3" - ], - "type": "string", - "x-ms-enum": { - "name": "WorkerSizeOptions", - "modelAsString": false - } - }, - "workerSizeId": { - "format": "int32", - "description": "Size ID of machines: \n0 - Small\n1 - Medium\n2 - Large", - "type": "integer" - }, - "excludeFromCapacityAllocation": { - "description": "If true, it includes basic apps.\nBasic apps are not used for capacity allocation.", - "type": "boolean" - }, - "isApplicableForAllComputeModes": { - "description": "true if capacity is applicable for all apps; otherwise, false.", - "type": "boolean" - }, - "siteMode": { - "description": "Shared or Dedicated.", - "type": "string" - } - } + "cloneSourceControl": { + "description": "true to clone source control from source app; otherwise, false.", + "type": "boolean" }, - "StatusCodesBasedTrigger": { - "description": "Trigger based on status code.", - "type": "object", - "properties": { - "status": { - "format": "int32", - "description": "HTTP status code.", - "type": "integer" - }, - "subStatus": { - "format": "int32", - "description": "SubStatus.", - "type": "integer" - }, - "win32Status": { - "format": "int32", - "description": "Win32 error code.", - "type": "integer" - }, - "count": { - "format": "int32", - "description": "Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } + "sourceWebAppId": { + "description": "ARM resource ID of the source app. App resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "type": "string" }, - "User": { - "description": "User crendentials used for publishing activity.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "User resource specific properties", - "required": [ - "publishingUserName" - ], - "properties": { - "name": { - "description": "Username", - "type": "string", - "x-ms-client-name": "UserName" - }, - "publishingUserName": { - "description": "Username used for publishing.", - "type": "string" - }, - "publishingPassword": { - "format": "password", - "description": "Password used for publishing.", - "type": "string" - }, - "publishingPasswordHash": { - "format": "password", - "description": "Password hash used for publishing.", - "type": "string" - }, - "publishingPasswordHashSalt": { - "format": "password", - "description": "Password hash salt used for publishing.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } + "hostingEnvironment": { + "description": "App Service Environment.", + "type": "string" }, - "VirtualApplication": { - "description": "Virtual application in an app.", - "type": "object", - "properties": { - "virtualPath": { - "description": "Virtual path.", - "type": "string" - }, - "physicalPath": { - "description": "Physical path.", - "type": "string" - }, - "preloadEnabled": { - "description": "true if preloading is enabled; otherwise, false.", - "type": "boolean" - }, - "virtualDirectories": { - "description": "Virtual directories for virtual application.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualDirectory" - } - } - } + "appSettingsOverrides": { + "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \nfrom source app. Otherwise, application settings from source app are retained.", + "type": "object", + "additionalProperties": { + "type": "string" + } }, - "VirtualDirectory": { - "description": "Directory for virtual application.", - "type": "object", - "properties": { - "virtualPath": { - "description": "Path to virtual application.", - "type": "string" - }, - "physicalPath": { - "description": "Physical path.", - "type": "string" - } - } + "configureLoadBalancing": { + "description": "true to configure load balancing for source and destination app.", + "type": "boolean" }, - "VirtualIPMapping": { - "description": "Virtual IP mapping.", - "type": "object", - "properties": { - "virtualIP": { - "description": "Virtual IP address.", - "type": "string" - }, - "internalHttpPort": { - "format": "int32", - "description": "Internal HTTP port.", - "type": "integer" - }, - "internalHttpsPort": { - "format": "int32", - "description": "Internal HTTPS port.", - "type": "integer" - }, - "inUse": { - "description": "Is virtual IP mapping in use.", - "type": "boolean" - } + "trafficManagerProfileId": { + "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", + "type": "string" + }, + "trafficManagerProfileName": { + "description": "Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.", + "type": "string" + }, + "ignoreQuotas": { + "description": "true if quotas should be ignored; otherwise, false.", + "type": "boolean" + } + } + }, + "ConnStringInfo": { + "description": "Database connection string information.", + "type": "object", + "properties": { + "name": { + "description": "Name of connection string.", + "type": "string" + }, + "connectionString": { + "description": "Connection string value.", + "type": "string" + }, + "type": { + "description": "Type of database.", + "enum": [ + "MySql", + "SQLServer", + "SQLAzure", + "Custom", + "NotificationHub", + "ServiceBus", + "EventHub", + "ApiHub", + "DocDb", + "RedisCache", + "PostgreSQL" + ], + "type": "string", + "x-ms-enum": { + "name": "ConnectionStringType", + "modelAsString": false + } + } + } + }, + "CorsSettings": { + "description": "Cross-Origin Resource Sharing (CORS) settings for the app.", + "type": "object", + "properties": { + "allowedOrigins": { + "description": "Gets or sets the list of origins that should be allowed to make cross-origin\ncalls (for example: http://example.com:12345). Use \"*\" to allow all.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "CsmUsageQuota": { + "description": "Usage of the quota resource.", + "type": "object", + "properties": { + "unit": { + "description": "Units of measurement for the quota resourse.", + "type": "string" + }, + "nextResetTime": { + "format": "date-time", + "description": "Next reset time for the resource counter.", + "type": "string" + }, + "currentValue": { + "format": "int64", + "description": "The current value of the resource counter.", + "type": "integer" + }, + "limit": { + "format": "int64", + "description": "The resource limit.", + "type": "integer" + }, + "name": { + "$ref": "#/definitions/LocalizableString", + "description": "Quota name." + } + } + }, + "CsmUsageQuotaCollection": { + "description": "Collection of CSM usage quotas.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/CsmUsageQuota" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "ErrorEntity": { + "description": "Body of the error response returned from the API.", + "type": "object", + "properties": { + "extendedCode": { + "description": "Type of error.", + "type": "string" + }, + "messageTemplate": { + "description": "Message template.", + "type": "string" + }, + "parameters": { + "description": "Parameters for the template.", + "type": "array", + "items": { + "type": "string" + } + }, + "innerErrors": { + "description": "Inner errors.", + "type": "array", + "items": { + "$ref": "#/definitions/ErrorEntity" + } + }, + "code": { + "description": "Basic error code.", + "type": "string" + }, + "message": { + "description": "Any details of the error.", + "type": "string" + } + } + }, + "Experiments": { + "description": "Routing rules in production experiments.", + "type": "object", + "properties": { + "rampUpRules": { + "description": "List of ramp-up rules.", + "type": "array", + "items": { + "$ref": "#/definitions/RampUpRule" + } + } + } + }, + "HandlerMapping": { + "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \nFor example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", + "type": "object", + "properties": { + "extension": { + "description": "Requests with this extension will be handled using the specified FastCGI application.", + "type": "string" + }, + "scriptProcessor": { + "description": "The absolute path to the FastCGI application.", + "type": "string" + }, + "arguments": { + "description": "Command-line arguments to be passed to the script processor.", + "type": "string" + } + } + }, + "HostNameSslState": { + "description": "SSL-enabled hostname.", + "type": "object", + "properties": { + "name": { + "description": "Hostname.", + "type": "string" + }, + "sslState": { + "description": "SSL type.", + "enum": [ + "Disabled", + "SniEnabled", + "IpBasedEnabled" + ], + "type": "string", + "x-ms-enum": { + "name": "SslState", + "modelAsString": false + } + }, + "virtualIP": { + "description": "Virtual IP address assigned to the hostname if IP based SSL is enabled.", + "type": "string" + }, + "thumbprint": { + "description": "SSL certificate thumbprint.", + "type": "string" + }, + "toUpdate": { + "description": "Set to true to update existing hostname.", + "type": "boolean" + }, + "hostType": { + "description": "Indicates whether the hostname is a standard or repository hostname.", + "enum": [ + "Standard", + "Repository" + ], + "type": "string", + "x-ms-enum": { + "name": "HostType", + "modelAsString": false + } + } + } + }, + "HostingEnvironmentProfile": { + "description": "Specification for an App Service Environment to use for this resource.", + "type": "object", + "properties": { + "id": { + "description": "Resource ID of the App Service Environment.", + "type": "string" + }, + "name": { + "description": "Name of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Resource type of the App Service Environment.", + "type": "string", + "readOnly": true + } + } + }, + "HybridConnection": { + "description": "Hybrid Connection contract. This is used to configure a Hybrid Connection.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "HybridConnection resource specific properties", + "properties": { + "serviceBusNamespace": { + "description": "The name of the Service Bus namespace.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "relayName": { + "description": "The name of the Service Bus relay.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "relayArmUri": { + "description": "The ARM URI to the Service Bus relay.", + "type": "string" + }, + "hostname": { + "description": "The hostname of the endpoint.", + "type": "string" + }, + "port": { + "format": "int32", + "description": "The port of the endpoint.", + "type": "integer" + }, + "sendKeyName": { + "description": "The name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus.", + "type": "string" + }, + "sendKeyValue": { + "description": "The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned\nnormally, use the POST /listKeys API instead.", + "type": "string" + }, + "serviceBusSuffix": { + "description": "The suffix for the service bus endpoint. By default this is .servicebus.windows.net", + "type": "string" } + }, + "x-ms-client-flatten": true + } + } + }, + "HybridConnectionKey": { + "description": "Hybrid Connection key contract. This has the send key name and value for a Hybrid Connection.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "HybridConnectionKey resource specific properties", + "properties": { + "sendKeyName": { + "description": "The name of the send key.", + "type": "string", + "readOnly": true + }, + "sendKeyValue": { + "description": "The value of the send key.", + "type": "string", + "readOnly": true + } + }, + "x-ms-client-flatten": true + } + } + }, + "IpSecurityRestriction": { + "description": "IP security restriction on an app.", + "required": [ + "ipAddress" + ], + "type": "object", + "properties": { + "ipAddress": { + "description": "IP address the security restriction is valid for.", + "type": "string" }, - "VirtualNetworkProfile": { - "description": "Specification for using a Virtual Network.", - "type": "object", - "properties": { - "id": { - "description": "Resource id of the Virtual Network.", - "type": "string" - }, - "name": { - "description": "Name of the Virtual Network (read-only).", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Resource type of the Virtual Network (read-only).", - "type": "string", - "readOnly": true - }, - "subnet": { - "description": "Subnet within the Virtual Network.", - "type": "string" - } + "subnetMask": { + "description": "Subnet mask for the range of IP addresses the restriction is valid for.", + "type": "string" + } + } + }, + "LocalizableString": { + "description": "Localizable string object containing the name and a localized value.", + "type": "object", + "properties": { + "value": { + "description": "Non-localized name.", + "type": "string" + }, + "localizedValue": { + "description": "Localized name.", + "type": "string" + } + } + }, + "ManagedServiceIdentity": { + "description": "Managed service identity.", + "type": "object", + "properties": { + "type": { + "description": "Type of managed service identity.", + "enum": [ + "SystemAssigned" + ], + "x-ms-enum": { + "name": "ManagedServiceIdentityType", + "modelAsString": true + } + }, + "tenantId": { + "description": "Tenant of managed service identity.", + "type": "string", + "readOnly": true + }, + "principalId": { + "description": "Principal Id of managed service identity.", + "type": "string", + "readOnly": true + } + } + }, + "NameIdentifier": { + "description": "Identifies an object.", + "type": "object", + "properties": { + "name": { + "description": "Name of the object.", + "type": "string" + } + } + }, + "NameValuePair": { + "description": "Name value pair.", + "type": "object", + "properties": { + "name": { + "description": "Pair name.", + "type": "string" + }, + "value": { + "description": "Pair value.", + "type": "string" + } + } + }, + "NetworkAccessControlEntry": { + "description": "Network access control entry.", + "type": "object", + "properties": { + "action": { + "description": "Action object.", + "enum": [ + "Permit", + "Deny" + ], + "type": "string", + "x-ms-enum": { + "name": "AccessControlEntryAction", + "modelAsString": false + } + }, + "description": { + "description": "Description.", + "type": "string" + }, + "order": { + "format": "int32", + "description": "Order of precedence.", + "type": "integer" + }, + "remoteSubnet": { + "description": "Remote subnet.", + "type": "string" + } + } + }, + "Operation": { + "description": "Operation.", + "type": "object", + "properties": { + "id": { + "description": "Operation ID.", + "type": "string" + }, + "name": { + "description": "Operation name.", + "type": "string" + }, + "status": { + "description": "The current status of the operation.", + "enum": [ + "InProgress", + "Failed", + "Succeeded", + "TimedOut", + "Created" + ], + "type": "string", + "x-ms-enum": { + "name": "OperationStatus", + "modelAsString": false + } + }, + "errors": { + "description": "Any errors associate with the operation.", + "type": "array", + "items": { + "$ref": "#/definitions/ErrorEntity" + } + }, + "createdTime": { + "format": "date-time", + "description": "Time when operation has started.", + "type": "string" + }, + "modifiedTime": { + "format": "date-time", + "description": "Time when operation has been updated.", + "type": "string" + }, + "expirationTime": { + "format": "date-time", + "description": "Time when operation will expire.", + "type": "string" + }, + "geoMasterOperationId": { + "format": "uuid", + "description": "Applicable only for stamp operation ids.", + "type": "string", + "example": "00000000-0000-0000-0000-000000000000" + } + } + }, + "ProxyOnlyResource": { + "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", + "properties": { + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource Name.", + "type": "string", + "readOnly": true + }, + "kind": { + "description": "Kind of resource.", + "type": "string" + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "PushSettings": { + "description": "Push settings for the App.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "PushSettings resource specific properties", + "required": [ + "isPushEnabled" + ], + "properties": { + "isPushEnabled": { + "description": "Gets or sets a flag indicating whether the Push endpoint is enabled.", + "type": "boolean" + }, + "tagWhitelistJson": { + "description": "Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", + "type": "string" + }, + "tagsRequiringAuth": { + "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\nTags can consist of alphanumeric characters and the following:\n'_', '@', '#', '.', ':', '-'. \nValidation should be performed at the PushRequestHandler.", + "type": "string" + }, + "dynamicTagsJson": { + "description": "Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", + "type": "string" } + }, + "x-ms-client-flatten": true + } + } + }, + "RampUpRule": { + "description": "Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance.", + "type": "object", + "properties": { + "actionHostName": { + "description": "Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net.", + "type": "string" + }, + "reroutePercentage": { + "format": "double", + "description": "Percentage of the traffic which will be redirected to ActionHostName.", + "type": "number" + }, + "changeStep": { + "format": "double", + "description": "In auto ramp up scenario this is the step to to add/remove from ReroutePercentage until it reaches \nMinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specificed in ChangeIntervalInMinutes.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", + "type": "number" }, - "VnetGateway": { - "description": "The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], + "changeIntervalInMinutes": { + "format": "int32", + "description": "Specifies interval in mimuntes to reevaluate ReroutePercentage.", + "type": "integer" + }, + "minReroutePercentage": { + "format": "double", + "description": "Specifies lower boundary above which ReroutePercentage will stay.", + "type": "number" + }, + "maxReroutePercentage": { + "format": "double", + "description": "Specifies upper boundary below which ReroutePercentage will stay.", + "type": "number" + }, + "changeDecisionCallbackUrl": { + "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\nhttps://www.siteextensions.net/packages/TiPCallback/", + "type": "string" + }, + "name": { + "description": "Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment.", + "type": "string" + } + } + }, + "RequestsBasedTrigger": { + "description": "Trigger based on total requests.", + "type": "object", + "properties": { + "count": { + "format": "int32", + "description": "Count.", + "type": "integer" + }, + "timeInterval": { + "description": "Time interval.", + "type": "string" + } + } + }, + "Resource": { + "description": "Azure resource. This resource is tracked in Azure Resource Manager", + "required": [ + "location" + ], + "properties": { + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource Name.", + "type": "string", + "readOnly": true + }, + "kind": { + "description": "Kind of resource.", + "type": "string" + }, + "location": { + "description": "Resource Location.", + "type": "string" + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + }, + "tags": { + "description": "Resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "ResourceMetric": { + "description": "Object representing a metric for any resource .", + "type": "object", + "properties": { + "name": { + "$ref": "#/definitions/ResourceMetricName", + "description": "Name of metric.", + "readOnly": true + }, + "unit": { + "description": "Metric unit.", + "type": "string", + "readOnly": true + }, + "timeGrain": { + "description": "Metric granularity. E.g PT1H, PT5M, P1D", + "type": "string", + "readOnly": true + }, + "startTime": { + "format": "date-time", + "description": "Metric start time.", + "type": "string", + "readOnly": true + }, + "endTime": { + "format": "date-time", + "description": "Metric end time.", + "type": "string", + "readOnly": true + }, + "resourceId": { + "description": "Metric resource Id.", + "type": "string", + "readOnly": true + }, + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "metricValues": { + "description": "Metric values.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricValue" + }, + "readOnly": true + }, + "properties": { + "description": "Properties.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricProperty" + }, + "readOnly": true + } + } + }, + "ResourceMetricAvailability": { + "description": "Metrics availability and retention.", + "type": "object", + "properties": { + "timeGrain": { + "description": "Time grain .", + "type": "string", + "readOnly": true + }, + "retention": { + "description": "Retention period for the current time grain.", + "type": "string", + "readOnly": true + } + } + }, + "ResourceMetricCollection": { + "description": "Collection of metric responses.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetric" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "ResourceMetricDefinition": { + "description": "Metadata for the metrics.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "ResourceMetricDefinition resource specific properties", + "properties": { + "name": { + "$ref": "#/definitions/ResourceMetricName", + "description": "Name of the metric.", + "readOnly": true + }, + "unit": { + "description": "Unit of the metric.", + "type": "string", + "readOnly": true + }, + "primaryAggregationType": { + "description": "Primary aggregation type.", + "type": "string", + "readOnly": true + }, + "metricAvailabilities": { + "description": "List of time grains supported for the metric together with retention period.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricAvailability" + }, + "readOnly": true + }, + "resourceUri": { + "description": "Resource URI.", + "type": "string", + "readOnly": true + }, + "id": { + "description": "Resource ID.", + "type": "string", + "readOnly": true + }, "properties": { - "properties": { - "description": "VnetGateway resource specific properties", - "required": [ - "vpnPackageUri" - ], - "properties": { - "vnetName": { - "description": "The Virtual Network name.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "vpnPackageUri": { - "description": "The URI where the VPN package can be downloaded.", - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ] - } - }, - "x-ms-client-flatten": true - } + "description": "Properties.", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "readOnly": true } + }, + "x-ms-client-flatten": true + } + } + }, + "ResourceMetricDefinitionCollection": { + "description": "Collection of metric definitions.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricDefinition" + } }, - "VnetInfo": { - "description": "Virtual Network information contract.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "VnetInfo resource specific properties", - "properties": { - "vnetResourceId": { - "description": "The Virtual Network's resource ID.", - "type": "string" - }, - "certThumbprint": { - "description": "The client certificate thumbprint.", - "type": "string", - "readOnly": true - }, - "certBlob": { - "format": "byte", - "description": "A certificate file (.cer) blob containing the public key of the private key used to authenticate a \nPoint-To-Site VPN connection.", - "type": "string" - }, - "routes": { - "description": "The routes that this Virtual Network connection uses.", - "type": "array", - "items": { - "$ref": "#/definitions/VnetRoute" - }, - "readOnly": true - }, - "resyncRequired": { - "description": "true if a resync is required; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "dnsServers": { - "description": "DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "ResourceMetricName": { + "description": "Name of a metric for any resource .", + "type": "object", + "properties": { + "value": { + "description": "metric name value.", + "type": "string", + "readOnly": true + }, + "localizedValue": { + "description": "Localized metric name value.", + "type": "string", + "readOnly": true + } + } + }, + "ResourceMetricProperty": { + "description": "Resource metric property.", + "type": "object", + "properties": { + "key": { + "description": "Key for resource metric property.", + "type": "string" + }, + "value": { + "description": "Value of pair.", + "type": "string" + } + } + }, + "ResourceMetricValue": { + "description": "Value of resource metric.", + "type": "object", + "properties": { + "timestamp": { + "description": "Value timestamp.", + "type": "string", + "readOnly": true + }, + "average": { + "format": "float", + "description": "Value average.", + "type": "number", + "readOnly": true + }, + "minimum": { + "format": "float", + "description": "Value minimum.", + "type": "number", + "readOnly": true + }, + "maximum": { + "format": "float", + "description": "Value maximum.", + "type": "number", + "readOnly": true + }, + "total": { + "format": "float", + "description": "Value total.", + "type": "number", + "readOnly": true + }, + "count": { + "format": "float", + "description": "Value count.", + "type": "number", + "readOnly": true + }, + "properties": { + "description": "Properties.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricProperty" + }, + "readOnly": true + } + } + }, + "Site": { + "description": "A web app, a mobile app backend, or an API app.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Site resource specific properties", + "properties": { + "state": { + "description": "Current state of the app.", + "type": "string", + "readOnly": true + }, + "hostNames": { + "description": "Hostnames associated with the app.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "repositorySiteName": { + "description": "Name of the repository site.", + "type": "string", + "readOnly": true + }, + "usageState": { + "description": "State indicating whether the app has exceeded its quota usage. Read-only.", + "enum": [ + "Normal", + "Exceeded" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "UsageState", + "modelAsString": false + } + }, + "enabled": { + "description": "true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).", + "type": "boolean" + }, + "enabledHostNames": { + "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\nthe app is not served on those hostnames.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "availabilityState": { + "description": "Management information availability state for the app.", + "enum": [ + "Normal", + "Limited", + "DisasterRecoveryMode" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "SiteAvailabilityState", + "modelAsString": false + } + }, + "hostNameSslStates": { + "description": "Hostname SSL states are used to manage the SSL bindings for app's hostnames.", + "type": "array", + "items": { + "$ref": "#/definitions/HostNameSslState" + } + }, + "serverFarmId": { + "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", + "type": "string" + }, + "reserved": { + "description": "true if reserved; otherwise, false.", + "default": false, + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "lastModifiedTimeUtc": { + "format": "date-time", + "description": "Last time the app was modified, in UTC. Read-only.", + "type": "string", + "readOnly": true + }, + "siteConfig": { + "$ref": "#/definitions/SiteConfig", + "description": "Configuration of the app." + }, + "trafficManagerHostNames": { + "description": "Azure Traffic Manager hostnames associated with the app. Read-only.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "scmSiteAlsoStopped": { + "description": "true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", + "default": false, + "type": "boolean" + }, + "targetSwapSlot": { + "description": "Specifies which deployment slot this app will swap into. Read-only.", + "type": "string", + "readOnly": true + }, + "hostingEnvironmentProfile": { + "$ref": "#/definitions/HostingEnvironmentProfile", + "description": "App Service Environment to use for the app.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "clientAffinityEnabled": { + "description": "true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.", + "type": "boolean" + }, + "clientCertEnabled": { + "description": "true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.", + "type": "boolean" + }, + "hostNamesDisabled": { + "description": "true to disable the public hostnames of the app; otherwise, false.\n If true, the app is only accessible via API management process.", + "type": "boolean" + }, + "outboundIpAddresses": { + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only.", + "type": "string", + "readOnly": true + }, + "possibleOutboundIpAddresses": { + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only.", + "type": "string", + "readOnly": true + }, + "containerSize": { + "format": "int32", + "description": "Size of the function container.", + "type": "integer" + }, + "dailyMemoryTimeQuota": { + "format": "int32", + "description": "Maximum allowed daily memory-time quota (applicable on dynamic apps only).", + "type": "integer" + }, + "suspendedTill": { + "format": "date-time", + "description": "App suspended till in case memory-time quota is exceeded.", + "type": "string", + "readOnly": true + }, + "maxNumberOfWorkers": { + "format": "int32", + "description": "Maximum number of workers.\nThis only applies to Functions container.", + "type": "integer", + "readOnly": true + }, + "cloningInfo": { + "$ref": "#/definitions/CloningInfo", + "description": "If specified during app creation, the app is cloned from a source app.", + "x-ms-mutability": [ + "create" + ] + }, + "snapshotInfo": { + "$ref": "#/definitions/SnapshotRecoveryRequest", + "description": "If specified during app creation, the app is created from a previous snapshot.", + "x-ms-mutability": [ + "create" + ] + }, + "resourceGroup": { + "description": "Name of the resource group the app belongs to. Read-only.", + "type": "string", + "readOnly": true + }, + "isDefaultContainer": { + "description": "true if the app is a default container; otherwise, false.", + "type": "boolean", + "readOnly": true + }, + "defaultHostName": { + "description": "Default hostname of the app. Read-only.", + "type": "string", + "readOnly": true + }, + "slotSwapStatus": { + "$ref": "#/definitions/SlotSwapStatus", + "description": "Status of the last deployment slot swap operation.", + "readOnly": true + }, + "httpsOnly": { + "description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests", + "type": "boolean" } + }, + "x-ms-client-flatten": true }, - "VnetRoute": { - "description": "Virtual Network route contract used to pass routing information for a Virtual Network.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "VnetRoute resource specific properties", - "properties": { - "name": { - "description": "The name of this route. This is only returned by the server and does not need to be set by the client.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-ms-client-name": "vnetRouteName" - }, - "startAddress": { - "description": "The starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified.", - "type": "string" - }, - "endAddress": { - "description": "The ending address for this route. If the start address is specified in CIDR notation, this must be omitted.", - "type": "string" - }, - "routeType": { - "description": "The type of route this is:\nDEFAULT - By default, every app has routes to the local address ranges specified by RFC1918\nINHERITED - Routes inherited from the real Virtual Network routes\nSTATIC - Static route set on the app only\n\nThese values will be used for syncing an app's routes with those from a Virtual Network.", - "enum": [ - "DEFAULT", - "INHERITED", - "STATIC" - ], - "type": "string", - "x-ms-enum": { - "name": "RouteType", - "modelAsString": true - } - } - }, - "x-ms-client-flatten": true - } + "identity": { + "$ref": "#/definitions/ManagedServiceIdentity" + } + } + }, + "SiteConfig": { + "description": "Configuration of an App Service app.", + "type": "object", + "properties": { + "numberOfWorkers": { + "format": "int32", + "description": "Number of workers.", + "type": "integer" + }, + "defaultDocuments": { + "description": "Default documents.", + "type": "array", + "items": { + "type": "string" + } + }, + "netFrameworkVersion": { + "description": ".NET Framework version.", + "default": "v4.6", + "type": "string" + }, + "phpVersion": { + "description": "Version of PHP.", + "type": "string" + }, + "pythonVersion": { + "description": "Version of Python.", + "type": "string" + }, + "nodeVersion": { + "description": "Version of Node.js.", + "type": "string" + }, + "linuxFxVersion": { + "description": "Linux App Framework and version", + "type": "string" + }, + "requestTracingEnabled": { + "description": "true if request tracing is enabled; otherwise, false.", + "type": "boolean" + }, + "requestTracingExpirationTime": { + "format": "date-time", + "description": "Request tracing expiration time.", + "type": "string" + }, + "remoteDebuggingEnabled": { + "description": "true if remote debugging is enabled; otherwise, false.", + "type": "boolean" + }, + "remoteDebuggingVersion": { + "description": "Remote debugging version.", + "type": "string" + }, + "httpLoggingEnabled": { + "description": "true if HTTP logging is enabled; otherwise, false.", + "type": "boolean" + }, + "logsDirectorySizeLimit": { + "format": "int32", + "description": "HTTP logs directory size limit.", + "type": "integer" + }, + "detailedErrorLoggingEnabled": { + "description": "true if detailed error logging is enabled; otherwise, false.", + "type": "boolean" + }, + "publishingUsername": { + "description": "Publishing user name.", + "type": "string" + }, + "appSettings": { + "description": "Application settings.", + "type": "array", + "items": { + "$ref": "#/definitions/NameValuePair" + } + }, + "connectionStrings": { + "description": "Connection strings.", + "type": "array", + "items": { + "$ref": "#/definitions/ConnStringInfo" + } + }, + "machineKey": { + "$ref": "#/definitions/SiteMachineKey", + "description": "Site MachineKey.", + "readOnly": true + }, + "handlerMappings": { + "description": "Handler mappings.", + "type": "array", + "items": { + "$ref": "#/definitions/HandlerMapping" + } + }, + "documentRoot": { + "description": "Document root.", + "type": "string" + }, + "scmType": { + "description": "SCM type.", + "enum": [ + "None", + "Dropbox", + "Tfs", + "LocalGit", + "GitHub", + "CodePlexGit", + "CodePlexHg", + "BitbucketGit", + "BitbucketHg", + "ExternalGit", + "ExternalHg", + "OneDrive", + "VSO" + ], + "type": "string", + "x-ms-enum": { + "name": "ScmType", + "modelAsString": true + } + }, + "use32BitWorkerProcess": { + "description": "true to use 32-bit worker process; otherwise, false.", + "type": "boolean" + }, + "webSocketsEnabled": { + "description": "true if WebSocket is enabled; otherwise, false.", + "type": "boolean" + }, + "alwaysOn": { + "description": "true if Always On is enabled; otherwise, false.", + "type": "boolean" + }, + "javaVersion": { + "description": "Java version.", + "type": "string" + }, + "javaContainer": { + "description": "Java container.", + "type": "string" + }, + "javaContainerVersion": { + "description": "Java container version.", + "type": "string" + }, + "appCommandLine": { + "description": "App command line to launch.", + "type": "string" + }, + "managedPipelineMode": { + "description": "Managed pipeline mode.", + "enum": [ + "Integrated", + "Classic" + ], + "type": "string", + "x-ms-enum": { + "name": "ManagedPipelineMode", + "modelAsString": false + } + }, + "virtualApplications": { + "description": "Virtual applications.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualApplication" + } + }, + "loadBalancing": { + "description": "Site load balancing.", + "enum": [ + "WeightedRoundRobin", + "LeastRequests", + "LeastResponseTime", + "WeightedTotalTraffic", + "RequestHash" + ], + "type": "string", + "x-ms-enum": { + "name": "SiteLoadBalancing", + "modelAsString": false + } + }, + "experiments": { + "$ref": "#/definitions/Experiments", + "description": "This is work around for polymophic types." + }, + "limits": { + "$ref": "#/definitions/SiteLimits", + "description": "Site limits." + }, + "autoHealEnabled": { + "description": "true if Auto Heal is enabled; otherwise, false.", + "type": "boolean" + }, + "autoHealRules": { + "$ref": "#/definitions/AutoHealRules", + "description": "Auto Heal rules." + }, + "tracingOptions": { + "description": "Tracing options.", + "type": "string" + }, + "vnetName": { + "description": "Virtual Network name.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "cors": { + "$ref": "#/definitions/CorsSettings", + "description": "Cross-Origin Resource Sharing (CORS) settings." + }, + "push": { + "$ref": "#/definitions/PushSettings", + "description": "Push endpoint settings." + }, + "apiDefinition": { + "$ref": "#/definitions/ApiDefinitionInfo", + "description": "Information about the formal API definition for the app." + }, + "autoSwapSlotName": { + "description": "Auto-swap slot name.", + "type": "string" + }, + "localMySqlEnabled": { + "description": "true to enable local MySQL; otherwise, false.", + "default": false, + "type": "boolean" + }, + "ipSecurityRestrictions": { + "description": "IP security restrictions.", + "type": "array", + "items": { + "$ref": "#/definitions/IpSecurityRestriction" + } + } + } + }, + "SiteLimits": { + "description": "Metric limits set on an app.", + "type": "object", + "properties": { + "maxPercentageCpu": { + "format": "double", + "description": "Maximum allowed CPU usage percentage.", + "type": "number" + }, + "maxMemoryInMb": { + "format": "int64", + "description": "Maximum allowed memory usage in MB.", + "type": "integer" + }, + "maxDiskSizeInMb": { + "format": "int64", + "description": "Maximum allowed disk size usage in MB.", + "type": "integer" + } + } + }, + "SiteMachineKey": { + "description": "MachineKey of an app.", + "type": "object", + "properties": { + "validation": { + "description": "MachineKey validation.", + "type": "string" + }, + "validationKey": { + "description": "Validation key.", + "type": "string" + }, + "decryption": { + "description": "Decryption.", + "type": "string" + }, + "decryptionKey": { + "description": "Decryption key.", + "type": "string" + } + } + }, + "SkuCapacity": { + "description": "Description of the App Service plan scale options.", + "type": "object", + "properties": { + "minimum": { + "format": "int32", + "description": "Minimum number of workers for this App Service plan SKU.", + "type": "integer" + }, + "maximum": { + "format": "int32", + "description": "Maximum number of workers for this App Service plan SKU.", + "type": "integer" + }, + "default": { + "format": "int32", + "description": "Default number of workers for this App Service plan SKU.", + "type": "integer" + }, + "scaleType": { + "description": "Available scale configurations for an App Service plan.", + "type": "string" + } + } + }, + "SkuDescription": { + "description": "Description of 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" + }, + "skuCapacity": { + "$ref": "#/definitions/SkuCapacity", + "description": "Min, max, and default scale values of the SKU." + }, + "locations": { + "description": "Locations of the SKU.", + "type": "array", + "items": { + "type": "string" + } + }, + "capabilities": { + "description": "Capabilities of the SKU, e.g., is traffic manager enabled?", + "type": "array", + "items": { + "$ref": "#/definitions/Capability" + } + } + } + }, + "SlotSwapStatus": { + "description": "The status of the last successfull slot swap operation.", + "type": "object", + "properties": { + "timestampUtc": { + "format": "date-time", + "description": "The time the last successful slot swap completed.", + "type": "string", + "readOnly": true + }, + "sourceSlotName": { + "description": "The source slot of the last swap operation.", + "type": "string", + "readOnly": true + }, + "destinationSlotName": { + "description": "The destination slot of the last swap operation.", + "type": "string", + "readOnly": true + } + } + }, + "SlowRequestsBasedTrigger": { + "description": "Trigger based on request execution time.", + "type": "object", + "properties": { + "timeTaken": { + "description": "Time taken.", + "type": "string" + }, + "count": { + "format": "int32", + "description": "Count.", + "type": "integer" + }, + "timeInterval": { + "description": "Time interval.", + "type": "string" + } + } + }, + "SnapshotRecoveryRequest": { + "description": "Details about app recovery operation.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "SnapshotRecoveryRequest resource specific properties", + "required": [ + "overwrite" + ], + "properties": { + "snapshotTime": { + "description": "Point in time in which the app recovery should be attempted, formatted as a DateTime string.", + "type": "string" + }, + "recoveryTarget": { + "$ref": "#/definitions/SnapshotRecoveryTarget", + "description": "Specifies the web app that snapshot contents will be written to." + }, + "overwrite": { + "description": "If true the recovery operation can overwrite source app; otherwise, false.", + "type": "boolean" + }, + "recoverConfiguration": { + "description": "If true, site configuration, in addition to content, will be reverted.", + "type": "boolean" + }, + "ignoreConflictingHostNames": { + "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\nThis setting is only necessary when RecoverConfiguration is enabled.", + "type": "boolean" } + }, + "x-ms-client-flatten": true + } + } + }, + "SnapshotRecoveryTarget": { + "description": "Specifies the web app that snapshot contents will be written to.", + "type": "object", + "properties": { + "location": { + "description": "Geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS", + "type": "string" }, - "WebAppCollection": { - "description": "Collection of App Service apps.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/Site" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } + "id": { + "description": "ARM resource ID of the target app. \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "type": "string" + } + } + }, + "StampCapacity": { + "description": "Stamp capacity information.", + "type": "object", + "properties": { + "name": { + "description": "Name of the stamp.", + "type": "string" + }, + "availableCapacity": { + "format": "int64", + "description": "Available capacity (# of machines, bytes of storage etc...).", + "type": "integer" + }, + "totalCapacity": { + "format": "int64", + "description": "Total capacity (# of machines, bytes of storage etc...).", + "type": "integer" + }, + "unit": { + "description": "Name of the unit.", + "type": "string" + }, + "computeMode": { + "description": "Shared/dedicated workers.", + "enum": [ + "Shared", + "Dedicated", + "Dynamic" + ], + "type": "string", + "x-ms-enum": { + "name": "ComputeModeOptions", + "modelAsString": false + } + }, + "workerSize": { + "description": "Size of the machines.", + "enum": [ + "Default", + "Small", + "Medium", + "Large", + "D1", + "D2", + "D3" + ], + "type": "string", + "x-ms-enum": { + "name": "WorkerSizeOptions", + "modelAsString": false + } + }, + "workerSizeId": { + "format": "int32", + "description": "Size ID of machines: \n0 - Small\n1 - Medium\n2 - Large", + "type": "integer" + }, + "excludeFromCapacityAllocation": { + "description": "If true, it includes basic apps.\nBasic apps are not used for capacity allocation.", + "type": "boolean" + }, + "isApplicableForAllComputeModes": { + "description": "true if capacity is applicable for all apps; otherwise, false.", + "type": "boolean" + }, + "siteMode": { + "description": "Shared or Dedicated.", + "type": "string" + } + } + }, + "StatusCodesBasedTrigger": { + "description": "Trigger based on status code.", + "type": "object", + "properties": { + "status": { + "format": "int32", + "description": "HTTP status code.", + "type": "integer" + }, + "subStatus": { + "format": "int32", + "description": "SubStatus.", + "type": "integer" + }, + "win32Status": { + "format": "int32", + "description": "Win32 error code.", + "type": "integer" + }, + "count": { + "format": "int32", + "description": "Count.", + "type": "integer" + }, + "timeInterval": { + "description": "Time interval.", + "type": "string" + } + } + }, + "User": { + "description": "User crendentials used for publishing activity.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "User resource specific properties", + "required": [ + "publishingUserName" + ], + "properties": { + "name": { + "description": "Username", + "type": "string", + "x-ms-client-name": "UserName" + }, + "publishingUserName": { + "description": "Username used for publishing.", + "type": "string" + }, + "publishingPassword": { + "format": "password", + "description": "Password used for publishing.", + "type": "string" + }, + "publishingPasswordHash": { + "format": "password", + "description": "Password hash used for publishing.", + "type": "string" + }, + "publishingPasswordHashSalt": { + "format": "password", + "description": "Password hash salt used for publishing.", + "type": "string" } + }, + "x-ms-client-flatten": true + } + } + }, + "VirtualApplication": { + "description": "Virtual application in an app.", + "type": "object", + "properties": { + "virtualPath": { + "description": "Virtual path.", + "type": "string" }, - "WorkerPool": { - "description": "Worker pool of an App Service Environment.", - "type": "object", - "properties": { - "workerSizeId": { - "format": "int32", - "description": "Worker size ID for referencing this worker pool.", - "type": "integer" - }, - "computeMode": { - "description": "Shared or dedicated app hosting.", - "enum": [ - "Shared", - "Dedicated", - "Dynamic" - ], - "type": "string", - "x-ms-enum": { - "name": "ComputeModeOptions", - "modelAsString": false - } - }, - "workerSize": { - "description": "VM size of the worker pool instances.", - "type": "string" - }, - "workerCount": { - "format": "int32", - "description": "Number of instances in the worker pool.", - "type": "integer" - }, - "instanceNames": { - "description": "Names of all instances in the worker pool (read only).", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - } + "physicalPath": { + "description": "Physical path.", + "type": "string" + }, + "preloadEnabled": { + "description": "true if preloading is enabled; otherwise, false.", + "type": "boolean" + }, + "virtualDirectories": { + "description": "Virtual directories for virtual application.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualDirectory" + } + } + } + }, + "VirtualDirectory": { + "description": "Directory for virtual application.", + "type": "object", + "properties": { + "virtualPath": { + "description": "Path to virtual application.", + "type": "string" + }, + "physicalPath": { + "description": "Physical path.", + "type": "string" + } + } + }, + "VirtualIPMapping": { + "description": "Virtual IP mapping.", + "type": "object", + "properties": { + "virtualIP": { + "description": "Virtual IP address.", + "type": "string" + }, + "internalHttpPort": { + "format": "int32", + "description": "Internal HTTP port.", + "type": "integer" + }, + "internalHttpsPort": { + "format": "int32", + "description": "Internal HTTPS port.", + "type": "integer" + }, + "inUse": { + "description": "Is virtual IP mapping in use.", + "type": "boolean" + } + } + }, + "VirtualNetworkProfile": { + "description": "Specification for using a Virtual Network.", + "type": "object", + "properties": { + "id": { + "description": "Resource id of the Virtual Network.", + "type": "string" + }, + "name": { + "description": "Name of the Virtual Network (read-only).", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Resource type of the Virtual Network (read-only).", + "type": "string", + "readOnly": true + }, + "subnet": { + "description": "Subnet within the Virtual Network.", + "type": "string" + } + } + }, + "VnetGateway": { + "description": "The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "VnetGateway resource specific properties", + "required": [ + "vpnPackageUri" + ], + "properties": { + "vnetName": { + "description": "The Virtual Network name.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "vpnPackageUri": { + "description": "The URI where the VPN package can be downloaded.", + "type": "string", + "x-ms-mutability": [ + "create", + "update" + ] } + }, + "x-ms-client-flatten": true } + } }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" + "VnetInfo": { + "description": "Virtual Network information contract.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "VnetInfo resource specific properties", + "properties": { + "vnetResourceId": { + "description": "The Virtual Network's resource ID.", + "type": "string" + }, + "certThumbprint": { + "description": "The client certificate thumbprint.", + "type": "string", + "readOnly": true + }, + "certBlob": { + "format": "byte", + "description": "A certificate file (.cer) blob containing the public key of the private key used to authenticate a \nPoint-To-Site VPN connection.", + "type": "string" + }, + "routes": { + "description": "The routes that this Virtual Network connection uses.", + "type": "array", + "items": { + "$ref": "#/definitions/VnetRoute" + }, + "readOnly": true + }, + "resyncRequired": { + "description": "true if a resync is required; otherwise, false.", + "type": "boolean", + "readOnly": true + }, + "dnsServers": { + "description": "DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses.", + "type": "string" } + }, + "x-ms-client-flatten": true } + } }, - "security": [ + "VnetRoute": { + "description": "Virtual Network route contract used to pass routing information for a Virtual Network.", + "type": "object", + "allOf": [ { - "azure_auth": [ - "user_impersonation" - ] + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "VnetRoute resource specific properties", + "properties": { + "name": { + "description": "The name of this route. This is only returned by the server and does not need to be set by the client.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-ms-client-name": "vnetRouteName" + }, + "startAddress": { + "description": "The starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified.", + "type": "string" + }, + "endAddress": { + "description": "The ending address for this route. If the start address is specified in CIDR notation, this must be omitted.", + "type": "string" + }, + "routeType": { + "description": "The type of route this is:\nDEFAULT - By default, every app has routes to the local address ranges specified by RFC1918\nINHERITED - Routes inherited from the real Virtual Network routes\nSTATIC - Static route set on the app only\n\nThese values will be used for syncing an app's routes with those from a Virtual Network.", + "enum": [ + "DEFAULT", + "INHERITED", + "STATIC" + ], + "type": "string", + "x-ms-enum": { + "name": "RouteType", + "modelAsString": true + } + } + }, + "x-ms-client-flatten": true + } + } + }, + "WebAppCollection": { + "description": "Collection of App Service apps.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/Site" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "WorkerPool": { + "description": "Worker pool of an App Service Environment.", + "type": "object", + "properties": { + "workerSizeId": { + "format": "int32", + "description": "Worker size ID for referencing this worker pool.", + "type": "integer" + }, + "computeMode": { + "description": "Shared or dedicated app hosting.", + "enum": [ + "Shared", + "Dedicated", + "Dynamic" + ], + "type": "string", + "x-ms-enum": { + "name": "ComputeModeOptions", + "modelAsString": false + } + }, + "workerSize": { + "description": "VM size of the worker pool instances.", + "type": "string" + }, + "workerCount": { + "format": "int32", + "description": "Number of instances in the worker pool.", + "type": "integer" + }, + "instanceNames": { + "description": "Names of all instances in the worker pool (read only).", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true } - ] + } + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] } \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json index b372cb6fb8e6..cbff303ec52d 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json @@ -15630,7 +15630,7 @@ "type": "string", "readOnly": true }, - "function_app_id": { + "functionAppId": { "description": "Function App ID.", "type": "string", "readOnly": true