attach_volume
Link a storage volume to a virtual machine using Volume ID and VM ID on the CloudStack MCP Server, enabling efficient resource management and storage allocation.
Instructions
Attach volume to virtual machine
Input Schema
Name | Required | Description | Default |
---|---|---|---|
deviceid | No | Device ID | |
id | Yes | Volume ID | |
virtualmachineid | Yes | VM ID to attach to |
Input Schema (JSON Schema)
{
"additionalProperties": false,
"properties": {
"deviceid": {
"description": "Device ID",
"type": "number"
},
"id": {
"description": "Volume ID",
"type": "string"
},
"virtualmachineid": {
"description": "VM ID to attach to",
"type": "string"
}
},
"required": [
"id",
"virtualmachineid"
],
"type": "object"
}