Template - getParameterInstancePropertyValue
Template - getParameterInstancePropertyValue
Description :
This command retrieves a property value from a local property set instance from inside a template. If the instance is not defined or if the instance's class does not define the property, the command fails.
Return type : String
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
templateName | String | Name of the template. |
groupName | String | Fully qualified group name. |
instanceName | String | Name of the instance you are retrieving. |
propertyName | String | Name of the property whose value you want to get. |
Example
This example retrieves the value of the "FOO" property in a "Dev" instance of an Apache template at the group location "/Applications/WebServers/Unix".
Script
Template getParameterInstance Apache /Applications/WebServers/Unix Dev FOO
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*