Class: TencentCloud::Tcb::V20180608::DescribeGraphDataRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180608/models.rb

Overview

DescribeGraphData请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(envid = nil, metricname = nil, starttime = nil, endtime = nil, resourceid = nil) ⇒ DescribeGraphDataRequest

Returns a new instance of DescribeGraphDataRequest.



4997
4998
4999
5000
5001
5002
5003
# File 'lib/v20180608/models.rb', line 4997

def initialize(envid=nil, metricname=nil, starttime=nil, endtime=nil, resourceid=nil)
  @EnvId = envid
  @MetricName = metricname
  @StartTime = starttime
  @EndTime = endtime
  @ResourceID = resourceid
end

Instance Attribute Details

#EndTimeObject

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: 调用量FunctionConcurrentExecutions: 云函数并发执行个数FunctionIdleProvisioned: 云函数预置并发闲置量FunctionConcurrencyMemoryMB: 云函数并发执行内存量FunctionThrottle: 云函数受限次数FunctionProvisionedConcurrency: 云函数预置并发

Parameters:

  • EnvId:

    环境ID

  • MetricName:

    指标名:

  • StartTime:

    开始时间,如2018-08-24 10:50:00, 开始时间需要早于结束时间至少五分钟(原因是因为目前统计粒度最小是5分钟).

  • EndTime:

    结束时间,如2018-08-24 10:50:00, 结束时间需要晚于开始时间至少五分钟(原因是因为目前统计粒度最小是5分钟)..

  • ResourceID:

    资源ID, 目前仅对云函数、容器托管相关的指标有意义。云函数(FunctionInvocation, FunctionGBs, FunctionFlux, FunctionError, FunctionDuration)、容器托管(服务名称), 如果想查询某个云函数的指标则在ResourceId中传入函数名; 如果只想查询整个namespace的指标, 则留空或不传.如果想查询数据库某个集合相关信息,传入集合名称



4995
4996
4997
# File 'lib/v20180608/models.rb', line 4995

def EndTime
  @EndTime
end

#EnvIdObject

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: 调用量FunctionConcurrentExecutions: 云函数并发执行个数FunctionIdleProvisioned: 云函数预置并发闲置量FunctionConcurrencyMemoryMB: 云函数并发执行内存量FunctionThrottle: 云函数受限次数FunctionProvisionedConcurrency: 云函数预置并发

Parameters:

  • EnvId:

    环境ID

  • MetricName:

    指标名:

  • StartTime:

    开始时间,如2018-08-24 10:50:00, 开始时间需要早于结束时间至少五分钟(原因是因为目前统计粒度最小是5分钟).

  • EndTime:

    结束时间,如2018-08-24 10:50:00, 结束时间需要晚于开始时间至少五分钟(原因是因为目前统计粒度最小是5分钟)..

  • ResourceID:

    资源ID, 目前仅对云函数、容器托管相关的指标有意义。云函数(FunctionInvocation, FunctionGBs, FunctionFlux, FunctionError, FunctionDuration)、容器托管(服务名称), 如果想查询某个云函数的指标则在ResourceId中传入函数名; 如果只想查询整个namespace的指标, 则留空或不传.如果想查询数据库某个集合相关信息,传入集合名称



4995
4996
4997
# File 'lib/v20180608/models.rb', line 4995

def EnvId
  @EnvId
end

#MetricNameObject

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: 调用量FunctionConcurrentExecutions: 云函数并发执行个数FunctionIdleProvisioned: 云函数预置并发闲置量FunctionConcurrencyMemoryMB: 云函数并发执行内存量FunctionThrottle: 云函数受限次数FunctionProvisionedConcurrency: 云函数预置并发

Parameters:

  • EnvId:

    环境ID

  • MetricName:

    指标名:

  • StartTime:

    开始时间,如2018-08-24 10:50:00, 开始时间需要早于结束时间至少五分钟(原因是因为目前统计粒度最小是5分钟).

  • EndTime:

    结束时间,如2018-08-24 10:50:00, 结束时间需要晚于开始时间至少五分钟(原因是因为目前统计粒度最小是5分钟)..

  • ResourceID:

    资源ID, 目前仅对云函数、容器托管相关的指标有意义。云函数(FunctionInvocation, FunctionGBs, FunctionFlux, FunctionError, FunctionDuration)、容器托管(服务名称), 如果想查询某个云函数的指标则在ResourceId中传入函数名; 如果只想查询整个namespace的指标, 则留空或不传.如果想查询数据库某个集合相关信息,传入集合名称



4995
4996
4997
# File 'lib/v20180608/models.rb', line 4995

def MetricName
  @MetricName
end

#ResourceIDObject

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: 调用量FunctionConcurrentExecutions: 云函数并发执行个数FunctionIdleProvisioned: 云函数预置并发闲置量FunctionConcurrencyMemoryMB: 云函数并发执行内存量FunctionThrottle: 云函数受限次数FunctionProvisionedConcurrency: 云函数预置并发

Parameters:

  • EnvId:

    环境ID

  • MetricName:

    指标名:

  • StartTime:

    开始时间,如2018-08-24 10:50:00, 开始时间需要早于结束时间至少五分钟(原因是因为目前统计粒度最小是5分钟).

  • EndTime:

    结束时间,如2018-08-24 10:50:00, 结束时间需要晚于开始时间至少五分钟(原因是因为目前统计粒度最小是5分钟)..

  • ResourceID:

    资源ID, 目前仅对云函数、容器托管相关的指标有意义。云函数(FunctionInvocation, FunctionGBs, FunctionFlux, FunctionError, FunctionDuration)、容器托管(服务名称), 如果想查询某个云函数的指标则在ResourceId中传入函数名; 如果只想查询整个namespace的指标, 则留空或不传.如果想查询数据库某个集合相关信息,传入集合名称



4995
4996
4997
# File 'lib/v20180608/models.rb', line 4995

def ResourceID
  @ResourceID
end

#StartTimeObject

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: 调用量FunctionConcurrentExecutions: 云函数并发执行个数FunctionIdleProvisioned: 云函数预置并发闲置量FunctionConcurrencyMemoryMB: 云函数并发执行内存量FunctionThrottle: 云函数受限次数FunctionProvisionedConcurrency: 云函数预置并发

Parameters:

  • EnvId:

    环境ID

  • MetricName:

    指标名:

  • StartTime:

    开始时间,如2018-08-24 10:50:00, 开始时间需要早于结束时间至少五分钟(原因是因为目前统计粒度最小是5分钟).

  • EndTime:

    结束时间,如2018-08-24 10:50:00, 结束时间需要晚于开始时间至少五分钟(原因是因为目前统计粒度最小是5分钟)..

  • ResourceID:

    资源ID, 目前仅对云函数、容器托管相关的指标有意义。云函数(FunctionInvocation, FunctionGBs, FunctionFlux, FunctionError, FunctionDuration)、容器托管(服务名称), 如果想查询某个云函数的指标则在ResourceId中传入函数名; 如果只想查询整个namespace的指标, 则留空或不传.如果想查询数据库某个集合相关信息,传入集合名称



4995
4996
4997
# File 'lib/v20180608/models.rb', line 4995

def StartTime
  @StartTime
end

Instance Method Details

#deserialize(params) ⇒ Object



5005
5006
5007
5008
5009
5010
5011
# File 'lib/v20180608/models.rb', line 5005

def deserialize(params)
  @EnvId = params['EnvId']
  @MetricName = params['MetricName']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @ResourceID = params['ResourceID']
end