enable_sla
Enables an SLA for a target.
Format
emcli enable_sla -targetName=<target_name> -targetType=<target_type> -slaName=<SLA_name> [-now] [-versionStart=<MM/dd/yyyy hh:mm a>] [ ] indicates that the parameter is optional
Options
-
targetName
Name of the target.
-
targetType
Type of target.
-
slaName
Name of the SLA.
-
now
Enables the SLA now, or uses versionStart for a specific time.
-
versionStart
Specifies when the computation of the SLA should start.
Examples
Example 1
This example immediately enables an SLA named 'gold_sla' for target my_service (generic_service).
emcli enable_sla -targetName='my_service' -targetType='generic_service' -slaName='gold_sla' -versionNum=2 -now
Example 2
This example enables a SLA named 'gold_sla' for target my_service (generic_service). It becomes active and starts computing at '09/23/2012 3:30 PM'.
emcli enable_sla -targetName='my_service' -targetType='generic_service' -slaName='gold_sla' -versionNum=2 -versionStart='09/23/2012 3:30 PM'