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.



1194
1195
1196
1197
1198
1199
1200
1201
# File 'lib/v20180125/models.rb', line 1194

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:

    最后更新时间



1192
1193
1194
# File 'lib/v20180125/models.rb', line 1192

def AttackTags
  @AttackTags
end

#AttackThresholdObject

Parameters:

  • AttackTags:

    攻击封禁类型标签

  • AttackThreshold:

    攻击次数阈值

  • DefenseStatus:

    自动封禁状态

  • TimeThreshold:

    攻击时间阈值

  • DenyTimeThreshold:

    自动封禁时间

  • LastUpdateTime:

    最后更新时间



1192
1193
1194
# File 'lib/v20180125/models.rb', line 1192

def AttackThreshold
  @AttackThreshold
end

#DefenseStatusObject

Parameters:

  • AttackTags:

    攻击封禁类型标签

  • AttackThreshold:

    攻击次数阈值

  • DefenseStatus:

    自动封禁状态

  • TimeThreshold:

    攻击时间阈值

  • DenyTimeThreshold:

    自动封禁时间

  • LastUpdateTime:

    最后更新时间



1192
1193
1194
# File 'lib/v20180125/models.rb', line 1192

def DefenseStatus
  @DefenseStatus
end

#DenyTimeThresholdObject

Parameters:

  • AttackTags:

    攻击封禁类型标签

  • AttackThreshold:

    攻击次数阈值

  • DefenseStatus:

    自动封禁状态

  • TimeThreshold:

    攻击时间阈值

  • DenyTimeThreshold:

    自动封禁时间

  • LastUpdateTime:

    最后更新时间



1192
1193
1194
# File 'lib/v20180125/models.rb', line 1192

def DenyTimeThreshold
  @DenyTimeThreshold
end

#LastUpdateTimeObject

Parameters:

  • AttackTags:

    攻击封禁类型标签

  • AttackThreshold:

    攻击次数阈值

  • DefenseStatus:

    自动封禁状态

  • TimeThreshold:

    攻击时间阈值

  • DenyTimeThreshold:

    自动封禁时间

  • LastUpdateTime:

    最后更新时间



1192
1193
1194
# File 'lib/v20180125/models.rb', line 1192

def LastUpdateTime
  @LastUpdateTime
end

#TimeThresholdObject

Parameters:

  • AttackTags:

    攻击封禁类型标签

  • AttackThreshold:

    攻击次数阈值

  • DefenseStatus:

    自动封禁状态

  • TimeThreshold:

    攻击时间阈值

  • DenyTimeThreshold:

    自动封禁时间

  • LastUpdateTime:

    最后更新时间



1192
1193
1194
# File 'lib/v20180125/models.rb', line 1192

def TimeThreshold
  @TimeThreshold
end

Instance Method Details

#deserialize(params) ⇒ Object



1203
1204
1205
1206
1207
1208
1209
1210
# File 'lib/v20180125/models.rb', line 1203

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