替换告警通知策略
原子替换通知策略单个事务固定AU告警008 PRD 4 PUT语义原子替换通知策略。
PUT
/api/v1/alerting/notification-policies操作 ID
ReplaceAlertNotificationPolicies起始版本
1.0.0执行模式
同步认证信息
需要认证认证信息
调用该 API 时需要在请求头中携带以下认证信息。
Authorizationstring必填Bearer 令牌
X-Tenant-IDstringX-Tenant-ID
请求参数
application/json请求体字段
policiesList必填策略。
示例: (nested array)
nameString资源名称。
示例: Critical Alert Routing
descriptionString资源的详细描述。
示例: Route critical alerts to ops channels
priorityInteger优先级。
示例: 1
isDefaultBoolean是否默认捕获策略。
示例: false
matchersList标签匹配器路由决策。
示例: (nested array)
keyString键。
示例: severity
operatorString比较运算符。
示例: eq
valueString字段值。
示例: critical
channelIdsList渠道UUI DS投递通知。
示例: item1,item2
groupByList分组字段。
示例: item1,item2
groupWaitInteger秒等待首次通知。
示例: 30
groupIntervalInteger秒之间分组批次。
示例: 300
repeatIntervalInteger秒重复通知。
示例: 3600
