public static class DescribeGroupMonitoringAgentProcessResponseBody.DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessAlertConfigAlertConfig
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
comparisonOperator
The comparison operator that is used to compare the metric value with the threshold.
|
String |
effectiveInterval
The time period during which the alert rule is effective.
|
String |
escalationsLevel
The level of the alert.
|
String |
noEffectiveInterval
The time period during which the alert rule is ineffective.
|
String |
silenceTime
The mute period during which new alert notifications are not sent even if the trigger conditions are met.
|
String |
statistics
The method used to calculate metric values that trigger alerts.
|
DescribeGroupMonitoringAgentProcessResponseBody.DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessAlertConfigAlertConfigTargetList |
targetList
The resource for which alerts are triggered.
|
String |
threshold
The alert threshold.
|
String |
times
The number of times for which the threshold can be consecutively exceeded.
|
String |
webhook
The callback URL to which a POST request is sent when an alert is triggered based on the alert rule.
|
| 构造器和说明 |
|---|
DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessAlertConfigAlertConfig() |
@NameInMap(value="ComparisonOperator") public String comparisonOperator
The comparison operator that is used to compare the metric value with the threshold. Valid values:
* GreaterThanOrEqualToThreshold: greater than or equal to the threshold
* GreaterThanThreshold: greater than the threshold
* LessThanOrEqualToThreshold: less than or equal to the threshold
* LessThanThreshold: less than the threshold
* NotEqualToThreshold: not equal to the threshold
* 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="EffectiveInterval") public String effectiveInterval
The time period during which the alert rule is effective.
@NameInMap(value="EscalationsLevel") public String escalationsLevel
The level of the alert. Valid values:
* critical
* warn
* Info
@NameInMap(value="NoEffectiveInterval") public String noEffectiveInterval
The time period during which the alert rule is ineffective.
@NameInMap(value="SilenceTime") public String silenceTime
The mute period during which new alert notifications are not sent even if the trigger conditions are met. Unit: seconds. Minimum value: 3600, which is equivalent to one hour. Default value: 86400, which is equivalent to one day.
> Only one alert notification is sent during each mute period even if the metric value exceeds the alert threshold several times.
@NameInMap(value="Statistics") public String statistics
The method used to calculate metric values that trigger alerts.
@NameInMap(value="TargetList") public DescribeGroupMonitoringAgentProcessResponseBody.DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessAlertConfigAlertConfigTargetList targetList
The resource for which alerts are triggered.
@NameInMap(value="Threshold") public String threshold
The alert threshold.
@NameInMap(value="Times") public String times
The number of times for which the threshold can be consecutively exceeded.
> A metric triggers an alert only after the metric value reaches the threshold consecutively for the specified times.
@NameInMap(value="Webhook") public String webhook
The callback URL to which a POST request is sent when an alert is triggered based on the alert rule.
public DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessAlertConfigAlertConfig()
public static DescribeGroupMonitoringAgentProcessResponseBody.DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessAlertConfigAlertConfig build(Map<String,?> map) throws Exception
Exceptionpublic DescribeGroupMonitoringAgentProcessResponseBody.DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessAlertConfigAlertConfig setComparisonOperator(String comparisonOperator)
public String getComparisonOperator()
public DescribeGroupMonitoringAgentProcessResponseBody.DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessAlertConfigAlertConfig setEffectiveInterval(String effectiveInterval)
public String getEffectiveInterval()
public DescribeGroupMonitoringAgentProcessResponseBody.DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessAlertConfigAlertConfig setEscalationsLevel(String escalationsLevel)
public String getEscalationsLevel()
public DescribeGroupMonitoringAgentProcessResponseBody.DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessAlertConfigAlertConfig setNoEffectiveInterval(String noEffectiveInterval)
public String getNoEffectiveInterval()
public DescribeGroupMonitoringAgentProcessResponseBody.DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessAlertConfigAlertConfig setSilenceTime(String silenceTime)
public String getSilenceTime()
public DescribeGroupMonitoringAgentProcessResponseBody.DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessAlertConfigAlertConfig setStatistics(String statistics)
public String getStatistics()
public DescribeGroupMonitoringAgentProcessResponseBody.DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessAlertConfigAlertConfig setTargetList(DescribeGroupMonitoringAgentProcessResponseBody.DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessAlertConfigAlertConfigTargetList targetList)
public DescribeGroupMonitoringAgentProcessResponseBody.DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessAlertConfigAlertConfigTargetList getTargetList()
public DescribeGroupMonitoringAgentProcessResponseBody.DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessAlertConfigAlertConfig setThreshold(String threshold)
public String getThreshold()
public DescribeGroupMonitoringAgentProcessResponseBody.DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessAlertConfigAlertConfig setTimes(String times)
public String getTimes()
public DescribeGroupMonitoringAgentProcessResponseBody.DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessAlertConfigAlertConfig setWebhook(String webhook)
public String getWebhook()
Copyright © 2024. All rights reserved.