codeartsdeploy__CreateDeploymentGroup
Creates a host cluster in a CodeArts Deploy project using OS, region, and project details, with optional proxy and slave cluster configuration.
Instructions
[CODEARTSDEPLOY] 在项目下新建主机集群。该接口于2024年09月30日后不再维护,推荐使用新版CreateHostCluster接口。
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": {
"name": "<name>",
"os": "<os>",
"project_id": "<project_id>",
"region_name": "<region_name>"
},
"name": "codeartsdeploy__CreateDeploymentGroup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| os | Yes | 操作信息:windows|linux | |
| name | Yes | 主机集群名 | |
| project_id | Yes | 项目id | |
| description | No | 描述 | |
| region_name | Yes | 局点信息 | |
| is_proxy_mode | No | 主机集群是否为代理类型 | |
| slave_cluster_id | No | slave集群id,默认为null时使用默认slave集群,用户自定义slave时为slave集群id |