public static class SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRules
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRulesAlarmContext |
alarmContext
The format of the alert notification.
|
String |
alertLevel
The severity of the alerts.
|
SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRulesAlertRule |
alertRule
The conditions of the alert rule.
|
String |
alertTitle
The name of the alert rule.
|
Integer |
alertType
The type of the alert rule.
|
Integer |
alertVersion
The version of the alert rule.
|
List<String> |
alertWays
Sending method of alarm notification.
|
String |
config
The configuration items of the alert rule.
|
String |
contactGroupIdList
The ID of the contact group.
|
String |
contactGroupIds
The IDs of the alert contact groups.
|
Long |
createTime
The timestamp that shows when the alert rule was created.
|
Boolean |
hostByAlertManager
Indicates whether the alert is sent through the alert center.
|
Long |
id
The ID of the alert rule.
|
SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRulesMetricParam |
metricParam
The information about the application that is associated with the alert rule.
|
SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRulesNotice |
notice
The time ranges when the alert rule takes effect and when alert notifications are sent.
|
String |
regionId
The ID of the region to which the alert rule belongs.
|
String |
resourceGroupId
The ID of the resource group.
|
String |
status
The status of the alert rule.
|
Long |
taskId
The ID of the Application Real-Time Monitoring Service (ARMS) task that is associated with the alert rule.
|
String |
taskStatus
The status of the task.
|
String |
title
The name of the alert.
|
Long |
updateTime
The timestamp that shows when the alert rule was updated.
|
String |
userId
The ID of the user to which the alert rule belongs.
|
| 构造器和说明 |
|---|
SearchAlertRulesResponseBodyPageBeanAlertRules() |
@NameInMap(value="AlarmContext") public SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRulesAlarmContext alarmContext
The format of the alert notification.
@NameInMap(value="AlertLevel") public String alertLevel
The severity of the alerts. Only the value WARN is supported.
WARN
@NameInMap(value="AlertRule") public SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRulesAlertRule alertRule
The conditions of the alert rule. Multiple conditions are separated by the AND or OR logical operators.
@NameInMap(value="AlertTitle") public String alertTitle
The name of the alert rule.
example:TestAlertRule
@NameInMap(value="AlertType") public Integer alertType
The type of the alert rule. Valid values:
1: custom alert rules that are used to monitor drill-down data sets3: custom alert rules that are used to monitor tiled data sets4: alert rules that are used to monitor the browser, including the default frontend alert rules5: alert rules that are used to monitor applications, including the default application alert rules6: the default browser alert rules7: the default application alert rules8: Tracing Analysis alert rules101: Prometheus alert rules4
@NameInMap(value="AlertVersion") public Integer alertVersion
The version of the alert rule. Default value: 1.
1
@NameInMap(value="AlertWays") public List<String> alertWays
Sending method of alarm notification.
@NameInMap(value="Config") public String config
The configuration items of the alert rule. The value is a JSON string.
The configuration item continuous indicates whether alert notifications are continuously sent. Valid values:
true: Alert notifications are sent every minute.false: The alert silence feature is enabled.The configuration item dataRevision indicates the data revision policy that is used if no data is obtained or the data is null. Default value: 2. Valid values:
0: overwrites the data by using the value 01: overwrites the data by using the value 12: overwrites the data by using the value null. This value indicates that no alert is triggered if no data exists{\"continuous\":true,\"dataRevision\":2}
@NameInMap(value="ContactGroupIdList") public String contactGroupIdList
The ID of the contact group. Multiple IDs are separated by commas (,).
example:381*,572*
@NameInMap(value="ContactGroupIds") public String contactGroupIds
The IDs of the alert contact groups. The value is a JSON array.
example:[123, 234]
@NameInMap(value="CreateTime") public Long createTime
The timestamp that shows when the alert rule was created.
example:1579508519683
@NameInMap(value="HostByAlertManager") public Boolean hostByAlertManager
Indicates whether the alert is sent through the alert center. Valid values:
truefalsetrue
@NameInMap(value="Id") public Long id
The ID of the alert rule.
example:123
@NameInMap(value="MetricParam") public SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRulesMetricParam metricParam
The information about the application that is associated with the alert rule.
@NameInMap(value="Notice") public SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRulesNotice notice
The time ranges when the alert rule takes effect and when alert notifications are sent.
@NameInMap(value="RegionId") public String regionId
The ID of the region to which the alert rule belongs.
example:cn-hangzhou
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group.
example:rg-acfmxyexli2****
@NameInMap(value="Status") public String status
The status of the alert rule. RUNNING: The alert rule is enabled. STOPPED: The alert rule is disabled.
RUNNING
@NameInMap(value="TaskId") public Long taskId
The ID of the Application Real-Time Monitoring Service (ARMS) task that is associated with the alert rule.
example:123
@NameInMap(value="TaskStatus") public String taskStatus
The status of the task. This parameter is hidden from users.
example:""
@NameInMap(value="Title") public String title
The name of the alert.
example:AlertTest
@NameInMap(value="UpdateTime") public Long updateTime
The timestamp that shows when the alert rule was updated.
example:1480521600000
@NameInMap(value="UserId") public String userId
The ID of the user to which the alert rule belongs.
example:113197164949****
public SearchAlertRulesResponseBodyPageBeanAlertRules()
public static SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRules build(Map<String,?> map) throws Exception
Exceptionpublic SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRules setAlarmContext(SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRulesAlarmContext alarmContext)
public SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRulesAlarmContext getAlarmContext()
public SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRules setAlertLevel(String alertLevel)
public String getAlertLevel()
public SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRules setAlertRule(SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRulesAlertRule alertRule)
public SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRulesAlertRule getAlertRule()
public SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRules setAlertTitle(String alertTitle)
public String getAlertTitle()
public SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRules setAlertType(Integer alertType)
public Integer getAlertType()
public SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRules setAlertVersion(Integer alertVersion)
public Integer getAlertVersion()
public SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRules setAlertWays(List<String> alertWays)
public SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRules setConfig(String config)
public String getConfig()
public SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRules setContactGroupIdList(String contactGroupIdList)
public String getContactGroupIdList()
public SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRules setContactGroupIds(String contactGroupIds)
public String getContactGroupIds()
public SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRules setCreateTime(Long createTime)
public Long getCreateTime()
public SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRules setHostByAlertManager(Boolean hostByAlertManager)
public Boolean getHostByAlertManager()
public SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRules setId(Long id)
public Long getId()
public SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRules setMetricParam(SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRulesMetricParam metricParam)
public SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRulesMetricParam getMetricParam()
public SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRules setNotice(SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRulesNotice notice)
public SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRulesNotice getNotice()
public SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRules setRegionId(String regionId)
public String getRegionId()
public SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRules setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRules setStatus(String status)
public String getStatus()
public SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRules setTaskId(Long taskId)
public Long getTaskId()
public SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRules setTaskStatus(String taskStatus)
public String getTaskStatus()
public SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRules setTitle(String title)
public String getTitle()
public SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRules setUpdateTime(Long updateTime)
public Long getUpdateTime()
public SearchAlertRulesResponseBody.SearchAlertRulesResponseBodyPageBeanAlertRules setUserId(String userId)
public String getUserId()
Copyright © 2024. All rights reserved.