dws__UpdateAlarmSub
Updates a DWS alarm subscription to change alert settings or notification targets, so alerts reach the correct SMN topic.
Instructions
[DWS] 更新订阅的告警。
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_sub_id": "<alarm_sub_id>",
"name": "<name>",
"notification_target": "<notification_target>",
"notification_target_name": "<notification_target_name>",
"notification_target_type": "<notification_target_type>",
"project_id": "<project_id>"
},
"name": "dws__UpdateAlarmSub"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 告警订阅名称 | |
| enable | No | 是否开启订阅 | |
| project_id | Yes | 租户凭证ID | |
| alarm_level | No | 告警级别 | |
| alarm_sub_id | Yes | 告警订阅ID | |
| notification_target | Yes | 消息主题地址 | |
| notification_target_name | Yes | 消息主题名称 | |
| notification_target_type | Yes | 消息主题类型,支持SMN |