查询已添加的所有服务器
更新时间:2026-07-15
- 查询服务器组下绑定的server
OpenAPI Explorer
去调试
您可以在 OpenAPI Explorer 中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer 可以自动生成 SDK 代码示例。
请求结构
Plain Text
1GET /v{version}/appblb/{blbId}/blbrsmount?sgId={sgId} HTTP/1.1
2Host: blb.bj.baidubce.com
3Authorization: authorization string
请求头域
除公共头域外,无其他特殊头域
请求参数
| 参数名称 | 类型 | 是否必需 | 参数位置 | 描述 |
|---|---|---|---|---|
| version | String | 是 | URL参数 | API版本号,当前取值1 |
| blbId | String | 是 | URL参数 | 所属LoadBalancer的标识符 |
| sgId | String | 是 | Query参数 | RS所属服务器组id |
返回头域
除公共头域外,无其他特殊头域
返回参数
| 参数名称 | 类型 | 描述 |
|---|---|---|
| backendServerList | List<AppBackendServer> | 包含查询结果的列表 |
请求示例
Plain Text
1GET /v1/appblb/lb-j8UqijYf/blbrsmount?sgId=abc HTTP/1.1
2Host: blb.bj.baidubce.com
3Authorization: bce-auth-v1/ae4780f344774daa832f34caadd4d7de/2016-06-03T06:42:31Z/1800/host/3f26e5a322d41fa0f3315e906342c2691fe5ee35d21c7e66e425b4ee0f67ced3
响应示例
Plain Text
1HTTP/1.1 200 OK
2x-bce-request-id: 946002ee-cb4f-4aad-b686-5be55df27f09
3Date: Fri, 03 Jun 2016 06:42:44 GMT
4Transfer-Encoding: chunked
5Content-Type: application/json;charset=UTF-8
6Server: BWS
7
8{
9 "backendServerList": [
10 {
11 "instanceId": "BCC_UUID",
12 "privateIp": "192.168.0.1",
13 "weight": 20,
14 "portList": [
15 {
16 "listenerPort": "LISTENER_PORT1",
17 "backendPort": "BACKEND_PORT1",
18 "portType": "HTTP",
19 “healthCheckPortType”: "HTTP",
20 "portId": "port_xxx",
21 "policyId": "policy_xxx",
22 "status": "Alive"
23 },
24 {
25 "listenerPort": "LISTENER_PORT2",
26 "backendPort": "BACKEND_PORT2",
27 "portType": "HTTP",
28 “healthCheckPortType”: "HTTP",
29 "portId": "port_xxx",
30 "policyId": "policy_xxx",
31 "staus": "Alive"
32 }
33 ]
34 }
35 ]
36}
评价此篇文章
