Queries the created active/standby server groups.


Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
Action String Yes DescribeMasterSlaveServerGroups

The name of this action.

Value: DescribeMasterSlaveServerGroups

LoadBalancerId String Yes lb-bp14zi0n66zpg6ohffzaa

The ID of the SLB instance.

RegionId String Yes cn-hangzhou

The ID of the region to which the SLB instance belongs.

IncludeListener Boolean No false

Optional. Indicates whether to return the associated listener information. Default value: false

Response parameters

Parameter Type Example value Description

A list of active/standby server groups.

 └MasterSlaveServerGroupId String rsp-0bfucwuotx

The ID of the active/standby server group.

 └MasterSlaveServerGroupName String Group3

The name of the active/standby server group.


The resources associated with the active/standby server group.


A list of associated listeners.

 └Port Integer 80

The listening port.

 └Protocol String tcp

The protocol used by the listener.

RequestId String 9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18C

The ID of the request.


Request example

http(s)://[Endpoint]/? Action=DescribeMasterSlaveServerGroups

Response examples

XML format


JSON format


Error codes

See common error codes.