描述
查询该请求用户在指定负载均衡实例下的所有主备虚拟服务器组。
请求参数
返回参数
示例
请求示例
- https://slb.aliyuncs.com/?<公共请求参数>
- &Action=DescribeMasterSlaveServerGroups
- &RegionId=cn-east-hangzhou-01
- &LoadBalancerId=152a602e315-cn-beijing-btc-a01
返回示例
XML 格式
-
<?xml version="1.0" encoding="utf-8"?>
- <DescribeMasterSlaveServerGroups>
- <RequestId>9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18C</RequestId>
- <MasterSlaveServerGroups>
- <MasterSlaveServerGroupId>rsp-cige6j5e7p<MasterSlaveServerGroupId>
- <MasterSlaveServerGroupName>Group1<MasterSlaveServerGroupName>
- <MasterSlaveServerGroupId>rsp-6cejjzlld7<MasterSlaveServerGroupId>
- <MasterSlaveServerGroupName>Group2<MasterSlaveServerGroupName>
- <MasterSlaveServerGroupId>rsp-0bfucwuotx<MasterSlaveServerGroupId>
- <MasterSlaveServerGroupName>Group3<MasterSlaveServerGroupName>
- </MasterSlaveServerGroups>
- </DescribeMasterSlaveServerGroups>
JSON格式
-
{
- "RequestId":"9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18C",
- "MasterSlaveServerGroups":{
- [
- {'MasterSlaveServerGroupId':'rsp-cige6j5e7p','MasterSlaveServerGroupName':'Group1'},
- {'MasterSlaveServerGroupId':'rsp-6cejjzlld7','MasterSlaveServerGroupName':'Group2'},
- {'MasterSlaveServerGroupId':'rsp-0bfucwuotx','MasterSlaveServerGroupName':'Group3'}
- ]}
- }