ConfigurationObjectClass - getDBKeyByNameAndVersion
ConfigurationObjectClass - getDBKeyByNameAndVersion
Description :
This command returns a handle to a configuration object class. You must provide the configuration object class internal name and version.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
className | String | Name of the configuration object class. |
classVersion | Integer | Version of the configuration object class. |
Example
The following example gets the handle of a configuration object class:
Script
CLASS_NAME="myconfigobjclass"
CLASS_VERSION="2"
CLASS_DBKEY=`blcli ConfigurationObjectClass getDBKeyByNameAndVersion $CLASS_NAME $CLASS_VERSION`
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*