lts__UpdateAlarmRuleStatus
Updates a Huawei Cloud LTS alarm rule's status to RUNNING or STOPPING by rule ID and project ID, letting you enable or suspend alerting as needed.
Instructions
[LTS] 改变告警规则状态
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_rule_id": "<alarm_rule_id>",
"project_id": "<project_id>",
"status": "<status>",
"type": "<type>"
},
"name": "lts__UpdateAlarmRuleStatus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | 类型 | |
| status | Yes | 状态(RUNNING/STOPPING) | |
| project_id | Yes | ||
| alarm_rule_id | Yes | 告警规则ID |