Reboot VS

Da Wiki Neen.
(Differenze fra le revisioni)
(Creata pagina con 'To reboot a VS: POST /virtual_machines/:virtual_machine_id/reboot.xml<br>POST /virtual_machines/:virtual_machine_id/reboot.json XML Request example curl -i -X POST -u user:us...')
 
 
(Una revisione intermedia di un utente non mostrate)
Riga 1: Riga 1:
To reboot a VS:
+
To reboot a VS:  
  
 
POST /virtual_machines/:virtual_machine_id/reboot.xml<br>POST /virtual_machines/:virtual_machine_id/reboot.json  
 
POST /virtual_machines/:virtual_machine_id/reboot.xml<br>POST /virtual_machines/:virtual_machine_id/reboot.json  
  
XML Request example
+
XML Request example  
  
curl -i -X POST -u user:userpass --url http://<span style="background-color: navy; color: white;" />cloud.neen.it/virtual_machines/:virtual_machine_id/reboot.xml
+
curl -i -X POST -u user:userpass --url http://cloud.neen.it/virtual_machines/:virtual_machine_id/reboot.xml  
  
JSON Request example
+
JSON Request example  
  
curl -i -X POST -u user:userpass --url http://<span style="background-color: navy; color: white;" />cloud.neen.it/virtual_machines/:virtual_machine_id/reboot.json
+
curl -i -X POST -u user:userpass --url http://cloud.neen.it/virtual_machines/:virtual_machine_id/reboot.json  
  
<br>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).
+
<br>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).  
  
<br><br>
+
<br><br>  
 +
 
 +
[[Category:Neencloud]]

Versione attuale delle 17:10, 20 feb 2014

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