Class: TencentCloud::Cdn::V20180606::ScdnWafRule

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

Overview

Waf 规则信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attacktype = nil, operate = nil) ⇒ ScdnWafRule

Returns a new instance of ScdnWafRule.



12554
12555
12556
12557
# File 'lib/v20180606/models.rb', line 12554

def initialize(attacktype=nil, operate=nil)
  @AttackType = attacktype
  @Operate = operate
end

Instance Attribute Details

#AttackTypeObject

Parameters:

  • AttackType:

    攻击类型

  • Operate:

    防护措施,observe



12552
12553
12554
# File 'lib/v20180606/models.rb', line 12552

def AttackType
  @AttackType
end

#OperateObject

Parameters:

  • AttackType:

    攻击类型

  • Operate:

    防护措施,observe



12552
12553
12554
# File 'lib/v20180606/models.rb', line 12552

def Operate
  @Operate
end

Instance Method Details

#deserialize(params) ⇒ Object



12559
12560
12561
12562
# File 'lib/v20180606/models.rb', line 12559

def deserialize(params)
  @AttackType = params['AttackType']
  @Operate = params['Operate']
end