ces__UpdateOneClickAlarmNotifications
Batch-updates notification settings for one-click alarms, letting you turn notifications on or off and configure channels, time windows, and policies.
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": {
"notification_enabled": "<notification_enabled>",
"one_click_alarm_id": "<one_click_alarm_id>",
"project_id": "<project_id>"
},
"name": "ces__UpdateOneClickAlarmNotifications"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | 租户ID | |
| ok_notifications | No | 告警恢复触发的动作 | |
| one_click_alarm_id | Yes | 一键告警ID | |
| alarm_notifications | No | 告警触发的动作 | |
| notification_manner | No | NOTIFICATION_GROUP(通知组)/TOPIC_SUBSCRIPTION(主题订阅)/NOTIFICATION_POLICY(通知策略) | |
| notification_enabled | Yes | 是否开启告警通知。true:开启,false:关闭。 | |
| notification_end_time | No | 告警通知关闭时间 | |
| notification_begin_time | No | 告警通知开启时间 | |
| notification_policy_ids | No | 关联的通知策略ID列表 |