Template - updateByName


Template - updateByName

Description :

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

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

Command Input :

Variable Name

Variable Type

Description

srcTemplateName

String

Name of the source template.

destTemplateName

String

Name of the destination template.

srcTemplateGroupName

String

Name of the group to which the source template belongs.

destTemplateGroupName

String

Name of the group to which the destination template belongs.

Example

The following example specifies the group and name of a source template, and a group and name of a destination template. Then it updates the destination template.

Script


blcli Template updateByName newTemplate oldTemplate /group2 /group1



 

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