public class DescribeMetricLastRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
dimensions
The monitoring dimensions of the specified resource.
|
String |
endTime
The end of the time range to query monitoring data.
|
String |
express
The expression that is used to calculate the query results in real time.
|
String |
length
The number of entries per page.
|
String |
metricName
The metric that is used to monitor the cloud service.
|
String |
namespace
The namespace of the cloud service.
|
String |
nextToken
The pagination token.
|
String |
period
The statistical period of the monitoring data.
|
String |
regionId |
String |
startTime
The start of the time range to query monitoring data.
|
| 构造器和说明 |
|---|
DescribeMetricLastRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static DescribeMetricLastRequest |
build(Map<String,?> map) |
String |
getDimensions() |
String |
getEndTime() |
String |
getExpress() |
String |
getLength() |
String |
getMetricName() |
String |
getNamespace() |
String |
getNextToken() |
String |
getPeriod() |
String |
getRegionId() |
String |
getStartTime() |
DescribeMetricLastRequest |
setDimensions(String dimensions) |
DescribeMetricLastRequest |
setEndTime(String endTime) |
DescribeMetricLastRequest |
setExpress(String express) |
DescribeMetricLastRequest |
setLength(String length) |
DescribeMetricLastRequest |
setMetricName(String metricName) |
DescribeMetricLastRequest |
setNamespace(String namespace) |
DescribeMetricLastRequest |
setNextToken(String nextToken) |
DescribeMetricLastRequest |
setPeriod(String period) |
DescribeMetricLastRequest |
setRegionId(String regionId) |
DescribeMetricLastRequest |
setStartTime(String startTime) |
@NameInMap(value="Dimensions") public String dimensions
The monitoring dimensions of the specified resource.
Set the value to a collection of key:value pairs. Example: {"userId":"120886317861****"} or {"instanceId":"i-2ze2d6j5uhg20x47****"}.
example:You can query a maximum of 50 instances in each request.
[{"instanceId":"i-abcdefgh12****"}]
@NameInMap(value="EndTime") public String endTime
The end of the time range to query monitoring data.
2019-01-31 10:10:00
@NameInMap(value="Express") public String express
The expression that is used to calculate the query results in real time.
example:{"groupby":["userId","instanceId"]}
@NameInMap(value="Length") public String length
The number of entries per page.
Default value: 1000. This value indicates that a maximum of 1,000 entries of monitoring data can be returned on each page.
example:The maximum value of the Length parameter for each request is 1440.
1000
@NameInMap(value="MetricName") public String metricName
The metric that is used to monitor the cloud service.
For more information about metric names, see Appendix 1: Metrics.
This parameter is required.
example:CPUUtilization
@NameInMap(value="Namespace") public String namespace
The namespace of the cloud service.
For more information about the namespaces of cloud services, see Appendix 1: Metrics.
This parameter is required.
example:acs_ecs_dashboard
@NameInMap(value="NextToken") public String nextToken
The pagination token.
15761432850009dd70bb64cff1f0fff6c0b08ffff073be5fb1e785e2b020f7fed9b5e137bd810a6d6cff5ae****
@NameInMap(value="Period") public String period
The statistical period of the monitoring data.
Valid values: 15, 60, 900, and 3600.
Unit: seconds.
MetricName) varies for each cloud service. The statistical period of metrics is displayed in the MinPeriods column on the Metrics page for each cloud service. For more information, see Appendix 1: Metrics.60
@NameInMap(value="RegionId") public String regionId
@NameInMap(value="StartTime") public String startTime
The start of the time range to query monitoring data.
example:2019-01-31 10:00:00
public static DescribeMetricLastRequest build(Map<String,?> map) throws Exception
Exceptionpublic DescribeMetricLastRequest setDimensions(String dimensions)
public String getDimensions()
public DescribeMetricLastRequest setEndTime(String endTime)
public String getEndTime()
public DescribeMetricLastRequest setExpress(String express)
public String getExpress()
public DescribeMetricLastRequest setLength(String length)
public String getLength()
public DescribeMetricLastRequest setMetricName(String metricName)
public String getMetricName()
public DescribeMetricLastRequest setNamespace(String namespace)
public String getNamespace()
public DescribeMetricLastRequest setNextToken(String nextToken)
public String getNextToken()
public DescribeMetricLastRequest setPeriod(String period)
public String getPeriod()
public DescribeMetricLastRequest setRegionId(String regionId)
public String getRegionId()
public DescribeMetricLastRequest setStartTime(String startTime)
public String getStartTime()
Copyright © 2026. All rights reserved.