You can call this operation to query the grouping information about servers.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeAllGroups

The operation that you want to perform. Set the value to DescribeAllGroups.

Lang String No zh

The language of the request and response. Valid values:

  • zh: Chinese
  • en: English

Response parameters

Parameter Type Example Description
Count Integer 2

The number of entries returned on the current page.

Groups Array

The grouping information about the servers.

GroupFlag Integer 1

The type of the server group.

  • 0: default group
  • 1: other groups
GroupId Integer 8834224

The ID of the server group.

GroupName String  test

The name of the server group.

RequestId String "requestId": "7E0618A9-D5EF-4220-9471-C42B5E92719F",

The ID of the request.


Sample requests

http(s)://[Endpoint]/? Action=DescribeAllGroups
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For a list of error codes, visit the API Error Center.