Queries domain name groups.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alidns:DescribeDomainGroups |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the response. Valid values:
Default value: zh |
en |
| KeyWord |
string |
No |
The keyword for the group name. The search uses the %KeyWord% pattern and is case-insensitive. |
Group |
| PageNumber |
integer |
No |
The page number. The start value is 1. The default value is 1. |
1 |
| PageSize |
integer |
No |
The number of entries to return on each page. The maximum value is 100. The default value is 20. |
20 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| DomainGroups |
object |
||
| DomainGroup |
array<object> |
The list of domain name groups. |
|
|
object |
|||
| GroupId |
string |
The ID of the domain name group.
|
defaultGroup |
| GroupName |
string |
The name of the domain name group. |
MyGroup |
| DomainCount |
integer |
The number of domain names in the group. |
2 |
| TotalCount |
integer |
The total number of domain name groups. |
1 |
| PageSize |
integer |
The number of entries to return on each page. The maximum value is 100. The default value is 20. |
20 |
| RequestId |
string |
The unique ID of the request. |
536E9CAD-DB30-4647-AC87-AA5CC38C5382 |
| PageNumber |
integer |
The page number. The start value is 1. The default value is 1. |
1 |
Examples
Success response
JSON format
{
"DomainGroups": {
"DomainGroup": [
{
"GroupId": "defaultGroup",
"GroupName": "MyGroup",
"DomainCount": 2
}
]
},
"TotalCount": 1,
"PageSize": 20,
"RequestId": "536E9CAD-DB30-4647-AC87-AA5CC38C5382",
"PageNumber": 1
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.