Previous Topic: rename Method (template Object)Next Topic: lock Method (template Object)


config_boundary Method (template Object)

Note: This method has been deprecated and is included here for compatibility with existing user scripts. New users should use the config command with the option flag &boundary.

Description

Retrieve application template boundary

Syntax
/api/v1/template/config_boundary?template=template&vdc=controller-name 
Arguments
template

Name of the application template

vdc

Name of the target virtual data center

Transaction Type

synchronous

Request Type

GET

Examples

Retrieve boundary for application template VDS_CentOS51_r15.

GET http://192.168.123.200/api/v1/template/config_boundary?template=VDS_CentOS51_r15&vdc=mygrid 

Sample Output

XML:
<boundary> 
   <name>main</name> 
   <property dns1> 
      <mandatory>1</mandatory> 
      <type>string</type> 
   </property dns1> 
   <property dns2> 
      <dflt></dflt> 
      <type>string</type> 
   </property dns2> 
   .
   . 
   . 
   <resource bw> 
      <dflt>1000K</dflt> 
      <max>2G</max> 
      <min>1000K</min> 
   </resource bw> 
   . 
   . 
</boundary>
JSON:
{ 
   "property dns1" : { 
      "type" : "string", 
      "mandatory" : 1 
   }, 
   "property hostname" : { 
      "type" : "string", 
      "mandatory" : 1 
   }, 
   . 
   . 
   . 
   "resource mem" : { 
      "min" : "128M", 
      "max" : "32G", 
      "dflt" : "256M" 
   }, 
   . 
   . 
} 
HTTP Error Codes
404

Entity vdc mygrid not found - A VDC name was specified that is not configured in the WS_API application.

400.4

Missing required arguments (template). - Argument template=template missing in the request.

404.1

Entity not found – Permission Denied – application VDS_CentOS_r1 does not exist.