PUT /api/hosts/host106.example190.com/power { "power_action": "status", "host": {} } 200 { "power": "on" }
參數名字 | 描述 |
---|---|
location_id 選填 |
位置範圍 Validations:
|
organization_id 選填 |
組織範圍 Validations:
|
id 必填 |
Validations:
|
power_action 必填 |
電源動作,有效的動作為(on/start)、(off/stop)、(soft/reboot)、(cycle/reset)、(state/status) Validations:
|