ces__UpdateNotificationMask
Modify Huawei Cloud CES alarm notification masking rules, including mask schedules, resources, metrics, and related alarm rules, to control when alerts are silenced.
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": {
"mask_name": "<mask_name>",
"mask_type": "<mask_type>",
"project_id": "<project_id>",
"resources": "<resources>"
},
"name": "ces__UpdateNotificationMask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | 屏蔽截止日期,yyyy-MM-dd。 | |
| end_time | No | 屏蔽截止时间,HH:mm:ss。 | |
| mask_name | Yes | 屏蔽规则名称 | |
| mask_type | Yes | 屏蔽类型。START_END_TIME:按起止时间屏蔽,FOREVER_TIME:永久时间屏蔽,CYCLE_TIME:按周期时间屏蔽。 | |
| resources | Yes | 关联资源 | |
| project_id | Yes | 租户ID | |
| start_date | No | 屏蔽起始日期,yyyy-MM-dd。 | |
| start_time | No | 屏蔽起始时间,HH:mm:ss。 | |
| metric_names | No | 关联指标名称,relation_type为RESOURCE可选填,不填视为对资源所有指标进行告警屏蔽 | |
| product_name | No | 资源为云产品时云产品名称 | |
| relation_ids | No | 关联编号,relation_type为ALARM_RULE时填屏蔽的告警规则编号;relation_type为RESOURCE_POLICY_NOTIFICATION、RESOURCE_POLICY_ALARM时填屏蔽的告警策略编号; | |
| relation_type | No | 关联类型 | |
| resource_level | No | dimension: 子维度,product: 云产品 | |
| product_metrics | No | 按云产品维度屏蔽时的指标信息 |