Class: TencentCloud::Monitor::V20180724::DescribeAlarmMetricsRequest

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

Overview

DescribeAlarmMetrics请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(_module = nil, monitortype = nil, namespace = nil) ⇒ DescribeAlarmMetricsRequest

Returns a new instance of DescribeAlarmMetricsRequest.



4403
4404
4405
4406
4407
# File 'lib/v20180724/models.rb', line 4403

def initialize(_module=nil, monitortype=nil, namespace=nil)
  @Module = _module
  @MonitorType = monitortype
  @Namespace = namespace
end

Instance Attribute Details

#ModuleObject

Parameters:

  • 固定值,为"monitor"

  • 监控类型过滤 "MT_QCE"=云产品监控

  • 告警策略类型,由 DescribeAllNamespaces 获得,例如 cvm_device



4401
4402
4403
# File 'lib/v20180724/models.rb', line 4401

def Module
  @Module
end

#MonitorTypeObject

Parameters:

  • 固定值,为"monitor"

  • 监控类型过滤 "MT_QCE"=云产品监控

  • 告警策略类型,由 DescribeAllNamespaces 获得,例如 cvm_device



4401
4402
4403
# File 'lib/v20180724/models.rb', line 4401

def MonitorType
  @MonitorType
end

#NamespaceObject

Parameters:

  • 固定值,为"monitor"

  • 监控类型过滤 "MT_QCE"=云产品监控

  • 告警策略类型,由 DescribeAllNamespaces 获得,例如 cvm_device



4401
4402
4403
# File 'lib/v20180724/models.rb', line 4401

def Namespace
  @Namespace
end

Instance Method Details

#deserialize(params) ⇒ Object



4409
4410
4411
4412
4413
# File 'lib/v20180724/models.rb', line 4409

def deserialize(params)
  @Module = params['Module']
  @MonitorType = params['MonitorType']
  @Namespace = params['Namespace']
end