ImportExport - importObjectMergeEnumProperties
ImportExport - importObjectMergeEnumProperties
Description :
This command imports an object into the BMC BladeLogic system.
Return type : java.lang.Void
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
sourcePath | String | Name of the directory where the object you want to import is located. |
mappingFile | String | Location of a mapping file used to resolve any conflicts that occur when importing. |
ignoreDeprecatedStringEnumValues | Boolean | A boolean, if true, it will ignore deprecated name/value pairs in the source string enumeration unless it is being used by the object. |
mergeStringEnums | Boolean | A boolean, if true, it will attempt to merge any name/value pairs in the source that is not in the destination with those name/value pairs in the destination. |
Example
The following example shows how to import an object stored in the directory /c/exportedObjects/template1, using the mapping file template1_mapping.xml while ignoring deprecated string enum values and merging valid values from the source to the destination.
Script
blcli ImportExport importObjectMergeEnumProperties /c/exportedObjects/template1 /c/exportedObjects/template1_mapping.xml true true