list_sla
Lists the SLA life-cycle status and version information for a target. If you specify the slaName, the command prints the summary information of the different versions. If you do not specify the slaName, the command prints all the available SLA version series for a target. When you specify the version, this commands prints only summary information for the specified version.
Format
emcli list_sla -targetName=<target_name> -targetType=<target_type> [-slaName=<SLA_name>] [ ] indicates that the parameter is optional
Options
-
targetName
Name of the target.
-
targetType
Type of target.
-
slaName
Name of the SLA.
Examples
Example 1
This example prints the SLA information for one SLA.
emcli list_sla -targetName='my_service' -targetType='generic_service' -slaName='gold_sla' -version=2
Example 2
This example prints the SLA information for all SLAs of a target.
emcli list_sla -targetName='my_service' -targetType='generic_service'