Reboot VS

Da Wiki Neen.

To reboot a VS:

POST /virtual_machines/:virtual_machine_id/reboot.xml
POST /virtual_machines/:virtual_machine_id/reboot.json

XML Request example

curl -i -X POST -u user:userpass --url http://cloud.neen.it/virtual_machines/:virtual_machine_id/reboot.xml

JSON Request example

curl -i -X POST -u user:userpass --url http://cloud.neen.it/virtual_machines/:virtual_machine_id/reboot.json


An HTTP 201 response is returned on a successful reboot. Unsuccessful reboot responses include HTTP 404 (resource not found – e.g. if the VS isn't online) and HTTP 422 (request cannot be processed – for example, if parameters were incorrect).



Strumenti personali
Namespace
Varianti
Azioni
Navigazione
Strumenti