Class: TencentCloud::Cfw::V20190904::BanAndAllowRuleDel
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::BanAndAllowRuleDel
- Defined in:
- lib/v20190904/models.rb
Overview
封禁列表和放通列表结构体
Instance Attribute Summary collapse
-
#DirectionList ⇒ Object
RuleType: 1黑名单 2外部IP 3域名 4情报 5资产 6自定义规则 7入侵防御规则.
-
#Ioc ⇒ Object
RuleType: 1黑名单 2外部IP 3域名 4情报 5资产 6自定义规则 7入侵防御规则.
-
#RuleType ⇒ Object
RuleType: 1黑名单 2外部IP 3域名 4情报 5资产 6自定义规则 7入侵防御规则.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ioc = nil, directionlist = nil, ruletype = nil) ⇒ BanAndAllowRuleDel
constructor
A new instance of BanAndAllowRuleDel.
Constructor Details
#initialize(ioc = nil, directionlist = nil, ruletype = nil) ⇒ BanAndAllowRuleDel
Returns a new instance of BanAndAllowRuleDel.
468 469 470 471 472 |
# File 'lib/v20190904/models.rb', line 468 def initialize(ioc=nil, directionlist=nil, ruletype=nil) @Ioc = ioc @DirectionList = directionlist @RuleType = ruletype end |
Instance Attribute Details
#DirectionList ⇒ Object
RuleType: 1黑名单 2外部IP 3域名 4情报 5资产 6自定义规则 7入侵防御规则
466 467 468 |
# File 'lib/v20190904/models.rb', line 466 def DirectionList @DirectionList end |
#Ioc ⇒ Object
RuleType: 1黑名单 2外部IP 3域名 4情报 5资产 6自定义规则 7入侵防御规则
466 467 468 |
# File 'lib/v20190904/models.rb', line 466 def Ioc @Ioc end |
#RuleType ⇒ Object
RuleType: 1黑名单 2外部IP 3域名 4情报 5资产 6自定义规则 7入侵防御规则
466 467 468 |
# File 'lib/v20190904/models.rb', line 466 def RuleType @RuleType end |
Instance Method Details
#deserialize(params) ⇒ Object
474 475 476 477 478 |
# File 'lib/v20190904/models.rb', line 474 def deserialize(params) @Ioc = params['Ioc'] @DirectionList = params['DirectionList'] @RuleType = params['RuleType'] end |