文档
测试

服务器/中间件设置阈值

POST
http://localhost:9024/monitors/index/threshold/update

请求参数

参数名
类型
描述
必填
0
object
数据字典
必填
id
int
示例:16
必填
name
string
示例:Nacos
必填
thresholdOne
int
示例:1
必填
thresholdTwo
int
示例:2
必填
thresholdThree
int
示例:3
必填
thresholdFour
int
示例:4
必填
thresholdOneSymbol
object
示例:null
必填
thresholdTwoSymbol
object
示例:null
必填
thresholdThreeSymbol
object
示例:null
必填
thresholdFourSymbol
object
示例:null
必填
relation
object
示例:null
必填
1
object
数据字典
必填
id
int
示例:17
必填
name
string
示例:Mysql
必填
thresholdOne
object
示例:null
必填
thresholdTwo
object
示例:null
必填
thresholdThree
object
示例:null
必填
thresholdFour
object
示例:null
必填
thresholdOneSymbol
object
示例:null
必填
thresholdTwoSymbol
object
示例:null
必填
thresholdThreeSymbol
object
示例:null
必填
thresholdFourSymbol
object
示例:null
必填
relation
object
示例:null
必填
2
object
数据字典
必填
id
int
示例:18
必填
name
string
示例:ElasticSearch
必填
thresholdOne
object
示例:null
必填
thresholdTwo
object
示例:null
必填
thresholdThree
object
示例:null
必填
thresholdFour
object
示例:null
必填
thresholdOneSymbol
object
示例:null
必填
thresholdTwoSymbol
object
示例:null
必填
thresholdThreeSymbol
object
示例:null
必填
thresholdFourSymbol
object
示例:null
必填
relation
object
示例:null
必填

说明 / 示例

请求参数: 将服务器/中间件阈值列表接口返回的结果直接返回给后端 ``` [ { "id": 16, "name": "Nacos", "thresholdOne": 1, "thresholdTwo": 2, "thresholdThree": 3, "thresholdFour": 4, "thresholdOneSymbol": null, "thresholdTwoSymbol": null, "thresholdThreeSymbol": null, "thresholdFourSymbol": null, "relation": null }, { "id": 17, "name": "Mysql", "thresholdOne": null, "thresholdTwo": null, "thresholdThree": null, "thresholdFour": null, "thresholdOneSymbol": null, "thresholdTwoSymbol": null, "thresholdThreeSymbol": null, "thresholdFourSymbol": null, "relation": null }, { "id": 18, "name": "ElasticSearch", "thresholdOne": null, "thresholdTwo": null, "thresholdThree": null, "thresholdFour": null, "thresholdOneSymbol": null, "thresholdTwoSymbol": null, "thresholdThreeSymbol": null, "thresholdFourSymbol": null, "relation": null } ] ```