aom__UpdateActionRule
Modifies an AOM alarm action rule to update notification settings, rule type, SMN topics, message template, description, time zone, or sub-account assignment for a project.
Instructions
[AOM] 修改告警行动规则。
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_template": "<notification_template>",
"project_id": "<project_id>",
"rule_name": "<rule_name>",
"smn_topics": "<smn_topics>",
"type": "<type>",
"user_name": "<user_name>"
},
"name": "aom__UpdateActionRule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| desc | No | 规则描述。规则描述长度为0到1024个字符,并且只能是数字、字母、特殊字符(_*)、空格和中文组成,不能以下划线开头和结尾。 | |
| type | Yes | 规则类型。"1":通知,"2":用户 | |
| rule_name | Yes | 规则名称 | |
| time_zone | No | 时区 | |
| user_name | Yes | 子账号名称 | |
| project_id | Yes | 项目ID | |
| smn_topics | Yes | SMN主题信息,不能大于5 | |
| create_time | No | 创建时间 | |
| update_time | No | 修改时间 | |
| notification_template | Yes | 消息模板 |