Class: TencentCloud::Cfw::V20190904::BanAndAllowRuleDel

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

Overview

封禁列表和放通列表结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#DirectionListObject

RuleType: 1黑名单 2外部IP 3域名 4情报 5资产 6自定义规则 7入侵防御规则

Parameters:

  • Ioc:

    封禁和放通对象

  • DirectionList:

    0互联网出站 1互联网入站 5内网访问源 6内网访问目的 (DeleteBlockIgnoreRuleNew接口,该字段无效)

  • RuleType:

    规则类型



466
467
468
# File 'lib/v20190904/models.rb', line 466

def DirectionList
  @DirectionList
end

#IocObject

RuleType: 1黑名单 2外部IP 3域名 4情报 5资产 6自定义规则 7入侵防御规则

Parameters:

  • Ioc:

    封禁和放通对象

  • DirectionList:

    0互联网出站 1互联网入站 5内网访问源 6内网访问目的 (DeleteBlockIgnoreRuleNew接口,该字段无效)

  • RuleType:

    规则类型



466
467
468
# File 'lib/v20190904/models.rb', line 466

def Ioc
  @Ioc
end

#RuleTypeObject

RuleType: 1黑名单 2外部IP 3域名 4情报 5资产 6自定义规则 7入侵防御规则

Parameters:

  • Ioc:

    封禁和放通对象

  • DirectionList:

    0互联网出站 1互联网入站 5内网访问源 6内网访问目的 (DeleteBlockIgnoreRuleNew接口,该字段无效)

  • RuleType:

    规则类型



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