Queries the quota dimensions that are supported by a specified cloud service.

In this example, the operation is called to query the quota dimensions that are supported by Elastic Compute Service (ECS). The query result shows all the quota dimensions that are supported by ECS.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ListProductQuotaDimensions

The operation that you want to perform. Set the value to ListProductQuotaDimensions.

ProductCode String Yes ecs

The abbreviation of the cloud service name.

Note For more information, see Alibaba Cloud services that support Quota Center.
NextToken String No 0

The token that marks the position where you want to start the query. An empty value indicates that the query starts from the beginning.

MaxResults Integer No 30

The maximum number of records that you want to return for the query.

Valid values: 1 to 200. Default value: 30.

QuotaCategory String No CommonQuota

The type of the quota. Valid values:

  • FlowControl: API rate limit
  • CommonQuota: general quota

For more information about common request parameters, see Common parameters.

Response parameters

Parameter Type Example Description
MaxResults Integer 10

The number of records returned for the query.

NextToken String 10

The token that marks the position where the query ends. An empty value indicates that all the data is returned.

QuotaDimensions Array of QuotaDimensions

The quota dimensions.

DependentDimensions List regionId

The quota dimensions that are supported by the cloud service.

DimensionKey String zoneId

The dimension key. Valid values:

  • RegionId: the region ID
  • zoneId: the zone ID
  • chargeType: the billing method
  • networkType: the network type
DimensionValueDetail Array of DimensionValueDetail

The details about the dimension value.

Name String cn-hangzhou

The name of the dimension value.

Value String cn-hangzhou

The dimension value.

DimensionValues List ["cn-shenzhen", "cn-beijing", "cn-hangzhou"]

The list of the dimension values.

Name String zone

The name of the quota dimension.

Requisite Boolean false

Indicates whether the quota dimension is required when you query quota dimensions. Valid values:

  • true
  • false
RequestId String 7ED584FB-ECBF-4A2A-969D-F54D25EFABF9

The ID of the request.

TotalCount Integer 10

The total number of records returned for the query.


Sample requests

&<Common request parameters>

Sample success responses

XML format

        <Name>zone ID</Name>
        <Name>billing method</Name>
        <Name>network type</Name>

JSON format

  "ListProductQuotaDimensionsResponse": {
    "QuotaDimensions": [
        "DimensionKey": "regionId",
        "DimensionValues": [
        "Name": "region",
        "Requisite": "false"
        "DimensionKey": "zoneId",
        "Name": "zone ID",
        "Requisite": "false",
        "DependentDimensions": "regionId"
        "DimensionKey": "chargeType",
        "DimensionValues": [
        "Name": "billing method",
        "Requisite": "false"
        "DimensionKey": "networkType",
        "DimensionValues": [
        "Name": "network type",
        "Requisite": "false"
    "TotalCount": "4",
    "RequestId": "7ED584FB-ECBF-4A2A-969D-F54D25EFABF9",
    "MaxResults": "4"

Error codes

For a list of error codes, visit the API Error Center.