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.

Template - updateByDBKey


Template - updateByDBKey

Description :

This command updates the destination template using the contents of the source template. For information about the update process, see Import-and-export-concepts.

Return type : com.bladelogic.om.infra.model.template.Template

Command Input :

Variable Name

Variable Type

Description

srcTemplateDBKey

DBKey

Handle to the source template.

destTemplateDBKey

DBKey

Handle to the destination template.

Example

The following example gets a handle to the source template and a handle to the destination template. Then it updates the destination template.

Script


DBKEY_SRC=`blcli Template getDBKeyByGroupAndName /group2 newTemplate`

DBKEY_DEST=`blcli Template getDBKeyByGroupAndName /group1 oldTemplate`

blcli Template updateByDBKey $DBKEY_SRC $DBKEY_DEST



 

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

BMC Server Automation Command Line Interface 8.3