Class: TencentCloud::Waf::V20180125::AutoDenyDetail

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

Overview

Waf 攻击自动封禁详情

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attacktags = nil, attackthreshold = nil, defensestatus = nil, timethreshold = nil, denytimethreshold = nil, lastupdatetime = nil) ⇒ AutoDenyDetail

Returns a new instance of AutoDenyDetail.



1041
1042
1043
1044
1045
1046
1047
1048
# File 'lib/v20180125/models.rb', line 1041

def initialize(attacktags=nil, attackthreshold=nil, defensestatus=nil, timethreshold=nil, denytimethreshold=nil, lastupdatetime=nil)
  @AttackTags = attacktags
  @AttackThreshold = attackthreshold
  @DefenseStatus = defensestatus
  @TimeThreshold = timethreshold
  @DenyTimeThreshold = denytimethreshold
  @LastUpdateTime = lastupdatetime
end

Instance Attribute Details

#AttackTagsObject

Parameters:

  • AttackTags:

    攻击封禁类型标签

  • AttackThreshold:

    攻击次数阈值

  • DefenseStatus:

    自动封禁状态

  • TimeThreshold:

    攻击时间阈值

  • DenyTimeThreshold:

    自动封禁时间

  • LastUpdateTime:

    最后更新时间



1039
1040
1041
# File 'lib/v20180125/models.rb', line 1039

def AttackTags
  @AttackTags
end

#AttackThresholdObject

Parameters:

  • AttackTags:

    攻击封禁类型标签

  • AttackThreshold:

    攻击次数阈值

  • DefenseStatus:

    自动封禁状态

  • TimeThreshold:

    攻击时间阈值

  • DenyTimeThreshold:

    自动封禁时间

  • LastUpdateTime:

    最后更新时间



1039
1040
1041
# File 'lib/v20180125/models.rb', line 1039

def AttackThreshold
  @AttackThreshold
end

#DefenseStatusObject

Parameters:

  • AttackTags:

    攻击封禁类型标签

  • AttackThreshold:

    攻击次数阈值

  • DefenseStatus:

    自动封禁状态

  • TimeThreshold:

    攻击时间阈值

  • DenyTimeThreshold:

    自动封禁时间

  • LastUpdateTime:

    最后更新时间



1039
1040
1041
# File 'lib/v20180125/models.rb', line 1039

def DefenseStatus
  @DefenseStatus
end

#DenyTimeThresholdObject

Parameters:

  • AttackTags:

    攻击封禁类型标签

  • AttackThreshold:

    攻击次数阈值

  • DefenseStatus:

    自动封禁状态

  • TimeThreshold:

    攻击时间阈值

  • DenyTimeThreshold:

    自动封禁时间

  • LastUpdateTime:

    最后更新时间



1039
1040
1041
# File 'lib/v20180125/models.rb', line 1039

def DenyTimeThreshold
  @DenyTimeThreshold
end

#LastUpdateTimeObject

Parameters:

  • AttackTags:

    攻击封禁类型标签

  • AttackThreshold:

    攻击次数阈值

  • DefenseStatus:

    自动封禁状态

  • TimeThreshold:

    攻击时间阈值

  • DenyTimeThreshold:

    自动封禁时间

  • LastUpdateTime:

    最后更新时间



1039
1040
1041
# File 'lib/v20180125/models.rb', line 1039

def LastUpdateTime
  @LastUpdateTime
end

#TimeThresholdObject

Parameters:

  • AttackTags:

    攻击封禁类型标签

  • AttackThreshold:

    攻击次数阈值

  • DefenseStatus:

    自动封禁状态

  • TimeThreshold:

    攻击时间阈值

  • DenyTimeThreshold:

    自动封禁时间

  • LastUpdateTime:

    最后更新时间



1039
1040
1041
# File 'lib/v20180125/models.rb', line 1039

def TimeThreshold
  @TimeThreshold
end

Instance Method Details

#deserialize(params) ⇒ Object



1050
1051
1052
1053
1054
1055
1056
1057
# File 'lib/v20180125/models.rb', line 1050

def deserialize(params)
  @AttackTags = params['AttackTags']
  @AttackThreshold = params['AttackThreshold']
  @DefenseStatus = params['DefenseStatus']
  @TimeThreshold = params['TimeThreshold']
  @DenyTimeThreshold = params['DenyTimeThreshold']
  @LastUpdateTime = params['LastUpdateTime']
end