Class: TencentCloud::Monitor::V20180724::ModifyPolicyGroupCondition
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::ModifyPolicyGroupCondition
- Defined in:
- lib/v20180724/models.rb
Overview
修改告警策略组传入的指标阈值条件
Instance Attribute Summary collapse
- #AlarmNotifyPeriod ⇒ Object
- #AlarmNotifyType ⇒ Object
- #CalcPeriod ⇒ Object
- #CalcType ⇒ Object
- #CalcValue ⇒ Object
- #ContinuePeriod ⇒ Object
- #MetricId ⇒ Object
- #RuleId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(metricid = nil, calctype = nil, calcvalue = nil, calcperiod = nil, continueperiod = nil, alarmnotifytype = nil, alarmnotifyperiod = nil, ruleid = nil) ⇒ ModifyPolicyGroupCondition
constructor
A new instance of ModifyPolicyGroupCondition.
Constructor Details
#initialize(metricid = nil, calctype = nil, calcvalue = nil, calcperiod = nil, continueperiod = nil, alarmnotifytype = nil, alarmnotifyperiod = nil, ruleid = nil) ⇒ ModifyPolicyGroupCondition
Returns a new instance of ModifyPolicyGroupCondition.
11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 |
# File 'lib/v20180724/models.rb', line 11874 def initialize(metricid=nil, calctype=nil, calcvalue=nil, calcperiod=nil, continueperiod=nil, alarmnotifytype=nil, alarmnotifyperiod=nil, ruleid=nil) @MetricId = metricid @CalcType = calctype @CalcValue = calcvalue @CalcPeriod = calcperiod @ContinuePeriod = continueperiod @AlarmNotifyType = alarmnotifytype @AlarmNotifyPeriod = alarmnotifyperiod @RuleId = ruleid end |
Instance Attribute Details
#AlarmNotifyPeriod ⇒ Object
11872 11873 11874 |
# File 'lib/v20180724/models.rb', line 11872 def AlarmNotifyPeriod @AlarmNotifyPeriod end |
#AlarmNotifyType ⇒ Object
11872 11873 11874 |
# File 'lib/v20180724/models.rb', line 11872 def AlarmNotifyType @AlarmNotifyType end |
#CalcPeriod ⇒ Object
11872 11873 11874 |
# File 'lib/v20180724/models.rb', line 11872 def CalcPeriod @CalcPeriod end |
#CalcType ⇒ Object
11872 11873 11874 |
# File 'lib/v20180724/models.rb', line 11872 def CalcType @CalcType end |
#CalcValue ⇒ Object
11872 11873 11874 |
# File 'lib/v20180724/models.rb', line 11872 def CalcValue @CalcValue end |
#ContinuePeriod ⇒ Object
11872 11873 11874 |
# File 'lib/v20180724/models.rb', line 11872 def ContinuePeriod @ContinuePeriod end |
#MetricId ⇒ Object
11872 11873 11874 |
# File 'lib/v20180724/models.rb', line 11872 def MetricId @MetricId end |
#RuleId ⇒ Object
11872 11873 11874 |
# File 'lib/v20180724/models.rb', line 11872 def RuleId @RuleId end |
Instance Method Details
#deserialize(params) ⇒ Object
11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 |
# File 'lib/v20180724/models.rb', line 11885 def deserialize(params) @MetricId = params['MetricId'] @CalcType = params['CalcType'] @CalcValue = params['CalcValue'] @CalcPeriod = params['CalcPeriod'] @ContinuePeriod = params['ContinuePeriod'] @AlarmNotifyType = params['AlarmNotifyType'] @AlarmNotifyPeriod = params['AlarmNotifyPeriod'] @RuleId = params['RuleId'] end |