Class: TencentCloud::Cfw::V20190904::BlockIgnoreRule
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::BlockIgnoreRule
- Defined in:
- lib/v20190904/models.rb
Overview
入侵防御放通封禁规则
Instance Attribute Summary collapse
- #Action ⇒ Object
- #Address ⇒ Object
- #Comment ⇒ Object
- #Country ⇒ Object
- #CustomRule ⇒ Object
- #Direction ⇒ Object
- #DirectionList ⇒ Object
- #Domain ⇒ Object
- #EndTime ⇒ Object
- #EventName ⇒ Object
- #FwType ⇒ Object
- #IgnoreReason ⇒ Object
- #Ioc ⇒ Object
- #IocInfo ⇒ Object
- #IocName ⇒ Object
- #IP ⇒ Object
- #LastHitTime ⇒ Object
- #Level ⇒ Object
- #MatchTimes ⇒ Object
- #Protocol ⇒ Object
- #RuleType ⇒ Object
- #Source ⇒ Object
- #StartTime ⇒ Object
- #UniqueId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ruletype = nil, ioc = nil, iocname = nil, iocinfo = nil, domain = nil, ip = nil, level = nil, eventname = nil, direction = nil, directionlist = nil, protocol = nil, address = nil, action = nil, starttime = nil, endtime = nil, ignorereason = nil, source = nil, uniqueid = nil, matchtimes = nil, country = nil, comment = nil, lasthittime = nil, customrule = nil, fwtype = nil) ⇒ BlockIgnoreRule
constructor
A new instance of BlockIgnoreRule.
Constructor Details
#initialize(ruletype = nil, ioc = nil, iocname = nil, iocinfo = nil, domain = nil, ip = nil, level = nil, eventname = nil, direction = nil, directionlist = nil, protocol = nil, address = nil, action = nil, starttime = nil, endtime = nil, ignorereason = nil, source = nil, uniqueid = nil, matchtimes = nil, country = nil, comment = nil, lasthittime = nil, customrule = nil, fwtype = nil) ⇒ BlockIgnoreRule
Returns a new instance of BlockIgnoreRule.
558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 |
# File 'lib/v20190904/models.rb', line 558 def initialize(ruletype=nil, ioc=nil, iocname=nil, iocinfo=nil, domain=nil, ip=nil, level=nil, eventname=nil, direction=nil, directionlist=nil, protocol=nil, address=nil, action=nil, starttime=nil, endtime=nil, ignorereason=nil, source=nil, uniqueid=nil, matchtimes=nil, country=nil, comment=nil, lasthittime=nil, customrule=nil, fwtype=nil) @RuleType = ruletype @Ioc = ioc @IocName = iocname @IocInfo = iocinfo @Domain = domain @IP = ip @Level = level @EventName = eventname @Direction = direction @DirectionList = directionlist @Protocol = protocol @Address = address @Action = action @StartTime = starttime @EndTime = endtime @IgnoreReason = ignorereason @Source = source @UniqueId = uniqueid @MatchTimes = matchtimes @Country = country @Comment = comment @LastHitTime = lasthittime @CustomRule = customrule @FwType = fwtype end |
Instance Attribute Details
#Action ⇒ Object
556 557 558 |
# File 'lib/v20190904/models.rb', line 556 def Action @Action end |
#Address ⇒ Object
556 557 558 |
# File 'lib/v20190904/models.rb', line 556 def Address @Address end |
#Comment ⇒ Object
556 557 558 |
# File 'lib/v20190904/models.rb', line 556 def Comment @Comment end |
#Country ⇒ Object
556 557 558 |
# File 'lib/v20190904/models.rb', line 556 def Country @Country end |
#CustomRule ⇒ Object
556 557 558 |
# File 'lib/v20190904/models.rb', line 556 def CustomRule @CustomRule end |
#Direction ⇒ Object
556 557 558 |
# File 'lib/v20190904/models.rb', line 556 def Direction @Direction end |
#DirectionList ⇒ Object
556 557 558 |
# File 'lib/v20190904/models.rb', line 556 def DirectionList @DirectionList end |
#Domain ⇒ Object
556 557 558 |
# File 'lib/v20190904/models.rb', line 556 def Domain @Domain end |
#EndTime ⇒ Object
556 557 558 |
# File 'lib/v20190904/models.rb', line 556 def EndTime @EndTime end |
#EventName ⇒ Object
556 557 558 |
# File 'lib/v20190904/models.rb', line 556 def EventName @EventName end |
#FwType ⇒ Object
556 557 558 |
# File 'lib/v20190904/models.rb', line 556 def FwType @FwType end |
#IgnoreReason ⇒ Object
556 557 558 |
# File 'lib/v20190904/models.rb', line 556 def IgnoreReason @IgnoreReason end |
#Ioc ⇒ Object
556 557 558 |
# File 'lib/v20190904/models.rb', line 556 def Ioc @Ioc end |
#IocInfo ⇒ Object
556 557 558 |
# File 'lib/v20190904/models.rb', line 556 def IocInfo @IocInfo end |
#IocName ⇒ Object
556 557 558 |
# File 'lib/v20190904/models.rb', line 556 def IocName @IocName end |
#IP ⇒ Object
556 557 558 |
# File 'lib/v20190904/models.rb', line 556 def IP @IP end |
#LastHitTime ⇒ Object
556 557 558 |
# File 'lib/v20190904/models.rb', line 556 def LastHitTime @LastHitTime end |
#Level ⇒ Object
556 557 558 |
# File 'lib/v20190904/models.rb', line 556 def Level @Level end |
#MatchTimes ⇒ Object
556 557 558 |
# File 'lib/v20190904/models.rb', line 556 def MatchTimes @MatchTimes end |
#Protocol ⇒ Object
556 557 558 |
# File 'lib/v20190904/models.rb', line 556 def Protocol @Protocol end |
#RuleType ⇒ Object
556 557 558 |
# File 'lib/v20190904/models.rb', line 556 def RuleType @RuleType end |
#Source ⇒ Object
556 557 558 |
# File 'lib/v20190904/models.rb', line 556 def Source @Source end |
#StartTime ⇒ Object
556 557 558 |
# File 'lib/v20190904/models.rb', line 556 def StartTime @StartTime end |
#UniqueId ⇒ Object
556 557 558 |
# File 'lib/v20190904/models.rb', line 556 def UniqueId @UniqueId end |
Instance Method Details
#deserialize(params) ⇒ Object
585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 |
# File 'lib/v20190904/models.rb', line 585 def deserialize(params) @RuleType = params['RuleType'] @Ioc = params['Ioc'] @IocName = params['IocName'] @IocInfo = params['IocInfo'] @Domain = params['Domain'] @IP = params['IP'] @Level = params['Level'] @EventName = params['EventName'] @Direction = params['Direction'] @DirectionList = params['DirectionList'] @Protocol = params['Protocol'] @Address = params['Address'] @Action = params['Action'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] @IgnoreReason = params['IgnoreReason'] @Source = params['Source'] @UniqueId = params['UniqueId'] @MatchTimes = params['MatchTimes'] @Country = params['Country'] @Comment = params['Comment'] @LastHitTime = params['LastHitTime'] unless params['CustomRule'].nil? @CustomRule = CustomWhiteRule.new @CustomRule.deserialize(params['CustomRule']) end @FwType = params['FwType'] end |