Revision e23881ed doc/rapi.rst
b/doc/rapi.rst | ||
---|---|---|
824 | 824 |
Takes no parameters. |
825 | 825 |
|
826 | 826 |
|
827 |
``/2/instances/[instance_name]/disk/[disk_index]/grow`` |
|
828 |
+++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
|
829 |
|
|
830 |
Grows one disk of an instance. |
|
831 |
|
|
832 |
Supports the following commands: ``POST``. |
|
833 |
|
|
834 |
``POST`` |
|
835 |
~~~~~~~~ |
|
836 |
|
|
837 |
Returns a job ID. |
|
838 |
|
|
839 |
Body parameters: |
|
840 |
|
|
841 |
``amount`` (int, required) |
|
842 |
Amount of disk space to add. |
|
843 |
``wait_for_sync`` (bool) |
|
844 |
Whether to wait for the disk to synchronize. |
|
845 |
|
|
846 |
|
|
827 | 847 |
``/2/instances/[instance_name]/prepare-export`` |
828 | 848 |
+++++++++++++++++++++++++++++++++++++++++++++++++ |
829 | 849 |
|
Also available in: Unified diff