查询指定主备服务器组的详细信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
slb:DescribeMasterSlaveServerGroupAttribute |
get |
*loadbalancer
|
|
无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RegionId |
string |
是 |
传统型负载均衡实例的地域 ID。 |
cn-hangzhou |
| MasterSlaveServerGroupId |
string |
是 |
主备服务器组 ID。 |
rsp-cige6j****** |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
请求 ID。 |
9DEC9C28-AB05-4DDF-9A78-6B0****** |
| Tags |
object |
||
| Tag |
array<object> |
关联的标签类型。 |
|
|
object |
关联的标签类型。 |
||
| TagKey |
string |
实例的标签键。N 的取值范围:1~20。一旦输入该值,则不允许为空字符串。 最多支持 64 个字符,不能以 |
TestKey |
| TagValue |
string |
实例的标签值。N 的取值范围:1~20。一旦输入该值,可以为空字符串。 最多支持 128 个字符,不能以 |
TestValue |
| LoadBalancerId |
string |
关联的传统型负载均衡实例 ID。 |
lb-14fadafw4343a****** |
| MasterSlaveServerGroupName |
string |
主备服务器组的名称。 |
Group1 |
| MasterSlaveServerGroupId |
string |
主备服务器组 ID。 |
rsp-cige6****** |
| MasterSlaveBackendServers |
object |
||
| MasterSlaveBackendServer |
array<object> |
主备服务器组列表。 |
|
|
object |
主备服务器组列表。 |
||
| Type |
string |
后端服务器类型,取值:
|
eni |
| Weight |
integer |
后端服务器的权重。 |
100 |
| Description |
string |
主备服务器组描述。 |
The description of the primary/secondary server group. |
| Port |
integer |
后端服务器使用的端口。 |
90 |
| ServerId |
string |
后端服务器实例 ID。 |
eni-hhshhs**** |
| ServerType |
string |
服务器类型,取值:Master 或 Slave。 |
Slave |
| CreateTime |
string |
传统型负载均衡实例创建时间,格式为: |
2022-12-02T02:49:05Z |
示例
正常返回示例
JSON格式
{
"RequestId": "9DEC9C28-AB05-4DDF-9A78-6B0******",
"Tags": {
"Tag": [
{
"TagKey": "TestKey",
"TagValue": "TestValue"
}
]
},
"LoadBalancerId": "lb-14fadafw4343a******",
"MasterSlaveServerGroupName": "Group1",
"MasterSlaveServerGroupId": "rsp-cige6******",
"MasterSlaveBackendServers": {
"MasterSlaveBackendServer": [
{
"Type": "eni",
"Weight": 100,
"Description": "The description of the primary/secondary server group.",
"Port": 90,
"ServerId": "eni-hhshhs****",
"ServerType": "Slave"
}
]
},
"CreateTime": "2022-12-02T02:49:05Z"
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。