Queries the details of quota dimensions for a specific Alibaba Cloud service.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quotas:GetProductQuotaDimension |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProductCode |
string |
Yes |
The abbreviation of the Alibaba Cloud service. Note
For more information, see the |
disk |
| DimensionKey |
string |
No |
The key of the quota dimension. Note
If the quota dimension has dependencies, specify both the key and value for each dependent dimension. |
zoneId |
| DependentDimensions |
array<object> |
No |
The dependent quota dimensions. |
|
|
object |
No |
The dependent quota dimensions. |
||
| Key |
string |
No |
The key of the dependent quota dimension. Note
|
regionId |
| Value |
string |
No |
The value of the dependent quota dimension. Note
|
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The details of the quota dimensions that the product supports. |
||
| QuotaDimension |
object |
The details of the quota dimension. |
|
| DependentDimensions |
array |
The quota dimensions on which the target quota dimension depends. |
|
|
string |
The quota dimensions on which the target 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. |
|
|
object |
The details of the quota dimension value. |
||
| Name |
string |
The name of the quota dimension value. |
cn-hangzhou-b |
| Value |
string |
The value of the quota dimension value. |
cn-hangzhou-b |
| DimensionValues |
array |
A list of quota dimension values. |
|
|
string |
A 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 |
| RequestId |
string |
The ID of the request. |
1FA5F0E2-368E-4BA4-A8D0-6060FC6BB8F3 |
Examples
Success response
JSON format
{
"QuotaDimension": {
"DependentDimensions": [
"regionId"
],
"DimensionKey": "zoneId",
"DimensionValueDetail": [
{
"Name": "cn-hangzhou-b",
"Value": "cn-hangzhou-b"
}
],
"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"
},
"RequestId": "1FA5F0E2-368E-4BA4-A8D0-6060FC6BB8F3"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.