ces__UpdateResourceGroup
Update an existing CES resource group's name, tags, or instance matching rules by group ID and project ID. Use it to change which cloud resources are grouped for monitoring.
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": {
"group_id": "<group_id>",
"group_name": "<group_name>",
"project_id": "<project_id>"
},
"name": "ces__UpdateResourceGroup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | 标签动态匹配时的关联标签,type为TAG时该字段不为空 | |
| group_id | Yes | 资源分组ID,以rg开头,后跟22位由字母或数字组成的字符串 | |
| instances | No | 实例名称匹配参数 | |
| group_name | Yes | 资源分组名称,只能为字母、数字、汉字、-、_,最大长度为128 | |
| project_id | Yes | 租户ID | |
| comb_relation | No | ||
| product_names | No | 修改资源层级为云产品时的云产品的取值,一般由"服务命名空间,服务首层维度名称"组成,如"SYS.ECS,instance_id"。多个云产品则用“;”隔开,如"SERVICE.BMS,instance_id;SYS.ECS,instance_id"。 | |
| extend_relation_ids | No | 智能添加时企业项目匹配传入参数 | |
| enterprise_project_id_and_tags | No | 资源匹配规则为组合匹配时传入的参数 |