Unlock an application template
/api/v1/template/unlock?template=template&pwd=password&vdc=controller-name
Name of the application template
Password
Name of the target virtual data center
synchronous
GET
Unlock application template VDS_CentOS51_r15.
GET http://192.168.123.200/api/v1/template/unlock?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: If the application was locked with a password, the passwords must match. If the application was locked without a password, then only an administrator may unlock the application.
|
Copyright © 2012 CA.
All rights reserved.
|
|