Class: TencentCloud::Antiddos::V20200309::DefaultAlarmThreshold
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Antiddos::V20200309::DefaultAlarmThreshold
- Defined in:
- lib/v20200309/models.rb
Overview
单IP默认告警阈值配置
Instance Attribute Summary collapse
-
#AlarmThreshold ⇒ Object
1(入流量告警阈值) 2(攻击清洗流量告警阈值) ].
-
#AlarmType ⇒ Object
1(入流量告警阈值) 2(攻击清洗流量告警阈值) ].
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(alarmtype = nil, alarmthreshold = nil) ⇒ DefaultAlarmThreshold
constructor
A new instance of DefaultAlarmThreshold.
Constructor Details
#initialize(alarmtype = nil, alarmthreshold = nil) ⇒ DefaultAlarmThreshold
Returns a new instance of DefaultAlarmThreshold.
2580 2581 2582 2583 |
# File 'lib/v20200309/models.rb', line 2580 def initialize(alarmtype=nil, alarmthreshold=nil) @AlarmType = alarmtype @AlarmThreshold = alarmthreshold end |
Instance Attribute Details
#AlarmThreshold ⇒ Object
1(入流量告警阈值) 2(攻击清洗流量告警阈值) ]
2578 2579 2580 |
# File 'lib/v20200309/models.rb', line 2578 def AlarmThreshold @AlarmThreshold end |
#AlarmType ⇒ Object
1(入流量告警阈值) 2(攻击清洗流量告警阈值) ]
2578 2579 2580 |
# File 'lib/v20200309/models.rb', line 2578 def AlarmType @AlarmType end |
Instance Method Details
#deserialize(params) ⇒ Object
2585 2586 2587 2588 |
# File 'lib/v20200309/models.rb', line 2585 def deserialize(params) @AlarmType = params['AlarmType'] @AlarmThreshold = params['AlarmThreshold'] end |