Revision 4c98b915 doc/rapi.rst
b/doc/rapi.rst | ||
---|---|---|
334 | 334 |
It supports the ``dry-run`` argument. |
335 | 335 |
|
336 | 336 |
|
337 |
``/2/instances/[instance_name]/replace-disks`` |
|
338 |
++++++++++++++++++++++++++++++++++++++++++++++ |
|
339 |
|
|
340 |
Replaces disks on an instance. |
|
341 |
|
|
342 |
It supports the following commands: ``POST``. |
|
343 |
|
|
344 |
``POST`` |
|
345 |
~~~~~~~~ |
|
346 |
|
|
347 |
Takes the parameters ``mode`` (one of ``replace_on_primary``, |
|
348 |
``replace_on_secondary``, ``replace_new_secondary`` or ``replace_auto``), |
|
349 |
``disks`` (comma separated list of disk indexes), ``remote_node`` and |
|
350 |
``iallocator``. |
|
351 |
|
|
352 |
|
|
337 | 353 |
``/2/instances/[instance_name]/tags`` |
338 | 354 |
+++++++++++++++++++++++++++++++++++++ |
339 | 355 |
|
Also available in: Unified diff