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 结束时间的时间戳,单位为秒,只支持查询2天内最多1小时的指标数据。
|
GeneralFilter[] |
getFilters()
Get 要过滤的维度信息,不同视图有对应的指标维度,[详情请见。](https://cloud.tencent.com/document/product/248/101681)
|
String[] |
getGroupBy()
Get 聚合维度,不同视图有对应的指标维度,[详情请见。](https://cloud.tencent.com/document/product/248/101681)
|
String |
getInstanceId()
Get 业务系统ID
|
String[] |
getMetrics()
Get 需要查询的指标名称,不可自定义输入,[详情请见。](https://cloud.tencent.com/document/product/248/101681)
|
OrderBy |
getOrderBy()
Get 对查询指标进行排序:
Key 填写云 API 指标名称,[详情请见。](https://cloud.tencent.com/document/product/248/101681)
Value 填写排序方式:
- asc:对查询指标进行升序排序
- desc:对查询指标进行降序排序
|
Long |
getPageSize()
Get 查询指标的限制条数,目前最多展示50条数据,PageSize取值为1-50,上送PageSize则根据PageSize的值展示限制条数。
|
Long |
getPeriod()
Get 聚合粒度,单位为秒,最小为60s,即一分钟的聚合粒度;如果为空或0则计算开始时间到截止时间的指标数据,上报其他值会报错。
|
Long |
getStartTime()
Get 起始时间的时间戳,单位为秒,只支持查询2天内最多1小时的指标数据。
|
String |
getViewName()
Get 视图名称,不可自定义输入。[详情请见。](https://cloud.tencent.com/document/product/248/101681)
|
void |
setEndTime(Long EndTime)
Set 结束时间的时间戳,单位为秒,只支持查询2天内最多1小时的指标数据。
|
void |
setFilters(GeneralFilter[] Filters)
Set 要过滤的维度信息,不同视图有对应的指标维度,[详情请见。](https://cloud.tencent.com/document/product/248/101681)
|
void |
setGroupBy(String[] GroupBy)
Set 聚合维度,不同视图有对应的指标维度,[详情请见。](https://cloud.tencent.com/document/product/248/101681)
|
void |
setInstanceId(String InstanceId)
Set 业务系统ID
|
void |
setMetrics(String[] Metrics)
Set 需要查询的指标名称,不可自定义输入,[详情请见。](https://cloud.tencent.com/document/product/248/101681)
|
void |
setOrderBy(OrderBy OrderBy)
Set 对查询指标进行排序:
Key 填写云 API 指标名称,[详情请见。](https://cloud.tencent.com/document/product/248/101681)
Value 填写排序方式:
- asc:对查询指标进行升序排序
- desc:对查询指标进行降序排序
|
void |
setPageSize(Long PageSize)
Set 查询指标的限制条数,目前最多展示50条数据,PageSize取值为1-50,上送PageSize则根据PageSize的值展示限制条数。
|
void |
setPeriod(Long Period)
Set 聚合粒度,单位为秒,最小为60s,即一分钟的聚合粒度;如果为空或0则计算开始时间到截止时间的指标数据,上报其他值会报错。
|
void |
setStartTime(Long StartTime)
Set 起始时间的时间戳,单位为秒,只支持查询2天内最多1小时的指标数据。
|
void |
setViewName(String ViewName)
Set 视图名称,不可自定义输入。[详情请见。](https://cloud.tencent.com/document/product/248/101681)
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public DescribeGeneralMetricDataRequest()
public DescribeGeneralMetricDataRequest(DescribeGeneralMetricDataRequest source)
public String[] getMetrics()
public void setMetrics(String[] Metrics)
Metrics
- 需要查询的指标名称,不可自定义输入,[详情请见。](https://cloud.tencent.com/document/product/248/101681)public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- 业务系统IDpublic String getViewName()
public void setViewName(String ViewName)
ViewName
- 视图名称,不可自定义输入。[详情请见。](https://cloud.tencent.com/document/product/248/101681)public GeneralFilter[] getFilters()
public void setFilters(GeneralFilter[] Filters)
Filters
- 要过滤的维度信息,不同视图有对应的指标维度,[详情请见。](https://cloud.tencent.com/document/product/248/101681)public String[] getGroupBy()
public void setGroupBy(String[] GroupBy)
GroupBy
- 聚合维度,不同视图有对应的指标维度,[详情请见。](https://cloud.tencent.com/document/product/248/101681)public Long getStartTime()
public void setStartTime(Long StartTime)
StartTime
- 起始时间的时间戳,单位为秒,只支持查询2天内最多1小时的指标数据。public Long getEndTime()
public void setEndTime(Long EndTime)
EndTime
- 结束时间的时间戳,单位为秒,只支持查询2天内最多1小时的指标数据。public Long getPeriod()
public void setPeriod(Long Period)
Period
- 聚合粒度,单位为秒,最小为60s,即一分钟的聚合粒度;如果为空或0则计算开始时间到截止时间的指标数据,上报其他值会报错。public OrderBy getOrderBy()
public void setOrderBy(OrderBy OrderBy)
OrderBy
- 对查询指标进行排序:
Key 填写云 API 指标名称,[详情请见。](https://cloud.tencent.com/document/product/248/101681)
Value 填写排序方式:
- asc:对查询指标进行升序排序
- desc:对查询指标进行降序排序public Long getPageSize()
public void setPageSize(Long PageSize)
PageSize
- 查询指标的限制条数,目前最多展示50条数据,PageSize取值为1-50,上送PageSize则根据PageSize的值展示限制条数。Copyright © 2024. All rights reserved.