bms__DetachBaremetalServerVolume
Detach a cloud volume from a Huawei Cloud bare metal server by attachment ID, project ID, and server ID; system disks mounted at /dev/sda are not supported.
Instructions
[BMS] 将挂载至裸金属服务器中的磁盘卸载;对于挂载在系统盘盘位(也就是“/dev/sda”挂载点)上的磁盘,不允许执行卸载操作;对于挂载在数据盘盘位(非“/dev/sda”挂载点)上的磁盘,支持离线卸载和在线卸载(裸金属服务器处于“运行中”状态)磁盘
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": {
"attachment_id": "<attachment_id>",
"project_id": "<project_id>",
"server_id": "<server_id>"
},
"name": "bms__DetachBaremetalServerVolume"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server_id | Yes | 裸金属服务器ID | |
| project_id | Yes | 项目ID | |
| attachment_id | Yes | 裸金属服务器的云磁盘ID |