Class: TencentCloud::Waf::V20180125::DescribeWafAutoDenyRulesResponse

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

Overview

DescribeWafAutoDenyRules返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attackthreshold = nil, timethreshold = nil, denytimethreshold = nil, defensestatus = nil, source = nil, hwstate = nil, requestid = nil) ⇒ DescribeWafAutoDenyRulesResponse

Returns a new instance of DescribeWafAutoDenyRulesResponse.



10026
10027
10028
10029
10030
10031
10032
10033
10034
# File 'lib/v20180125/models.rb', line 10026

def initialize(attackthreshold=nil, timethreshold=nil, denytimethreshold=nil, defensestatus=nil, source=nil, hwstate=nil, requestid=nil)
  @AttackThreshold = attackthreshold
  @TimeThreshold = timethreshold
  @DenyTimeThreshold = denytimethreshold
  @DefenseStatus = defensestatus
  @Source = source
  @HWState = hwstate
  @RequestId = requestid
end

Instance Attribute Details

#AttackThresholdObject

Parameters:

  • AttackThreshold:

    攻击次数阈值

  • TimeThreshold:

    攻击时间阈值

  • DenyTimeThreshold:

    自动封禁时间

  • DefenseStatus:

    自动封禁状态

  • Source:

    数据来源Source字段 custom-自定义(默认)、batch-domain-批量域名

  • HWState:

    重保护网域名状态

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



10024
10025
10026
# File 'lib/v20180125/models.rb', line 10024

def AttackThreshold
  @AttackThreshold
end

#DefenseStatusObject

Parameters:

  • AttackThreshold:

    攻击次数阈值

  • TimeThreshold:

    攻击时间阈值

  • DenyTimeThreshold:

    自动封禁时间

  • DefenseStatus:

    自动封禁状态

  • Source:

    数据来源Source字段 custom-自定义(默认)、batch-domain-批量域名

  • HWState:

    重保护网域名状态

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



10024
10025
10026
# File 'lib/v20180125/models.rb', line 10024

def DefenseStatus
  @DefenseStatus
end

#DenyTimeThresholdObject

Parameters:

  • AttackThreshold:

    攻击次数阈值

  • TimeThreshold:

    攻击时间阈值

  • DenyTimeThreshold:

    自动封禁时间

  • DefenseStatus:

    自动封禁状态

  • Source:

    数据来源Source字段 custom-自定义(默认)、batch-domain-批量域名

  • HWState:

    重保护网域名状态

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



10024
10025
10026
# File 'lib/v20180125/models.rb', line 10024

def DenyTimeThreshold
  @DenyTimeThreshold
end

#HWStateObject

Parameters:

  • AttackThreshold:

    攻击次数阈值

  • TimeThreshold:

    攻击时间阈值

  • DenyTimeThreshold:

    自动封禁时间

  • DefenseStatus:

    自动封禁状态

  • Source:

    数据来源Source字段 custom-自定义(默认)、batch-domain-批量域名

  • HWState:

    重保护网域名状态

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



10024
10025
10026
# File 'lib/v20180125/models.rb', line 10024

def HWState
  @HWState
end

#RequestIdObject

Parameters:

  • AttackThreshold:

    攻击次数阈值

  • TimeThreshold:

    攻击时间阈值

  • DenyTimeThreshold:

    自动封禁时间

  • DefenseStatus:

    自动封禁状态

  • Source:

    数据来源Source字段 custom-自定义(默认)、batch-domain-批量域名

  • HWState:

    重保护网域名状态

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



10024
10025
10026
# File 'lib/v20180125/models.rb', line 10024

def RequestId
  @RequestId
end

#SourceObject

Parameters:

  • AttackThreshold:

    攻击次数阈值

  • TimeThreshold:

    攻击时间阈值

  • DenyTimeThreshold:

    自动封禁时间

  • DefenseStatus:

    自动封禁状态

  • Source:

    数据来源Source字段 custom-自定义(默认)、batch-domain-批量域名

  • HWState:

    重保护网域名状态

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



10024
10025
10026
# File 'lib/v20180125/models.rb', line 10024

def Source
  @Source
end

#TimeThresholdObject

Parameters:

  • AttackThreshold:

    攻击次数阈值

  • TimeThreshold:

    攻击时间阈值

  • DenyTimeThreshold:

    自动封禁时间

  • DefenseStatus:

    自动封禁状态

  • Source:

    数据来源Source字段 custom-自定义(默认)、batch-domain-批量域名

  • HWState:

    重保护网域名状态

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



10024
10025
10026
# File 'lib/v20180125/models.rb', line 10024

def TimeThreshold
  @TimeThreshold
end

Instance Method Details

#deserialize(params) ⇒ Object



10036
10037
10038
10039
10040
10041
10042
10043
10044
# File 'lib/v20180125/models.rb', line 10036

def deserialize(params)
  @AttackThreshold = params['AttackThreshold']
  @TimeThreshold = params['TimeThreshold']
  @DenyTimeThreshold = params['DenyTimeThreshold']
  @DefenseStatus = params['DefenseStatus']
  @Source = params['Source']
  @HWState = params['HWState']
  @RequestId = params['RequestId']
end