import_sla
Imports an SLA configuration XML file for a target. This verb provides the functionality of creating a new SLA, creating a new version, and creating a new copy.
Note:
The XML file can only contain one SLA to be imported; that is, when export_sla has successfully exported a file when slaName and version are specified.
Note:
The target must have the metrics required by the SLA template's SLI. If the template's SLI calls for a metric not found in the target, the SLI cannot be created.
Format
emcli import_sla
      -targetName=<target name>
      -targetType=<target type>
      -input_file=slaTemplate:<input filename>
      [-slaName=<SLA name>]
[ ]  indicates that the parameter is optionalOptions
- 
                        targetName Name of the target. 
- 
                        targetType Type of target. 
- 
                        input_file Name of the input file. There can only be one SLA root node in the XML document. For more information about the input_file parameter, see -input_file Syntax Guidelines. 
- 
                        slaName Specifying this name overrides the name contained in the SLA template XML file. This effectively creates a new SLA version series starting with version 1. 
Examples
This example creates an SLA named 'gold_sla' for the target my_service (generic_service).
    emcli import_sla
          -targetName='my_service' -targetType='generic_service'
          -slaName='gold_sla' -input_file=slaTemplate:'service_sla.xml'