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.

SmartJobGroup - updateById


SmartJobGroup - updateById

Description :

This command updates the definition of the destination smart group, based on the definition of the source smart group.

Return type : com.bladelogic.om.infra.model.group.smartgroup.SmartGroup

Command Input :

Variable Name

Variable Type

Description

srcSmartGroupId

Integer

ID of the source smart group.

destSmartGroupId

Integer

ID of the destination smart group.

Example

This example finds the ID of a source smart job group and the ID of a destination smart job group. Then it updates the destination smart job group.

Script





SRC_ID=`blcli SmartJobGroup groupNameToId /f2/newSmartGroup`

DEST_ID=`blcli SmartJobGroup groupNameToId /f1/oldSmartGroup`

blcli SmartJobGroup updateById $SRC_ID $DEST_ID



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Server Automation Command Line Interface 8.5