This operation queries the dimension groups of a specified Alibaba Cloud service.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quotas:ListProductDimensionGroups |
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 the query. Valid values: 1 to 200. Default value: 30. |
3 |
| ProductCode |
string |
Yes |
The abbreviation of the Alibaba Cloud service name. Note
For information about how to obtain the abbreviation of an Alibaba Cloud service name, see the `ProductCode` parameter in ListProducts. |
entconsole |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The dimension groups. |
||
| DimensionGroups |
array<object> |
The dimension groups. |
|
|
object |
The code of the dimension group. |
||
| DimensionKeys |
array |
The keys of the dimension group. |
|
|
string |
A key of the dimension group. |
regionId |
|
| GroupCode |
string |
The code of the dimension group. |
entconsole_zjzp4d**** |
| GroupName |
string |
The name of the dimension group. |
Resource sharing |
| ProductCode |
string |
The code of the Alibaba Cloud service. |
entconsole |
| MaxResults |
integer |
The maximum number of entries returned on each page. |
3 |
| NextToken |
string |
The token that marks the position where the returned query results end. An empty value indicates that all data is returned. |
21 |
| RequestId |
string |
The request ID. |
057D210F-F2FC-5329-A536-26C16628BB09 |
| TotalCount |
integer |
The total number of entries that match the query. |
3 |
Examples
Success response
JSON format
{
"DimensionGroups": [
{
"DimensionKeys": [
"regionId"
],
"GroupCode": "entconsole_zjzp4d****",
"GroupName": "Resource sharing",
"ProductCode": "entconsole"
}
],
"MaxResults": 3,
"NextToken": "21",
"RequestId": "057D210F-F2FC-5329-A536-26C16628BB09",
"TotalCount": 3
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.