创建告警抑制规则
创建新抑制规则关联抑制中告警。
POST
/api/v1/alerting/inhibition-rules操作 ID
CreateAlertInhibitionRule起始版本
1.0.0执行模式
同步认证信息
需要认证认证信息
调用该 API 时需要在请求头中携带以下认证信息。
Authorizationstring必填Bearer 令牌
X-Tenant-IDstringX-Tenant-ID
请求参数
application/json请求体字段
nameString必填资源名称。
示例: Suppress disk alerts when host down
descriptionString必填资源的详细描述。
示例: Suppress disk alerts when host is unreachable
sourceMatchString必填源告警匹配器表达式。
示例: alertname=HostDown
targetMatchString必填目标告警匹配器表达式。
示例: alertname=DiskFull
equalLabelsString必填等于标签。
示例: host,cluster
