All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tencentcloudapi.tcb.v20180608.models.DescribeCurveDataRequest Maven / Gradle / Ivy

/*
 * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.tencentcloudapi.tcb.v20180608.models;

import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class DescribeCurveDataRequest extends AbstractModel{

    /**
    * 环境ID
    */
    @SerializedName("EnvId")
    @Expose
    private String EnvId;

    /**
    * 
  • 指标名:
  • StorageRead: 存储读请求次数
  • StorageWrite: 存储写请求次数
  • StorageCdnOriginFlux: CDN回源流量, 单位字节
  • CDNFlux: CDN回源流量, 单位字节
  • FunctionInvocation: 云函数调用次数
  • FunctionGBs: 云函数资源使用量, 单位Mb*Ms
  • FunctionFlux: 云函数流量, 单位千字节(KB)
  • FunctionError: 云函数调用错误次数
  • FunctionDuration: 云函数运行时间, 单位毫秒
  • DbRead: 数据库读请求数
  • DbWrite: 数据库写请求数
  • DbCostTime10ms: 数据库耗时在10ms~50ms请求数
  • DbCostTime50ms: 数据库耗时在50ms~100ms请求数
  • DbCostTime100ms: 数据库耗时在100ms以上请求数
  • TkeCpuRatio: 容器CPU占用率
  • TkeMemRatio: 容器内存占用率
  • TkeCpuUsed: 容器CPU使用量
  • TkeMemUsed: 容器内存使用量
  • TkeInvokeNum: 调用量
  • */ @SerializedName("MetricName") @Expose private String MetricName; /** * 开始时间,如2018-08-24 10:50:00, 开始时间需要早于结束时间至少五分钟(原因是因为目前统计粒度最小是5分钟). */ @SerializedName("StartTime") @Expose private String StartTime; /** * 结束时间,如2018-08-24 10:50:00, 结束时间需要晚于开始时间至少五分钟(原因是因为目前统计粒度最小是5分钟).. */ @SerializedName("EndTime") @Expose private String EndTime; /** * 资源ID, 目前仅对云函数、容器托管相关的指标有意义。云函数(FunctionInvocation, FunctionGBs, FunctionFlux, FunctionError, FunctionDuration)、容器托管(服务名称), 如果想查询某个云函数的指标则在ResourceId中传入函数名; 如果只想查询整个namespace的指标, 则留空或不传.如果想查询数据库某个集合相关信息,传入集合名称 */ @SerializedName("ResourceID") @Expose private String ResourceID; /** * Get 环境ID * @return EnvId 环境ID */ public String getEnvId() { return this.EnvId; } /** * Set 环境ID * @param EnvId 环境ID */ public void setEnvId(String EnvId) { this.EnvId = EnvId; } /** * Get
  • 指标名:
  • StorageRead: 存储读请求次数
  • StorageWrite: 存储写请求次数
  • StorageCdnOriginFlux: CDN回源流量, 单位字节
  • CDNFlux: CDN回源流量, 单位字节
  • FunctionInvocation: 云函数调用次数
  • FunctionGBs: 云函数资源使用量, 单位Mb*Ms
  • FunctionFlux: 云函数流量, 单位千字节(KB)
  • FunctionError: 云函数调用错误次数
  • FunctionDuration: 云函数运行时间, 单位毫秒
  • DbRead: 数据库读请求数
  • DbWrite: 数据库写请求数
  • DbCostTime10ms: 数据库耗时在10ms~50ms请求数
  • DbCostTime50ms: 数据库耗时在50ms~100ms请求数
  • DbCostTime100ms: 数据库耗时在100ms以上请求数
  • TkeCpuRatio: 容器CPU占用率
  • TkeMemRatio: 容器内存占用率
  • TkeCpuUsed: 容器CPU使用量
  • TkeMemUsed: 容器内存使用量
  • TkeInvokeNum: 调用量
  • * @return MetricName
  • 指标名:
  • StorageRead: 存储读请求次数
  • StorageWrite: 存储写请求次数
  • StorageCdnOriginFlux: CDN回源流量, 单位字节
  • CDNFlux: CDN回源流量, 单位字节
  • FunctionInvocation: 云函数调用次数
  • FunctionGBs: 云函数资源使用量, 单位Mb*Ms
  • FunctionFlux: 云函数流量, 单位千字节(KB)
  • FunctionError: 云函数调用错误次数
  • FunctionDuration: 云函数运行时间, 单位毫秒
  • DbRead: 数据库读请求数
  • DbWrite: 数据库写请求数
  • DbCostTime10ms: 数据库耗时在10ms~50ms请求数
  • DbCostTime50ms: 数据库耗时在50ms~100ms请求数
  • DbCostTime100ms: 数据库耗时在100ms以上请求数
  • TkeCpuRatio: 容器CPU占用率
  • TkeMemRatio: 容器内存占用率
  • TkeCpuUsed: 容器CPU使用量
  • TkeMemUsed: 容器内存使用量
  • TkeInvokeNum: 调用量
  • */ public String getMetricName() { return this.MetricName; } /** * Set
  • 指标名:
  • StorageRead: 存储读请求次数
  • StorageWrite: 存储写请求次数
  • StorageCdnOriginFlux: CDN回源流量, 单位字节
  • CDNFlux: CDN回源流量, 单位字节
  • FunctionInvocation: 云函数调用次数
  • FunctionGBs: 云函数资源使用量, 单位Mb*Ms
  • FunctionFlux: 云函数流量, 单位千字节(KB)
  • FunctionError: 云函数调用错误次数
  • FunctionDuration: 云函数运行时间, 单位毫秒
  • DbRead: 数据库读请求数
  • DbWrite: 数据库写请求数
  • DbCostTime10ms: 数据库耗时在10ms~50ms请求数
  • DbCostTime50ms: 数据库耗时在50ms~100ms请求数
  • DbCostTime100ms: 数据库耗时在100ms以上请求数
  • TkeCpuRatio: 容器CPU占用率
  • TkeMemRatio: 容器内存占用率
  • TkeCpuUsed: 容器CPU使用量
  • TkeMemUsed: 容器内存使用量
  • TkeInvokeNum: 调用量
  • * @param MetricName
  • 指标名:
  • StorageRead: 存储读请求次数
  • StorageWrite: 存储写请求次数
  • StorageCdnOriginFlux: CDN回源流量, 单位字节
  • CDNFlux: CDN回源流量, 单位字节
  • FunctionInvocation: 云函数调用次数
  • FunctionGBs: 云函数资源使用量, 单位Mb*Ms
  • FunctionFlux: 云函数流量, 单位千字节(KB)
  • FunctionError: 云函数调用错误次数
  • FunctionDuration: 云函数运行时间, 单位毫秒
  • DbRead: 数据库读请求数
  • DbWrite: 数据库写请求数
  • DbCostTime10ms: 数据库耗时在10ms~50ms请求数
  • DbCostTime50ms: 数据库耗时在50ms~100ms请求数
  • DbCostTime100ms: 数据库耗时在100ms以上请求数
  • TkeCpuRatio: 容器CPU占用率
  • TkeMemRatio: 容器内存占用率
  • TkeCpuUsed: 容器CPU使用量
  • TkeMemUsed: 容器内存使用量
  • TkeInvokeNum: 调用量
  • */ public void setMetricName(String MetricName) { this.MetricName = MetricName; } /** * Get 开始时间,如2018-08-24 10:50:00, 开始时间需要早于结束时间至少五分钟(原因是因为目前统计粒度最小是5分钟). * @return StartTime 开始时间,如2018-08-24 10:50:00, 开始时间需要早于结束时间至少五分钟(原因是因为目前统计粒度最小是5分钟). */ public String getStartTime() { return this.StartTime; } /** * Set 开始时间,如2018-08-24 10:50:00, 开始时间需要早于结束时间至少五分钟(原因是因为目前统计粒度最小是5分钟). * @param StartTime 开始时间,如2018-08-24 10:50:00, 开始时间需要早于结束时间至少五分钟(原因是因为目前统计粒度最小是5分钟). */ public void setStartTime(String StartTime) { this.StartTime = StartTime; } /** * Get 结束时间,如2018-08-24 10:50:00, 结束时间需要晚于开始时间至少五分钟(原因是因为目前统计粒度最小是5分钟).. * @return EndTime 结束时间,如2018-08-24 10:50:00, 结束时间需要晚于开始时间至少五分钟(原因是因为目前统计粒度最小是5分钟).. */ public String getEndTime() { return this.EndTime; } /** * Set 结束时间,如2018-08-24 10:50:00, 结束时间需要晚于开始时间至少五分钟(原因是因为目前统计粒度最小是5分钟).. * @param EndTime 结束时间,如2018-08-24 10:50:00, 结束时间需要晚于开始时间至少五分钟(原因是因为目前统计粒度最小是5分钟).. */ public void setEndTime(String EndTime) { this.EndTime = EndTime; } /** * Get 资源ID, 目前仅对云函数、容器托管相关的指标有意义。云函数(FunctionInvocation, FunctionGBs, FunctionFlux, FunctionError, FunctionDuration)、容器托管(服务名称), 如果想查询某个云函数的指标则在ResourceId中传入函数名; 如果只想查询整个namespace的指标, 则留空或不传.如果想查询数据库某个集合相关信息,传入集合名称 * @return ResourceID 资源ID, 目前仅对云函数、容器托管相关的指标有意义。云函数(FunctionInvocation, FunctionGBs, FunctionFlux, FunctionError, FunctionDuration)、容器托管(服务名称), 如果想查询某个云函数的指标则在ResourceId中传入函数名; 如果只想查询整个namespace的指标, 则留空或不传.如果想查询数据库某个集合相关信息,传入集合名称 */ public String getResourceID() { return this.ResourceID; } /** * Set 资源ID, 目前仅对云函数、容器托管相关的指标有意义。云函数(FunctionInvocation, FunctionGBs, FunctionFlux, FunctionError, FunctionDuration)、容器托管(服务名称), 如果想查询某个云函数的指标则在ResourceId中传入函数名; 如果只想查询整个namespace的指标, 则留空或不传.如果想查询数据库某个集合相关信息,传入集合名称 * @param ResourceID 资源ID, 目前仅对云函数、容器托管相关的指标有意义。云函数(FunctionInvocation, FunctionGBs, FunctionFlux, FunctionError, FunctionDuration)、容器托管(服务名称), 如果想查询某个云函数的指标则在ResourceId中传入函数名; 如果只想查询整个namespace的指标, 则留空或不传.如果想查询数据库某个集合相关信息,传入集合名称 */ public void setResourceID(String ResourceID) { this.ResourceID = ResourceID; } public DescribeCurveDataRequest() { } /** * 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. */ public DescribeCurveDataRequest(DescribeCurveDataRequest source) { if (source.EnvId != null) { this.EnvId = new String(source.EnvId); } if (source.MetricName != null) { this.MetricName = new String(source.MetricName); } if (source.StartTime != null) { this.StartTime = new String(source.StartTime); } if (source.EndTime != null) { this.EndTime = new String(source.EndTime); } if (source.ResourceID != null) { this.ResourceID = new String(source.ResourceID); } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "EnvId", this.EnvId); this.setParamSimple(map, prefix + "MetricName", this.MetricName); this.setParamSimple(map, prefix + "StartTime", this.StartTime); this.setParamSimple(map, prefix + "EndTime", this.EndTime); this.setParamSimple(map, prefix + "ResourceID", this.ResourceID); } }




    © 2015 - 2025 Weber Informatics LLC | Privacy Policy