Class: TencentCloud::Monitor::V20180724::IntegrationMetric

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

Overview

prometheus集成指标详情

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(metricname = nil, name = nil, metrictype = nil, unit = nil, description = nil) ⇒ IntegrationMetric

Returns a new instance of IntegrationMetric.



10858
10859
10860
10861
10862
10863
10864
# File 'lib/v20180724/models.rb', line 10858

def initialize(metricname=nil, name=nil, metrictype=nil, unit=nil, description=nil)
  @MetricName = metricname
  @Name = name
  @MetricType = metrictype
  @Unit = unit
  @Description = description
end

Instance Attribute Details

#DescriptionObject

Parameters:

  • MetricName:

    指标名

  • Name:

    指标名称

  • MetricType:

    统计类型

  • Unit:

    单位

  • Description:

    指标详细描述



10856
10857
10858
# File 'lib/v20180724/models.rb', line 10856

def Description
  @Description
end

#MetricNameObject

Parameters:

  • MetricName:

    指标名

  • Name:

    指标名称

  • MetricType:

    统计类型

  • Unit:

    单位

  • Description:

    指标详细描述



10856
10857
10858
# File 'lib/v20180724/models.rb', line 10856

def MetricName
  @MetricName
end

#MetricTypeObject

Parameters:

  • MetricName:

    指标名

  • Name:

    指标名称

  • MetricType:

    统计类型

  • Unit:

    单位

  • Description:

    指标详细描述



10856
10857
10858
# File 'lib/v20180724/models.rb', line 10856

def MetricType
  @MetricType
end

#NameObject

Parameters:

  • MetricName:

    指标名

  • Name:

    指标名称

  • MetricType:

    统计类型

  • Unit:

    单位

  • Description:

    指标详细描述



10856
10857
10858
# File 'lib/v20180724/models.rb', line 10856

def Name
  @Name
end

#UnitObject

Parameters:

  • MetricName:

    指标名

  • Name:

    指标名称

  • MetricType:

    统计类型

  • Unit:

    单位

  • Description:

    指标详细描述



10856
10857
10858
# File 'lib/v20180724/models.rb', line 10856

def Unit
  @Unit
end

Instance Method Details

#deserialize(params) ⇒ Object



10866
10867
10868
10869
10870
10871
10872
# File 'lib/v20180724/models.rb', line 10866

def deserialize(params)
  @MetricName = params['MetricName']
  @Name = params['Name']
  @MetricType = params['MetricType']
  @Unit = params['Unit']
  @Description = params['Description']
end