ces__UpdateAlarmAction
Enable or disable a specific Huawei Cloud CES alarm rule using its alarm ID and project ID; set alarm_enabled to true to start or false to stop.
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": {
"alarm_enabled": "<alarm_enabled>",
"alarm_id": "<alarm_id>",
"project_id": "<project_id>"
},
"name": "ces__UpdateAlarmAction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alarm_id | Yes | 告警规则的ID。 | al15454523384878yogJg6ao |
| project_id | Yes | 项目编号。 | |
| alarm_enabled | Yes | 告警是否启用。true:启动。false:停止 |