public class SearchEventsRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Long |
alertId
The ID of the alert rule.
|
Integer |
alertType
The type of the alert rule.
|
String |
appType
The type of the application that is associated with the alert rule.
|
Integer |
currentPage
The number of the page to return.
|
Long |
endTime
The end of the time range to query.
|
Integer |
isTrigger
Specifies whether the alert event is triggered.
|
Integer |
pageSize
The number of entries to return on each page.
|
String |
pid
The process identifier (PID) of the application that is associated with the alert rule.
|
String |
regionId
The ID of the region.
|
Long |
startTime
The beginning of the time range to query.
|
| 构造器和说明 |
|---|
SearchEventsRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static SearchEventsRequest |
build(Map<String,?> map) |
Long |
getAlertId() |
Integer |
getAlertType() |
String |
getAppType() |
Integer |
getCurrentPage() |
Long |
getEndTime() |
Integer |
getIsTrigger() |
Integer |
getPageSize() |
String |
getPid() |
String |
getRegionId() |
Long |
getStartTime() |
SearchEventsRequest |
setAlertId(Long alertId) |
SearchEventsRequest |
setAlertType(Integer alertType) |
SearchEventsRequest |
setAppType(String appType) |
SearchEventsRequest |
setCurrentPage(Integer currentPage) |
SearchEventsRequest |
setEndTime(Long endTime) |
SearchEventsRequest |
setIsTrigger(Integer isTrigger) |
SearchEventsRequest |
setPageSize(Integer pageSize) |
SearchEventsRequest |
setPid(String pid) |
SearchEventsRequest |
setRegionId(String regionId) |
SearchEventsRequest |
setStartTime(Long startTime) |
@NameInMap(value="AlertId") public Long alertId
The ID of the alert rule. You can call the SearchAlertRules operation and view the Id parameter in the response. For more information, see SearchAlertRules.
123
@NameInMap(value="AlertType") public Integer alertType
The type of the alert rule. 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="AppType") public String appType
The type of the application that is associated with the alert rule. Valid values:
TRACE: application monitoringRETCODE: frontend monitoringTRACE
@NameInMap(value="CurrentPage") public Integer currentPage
The number of the page to return. Default value: 1.
1
@NameInMap(value="EndTime") public Long endTime
The end of the time range to query. Specify a UNIX timestamp of the LONG data type, in milliseconds. The default value is the current time.
example:1595568970000
@NameInMap(value="IsTrigger") public Integer isTrigger
Specifies whether the alert event is triggered. If you do not set this parameter, all alert events are queried. Valid values:
1: The event is triggered.0: The event is not triggered.1
@NameInMap(value="PageSize") public Integer pageSize
The number of entries to return on each page. Default value: 10.
10
@NameInMap(value="Pid") public String pid
The process identifier (PID) of the application that is associated with the alert rule.
example:atc889zkcf@d8deedfa9bf****
@NameInMap(value="RegionId") public String regionId
The ID of the region.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="StartTime") public Long startTime
The beginning of the time range to query. Specify a UNIX timestamp of the LONG data type, in milliseconds. The default value is 10 minutes before the current time.
example:1595565300000
public static SearchEventsRequest build(Map<String,?> map) throws Exception
Exceptionpublic SearchEventsRequest setAlertId(Long alertId)
public Long getAlertId()
public SearchEventsRequest setAlertType(Integer alertType)
public Integer getAlertType()
public SearchEventsRequest setAppType(String appType)
public String getAppType()
public SearchEventsRequest setCurrentPage(Integer currentPage)
public Integer getCurrentPage()
public SearchEventsRequest setEndTime(Long endTime)
public Long getEndTime()
public SearchEventsRequest setIsTrigger(Integer isTrigger)
public Integer getIsTrigger()
public SearchEventsRequest setPageSize(Integer pageSize)
public Integer getPageSize()
public SearchEventsRequest setPid(String pid)
public String getPid()
public SearchEventsRequest setRegionId(String regionId)
public String getRegionId()
public SearchEventsRequest setStartTime(Long startTime)
public Long getStartTime()
Copyright © 2024. All rights reserved.