查询热活集群组列表
更新时间:2023-08-16
查询热活集群组列表
接口描述
本接口用于查询热活集群组列表。
请求结构
Plain Text
1GET /v{version}/gaiadb/multiactivegroup HTTP/1.1
2HOST: gaiadb.bj.baidubce.com
3Authorization: authorization string
请求头域
除公共头域外,无其它特殊头域。
请求参数
参数名称 | 类型 | 是否必选 | 参数位置 | 描述 |
---|---|---|---|---|
version | string | 是 | Path参数 | API 版本号 |
返回头域
除公共头域,无其它特殊头域。
返回参数
参数名称 | 类型 | 描述 |
---|---|---|
multiActiveGroupInfoList | List MultiActiveGroupInfo | 由MultiActiveGroupInfo对象组成的数组 |
请求示例
Plain Text
1GET /v1/gaiadb/multiactivegroup HTTP/1.1
2HOST: gaiadb.bj.baidubce.com
3ContentType: application/json
4Authorization: bce-auth-v1/f81d3b34e48048fbb2634dc7882d7e21/2017-11-21T04:17:29Z/3600/host/74c506f68c65e26c633bfa104c863fffac5190fdec1ec24b7c03eb5d67d2e1de
返回示例
Plain Text
1{
2 "multiActiveGroupInfoList": [
3 {
4 "multiActiveGroupId": "gaiagroup-xxxxxxx",
5 "multiActiveGroupName": "gaiagroup-xxxxxxx",
6 "status": "serving",
7 "createTime": "2022-09-15T02: 49: 15Z",
8 "leaderCluster": {
9 "clusterId": "gaiadbxxxxxxx",
10 "clusterName": "xxxxxxx",
11 "region": "bj",
12 "azone": "zoneD",
13 "status": "available",
14 "scaleOutFlag": true
15 },
16 "followerClusterList": [
17 {
18 "clusterId": "gaiadbxxxxxxx",
19 "clusterName": "xxxxxxx",
20 "region": "bj",
21 "azone": "zoneD",
22 "status": "available"
23 },
24 {
25 "clusterId": "gaiadbxxxxxxx",
26 "clusterName": "xxxxxxx",
27 "region": "bj",
28 "azone": "zoneD",
29 "status": "available"
30 }
31 ]
32 }
33 ]
34}