dws__CreateAlarmSub
Creates a DWS alarm subscription with notification target details and time zone, enabling users to route database alerts to an 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": {
"name": "<name>",
"notification_target": "<notification_target>",
"notification_target_name": "<notification_target_name>",
"notification_target_type": "<notification_target_type>",
"project_id": "<project_id>",
"time_zone": "<time_zone>"
},
"name": "dws__CreateAlarmSub"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 告警订阅名称 | |
| enable | No | 是否开启订阅 | |
| time_zone | Yes | 时区 | |
| project_id | Yes | 租户凭证ID | |
| alarm_level | No | 告警级别 | |
| notification_target | Yes | 消息主题地址 | |
| notification_target_name | Yes | 消息主题名称 | |
| notification_target_type | Yes | 消息主题类型,支持SMN |