Disable a server for scheduling
/api/v1/srv/disable?srv=srv&vdc=controller-name
Name of the server
Disable all servers. Exclusive of the srv argument.
Name of the target virtual data center
synchronous
GET
Disable srv1.
GET http://192.168.123.200/api/v1/srv/disable?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 disable server srv - it doesn't exist. An invalid server name was specified in the request.
|
Copyright © 2012 CA.
All rights reserved.
|
|