Class: TencentCloud::Monitor::V20180724::PrometheusRuleKV
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::PrometheusRuleKV
- Defined in:
- lib/v20180724/models.rb
Overview
prometheus 报警规则 KV 参数
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ PrometheusRuleKV
constructor
A new instance of PrometheusRuleKV.
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
#Key ⇒ Object
14071 14072 14073 |
# File 'lib/v20180724/models.rb', line 14071 def Key @Key end |
#Value ⇒ Object
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 |