public class DescribeMetricListRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
dimensions
The dimensions that specify the resources whose monitoring data you want to query.
|
String |
endTime
The end of the time range to query.
|
String |
express
The expression that is used to compute the query results in real time.
|
String |
length
The number of entries to return on each page.
|
String |
metricName
The name of the metric.
|
String |
namespace
The namespace of the cloud service.
|
String |
nextToken
The paging token.
|
String |
period
The interval at which the monitoring data is queried.
|
String |
regionId |
String |
startTime
The beginning of the time range to query.
|
| 构造器和说明 |
|---|
DescribeMetricListRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static DescribeMetricListRequest |
build(Map<String,?> map) |
String |
getDimensions() |
String |
getEndTime() |
String |
getExpress() |
String |
getLength() |
String |
getMetricName() |
String |
getNamespace() |
String |
getNextToken() |
String |
getPeriod() |
String |
getRegionId() |
String |
getStartTime() |
DescribeMetricListRequest |
setDimensions(String dimensions) |
DescribeMetricListRequest |
setEndTime(String endTime) |
DescribeMetricListRequest |
setExpress(String express) |
DescribeMetricListRequest |
setLength(String length) |
DescribeMetricListRequest |
setMetricName(String metricName) |
DescribeMetricListRequest |
setNamespace(String namespace) |
DescribeMetricListRequest |
setNextToken(String nextToken) |
DescribeMetricListRequest |
setPeriod(String period) |
DescribeMetricListRequest |
setRegionId(String regionId) |
DescribeMetricListRequest |
setStartTime(String startTime) |
@NameInMap(value="Dimensions") public String dimensions
The dimensions that specify the resources whose monitoring data you want to query.
Set the value to a collection of key-value pairs. A typical key-value pair is `instanceId:i-2ze2d6j5uhg20x47****`.
> You can query a maximum of 50 instances in a single request.
@NameInMap(value="EndTime") public String endTime
The end of the time range to query. The following formats are supported:
* UNIX timestamp: the number of milliseconds that have elapsed since 00:00:00 Thursday, January 1, 1970
* UTC time: the UTC time that follows the YYYY-MM-DDThh:mm:ssZ format
@NameInMap(value="Express") public String express
The expression that is used to compute the query results in real time.
> Only the groupby expression is supported. This expression is similar to the GROUP BY statement that is used in databases.
@NameInMap(value="Length") public String length
The number of entries to return on each page.
> The maximum value of the Length parameter in a request is 1440.
@NameInMap(value="MetricName") public String metricName
The name of the metric.
For more information about metric names, see [Appendix 1: Metrics](~~163515~~).
@NameInMap(value="Namespace") public String namespace
The namespace of the cloud service. Format: acs_service name.
For more information about the namespaces of cloud services, see [Appendix 1: Metrics](~~163515~~).
@NameInMap(value="NextToken") public String nextToken
The paging token.
> If this parameter is not specified, the data on the first page is returned. A return value other than Null of this parameter indicates that not all entries have been returned. You can use this value as an input parameter to obtain entries on the next page. The value Null indicates that all query results have been returned.
@NameInMap(value="Period") public String period
The interval at which the monitoring data is queried.
Valid values: 60, 300, and 900.
Unit: seconds.
> Configure this parameter based on your business scenario.
@NameInMap(value="RegionId") public String regionId
@NameInMap(value="StartTime") public String startTime
The beginning of the time range to query. The following formats are supported:
* UNIX timestamp: the number of milliseconds that have elapsed since 00:00:00 Thursday, January 1, 1970
* UTC time: the UTC time that follows the YYYY-MM-DDThh:mm:ssZ format
> The specified period includes the end time and excludes the start time. The start time must be earlier than the end time.
public static DescribeMetricListRequest build(Map<String,?> map) throws Exception
Exceptionpublic DescribeMetricListRequest setDimensions(String dimensions)
public String getDimensions()
public DescribeMetricListRequest setEndTime(String endTime)
public String getEndTime()
public DescribeMetricListRequest setExpress(String express)
public String getExpress()
public DescribeMetricListRequest setLength(String length)
public String getLength()
public DescribeMetricListRequest setMetricName(String metricName)
public String getMetricName()
public DescribeMetricListRequest setNamespace(String namespace)
public String getNamespace()
public DescribeMetricListRequest setNextToken(String nextToken)
public String getNextToken()
public DescribeMetricListRequest setPeriod(String period)
public String getPeriod()
public DescribeMetricListRequest setRegionId(String regionId)
public String getRegionId()
public DescribeMetricListRequest setStartTime(String startTime)
public String getStartTime()
Copyright © 2024. All rights reserved.