iaas_attach_machine_disk
Attach an existing block device as a disk to a specified machine by providing the machine ID and block device ID through VCF Automation.
Instructions
Attach machine disk Attach a disk to a machine. POST /iaas/api/machines/{id}/disks
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": {
"id": "<id>",
"body": "<body>"
},
"name": "iaas_attach_machine_disk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID of the machine. (path) | |
| body | Yes | Specification for attaching disk to a machine — Disk Specification instance | |
| apiVersion | No | The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about |