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.
614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 |
# File 'lib/v20190904/models.rb', line 614 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
612 613 614 |
# File 'lib/v20190904/models.rb', line 612 def Action @Action end |
#Address ⇒ Object
612 613 614 |
# File 'lib/v20190904/models.rb', line 612 def Address @Address end |
#Comment ⇒ Object
612 613 614 |
# File 'lib/v20190904/models.rb', line 612 def Comment @Comment end |
#Country ⇒ Object
612 613 614 |
# File 'lib/v20190904/models.rb', line 612 def Country @Country end |
#CustomRule ⇒ Object
612 613 614 |
# File 'lib/v20190904/models.rb', line 612 def CustomRule @CustomRule end |
#Direction ⇒ Object
612 613 614 |
# File 'lib/v20190904/models.rb', line 612 def Direction @Direction end |
#DirectionList ⇒ Object
612 613 614 |
# File 'lib/v20190904/models.rb', line 612 def DirectionList @DirectionList end |
#Domain ⇒ Object
612 613 614 |
# File 'lib/v20190904/models.rb', line 612 def Domain @Domain end |
#EndTime ⇒ Object
612 613 614 |
# File 'lib/v20190904/models.rb', line 612 def EndTime @EndTime end |
#EventName ⇒ Object
612 613 614 |
# File 'lib/v20190904/models.rb', line 612 def EventName @EventName end |
#FwType ⇒ Object
612 613 614 |
# File 'lib/v20190904/models.rb', line 612 def FwType @FwType end |
#IgnoreReason ⇒ Object
612 613 614 |
# File 'lib/v20190904/models.rb', line 612 def IgnoreReason @IgnoreReason end |
#Ioc ⇒ Object
612 613 614 |
# File 'lib/v20190904/models.rb', line 612 def Ioc @Ioc end |
#IocInfo ⇒ Object
612 613 614 |
# File 'lib/v20190904/models.rb', line 612 def IocInfo @IocInfo end |
#IocName ⇒ Object
612 613 614 |
# File 'lib/v20190904/models.rb', line 612 def IocName @IocName end |
#IP ⇒ Object
612 613 614 |
# File 'lib/v20190904/models.rb', line 612 def IP @IP end |
#LastHitTime ⇒ Object
612 613 614 |
# File 'lib/v20190904/models.rb', line 612 def LastHitTime @LastHitTime end |
#Level ⇒ Object
612 613 614 |
# File 'lib/v20190904/models.rb', line 612 def Level @Level end |
#MatchTimes ⇒ Object
612 613 614 |
# File 'lib/v20190904/models.rb', line 612 def MatchTimes @MatchTimes end |
#Protocol ⇒ Object
612 613 614 |
# File 'lib/v20190904/models.rb', line 612 def Protocol @Protocol end |
#RuleType ⇒ Object
612 613 614 |
# File 'lib/v20190904/models.rb', line 612 def RuleType @RuleType end |
#Source ⇒ Object
612 613 614 |
# File 'lib/v20190904/models.rb', line 612 def Source @Source end |
#StartTime ⇒ Object
612 613 614 |
# File 'lib/v20190904/models.rb', line 612 def StartTime @StartTime end |
#UniqueId ⇒ Object
612 613 614 |
# File 'lib/v20190904/models.rb', line 612 def UniqueId @UniqueId end |
Instance Method Details
#deserialize(params) ⇒ Object
641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 |
# File 'lib/v20190904/models.rb', line 641 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 |