ecs__UpdateServerBlockDevice
Updates the delete-on-termination setting for a single disk attached to a Huawei Cloud ECS server, letting you control whether the volume is released with the instance.
Instructions
[ECS] 修改云服务器云主机挂载的单个磁盘信息。'当前仅支持修改delete_on_termination字段。
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": {
"block_device": "<block_device>",
"project_id": "<project_id>",
"server_id": "<server_id>",
"volume_id": "<volume_id>"
},
"name": "ecs__UpdateServerBlockDevice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server_id | Yes | 云服务器ID。 | |
| volume_id | Yes | 磁盘id,uuid格式 | |
| project_id | Yes | 项目ID。 | |
| block_device | Yes | 待更新的挂载信息。 |