WEB应用防火墙 WAF-更新告警通知配置:请求示例

时间:2024-01-26 15:43:52

请求示例

更新项目id为project_id的告警通知配置,更新通知类型为证书到期,主题URN为 "urn:smn:cn-north-7:550500b49078408682d0d4f7d923f3e1:ces_zyh_test",告警通知名称为“test”,提前60天通知,时间间隔10080分钟一次。

PUT https://{Endpoint}/v2/{project_id}/waf/alert/{alert_id}?enterprise_project_id=0

{
  "notice_class" : "cert_alert_notice",
  "topic_urn" : "urn:smn:cn-north-7:550500b49078408682d0d4f7d923f3e1:ces_zyh_test",
  "name" : "test",
  "nearly_expired_time" : 60,
  "sendfreq" : 10080
}
support.huaweicloud.com/api-waf/UpdateAlertNoticeConfig.html