Class: TencentCloud::Dayu::V20180709::DDoSAlarmThreshold

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

Overview

DDoS告警阈值

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(alarmtype = nil, alarmthreshold = nil) ⇒ DDoSAlarmThreshold

Returns a new instance of DDoSAlarmThreshold.



1513
1514
1515
1516
# File 'lib/v20180709/models.rb', line 1513

def initialize(alarmtype=nil, alarmthreshold=nil)
  @AlarmType = alarmtype
  @AlarmThreshold = alarmthreshold
end

Instance Attribute Details

#AlarmThresholdObject

Parameters:

  • AlarmType:

    告警阈值类型,1-入流量,2-清洗流量

  • AlarmThreshold:

    告警阈值,大于0(目前排定的值)



1511
1512
1513
# File 'lib/v20180709/models.rb', line 1511

def AlarmThreshold
  @AlarmThreshold
end

#AlarmTypeObject

Parameters:

  • AlarmType:

    告警阈值类型,1-入流量,2-清洗流量

  • AlarmThreshold:

    告警阈值,大于0(目前排定的值)



1511
1512
1513
# File 'lib/v20180709/models.rb', line 1511

def AlarmType
  @AlarmType
end

Instance Method Details

#deserialize(params) ⇒ Object



1518
1519
1520
1521
# File 'lib/v20180709/models.rb', line 1518

def deserialize(params)
  @AlarmType = params['AlarmType']
  @AlarmThreshold = params['AlarmThreshold']
end