ces__UpdateAlarmNotifications
Update alarm notification settings for a CES alarm rule by enabling or disabling notifications, assigning notification targets and actions, and configuring notification time windows.
Instructions
[CES] 修改告警规则告警通知信息,告警策略&资源请使用对应接口
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"alarm_id": "<alarm_id>",
"notification_enabled": "<notification_enabled>",
"project_id": "<project_id>"
},
"name": "ces__UpdateAlarmNotifications"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alarm_id | Yes | 告警规则ID | |
| project_id | Yes | 租户ID | |
| ok_notifications | No | 告警恢复触发的动作 | |
| alarm_notifications | No | 告警触发的动作 | |
| notification_enabled | Yes | 是否开启告警通知。true:开启,false:关闭。 | |
| notification_end_time | No | 告警通知关闭时间 | |
| notification_begin_time | No | 告警通知开启时间 |