SmartDepotGroup - updateById
SmartDepotGroup - updateById
Description :
This command updates the definition of the destination smart depot group, based on the definition of the source smart depot 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 depot group. |
destSmartGroupId | Integer | ID of the destination smart depot group. |
Example
The following example finds the ID of a source smart depot group and the ID of a destination smart depot group. Then it updates the destination smart depot group.
Script
SRC_ID=`blcli SmartDepotGroup groupNameToId /f2/newSmartGroup`
DEST_ID=`blcli SmartDepotGroup groupNameToId /f1/oldSmartGroup`
blcli SmartDepotGroup updateById $SRC_ID $DEST_ID
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*