set_main_ip
Set a primary IP address for a server that has multiple addresses. Specify server ID, IP, and the intended main IP, then confirm to apply the change.
Instructions
Назначить основной IP-адрес сервера (ip/set_main), когда адресов несколько.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID сервера | |
| ip | Yes | IP-адрес | |
| main | Yes | IP-адрес, который станет основным | |
| confirm | Yes | Нужно true, чтобы выполнить операцию. |