cbh__ChangeInstanceNetwork
Modify a Cloud Bastion Host instance's network settings by updating its network interface cards and security groups for the specified server and project.
Instructions
[CBH] 修改云堡垒机实例网络。
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": {
"nics": "<nics>",
"project_id": "<project_id>",
"security_groups": "<security_groups>",
"server_id": "<server_id>",
"type": "<type>"
},
"name": "cbh__ChangeInstanceNetwork"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nics | Yes | 云堡垒机实例修改后的网卡信息。 | |
| type | Yes | 云堡垒机实例状态,枚举值如下: | |
| server_id | Yes | 云堡垒机实例ID。云堡垒机实例状态为renewals或change时必传。 | |
| project_id | Yes | 项目ID。获取方法详见API参考,附录[获取项目ID](https://support.huaweicloud.com/api-cbh/cbh_02_0020.html)。 | |
| security_groups | Yes | 云堡垒机实例修改后的安全组信息。 |