Shut a server down
/api/v1/srv/shutdown?srv=srv&vdc=controller-name
/api/v1/srv/shutdown?&all&vdc=controller-name
Name of the server to be shutdown.
Name of the target virtual data center
Shut all servers down. Exclusive of the srv argument.
Reason why the server is being shut down.
asynchronous
GET
Shut server srv1 down.
GET http://aux/api/v1/srv/shutdown?srv=srv1&reason=maintenance&vdc=mygrid
Shut all servers down on mygrid.
GET http://192.168.123.200/api/v1/srv/shutdown?&all&vdc=mygrid
<opt></opt>
{}
Entity vdc mygrid not found - A VDC name was specified that is not configured in the WS_API application.
|
Copyright © 2012 CA.
All rights reserved.
|
|