Information

This site will undergo a brief period of maintenance on Thursday, 23 April at 2:30 AM Central/1:00 PM IST. During a 30 minute window, site availability may be intermittent.

Information
Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

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*

BMC Server Automation Command Line Interface 8.5