Class: TencentCloud::Monitor::V20180724::PrometheusRuleKV

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

Overview

prometheus 报警规则 KV 参数

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, value = nil) ⇒ PrometheusRuleKV

Returns a new instance of PrometheusRuleKV.



14073
14074
14075
14076
# File 'lib/v20180724/models.rb', line 14073

def initialize(key=nil, value=nil)
  @Key = key
  @Value = value
end

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

  • Value:



14071
14072
14073
# File 'lib/v20180724/models.rb', line 14071

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

  • Value:



14071
14072
14073
# File 'lib/v20180724/models.rb', line 14071

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



14078
14079
14080
14081
# File 'lib/v20180724/models.rb', line 14078

def deserialize(params)
  @Key = params['Key']
  @Value = params['Value']
end