File tree Expand file tree Collapse file tree 2 files changed +83
-0
lines changed
specification/web/resource-manager/Microsoft.Web/stable/2023-01-01 Expand file tree Collapse file tree 2 files changed +83
-0
lines changed Original file line number Diff line number Diff line change 507507 }
508508 }
509509 },
510+ "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/quotaType/{quotaType}/usages" : {
511+ "get" : {
512+ "summary" : " Lists subscription core usages for all skus used in a location, for a given type of quota." ,
513+ "description" : " List usages in cores for all skus used by a subscription in a given location, for a specific quota type." ,
514+ "operationId" : " GetUsagesInLocation_list" ,
515+ "parameters" : [
516+ {
517+ "$ref" : " ../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter"
518+ },
519+ {
520+ "name" : " quotaType" ,
521+ "description" : " The type of quota to get usages for" ,
522+ "in" : " path" ,
523+ "required" : true ,
524+ "type" : " string"
525+ },
526+ {
527+ "$ref" : " #/parameters/subscriptionIdParameter"
528+ },
529+ {
530+ "$ref" : " #/parameters/apiVersionParameter"
531+ }
532+ ],
533+ "responses" : {
534+ "200" : {
535+ "description" : " OK" ,
536+ "schema" : {
537+ "$ref" : " ./CommonDefinitions.json#/definitions/CsmUsageQuotaCollection"
538+ }
539+ },
540+ "default" : {
541+ "description" : " App Service error response." ,
542+ "schema" : {
543+ "$ref" : " ./CommonDefinitions.json#/definitions/DefaultErrorResponse"
544+ }
545+ }
546+ },
547+ "x-ms-examples" : {
548+ "Get usages in location for subscription" : {
549+ "$ref" : " ./examples/GetUsagesInLocation.json"
550+ }
551+ },
552+ "x-ms-pageable" : {
553+ "nextLinkName" : " nextLink"
554+ }
555+ }
556+ },
510557 "/subscriptions/{subscriptionId}/providers/Microsoft.Web/verifyHostingEnvironmentVnet" : {
511558 "post" : {
512559 "summary" : " Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules." ,
14921539 "required" : false ,
14931540 "type" : " string" ,
14941541 "x-ms-parameter-location" : " method"
1542+ },
1543+ "LocationParameter" : {
1544+ "name" : " location" ,
1545+ "in" : " path" ,
1546+ "required" : true ,
1547+ "type" : " string" ,
1548+ "description" : " The name of the Azure region." ,
1549+ "minLength" : 1 ,
1550+ "x-ms-parameter-location" : " method"
14951551 }
14961552 },
14971553 "securityDefinitions" : {
Original file line number Diff line number Diff line change 1+ {
2+ "parameters" : {
3+ "subscriptionId" : " 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" ,
4+ "location" : " West US" ,
5+ "quotaType" : " regional" ,
6+ "api-version" : " 2023-01-01"
7+ },
8+ "responses" : {
9+ "200" : {
10+ "headers" : {},
11+ "body" : {
12+ "value" : [
13+ {
14+ "unit" : " Core Count" ,
15+ "currentValue" : 55 ,
16+ "limit" : 250 ,
17+ "name" : {
18+ "value" : " Cores usage in West US" ,
19+ "localizedValue" : " Cores usage in West US"
20+ }
21+ }
22+ ],
23+ "nextLink" : null
24+ }
25+ }
26+ }
27+ }
You can’t perform that action at this time.
0 commit comments