Revision 3882937a doc/rapi.rst
b/doc/rapi.rst | ||
---|---|---|
671 | 671 |
Whether to ensure instance's name is resolvable. |
672 | 672 |
|
673 | 673 |
|
674 |
``/2/instances/[instance_name]/modify`` |
|
675 |
++++++++++++++++++++++++++++++++++++++++ |
|
676 |
|
|
677 |
Modifies an instance. |
|
678 |
|
|
679 |
Supports the following commands: ``PUT``. |
|
680 |
|
|
681 |
``PUT`` |
|
682 |
~~~~~~~ |
|
683 |
|
|
684 |
Returns a job ID. |
|
685 |
|
|
686 |
Body parameters: |
|
687 |
|
|
688 |
``osparams`` (dict) |
|
689 |
Dictionary with OS parameters. |
|
690 |
``hvparams`` (dict) |
|
691 |
Hypervisor parameters, hypervisor-dependent. |
|
692 |
``beparams`` (dict) |
|
693 |
Backend parameters. |
|
694 |
``force`` (bool) |
|
695 |
Whether to force the operation. |
|
696 |
``nics`` (list) |
|
697 |
List of NIC changes. Each item is of the form ``(op, settings)``. |
|
698 |
``op`` can be ``add`` to add a new NIC with the specified settings, |
|
699 |
``remove`` to remove the last NIC or a number to modify the settings |
|
700 |
of the NIC with that index. |
|
701 |
``disks`` (list) |
|
702 |
List of disk changes. See ``nics``. |
|
703 |
``disk_template`` (string) |
|
704 |
Disk template for instance. |
|
705 |
``remote_node`` (string) |
|
706 |
Secondary node (used when changing disk template). |
|
707 |
``os_name`` (string) |
|
708 |
Change instance's OS name. Does not reinstall the instance. |
|
709 |
``force_variant`` (bool) |
|
710 |
Whether to force an unknown variant. |
|
711 |
|
|
712 |
|
|
674 | 713 |
``/2/instances/[instance_name]/tags`` |
675 | 714 |
+++++++++++++++++++++++++++++++++++++ |
676 | 715 |
|
Also available in: Unified diff