Queries the quota dimensions supported by a specified Alibaba Cloud service.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quotas:ListProductQuotaDimensions |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| NextToken |
string |
No |
The token that marks the position from which to start the query. If you leave this parameter empty, the query starts from the beginning. |
1 |
| MaxResults |
integer |
No |
The maximum number of records to return for a single query. Valid values: 1 to 200. Default value: 30. |
5 |
| ProductCode |
string |
Yes |
The abbreviation of the Alibaba Cloud service name. Note
For more information about how to obtain the abbreviation of an Alibaba Cloud service name, see the |
disk |
| QuotaCategory |
string |
No |
The quota category. Valid values:
Note
Privileges (WhiteListLabel) do not have quota dimensions. |
CommonQuota |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
None. |
||
| MaxResults |
integer |
The maximum number of records returned for a single query. |
5 |
| NextToken |
string |
The token that marks the position of the next query. If this parameter is not returned, it indicates that all data has been queried. |
84 |
| QuotaDimensions |
array<object> |
The quota dimensions. |
|
|
array<object> |
The quota dimension. |
||
| DependentDimensions |
array |
The quota dimensions on which the quota dimension depends. |
|
|
string |
The quota dimension on which the quota dimension depends. |
regionId |
|
| DimensionKey |
string |
The key of the quota dimension. Valid values:
|
zoneId |
| DimensionValueDetail |
array<object> |
The details of the quota dimension value. |
|
|
array<object> |
The details of the quota dimension value. |
||
| DependentDimensions |
array<object> |
The quota dimensions on which the quota dimension depends. |
|
|
object |
The quota dimension on which the quota dimension depends. |
||
| Key |
string |
The key of the dependent quota dimension. |
regionId |
| Value |
string |
The value of the dependent quota dimension. |
cn-hangzhou |
| Name |
string |
The name of the quota dimension value. |
cn-hangzhou-b |
| Value |
string |
The value of the quota dimension. |
cn-hangzhou-b |
| DimensionValues |
array |
The list of quota dimension values. |
|
|
string |
The list of quota dimension values. |
["cn-hangzhou-b", "cn-hangzhou-e", "cn-hangzhou-f", "cn-hangzhou-g", "cn-hangzhou-h", "cn-hangzhou-i", "cn-hangzhou-j", "cn-hangzhou-k"] |
|
| Name |
string |
The name of the quota dimension. |
Zone |
| Requisite |
boolean |
Indicates whether the quota dimension is required when you query the quota. Valid values:
|
false |
| RequestId |
string |
The request ID. |
7ED584FB-ECBF-4A2A-969D-F54D25EFABF9 |
| TotalCount |
integer |
The total number of records returned for the request. |
5 |
Examples
Success response
JSON format
{
"MaxResults": 5,
"NextToken": "84",
"QuotaDimensions": [
{
"DependentDimensions": [
"regionId"
],
"DimensionKey": "zoneId",
"DimensionValueDetail": [
{
"DependentDimensions": [
{
"Key": "regionId",
"Value": "cn-hangzhou"
}
],
"Name": "cn-hangzhou-b",
"Value": "cn-hangzhou-b\n"
}
],
"DimensionValues": [
"[\"cn-hangzhou-b\", \"cn-hangzhou-e\", \"cn-hangzhou-f\", \"cn-hangzhou-g\", \"cn-hangzhou-h\", \"cn-hangzhou-i\", \"cn-hangzhou-j\", \"cn-hangzhou-k\"]"
],
"Name": "Zone",
"Requisite": false
}
],
"RequestId": "7ED584FB-ECBF-4A2A-969D-F54D25EFABF9",
"TotalCount": 5
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.