Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQPublicAccessMonitorDataRequest

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

Overview

DescribeRocketMQPublicAccessMonitorData请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, metricname = nil, starttime = nil, endtime = nil, period = nil) ⇒ DescribeRocketMQPublicAccessMonitorDataRequest

Returns a new instance of DescribeRocketMQPublicAccessMonitorDataRequest.



6587
6588
6589
6590
6591
6592
6593
# File 'lib/v20200217/models.rb', line 6587

def initialize(instanceid=nil, metricname=nil, starttime=nil, endtime=nil, period=nil)
  @InstanceId = instanceid
  @MetricName = metricname
  @StartTime = starttime
  @EndTime = endtime
  @Period = period
end

Instance Attribute Details

#EndTimeObject

Parameters:

  • InstanceId:

    专享集群ID

  • MetricName:

    指标名称,仅支持单指标拉取。目前仅支持:ClientIntraffic; ClientOuttraffic

  • StartTime:

    起始时间

  • EndTime:

    结束时间,默认为当前时间

  • Period:

    监控统计周期,如60。默认为取值为300,单位为s。



6585
6586
6587
# File 'lib/v20200217/models.rb', line 6585

def EndTime
  @EndTime
end

#InstanceIdObject

Parameters:

  • InstanceId:

    专享集群ID

  • MetricName:

    指标名称,仅支持单指标拉取。目前仅支持:ClientIntraffic; ClientOuttraffic

  • StartTime:

    起始时间

  • EndTime:

    结束时间,默认为当前时间

  • Period:

    监控统计周期,如60。默认为取值为300,单位为s。



6585
6586
6587
# File 'lib/v20200217/models.rb', line 6585

def InstanceId
  @InstanceId
end

#MetricNameObject

Parameters:

  • InstanceId:

    专享集群ID

  • MetricName:

    指标名称,仅支持单指标拉取。目前仅支持:ClientIntraffic; ClientOuttraffic

  • StartTime:

    起始时间

  • EndTime:

    结束时间,默认为当前时间

  • Period:

    监控统计周期,如60。默认为取值为300,单位为s。



6585
6586
6587
# File 'lib/v20200217/models.rb', line 6585

def MetricName
  @MetricName
end

#PeriodObject

Parameters:

  • InstanceId:

    专享集群ID

  • MetricName:

    指标名称,仅支持单指标拉取。目前仅支持:ClientIntraffic; ClientOuttraffic

  • StartTime:

    起始时间

  • EndTime:

    结束时间,默认为当前时间

  • Period:

    监控统计周期,如60。默认为取值为300,单位为s。



6585
6586
6587
# File 'lib/v20200217/models.rb', line 6585

def Period
  @Period
end

#StartTimeObject

Parameters:

  • InstanceId:

    专享集群ID

  • MetricName:

    指标名称,仅支持单指标拉取。目前仅支持:ClientIntraffic; ClientOuttraffic

  • StartTime:

    起始时间

  • EndTime:

    结束时间,默认为当前时间

  • Period:

    监控统计周期,如60。默认为取值为300,单位为s。



6585
6586
6587
# File 'lib/v20200217/models.rb', line 6585

def StartTime
  @StartTime
end

Instance Method Details

#deserialize(params) ⇒ Object



6595
6596
6597
6598
6599
6600
6601
# File 'lib/v20200217/models.rb', line 6595

def deserialize(params)
  @InstanceId = params['InstanceId']
  @MetricName = params['MetricName']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @Period = params['Period']
end