Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,88 @@
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/usages": {
"get": {
"summary": "Gets subscription core usages for location.",
"description": "Gets the usage in cores for a subscription in a given location.",
"operationId": "GetUsagesInLocation",
"parameters": [
{
"name": "location",
"description": "The location for which to check usages",
"in": "path",
"required": true,
"type": "string"
},
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/CsmUsageQuotaCollection"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
},
"x-ms-examples": {
"Get usages in location for subscription": {
"$ref": "./examples/GetUsagesInLocation.json"
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/zoneRedundant/usages": {
"get": {
"summary": "Gets zone Redundant subscription core usages for location.",
"description": "Gets the usage in cores for a subscription in a given location, with zone redundance.",
"operationId": "GetZoneRedundantUsagesInLocation",
"parameters": [
{
"name": "location",
"description": "The location for which to check ZR usages",
"in": "path",
"required": true,
"type": "string"
},
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/CsmUsageQuotaCollection"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
},
"x-ms-examples": {
"Get usages in location for subscription": {
"$ref": "./examples/GetZoneRedundantUsagesInLocation.json"
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Web/verifyHostingEnvironmentVnet": {
"post": {
"summary": "Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules.",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters": {
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"location": "West US",
"api-version": "2023-01-01"
},
"responses": {
"200": {
"headers": {},
"body": {
"value": [
{
"unit": "Core Count",
"currentValue": 55,
"limit": 250,
"name": {
"value": "Cores usage in West US",
"localizedValue": "Cores usage in West US"
}
}
],
"nextLink": null
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters": {
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"location": "West US",
"api-version": "2023-01-01"
},
"responses": {
"200": {
"headers": {},
"body": {
"value": [
{
"unit": "Core Count",
"currentValue": 56,
"limit": 251,
"name": {
"value": "ZR Cores usage in West US",
"localizedValue": "ZR Cores usage in West US"
}
}
],
"nextLink": null
}
}
}
}