ecs__ChangeVpc
Switches a Huawei Cloud ECS server to a different virtual private cloud (VPC) by specifying the target VPC, subnet or port, IP address, and security groups.
Instructions
[ECS] 云服务器切换虚拟私有云。
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": {
"nic": "<nic>",
"project_id": "<project_id>",
"server_id": "<server_id>",
"vpc_id": "<vpc_id>"
},
"name": "ecs__ChangeVpc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nic | Yes | 需要添加的网卡参数列表. | |
| vpc_id | Yes | 虚拟机私有云ID | |
| server_id | Yes | 云服务器ID。 | |
| project_id | Yes | 项目ID。 |