public class GetMonitorDataRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
GetMonitorDataRequest()  | 
GetMonitorDataRequest(GetMonitorDataRequest 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 | 
|---|---|
String | 
getEndTime()
Get End time, which is the current time by default, such as 2018-09-22T20:51:23+08:00. 
 | 
Instance[] | 
getInstances()
Get The dimension combination for instance objects, which is in the form of a set of key-value pairs. 
 | 
String | 
getMetricName()
Get Metric name, such as `CPUUsage`. 
 | 
String | 
getNamespace()
Get Namespace, such as QCE/CVM. 
 | 
Long | 
getPeriod()
Get Monitoring statistical period in seconds, such as 60. 
 | 
String | 
getStartTime()
Get Start time such as 2018-09-22T19:51:23+08:00 
 | 
void | 
setEndTime(String EndTime)
Set End time, which is the current time by default, such as 2018-09-22T20:51:23+08:00. 
 | 
void | 
setInstances(Instance[] Instances)
Set The dimension combination for instance objects, which is in the form of a set of key-value pairs. 
 | 
void | 
setMetricName(String MetricName)
Set Metric name, such as `CPUUsage`. 
 | 
void | 
setNamespace(String Namespace)
Set Namespace, such as QCE/CVM. 
 | 
void | 
setPeriod(Long Period)
Set Monitoring statistical period in seconds, such as 60. 
 | 
void | 
setStartTime(String StartTime)
Set Start time such as 2018-09-22T19:51:23+08:00 
 | 
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, toJsonStringpublic GetMonitorDataRequest()
public GetMonitorDataRequest(GetMonitorDataRequest source)
public String getNamespace()
public void setNamespace(String Namespace)
Namespace - Namespace, such as QCE/CVM. For more information on the namespaces of each Tencent Cloud service, please see [Tencent Cloud Service Metrics](https://intl.cloud.tencent.com/document/product/248/6140?from_cn_redirect=1)public String getMetricName()
public void setMetricName(String MetricName)
MetricName - Metric name, such as `CPUUsage`. Only one monitoring metric can be pulled at a time. For more information on the metrics of each Tencent Cloud service, please see [Tencent Cloud Service Metrics](https://intl.cloud.tencent.com/document/product/248/6140?from_cn_redirect=1). The corresponding metric name is `MetricName`.public Instance[] getInstances()
public void setInstances(Instance[] Instances)
Instances - The dimension combination for instance objects, which is in the form of a set of key-value pairs. The dimension fields for instances of different Tencent Cloud services are completely different. For example, the field is [{"Name":"InstanceId","Value":"ins-j0hk02zo"}] for CVM instances, [{"Name":"instanceId","Value":"ckafka-l49k54dd"}] for CKafka instances, and [{"Name":"appid","Value":"1258344699"},{"Name":"bucket","Value":"rig-1258344699"}] for COS instances. For more information on the dimensions of various Tencent Cloud services, please see [Tencent Cloud Service Metrics](https://intl.cloud.tencent.com/document/product/248/6140?from_cn_redirect=1). In each document, the dimension column displays a dimension combination’s key, which has a corresponding value. A single request can get the data of up to 10 instances.public Long getPeriod()
public void setPeriod(Long Period)
Period - Monitoring statistical period in seconds, such as 60. Default value: 300. The statistical period varies by metric. For more information on the statistical periods supported by each Tencent Cloud service, please see [Tencent Cloud Service Metrics](https://intl.cloud.tencent.com/document/product/248/6140?from_cn_redirect=1). The values in the statistical period column are the supported statistical periods. A single request can get up to 1,440 data points.public String getStartTime()
public void setStartTime(String StartTime)
StartTime - Start time such as 2018-09-22T19:51:23+08:00public String getEndTime()
public void setEndTime(String EndTime)
EndTime - End time, which is the current time by default, such as 2018-09-22T20:51:23+08:00. `EndTime` cannot be earlier than `StartTime`Copyright © 2025. All rights reserved.