cbh__RestartCbhInstance
Restarts a Huawei Cloud Bastion Host (CBH) instance using its instance ID, project ID, and reboot type to recover or perform maintenance on the bastion server.
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": {
"instance_id": "<instance_id>",
"project_id": "<project_id>",
"reboot": "<reboot>"
},
"name": "cbh__RestartCbhInstance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reboot | Yes | 云堡垒机实例重启方式。 | |
| project_id | Yes | 项目ID。获取方法详见API参考,附录[获取项目ID](https://support.huaweicloud.com/api-cbh/cbh_02_0020.html)。 | |
| instance_id | Yes | 云堡垒机实例ID,使用UUID格式。 |