public class DescribeAlertHistoryListRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Boolean |
ascending
The order of alerts.
|
String |
endTime
The end timestamp of the historical alerts that you want to query.
|
String |
groupId
The ID of the application group.
|
String |
metricName
The metric that is used to monitor the cloud service.
|
String |
namespace
The namespace of the cloud service.
|
Integer |
page
The number of the page to return.
|
Integer |
pageSize
The number of entries to return on each page.
|
String |
regionId |
String |
ruleId
The ID of the alert rule.
|
String |
ruleName
The name of the alert rule.
|
String |
startTime
The start timestamp of the historical alerts that you want to query.
|
String |
state
The status of the alert.
|
String |
status
Specifies whether alerts are muted.
|
| 构造器和说明 |
|---|
DescribeAlertHistoryListRequest() |
@NameInMap(value="Ascending") public Boolean ascending
The order of alerts. Valid values:
* true (default value): reverse chronological order
* false: chronological order
@NameInMap(value="EndTime") public String endTime
The end timestamp of the historical alerts that you want to query.
Unit: milliseconds.
@NameInMap(value="GroupId") public String groupId
The ID of the application group.
For information about how to obtain the ID of an application group, see [DescribeMonitorGroups](~~115032~~).
@NameInMap(value="MetricName") public String metricName
The metric that is used to monitor the cloud service.
For information about how to query the name of a metric, see [Appendix 1: Metrics](~~163515~~).
@NameInMap(value="Namespace") public String namespace
The namespace of the cloud service.
For information about how to query the namespace of a cloud service, see [Appendix 1: Metrics](~~163515~~).
@NameInMap(value="Page") public Integer page
The number of the page to return.
Default value: 1.
@NameInMap(value="PageSize") public Integer pageSize
The number of entries to return on each page.
Default value: 10.
@NameInMap(value="RegionId") public String regionId
@NameInMap(value="RuleId") public String ruleId
The ID of the alert rule.
For information about how to obtain the ID of an alert rule, see [DescribeMetricRuleList](~~114941~~).
@NameInMap(value="RuleName") public String ruleName
The name of the alert rule.
For information about how to query the name of an alert rule, see [DescribeMetricRuleList](~~114941~~).
@NameInMap(value="StartTime") public String startTime
The start timestamp of the historical alerts that you want to query.
Unit: milliseconds.
@NameInMap(value="State") public String state
The status of the alert. Valid values:
* ALARM (default value): Alerts are triggered.
* OK: No alerts are triggered.
@NameInMap(value="Status") public String status
Specifies whether alerts are muted. Valid values:
* 2 (default value): Alerts are muted and are not triggered within the mute period, even if the condition specified in the alert rule is met.
* 0: Alerts are triggered or cleared.
* 1: The alert rule is ineffective.
public static DescribeAlertHistoryListRequest build(Map<String,?> map) throws Exception
Exceptionpublic DescribeAlertHistoryListRequest setAscending(Boolean ascending)
public Boolean getAscending()
public DescribeAlertHistoryListRequest setEndTime(String endTime)
public String getEndTime()
public DescribeAlertHistoryListRequest setGroupId(String groupId)
public String getGroupId()
public DescribeAlertHistoryListRequest setMetricName(String metricName)
public String getMetricName()
public DescribeAlertHistoryListRequest setNamespace(String namespace)
public String getNamespace()
public DescribeAlertHistoryListRequest setPage(Integer page)
public Integer getPage()
public DescribeAlertHistoryListRequest setPageSize(Integer pageSize)
public Integer getPageSize()
public DescribeAlertHistoryListRequest setRegionId(String regionId)
public String getRegionId()
public DescribeAlertHistoryListRequest setRuleId(String ruleId)
public String getRuleId()
public DescribeAlertHistoryListRequest setRuleName(String ruleName)
public String getRuleName()
public DescribeAlertHistoryListRequest setStartTime(String startTime)
public String getStartTime()
public DescribeAlertHistoryListRequest setState(String state)
public String getState()
public DescribeAlertHistoryListRequest setStatus(String status)
public String getStatus()
Copyright © 2024. All rights reserved.