查看手动巡检任务的配置
更新时间:2025-04-01
请求URI
POST /api/bes/cluster/inspect/get_manual_conf
请求头参数
参数名称 | 参数类型 | 是否必须 | 描述 | 示例值 |
---|---|---|---|---|
x-Region | String | 是 | 区域 | bd |
请求体参数
请求体字段数据结构说明
参数名称 | 参数类型 | 是否必须 | 描述 | 示例值 |
---|---|---|---|---|
clusterId | String | 是 | 集群id,超过规定18位会返回500错误 | 218185657699405824 |
响应体参数
响应体字段数据结构说明
参数名称 | 参数类型 | 描述 | 示例值 |
---|---|---|---|
success | String | 请求是否成功 | true |
status | Integer | 状态码 | 200 |
result | Result | 返回信息 |
Result字段数据结构说明
参数名称 | 参数类型 | 描述 | 示例值 |
---|---|---|---|
indices | String | 索引匹配字符串。如果是匹配全部,则返回"*" | * |
items | List |
请求示例
Plain Text
1POST /api/bes/cluster/inspect/get_manual_conf
2<公共请求头>
3x-Region: bd
4
5
6{
7 "clusterId":"218185657699405824"
8}
响应示例
Plain Text
1HTTP/1.1 200 OK
2<公共响应头>
3
4{
5 "result" : {
6 "indices" : "*",
7 "items" : [ "[\"ClusterHealth\", \"ClusterPayload\"]", "[\"ClusterHealth\", \"ClusterPayload\"]" ]
8 },
9 "success" : "true",
10 "status" : 200
11}
错误码
请参考通用错误码