Open usbalbin opened 2 years ago
Add a Host type to interact with hosts. Some of the procedures available for hosts([see all_procedures.md](https://github.com/usbalbin/xo-api-client/blob/master/all_procedures.md for more)):
Host
host.emergencyShutdownHost host=<string>
host.restart id=<string> [force=<boolean>]
host.setMaintenanceMode id=<string> maintenance=<boolean>
host.start id=<string>
host.stats host=<string> [granularity=<string>]
host.stop id=<string>
Add a
Host
type to interact with hosts. Some of the procedures available for hosts([see all_procedures.md](https://github.com/usbalbin/xo-api-client/blob/master/all_procedures.md for more)):host.emergencyShutdownHost host=<string>
suspend all VMs and shutdown hosthost.restart id=<string> [force=<boolean>]
restart the hosthost.setMaintenanceMode id=<string> maintenance=<boolean>
manage the maintenance modehost.start id=<string>
start the hosthost.stats host=<string> [granularity=<string>]
returns statistic of the host`host.stop id=<string>
stop the host