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
@NameInMap(value="EndTime") public String endTime
The end timestamp of the historical alerts that you want to query.
Unit: milliseconds.
example:1640608200000
@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.
example:7671****
@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.
example:cpu_total
@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.
example:acs_ecs_dashboard
@NameInMap(value="Page") public Integer page
The number of the page to return.
Default value: 1.
example:1
@NameInMap(value="PageSize") public Integer pageSize
The number of entries to return on each page.
Default value: 10.
example: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.
example:applyTemplate61dc81b5-d357-4cf6-a9b7-9f83c1d5****
@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.
example:ECS_Rule
@NameInMap(value="StartTime") public String startTime
The start timestamp of the historical alerts that you want to query.
Unit: milliseconds.
example:1640237400000
@NameInMap(value="State") public String state
The status of the alert. Valid values:
ALARM
@NameInMap(value="Status") public String status
Specifies whether alerts are muted. Valid values:
2
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 © 2026. All rights reserved.