ces__UpdateAlarmTemplate
Updates a custom Cloud Eye alarm template by revising its alert policies, name, or description to keep metric and event monitoring thresholds aligned with current requirements.
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": {
"policies": "<policies>",
"project_id": "<project_id>",
"template_id": "<template_id>",
"template_name": "<template_name>"
},
"name": "ces__UpdateAlarmTemplate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policies | Yes | 告警模板策略列表 | |
| project_id | Yes | 租户ID | |
| template_id | Yes | 告警模板ID | |
| template_name | Yes | 告警模板的名称,以字母或汉字开头,可包含字母、数字、汉字、_、-,长度范围[1,128] | |
| template_type | No | 自定义告警模板类型 0:指标 2: 事件 | |
| template_description | No | 告警模板的描述,长度范围[0,256],该字段默认值为空字符串 |