Class: TencentCloud::Tke::V20180525::ModifyPrometheusAlertRuleRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ModifyPrometheusAlertRuleRequest
- Defined in:
- lib/v20180525/models.rb
Overview
ModifyPrometheusAlertRule请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, alertrule = nil) ⇒ ModifyPrometheusAlertRuleRequest
constructor
A new instance of ModifyPrometheusAlertRuleRequest.
Constructor Details
#initialize(instanceid = nil, alertrule = nil) ⇒ ModifyPrometheusAlertRuleRequest
Returns a new instance of ModifyPrometheusAlertRuleRequest.
14810 14811 14812 14813 |
# File 'lib/v20180525/models.rb', line 14810 def initialize(instanceid=nil, alertrule=nil) @InstanceId = instanceid @AlertRule = alertrule end |
Instance Attribute Details
#AlertRule ⇒ Object
14808 14809 14810 |
# File 'lib/v20180525/models.rb', line 14808 def AlertRule @AlertRule end |
#InstanceId ⇒ Object
14808 14809 14810 |
# File 'lib/v20180525/models.rb', line 14808 def InstanceId @InstanceId end |
Instance Method Details
#deserialize(params) ⇒ Object
14815 14816 14817 14818 14819 14820 14821 |
# File 'lib/v20180525/models.rb', line 14815 def deserialize(params) @InstanceId = params['InstanceId'] unless params['AlertRule'].nil? @AlertRule = PrometheusAlertRuleDetail.new @AlertRule.deserialize(params['AlertRule']) end end |