Lock an application template
/api/v1/template/lock?template=template&pwd=password&vdc=controller-name
Name of the application template
Password
Name of the target virtual data center
synchronous
GET
Lock application template VDS_CentOS51_r15.
GET http://192.168.123.200/api/v1/template/lock?template=VDS_CentOS51_r15&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 (template). - Argument template=template missing in the request.
Missing required arguments (pwd). - Argument password=password missing in the request.
Permission Denied for ‘lock’ access on object ‘application’ with name ‘VDS_CentOS55_r5’.
Entity not found – Permission Denied – application VDS_CentOS_r1 does not exist.
Note: The password that is used to lock a template application is required to unlock the application. When a template application is locked, no volumes belonging to the application may be managed and the application may not be modified in any way.
|
Copyright © 2012 CA.
All rights reserved.
|
|