You can call the DescribeVServerGroupAttribute API to query the details of a VServer group.


Click here to perform a debug operation in OpenAPI Explorer and automatically generate an SDK code example.

Request parameters

Name Type Required? Example value Description
Action String Yes DescribeVServerGroupAttribute

The action to perform. Valid value: DescribeVServerGroupAttribute

RegionId String Yes cn-hangzhou

The ID of the region to which the SLB instance belongs

VServerGroupId String Yes rsp-cige6j5e7p

The ID of the VServer group

Response parameters

Name Type Example value Description
VServerGroupId String rsp-cige6j5e7p

The ID of the VServer group

VServerGroupName String Group1

The name of the VServer group


A list of backend servers

  └ServerId String vm-233

The ECS instance ID

  └Port Integer 90

The port used by the backend server

  └Weight Integer 100

The weight of the backend server

  └Description String A description of the VServer group

A description of the VServer group

  └Type String ecs

The backend server type. Valid values:

  • ecs: ECS instance (default)
  • eni: Elastic Network Interface (ENI)
RequestId String 9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18C

The ID of the request


Request example

/? Action=DescribeVServerGroupAttribute

Normal response examples

XML format


JSON format


Error response example

JSON format

	"Message":"The specified parameter is not valid.",

Error codes

Click here to view the error codes.