public static class SearchEventsResponseBody.SearchEventsResponseBodyPageBeanEvent
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Long |
alertId
The ID of the alert rule that is associated with the event.
|
String |
alertName
The name of the alert rule that is associated with the event.
|
String |
alertRule
The condition of the alert rule.
|
Integer |
alertType
The type of the alert rule.
|
String |
eventLevel
The severity of the event.
|
Long |
eventTime
The timestamp when the event occurred.
|
Long |
id
The ID of the event record.
|
List<String> |
links
The list of event URLs.
|
String |
message
The event content.
|
| 构造器和说明 |
|---|
SearchEventsResponseBodyPageBeanEvent() |
@NameInMap(value="AlertId") public Long alertId
The ID of the alert rule that is associated with the event.
example:123
@NameInMap(value="AlertName") public String alertName
The name of the alert rule that is associated with the event.
example:alertName
@NameInMap(value="AlertRule") public String alertRule
The condition of the alert rule.
example:{\"operator\":\"&\",\"rules\":[{\"aggregates\":\"AVG\",\"alias\":\"JVM_线程总数\",\"measure\":\"appstat.jvm.ThreadCount\",\"nValue\":1,\"operator\":\"HOH_DOWN\",\"value\":50.0}]}
@NameInMap(value="AlertType") public Integer alertType
The type of the alert rule. This parameter is not returned. Valid values:
1: custom alert rules to monitor drill-down data sets3: custom alert rules to monitor tiled data sets4: alert rules to monitor the frontend, including the default frontend alert rules5: alert rules to monitor applications, including the default application alert rules6: the default frontend alert rules7: the default application alert rules8: Tracing Analysis alert rules101: Prometheus alert rules4
@NameInMap(value="EventLevel") public String eventLevel
The severity of the event.
example:1
@NameInMap(value="EventTime") public Long eventTime
The timestamp when the event occurred.
example:1595569020000
@NameInMap(value="Id") public Long id
The ID of the event record.
example:123
@NameInMap(value="Message") public String message
The event content. The parameter value is a JSON string. Each key indicates a dimension and each value indicates the alert content in the dimension.
example:unknow紧急报警\nip:172.27.XX.XX\n应用名 = test\nRegion = cn-shenzhen\n异常信息 = {\"timestamp\":\"1615447972235\"}
public static SearchEventsResponseBody.SearchEventsResponseBodyPageBeanEvent build(Map<String,?> map) throws Exception
Exceptionpublic SearchEventsResponseBody.SearchEventsResponseBodyPageBeanEvent setAlertId(Long alertId)
public Long getAlertId()
public SearchEventsResponseBody.SearchEventsResponseBodyPageBeanEvent setAlertName(String alertName)
public String getAlertName()
public SearchEventsResponseBody.SearchEventsResponseBodyPageBeanEvent setAlertRule(String alertRule)
public String getAlertRule()
public SearchEventsResponseBody.SearchEventsResponseBodyPageBeanEvent setAlertType(Integer alertType)
public Integer getAlertType()
public SearchEventsResponseBody.SearchEventsResponseBodyPageBeanEvent setEventLevel(String eventLevel)
public String getEventLevel()
public SearchEventsResponseBody.SearchEventsResponseBodyPageBeanEvent setEventTime(Long eventTime)
public Long getEventTime()
public SearchEventsResponseBody.SearchEventsResponseBodyPageBeanEvent setId(Long id)
public Long getId()
public SearchEventsResponseBody.SearchEventsResponseBodyPageBeanEvent setLinks(List<String> links)
public SearchEventsResponseBody.SearchEventsResponseBodyPageBeanEvent setMessage(String message)
public String getMessage()
Copyright © 2024. All rights reserved.