public class DescribeGeneralMetricDataRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
DescribeGeneralMetricDataRequest() |
DescribeGeneralMetricDataRequest(DescribeGeneralMetricDataRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getEndTime()
Get The timestamp of the end time, supporting the query of metric data within 30 days.
|
GeneralFilter[] |
getFilters()
Get The dimension information to be filtered; different views have corresponding metric dimensions.
|
String[] |
getGroupBy()
Get Aggregated dimension; different views have corresponding metric dimensions.
|
String |
getInstanceId()
Get Business system id.
|
String[] |
getMetrics()
Get Metric name to be queried, which cannot be customized.
|
OrderBy |
getOrderBy()
Get Sort query metrics.
|
Long |
getPageSize()
Get Maximum number of queried metrics.
|
Long |
getPeriod()
Get Whether to aggregate by a fixed time span: enter 1 for values of 1 and greater, and 0 if not filled in.
|
Long |
getStartTime()
Get The timestamp of the start time, supporting the query of metric data within 30 days.
|
String |
getViewName()
Get View name.
|
void |
setEndTime(Long EndTime)
Set The timestamp of the end time, supporting the query of metric data within 30 days.
|
void |
setFilters(GeneralFilter[] Filters)
Set The dimension information to be filtered; different views have corresponding metric dimensions.
|
void |
setGroupBy(String[] GroupBy)
Set Aggregated dimension; different views have corresponding metric dimensions.
|
void |
setInstanceId(String InstanceId)
Set Business system id.
|
void |
setMetrics(String[] Metrics)
Set Metric name to be queried, which cannot be customized.
|
void |
setOrderBy(OrderBy OrderBy)
Set Sort query metrics.
|
void |
setPageSize(Long PageSize)
Set Maximum number of queried metrics.
|
void |
setPeriod(Long Period)
Set Whether to aggregate by a fixed time span: enter 1 for values of 1 and greater, and 0 if not filled in.
|
void |
setStartTime(Long StartTime)
Set The timestamp of the start time, supporting the query of metric data within 30 days.
|
void |
setViewName(String ViewName)
Set View name.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public DescribeGeneralMetricDataRequest()
public DescribeGeneralMetricDataRequest(DescribeGeneralMetricDataRequest source)
public String[] getMetrics()
public void setMetrics(String[] Metrics)
Metrics
- Metric name to be queried, which cannot be customized. (for details, see public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Business system id.public String getViewName()
public void setViewName(String ViewName)
ViewName
- View name. the input cannot be customized. [for details, see.](https://intl.cloud.tencent.com/document/product/248/101681?from_cn_redirect=1).public GeneralFilter[] getFilters()
public void setFilters(GeneralFilter[] Filters)
Filters
- The dimension information to be filtered; different views have corresponding metric dimensions. (for details, see public String[] getGroupBy()
public void setGroupBy(String[] GroupBy)
GroupBy
- Aggregated dimension; different views have corresponding metric dimensions. (for details, see public Long getStartTime()
public void setStartTime(Long StartTime)
StartTime
- The timestamp of the start time, supporting the query of metric data within 30 days. (unit: seconds).public Long getEndTime()
public void setEndTime(Long EndTime)
EndTime
- The timestamp of the end time, supporting the query of metric data within 30 days. (unit: seconds).public Long getPeriod()
public void setPeriod(Long Period)
Period
- Whether to aggregate by a fixed time span: enter 1 for values of 1 and greater, and 0 if not filled in.
-If 0 is filled in, it calculates the metric data from the start time to the cutoff time.
- if 1 is filled in, the aggregation granularity will be selected according to the time span from the start time to the deadline:.
-If the time span is (0,12) hours, it is aggregated by one-minute granularity.
-If the time span is [12,48] hours, it is aggregated at a five-minute granularity.
-If the time span is (48, +∞) hours, it is aggregated at an hourly granularity.public OrderBy getOrderBy()
public void setOrderBy(OrderBy OrderBy)
OrderBy
- Sort query metrics.
Key: enter the tencentcloud api metric name. [for details, see](https://intl.cloud.tencent.com/document/product/248/101681?from_cn_redirect=1) .
Value: specify the sorting method:.
-Asc: sorts query metrics in ascending order.
- desc: sort query metrics in descending order.public Long getPageSize()
public void setPageSize(Long PageSize)
PageSize
- Maximum number of queried metrics. currently, up to 50 data entries can be displayed. the value range for pagesize is 1-50. submit pagesize to show the limited number based on the value of pagesize.Copyright © 2025. All rights reserved.