public static class ModifyGroupMonitoringAgentProcessRequest.ModifyGroupMonitoringAgentProcessRequestAlertConfig
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 alerts are not sent even if the trigger conditions are met.
|
String |
statistics
The statistical aggregation method that is used to calculate the metric values.
|
List<ModifyGroupMonitoringAgentProcessRequest.ModifyGroupMonitoringAgentProcessRequestAlertConfigTargetList> |
targetList |
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.
|
| 构造器和说明 |
|---|
ModifyGroupMonitoringAgentProcessRequestAlertConfig() |
@NameInMap(value="ComparisonOperator") public String comparisonOperator
The comparison operator that is used to compare the metric value with the threshold. Valid values of N: 1 to 200. 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. Valid values of N: 1 to 200.
@NameInMap(value="EscalationsLevel") public String escalationsLevel
The level of the alert. Valid values of N: 1 to 200. Valid values:
* critical (default value): critical
* warn: warning
* info: information
@NameInMap(value="NoEffectiveInterval") public String noEffectiveInterval
The time period during which the alert rule is ineffective. Valid values of N: 1 to 200.
@NameInMap(value="SilenceTime") public String silenceTime
The mute period during which new alerts are not sent even if the trigger conditions are met. Valid values of N: 1 to 200.
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 a mute period even if the metric value exceeds the alert threshold during consecutive checks.
@NameInMap(value="Statistics") public String statistics
The statistical aggregation method that is used to calculate the metric values. Valid values of N: 1 to 200.
> Set the value to Average.
@NameInMap(value="TargetList") public List<ModifyGroupMonitoringAgentProcessRequest.ModifyGroupMonitoringAgentProcessRequestAlertConfigTargetList> targetList
@NameInMap(value="Threshold") public String threshold
The alert threshold. Valid values of N: 1 to 200.
@NameInMap(value="Times") public String times
The number of times for which the threshold can be consecutively exceeded. Valid values of N: 1 to 200. Default value: 3.
> 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. Valid values of N: 1 to 200.
public ModifyGroupMonitoringAgentProcessRequestAlertConfig()
public static ModifyGroupMonitoringAgentProcessRequest.ModifyGroupMonitoringAgentProcessRequestAlertConfig build(Map<String,?> map) throws Exception
Exceptionpublic ModifyGroupMonitoringAgentProcessRequest.ModifyGroupMonitoringAgentProcessRequestAlertConfig setComparisonOperator(String comparisonOperator)
public String getComparisonOperator()
public ModifyGroupMonitoringAgentProcessRequest.ModifyGroupMonitoringAgentProcessRequestAlertConfig setEffectiveInterval(String effectiveInterval)
public String getEffectiveInterval()
public ModifyGroupMonitoringAgentProcessRequest.ModifyGroupMonitoringAgentProcessRequestAlertConfig setEscalationsLevel(String escalationsLevel)
public String getEscalationsLevel()
public ModifyGroupMonitoringAgentProcessRequest.ModifyGroupMonitoringAgentProcessRequestAlertConfig setNoEffectiveInterval(String noEffectiveInterval)
public String getNoEffectiveInterval()
public ModifyGroupMonitoringAgentProcessRequest.ModifyGroupMonitoringAgentProcessRequestAlertConfig setSilenceTime(String silenceTime)
public String getSilenceTime()
public ModifyGroupMonitoringAgentProcessRequest.ModifyGroupMonitoringAgentProcessRequestAlertConfig setStatistics(String statistics)
public String getStatistics()
public ModifyGroupMonitoringAgentProcessRequest.ModifyGroupMonitoringAgentProcessRequestAlertConfig setTargetList(List<ModifyGroupMonitoringAgentProcessRequest.ModifyGroupMonitoringAgentProcessRequestAlertConfigTargetList> targetList)
public List<ModifyGroupMonitoringAgentProcessRequest.ModifyGroupMonitoringAgentProcessRequestAlertConfigTargetList> getTargetList()
public ModifyGroupMonitoringAgentProcessRequest.ModifyGroupMonitoringAgentProcessRequestAlertConfig setThreshold(String threshold)
public String getThreshold()
public ModifyGroupMonitoringAgentProcessRequest.ModifyGroupMonitoringAgentProcessRequestAlertConfig setTimes(String times)
public String getTimes()
public ModifyGroupMonitoringAgentProcessRequest.ModifyGroupMonitoringAgentProcessRequestAlertConfig setWebhook(String webhook)
public String getWebhook()
Copyright © 2024. All rights reserved.