public class MetricAlarm extends AbstractModel
header, skipSign
Constructor and Description |
---|
MetricAlarm() |
MetricAlarm(MetricAlarm source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getComparisonOperator()
Get Comparison operator.
|
Long |
getContinuousTime()
Get Number of repetitions.
|
String |
getMetricName()
Get Metric names, with the following optional fields:
CPU_UTILIZATION: CPU utilization. MEM_UTILIZATION: Memory utilization. LAN_TRAFFIC_OUT: Private network outbound bandwidth. LAN_TRAFFIC_IN: Private network inbound bandwidth. WAN_TRAFFIC_OUT: Public network outbound bandwidth. WAN_TRAFFIC_IN: Public network inbound bandwidth. TCP_CURR_ESTAB: TCP connections. |
Long |
getPeriod()
Get Time period in seconds.
|
Float |
getPreciseThreshold()
Get Precise alarm threshold values.
|
String |
getStatistic()
Get Statistics type.
|
Long |
getThreshold()
Get Alarm threshold values:
CPU_UTILIZATION: [1, 100], Unit: %. MEM_UTILIZATION: [1, 100], Unit: %. LAN_TRAFFIC_OUT: >0, Unit: Mbps. LAN_TRAFFIC_IN: >0, Unit: Mbps. WAN_TRAFFIC_OUT: >0, Unit: Mbps. WAN_TRAFFIC_IN: >0, Unit: Mbps. TCP_CURR_ESTAB: >0, Unit: Count. |
void |
setComparisonOperator(String ComparisonOperator)
Set Comparison operator.
|
void |
setContinuousTime(Long ContinuousTime)
Set Number of repetitions.
|
void |
setMetricName(String MetricName)
Set Metric names, with the following optional fields:
CPU_UTILIZATION: CPU utilization. MEM_UTILIZATION: Memory utilization. LAN_TRAFFIC_OUT: Private network outbound bandwidth. LAN_TRAFFIC_IN: Private network inbound bandwidth. WAN_TRAFFIC_OUT: Public network outbound bandwidth. WAN_TRAFFIC_IN: Public network inbound bandwidth. TCP_CURR_ESTAB: TCP connections. |
void |
setPeriod(Long Period)
Set Time period in seconds.
|
void |
setPreciseThreshold(Float PreciseThreshold)
Set Precise alarm threshold values.
|
void |
setStatistic(String Statistic)
Set Statistics type.
|
void |
setThreshold(Long Threshold)
Set Alarm threshold values:
CPU_UTILIZATION: [1, 100], Unit: %. MEM_UTILIZATION: [1, 100], Unit: %. LAN_TRAFFIC_OUT: >0, Unit: Mbps. LAN_TRAFFIC_IN: >0, Unit: Mbps. WAN_TRAFFIC_OUT: >0, Unit: Mbps. WAN_TRAFFIC_IN: >0, Unit: Mbps. TCP_CURR_ESTAB: >0, Unit: Count. |
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public MetricAlarm()
public MetricAlarm(MetricAlarm source)
public String getComparisonOperator()
public void setComparisonOperator(String ComparisonOperator)
ComparisonOperator
- Comparison operator. Value range: public String getMetricName()
public void setMetricName(String MetricName)
MetricName
- Metric names, with the following optional fields: public Long getThreshold()
public void setThreshold(Long Threshold)
Threshold
- Alarm threshold values: public Long getPeriod()
public void setPeriod(Long Period)
Period
- Time period in seconds. Enumerated values: 60, 300.public Long getContinuousTime()
public void setContinuousTime(Long ContinuousTime)
ContinuousTime
- Number of repetitions. Value range: [1, 10]public String getStatistic()
public void setStatistic(String Statistic)
Statistic
- Statistics type. Value range: public Float getPreciseThreshold()
public void setPreciseThreshold(Float PreciseThreshold)
PreciseThreshold
- Precise alarm threshold values. This parameter is not used as an input argument but is used solely as an output parameter for the query API: Copyright © 2024. All rights reserved.