Lock a class
/api/v1/class/lock?class=class&pwd=password&vdc=controller-name
Name of the class to be locked
Password
Name of the target virtual data center
synchronous
GET
Lock class /test:IN.
GET http://192.168.123.200/api/v1/class/lock?class=/test:IN&pwd=password&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 (class). - Argument class=entity missing in the request.
Missing required arguments (pwd). - Argument pwd=password missing in the request.
Global catalog 'test' not found. - Invalid catalog specified in the request.
Class 'LUX' not found. - Invalid class specified in the request.
Note: The password specified to lock a class is required to unlock the class. When a class is locked, the following operations cannot be executed by non-administrators:
|
Copyright © 2012 CA.
All rights reserved.
|
|