delete alertrule
Former-commit-id: dcff95ad60288cbcb62998aa849909fdbd543a8c
This commit is contained in:
parent
81f81d209e
commit
c14b67d312
|
@ -1031,6 +1031,9 @@ service pcm {
|
|||
@handler alertRulesHandler
|
||||
get /monitoring/alert/rule (AlertRulesReq) returns (AlertRulesResp)
|
||||
|
||||
@handler DeleteAlertRuleHandler
|
||||
delete /cloud/alert/rule (DeleteAlertRuleReq)
|
||||
|
||||
@doc "cluster resource load"
|
||||
@handler clustersLoadHandler
|
||||
get /monitoring/cluster/load (clustersLoadReq) returns (clustersLoadResp)
|
||||
|
|
|
@ -1297,16 +1297,16 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
|
|||
Path: "/monitoring/alert/rule",
|
||||
Handler: monitoring.CreateAlertRuleHandler(serverCtx),
|
||||
},
|
||||
{
|
||||
Method: http.MethodDelete,
|
||||
Path: "/monitoring/alert/rule",
|
||||
Handler: monitoring.DeleteAlertRuleHandler(serverCtx),
|
||||
},
|
||||
{
|
||||
Method: http.MethodGet,
|
||||
Path: "/monitoring/alert/rule",
|
||||
Handler: monitoring.AlertRulesHandler(serverCtx),
|
||||
},
|
||||
{
|
||||
Method: http.MethodDelete,
|
||||
Path: "/cloud/alert/rule",
|
||||
Handler: monitoring.DeleteAlertRuleHandler(serverCtx),
|
||||
},
|
||||
{
|
||||
Method: http.MethodGet,
|
||||
Path: "/monitoring/cluster/load",
|
||||
|
|
|
@ -1164,7 +1164,7 @@ type CommitHpcTaskReq struct {
|
|||
Description string `json:"description,optional"`
|
||||
TenantId int64 `json:"tenantId,optional"`
|
||||
TaskId int64 `json:"taskId,optional"`
|
||||
AdapterIds []string `json:"adapterIds"`
|
||||
AdapterIds []string `json:"adapterId"`
|
||||
MatchLabels map[string]string `json:"matchLabels,optional"`
|
||||
CardCount int64 `json:"cardCount,optional"`
|
||||
WorkDir string `json:"workDir,optional"` //paratera:workingDir
|
||||
|
|
Loading…
Reference in New Issue