mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-04 22:28:12 +00:00
30 lines
1.2 KiB
ReStructuredText
30 lines
1.2 KiB
ReStructuredText
|
/v2/compute/projects/{project_id}/qemu/nodes/{node_id}/resize_disk
|
||
|
------------------------------------------------------------------------------------------------------------------------------------------
|
||
|
|
||
|
.. contents::
|
||
|
|
||
|
POST /v2/compute/projects/**{project_id}**/qemu/nodes/**{node_id}**/resize_disk
|
||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
Resize a Qemu VM disk image
|
||
|
|
||
|
Parameters
|
||
|
**********
|
||
|
- **project_id**: Project UUID
|
||
|
- **node_id**: Node UUID
|
||
|
|
||
|
Response status codes
|
||
|
**********************
|
||
|
- **201**: Instance updated
|
||
|
- **404**: Instance doesn't exist
|
||
|
|
||
|
Input
|
||
|
*******
|
||
|
.. raw:: html
|
||
|
|
||
|
<table>
|
||
|
<tr> <th>Name</th> <th>Mandatory</th> <th>Type</th> <th>Description</th> </tr>
|
||
|
<tr><td>drive_name</td> <td>✔</td> <td>enum</td> <td>Possible values: hda, hdb, hdc, hdd</td> </tr>
|
||
|
<tr><td>extend</td> <td>✔</td> <td>integer</td> <td>Number of Megabytes to extend the image</td> </tr>
|
||
|
</table>
|
||
|
|