resize_disk
Expand a virtual disk on a QNAP VM to increase storage capacity. Requires the VM to be stopped; supports expansion only, not shrinking.
Instructions
DESTRUCTIVE: Resize a virtual disk (expand only).
The VM should be stopped. Disks can only be expanded, not shrunk.
Args: vm_id: The VM identifier disk_id: The disk identifier (from list_vm_disks) size_gb: New disk size in GB confirm: Must be true to execute. Returns a preview otherwise.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm_id | Yes | ||
| confirm | No | ||
| disk_id | Yes | ||
| size_gb | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |