方法列表
创建阈值
admin
node
RPC
createNodeThreshold (CreateNodeThresholdRequest) returns (CreateNodeThresholdResponse)
HTTP
POST /NodeThresholdService/createNodeThreshold
输入对象:CreateNodeThresholdRequest:
输出对象:CreateNodeThresholdResponse:
修改阈值
admin
RPC
updateNodeThreshold (UpdateNodeThresholdRequest) returns (RPCSuccess)
HTTP
POST /NodeThresholdService/updateNodeThreshold
输入对象:UpdateNodeThresholdRequest:
输出对象:RPCSuccess:
{ }
删除阈值
admin
RPC
deleteNodeThreshold (DeleteNodeThresholdRequest) returns (RPCSuccess)
HTTP
POST /NodeThresholdService/deleteNodeThreshold
输入对象:DeleteNodeThresholdRequest:
输出对象:RPCSuccess:
{ }
查询阈值
admin
RPC
findAllEnabledNodeThresholds (FindAllEnabledNodeThresholdsRequest) returns (FindAllEnabledNodeThresholdsResponse)
HTTP
POST /NodeThresholdService/findAllEnabledNodeThresholds
输入对象:FindAllEnabledNodeThresholdsRequest:
{ string role; // 集群ID int64 nodeClusterId; // 节点ID int64 nodeId; }
输出对象:FindAllEnabledNodeThresholdsResponse:
计算阈值数量
admin
RPC
countAllEnabledNodeThresholds (CountAllEnabledNodeThresholdsRequest) returns (RPCCountResponse)
HTTP
POST /NodeThresholdService/countAllEnabledNodeThresholds
输入对象:CountAllEnabledNodeThresholdsRequest:
{ string role; // 集群ID int64 nodeClusterId; // 节点ID int64 nodeId; }
输出对象:RPCCountResponse:
{ // 数量 int64 count; }
查询单个阈值详情
admin
RPC
findEnabledNodeThreshold (FindEnabledNodeThresholdRequest) returns (FindEnabledNodeThresholdResponse)
HTTP
POST /NodeThresholdService/findEnabledNodeThreshold
输入对象:FindEnabledNodeThresholdRequest:
输出对象:FindEnabledNodeThresholdResponse: