lts__CreateHostGroup
Creates a Huawei Cloud LTS host group by name and type under a project, with optional host IDs and tags to organize log collection targets.
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": {
"host_group_name": "<host_group_name>",
"host_group_type": "<host_group_type>",
"project_id": "<project_id>"
},
"name": "lts__CreateHostGroup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | 项目ID,获取方式请参见:获取账号ID、项目ID、日志组ID、日志流ID(https://support.huaweicloud.com/api-lts/lts_api_0006.html)。 | |
| host_id_list | No | 主机组ID列表。主机类型必须与主机组类型一致 | |
| host_group_tag | No | 标签信息。KEY不能重复 | |
| host_group_name | Yes | 主机组名称 | |
| host_group_type | Yes | 主机组类型。windows:windows类型,linux:linux类型 |