Queries information about all server groups.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeAllGroups |
get |
*Group
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the request and response. Default value: zh. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Count |
integer |
The total number of server groups. |
2 |
| RequestId |
string |
The unique identifier that Alibaba Cloud generated for the request. |
7E0618A9-D5EF-4220-9471-C42B5E92719F |
| Groups |
array<object> |
The server group information. |
|
|
object |
|||
| GroupName |
string |
The name of the server group. |
abc |
| GroupId |
integer |
The ID of the server group. |
8834224 |
| GroupFlag |
integer |
The type of the server group. Valid values:
|
1 |
Examples
Success response
JSON format
{
"Count": 2,
"RequestId": "7E0618A9-D5EF-4220-9471-C42B5E92719F",
"Groups": [
{
"GroupName": "abc",
"GroupId": 8834224,
"GroupFlag": 1
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | no permission | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.