ecs__UpdateServerInterface
Updates a cloud server network interface attachment by setting whether the specified port is deleted when the server is terminated.
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": {
"interface_attachment": "<interface_attachment>",
"port_id": "<port_id>",
"project_id": "<project_id>",
"server_id": "<server_id>"
},
"name": "ecs__UpdateServerInterface"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port_id | Yes | The network card ID of the cloud server. | |
| server_id | Yes | 云服务器ID。 | |
| project_id | Yes | 项目ID。 | |
| interface_attachment | Yes | 更新云服务器网卡信息结构体。 |