public static class DescribeSiteMonitorAttributeResponseBody.DescribeSiteMonitorAttributeResponseBodyMetricRulesMetricRule
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
actionEnable
Indicates whether the alert rule is enabled.
|
String |
alarmActions
The alert contact group to which alert notifications are sent.
|
String |
comparisonOperator
The operator that is used to compare the metric value with the threshold in the alert rule.
|
String |
dimensions
The dimension of the alert rule.
|
String |
evaluationCount
The consecutive number of times for which the metric value meets the alert condition before an alert is triggered.
|
String |
expression
The expression that is used to trigger alerts.
|
String |
level
The alert severity.
|
String |
metricName
The metric name.
|
String |
namespace
The namespace of the cloud service.
|
String |
okActions
The alert contact group that receives alert notifications.
|
String |
period
The time interval.
|
String |
ruleId
The ID of the alert rule.
|
String |
ruleName
The name of the alert rule.
|
String |
stateValue
The alert status.
|
String |
statistics
The statistical method of the alert rule.
|
String |
threshold
The alert threshold.
|
| 构造器和说明 |
|---|
DescribeSiteMonitorAttributeResponseBodyMetricRulesMetricRule() |
@NameInMap(value="ActionEnable") public String actionEnable
Indicates whether the alert rule is enabled. Valid values:
* true: The alert rule is enabled.
* false: The alert rule is disabled.
@NameInMap(value="AlarmActions") public String alarmActions
The alert contact group to which alert notifications are sent.
@NameInMap(value="ComparisonOperator") public String comparisonOperator
The operator that is used to compare the metric value with the threshold in the alert rule. Valid values:
* `>=`
* `>`
* `<=`
* `<`
* `=`
* `!=`
* GreaterThanYesterday: greater than the metric value at the same time yesterday
* LessThanYesterday: less than the metric value at the same time yesterday
* GreaterThanLastWeek: greater than the metric value at the same time last week
* LessThanLastWeek: less than the metric value at the same time last week
* GreaterThanLastPeriod: greater than the metric value in the last monitoring cycle
* LessThanLastPeriod: less than the metric value in the last monitoring cycle
@NameInMap(value="Dimensions") public String dimensions
The dimension of the alert rule.
@NameInMap(value="EvaluationCount") public String evaluationCount
The consecutive number of times for which the metric value meets the alert condition before an alert is triggered.
@NameInMap(value="Expression") public String expression
The expression that is used to trigger alerts.
@NameInMap(value="Level") public String level
The alert severity. Valid values:
* 1: critical
* 2: warning
* 3: information
@NameInMap(value="MetricName") public String metricName
The metric name.
@NameInMap(value="Namespace") public String namespace
The namespace of the cloud service.
The value is in the following format: acs_service name.
@NameInMap(value="OkActions") public String okActions
The alert contact group that receives alert notifications.
@NameInMap(value="Period") public String period
The time interval. The value is the same as the interval at which metric data is reported. Unit: seconds.
> If you specify a statistical period for the alert rule, data is queried based on the statistical period.
@NameInMap(value="RuleId") public String ruleId
The ID of the alert rule.
@NameInMap(value="RuleName") public String ruleName
The name of the alert rule.
@NameInMap(value="StateValue") public String stateValue
The alert status. Valid values:
* OK: The alert rule has no active alerts.
* ALARM: The alert rule has active alerts.
@NameInMap(value="Statistics") public String statistics
The statistical method of the alert rule. Valid values:
* Availability: the percentage of available detection points
* AvailableNumber: the number of available detection points
* ErrorCodeMaximum: a status code for an alert
* ErrorCodeMinimum: all status codes for a set of alerts
* Average: response time
@NameInMap(value="Threshold") public String threshold
The alert threshold.
public DescribeSiteMonitorAttributeResponseBodyMetricRulesMetricRule()
public static DescribeSiteMonitorAttributeResponseBody.DescribeSiteMonitorAttributeResponseBodyMetricRulesMetricRule build(Map<String,?> map) throws Exception
Exceptionpublic DescribeSiteMonitorAttributeResponseBody.DescribeSiteMonitorAttributeResponseBodyMetricRulesMetricRule setActionEnable(String actionEnable)
public String getActionEnable()
public DescribeSiteMonitorAttributeResponseBody.DescribeSiteMonitorAttributeResponseBodyMetricRulesMetricRule setAlarmActions(String alarmActions)
public String getAlarmActions()
public DescribeSiteMonitorAttributeResponseBody.DescribeSiteMonitorAttributeResponseBodyMetricRulesMetricRule setComparisonOperator(String comparisonOperator)
public String getComparisonOperator()
public DescribeSiteMonitorAttributeResponseBody.DescribeSiteMonitorAttributeResponseBodyMetricRulesMetricRule setDimensions(String dimensions)
public String getDimensions()
public DescribeSiteMonitorAttributeResponseBody.DescribeSiteMonitorAttributeResponseBodyMetricRulesMetricRule setEvaluationCount(String evaluationCount)
public String getEvaluationCount()
public DescribeSiteMonitorAttributeResponseBody.DescribeSiteMonitorAttributeResponseBodyMetricRulesMetricRule setExpression(String expression)
public String getExpression()
public DescribeSiteMonitorAttributeResponseBody.DescribeSiteMonitorAttributeResponseBodyMetricRulesMetricRule setLevel(String level)
public String getLevel()
public DescribeSiteMonitorAttributeResponseBody.DescribeSiteMonitorAttributeResponseBodyMetricRulesMetricRule setMetricName(String metricName)
public String getMetricName()
public DescribeSiteMonitorAttributeResponseBody.DescribeSiteMonitorAttributeResponseBodyMetricRulesMetricRule setNamespace(String namespace)
public String getNamespace()
public DescribeSiteMonitorAttributeResponseBody.DescribeSiteMonitorAttributeResponseBodyMetricRulesMetricRule setOkActions(String okActions)
public String getOkActions()
public DescribeSiteMonitorAttributeResponseBody.DescribeSiteMonitorAttributeResponseBodyMetricRulesMetricRule setPeriod(String period)
public String getPeriod()
public DescribeSiteMonitorAttributeResponseBody.DescribeSiteMonitorAttributeResponseBodyMetricRulesMetricRule setRuleId(String ruleId)
public String getRuleId()
public DescribeSiteMonitorAttributeResponseBody.DescribeSiteMonitorAttributeResponseBodyMetricRulesMetricRule setRuleName(String ruleName)
public String getRuleName()
public DescribeSiteMonitorAttributeResponseBody.DescribeSiteMonitorAttributeResponseBodyMetricRulesMetricRule setStateValue(String stateValue)
public String getStateValue()
public DescribeSiteMonitorAttributeResponseBody.DescribeSiteMonitorAttributeResponseBodyMetricRulesMetricRule setStatistics(String statistics)
public String getStatistics()
public DescribeSiteMonitorAttributeResponseBody.DescribeSiteMonitorAttributeResponseBodyMetricRulesMetricRule setThreshold(String threshold)
public String getThreshold()
Copyright © 2024. All rights reserved.