Enable a server for scheduling
/api/v1/srv/enable?srv=srv&vdc=controller-name
Name of the server
Enable all servers. Exclusive of the srv argument.
Name of the target virtual data center
synchronous
GET
Enable srv1.
GET http://192.168.123.200/api/v1/srv/enable?srv=srv1&vdc=mygrid
<opt></opt>
{}
Entity vdc mygrid not found - A VDC name was specified that is not configured in the WS_API application.
Missing required arguments (srv). - Argument srv=srv-name was not specified.
Entity not found - Failed to enable server srv - Failed to retrieve server information.
|
Copyright © 2012 CA.
All rights reserved.
|
|