方法列表
创建分组
admin
RPC
createNodeGroup (CreateNodeGroupRequest) returns (CreateNodeGroupResponse)
HTTP
POST /NodeGroupService/createNodeGroup
输入对象:CreateNodeGroupRequest:
{ // 集群ID int64 nodeClusterId; // 名称 string name; }
输出对象:CreateNodeGroupResponse:
修改分组
admin
RPC
updateNodeGroup (UpdateNodeGroupRequest) returns (RPCSuccess)
HTTP
POST /NodeGroupService/updateNodeGroup
输入对象:UpdateNodeGroupRequest:
{ int64 nodeGroupId; // 名称 string name; }
输出对象:RPCSuccess:
{ }
删除分组
admin
RPC
deleteNodeGroup (DeleteNodeGroupRequest) returns (RPCSuccess)
HTTP
POST /NodeGroupService/deleteNodeGroup
输入对象:DeleteNodeGroupRequest:
输出对象:RPCSuccess:
{ }
查询所有分组
admin
RPC
findAllEnabledNodeGroupsWithNodeClusterId (FindAllEnabledNodeGroupsWithNodeClusterIdRequest) returns (FindAllEnabledNodeGroupsWithNodeClusterIdResponse)
HTTP
POST /NodeGroupService/findAllEnabledNodeGroupsWithNodeClusterId
输入对象:FindAllEnabledNodeGroupsWithNodeClusterIdRequest:
{ // 集群ID int64 nodeClusterId; }
输出对象:FindAllEnabledNodeGroupsWithNodeClusterIdResponse:
修改分组排序
admin
RPC
updateNodeGroupOrders (UpdateNodeGroupOrdersRequest) returns (RPCSuccess)
HTTP
POST /NodeGroupService/updateNodeGroupOrders
输入对象:UpdateNodeGroupOrdersRequest:
输出对象:RPCSuccess:
{ }
查找单个分组信息
admin
RPC
findEnabledNodeGroup (FindEnabledNodeGroupRequest) returns (FindEnabledNodeGroupResponse)
HTTP
POST /NodeGroupService/findEnabledNodeGroup
输入对象:FindEnabledNodeGroupRequest:
输出对象:FindEnabledNodeGroupResponse: