Queries the quota dimensions that are supported by the specified Alibaba Cloud service.
Operation Description
In this example, the operation is called to query the quota dimensions that are supported by Elastic Compute Service (ECS). The query results show all the quota dimensions that are supported by ECS.
debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
NextToken | string | No | The token that marks the position from which you want to start the query. If you leave this parameter empty, the query starts from the beginning. | 0 |
MaxResults | integer | No | The maximum number of records that can be returned for the query. Valid values: 1 to 200. Default value: 30. | 30 |
ProductCode | string | Yes | The abbreviation of the Alibaba Cloud service name. Note
For more information, see Alibaba Cloud services that support Quota Center.
| ecs |
QuotaCategory | string | No | The type of the quota. Valid values:
| CommonQuota |
For more information about common request parameters, see Common parameters.
Response parameters
Examples
Sample success responses
JSON
format
{
"QuotaDimensions": [
{
"Requisite": false,
"DimensionKey": "zoneId",
"DependentDimensions": [
"regionId"
],
"DimensionValues": [
"[\"cn-shenzhen\", \"cn-beijing\", \"cn-hangzhou\"]"
],
"DimensionValueDetail": [
{
"Name": "cn-hangzhou",
"Value": "cn-hangzhou"
}
],
"Name": "Zone\n"
}
],
"TotalCount": 10,
"NextToken": "10",
"RequestId": "7ED584FB-ECBF-4A2A-969D-F54D25EFABF9",
"MaxResults": 10
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||
---|---|---|---|---|
2023-09-22 | API Description Update | see changesets | ||
|