public static class CreateGroupMonitoringAgentProcessRequest.CreateGroupMonitoringAgentProcessRequestAlertConfig
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
comparisonOperator
The operator that is used to compare the metric value with the threshold.
|
String |
effectiveInterval
The period of time during which the alert rule is effective.
|
String |
escalationsLevel
The alert level.
|
String |
noEffectiveInterval
This parameter is deprecated.
|
String |
silenceTime
The mute period during which new alert notifications 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<CreateGroupMonitoringAgentProcessRequest.CreateGroupMonitoringAgentProcessRequestAlertConfigTargetList> |
targetList
The alert triggers.
|
String |
threshold
The alert threshold.
|
String |
times
The number of times for which the threshold can be consecutively exceeded.
|
String |
webhook
The callback URL.
|
| 构造器和说明 |
|---|
CreateGroupMonitoringAgentProcessRequestAlertConfig() |
@NameInMap(value="ComparisonOperator") public String comparisonOperator
The operator that is used to compare the metric value with the threshold. Valid values:
Valid values of N: 1 to 3.
This parameter is required.
example:GreaterThanOrEqualToThreshold
@NameInMap(value="EffectiveInterval") public String effectiveInterval
The period of time during which the alert rule is effective.
Valid values of N: 1 to 3.
example:00:00-23:59
@NameInMap(value="EscalationsLevel") public String escalationsLevel
The alert level. Valid values:
Valid values of N: 1 to 3.
This parameter is required.
example:warn
@NameInMap(value="NoEffectiveInterval") public String noEffectiveInterval
This parameter is deprecated.
example:00:00-23:59
@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.
Valid values of N: 1 to 3.
example:Only one alert notification is sent during a mute period even if the metric value exceeds the alert threshold during consecutive checks.
86400
@NameInMap(value="Statistics") public String statistics
The statistical aggregation method that is used to calculate the metric values.
Valid values of N: 1 to 3.
Set the value to Average.
This parameter is required.
example:Average
@NameInMap(value="TargetList") public List<CreateGroupMonitoringAgentProcessRequest.CreateGroupMonitoringAgentProcessRequestAlertConfigTargetList> targetList
The alert triggers.
@NameInMap(value="Threshold") public String threshold
The alert threshold.
Valid values of N: 1 to 3.
This parameter is required.
example:5
@NameInMap(value="Times") public String times
The number of times for which the threshold can be consecutively exceeded. Default value: 3.
Valid values of N: 1 to 3.
A metric triggers an alert only after the metric value reaches the threshold consecutively for the specified times.
This parameter is required.
example:3
@NameInMap(value="Webhook") public String webhook
public CreateGroupMonitoringAgentProcessRequestAlertConfig()
public static CreateGroupMonitoringAgentProcessRequest.CreateGroupMonitoringAgentProcessRequestAlertConfig build(Map<String,?> map) throws Exception
Exceptionpublic CreateGroupMonitoringAgentProcessRequest.CreateGroupMonitoringAgentProcessRequestAlertConfig setComparisonOperator(String comparisonOperator)
public String getComparisonOperator()
public CreateGroupMonitoringAgentProcessRequest.CreateGroupMonitoringAgentProcessRequestAlertConfig setEffectiveInterval(String effectiveInterval)
public String getEffectiveInterval()
public CreateGroupMonitoringAgentProcessRequest.CreateGroupMonitoringAgentProcessRequestAlertConfig setEscalationsLevel(String escalationsLevel)
public String getEscalationsLevel()
public CreateGroupMonitoringAgentProcessRequest.CreateGroupMonitoringAgentProcessRequestAlertConfig setNoEffectiveInterval(String noEffectiveInterval)
public String getNoEffectiveInterval()
public CreateGroupMonitoringAgentProcessRequest.CreateGroupMonitoringAgentProcessRequestAlertConfig setSilenceTime(String silenceTime)
public String getSilenceTime()
public CreateGroupMonitoringAgentProcessRequest.CreateGroupMonitoringAgentProcessRequestAlertConfig setStatistics(String statistics)
public String getStatistics()
public CreateGroupMonitoringAgentProcessRequest.CreateGroupMonitoringAgentProcessRequestAlertConfig setTargetList(List<CreateGroupMonitoringAgentProcessRequest.CreateGroupMonitoringAgentProcessRequestAlertConfigTargetList> targetList)
public List<CreateGroupMonitoringAgentProcessRequest.CreateGroupMonitoringAgentProcessRequestAlertConfigTargetList> getTargetList()
public CreateGroupMonitoringAgentProcessRequest.CreateGroupMonitoringAgentProcessRequestAlertConfig setThreshold(String threshold)
public String getThreshold()
public CreateGroupMonitoringAgentProcessRequest.CreateGroupMonitoringAgentProcessRequestAlertConfig setTimes(String times)
public String getTimes()
public CreateGroupMonitoringAgentProcessRequest.CreateGroupMonitoringAgentProcessRequestAlertConfig setWebhook(String webhook)
public String getWebhook()
Copyright © 2026. All rights reserved.