Class: TencentCloud::Dayu::V20180709::DDoSPolicyPacketFilter
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dayu::V20180709::DDoSPolicyPacketFilter
- Defined in:
- lib/v20180709/models.rb
Overview
DDoS高级策略的报文过滤项
Instance Attribute Summary collapse
-
#Action ⇒ Object
begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ].
-
#Depth ⇒ Object
begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ].
-
#DportEnd ⇒ Object
begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ].
-
#DportStart ⇒ Object
begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ].
-
#IsNot ⇒ Object
begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ].
-
#MatchBegin ⇒ Object
begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ].
-
#MatchType ⇒ Object
begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ].
-
#Offset ⇒ Object
begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ].
-
#PktlenMax ⇒ Object
begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ].
-
#PktlenMin ⇒ Object
begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ].
-
#Protocol ⇒ Object
begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ].
-
#SportEnd ⇒ Object
begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ].
-
#SportStart ⇒ Object
begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ].
-
#Str ⇒ Object
begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ].
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(protocol = nil, sportstart = nil, sportend = nil, dportstart = nil, dportend = nil, pktlenmin = nil, pktlenmax = nil, matchbegin = nil, matchtype = nil, str = nil, depth = nil, offset = nil, isnot = nil, action = nil) ⇒ DDoSPolicyPacketFilter
constructor
A new instance of DDoSPolicyPacketFilter.
Constructor Details
#initialize(protocol = nil, sportstart = nil, sportend = nil, dportstart = nil, dportend = nil, pktlenmin = nil, pktlenmax = nil, matchbegin = nil, matchtype = nil, str = nil, depth = nil, offset = nil, isnot = nil, action = nil) ⇒ DDoSPolicyPacketFilter
Returns a new instance of DDoSPolicyPacketFilter.
1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 |
# File 'lib/v20180709/models.rb', line 1748 def initialize(protocol=nil, sportstart=nil, sportend=nil, dportstart=nil, dportend=nil, pktlenmin=nil, pktlenmax=nil, matchbegin=nil, matchtype=nil, str=nil, depth=nil, offset=nil, isnot=nil, action=nil) @Protocol = protocol @SportStart = sportstart @SportEnd = sportend @DportStart = dportstart @DportEnd = dportend @PktlenMin = pktlenmin @PktlenMax = pktlenmax @MatchBegin = matchbegin @MatchType = matchtype @Str = str @Depth = depth @Offset = offset @IsNot = isnot @Action = action end |
Instance Attribute Details
#Action ⇒ Object
begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ]
1746 1747 1748 |
# File 'lib/v20180709/models.rb', line 1746 def Action @Action end |
#Depth ⇒ Object
begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ]
1746 1747 1748 |
# File 'lib/v20180709/models.rb', line 1746 def Depth @Depth end |
#DportEnd ⇒ Object
begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ]
1746 1747 1748 |
# File 'lib/v20180709/models.rb', line 1746 def DportEnd @DportEnd end |
#DportStart ⇒ Object
begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ]
1746 1747 1748 |
# File 'lib/v20180709/models.rb', line 1746 def DportStart @DportStart end |
#IsNot ⇒ Object
begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ]
1746 1747 1748 |
# File 'lib/v20180709/models.rb', line 1746 def IsNot @IsNot end |
#MatchBegin ⇒ Object
begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ]
1746 1747 1748 |
# File 'lib/v20180709/models.rb', line 1746 def MatchBegin @MatchBegin end |
#MatchType ⇒ Object
begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ]
1746 1747 1748 |
# File 'lib/v20180709/models.rb', line 1746 def MatchType @MatchType end |
#Offset ⇒ Object
begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ]
1746 1747 1748 |
# File 'lib/v20180709/models.rb', line 1746 def Offset @Offset end |
#PktlenMax ⇒ Object
begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ]
1746 1747 1748 |
# File 'lib/v20180709/models.rb', line 1746 def PktlenMax @PktlenMax end |
#PktlenMin ⇒ Object
begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ]
1746 1747 1748 |
# File 'lib/v20180709/models.rb', line 1746 def PktlenMin @PktlenMin end |
#Protocol ⇒ Object
begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ]
1746 1747 1748 |
# File 'lib/v20180709/models.rb', line 1746 def Protocol @Protocol end |
#SportEnd ⇒ Object
begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ]
1746 1747 1748 |
# File 'lib/v20180709/models.rb', line 1746 def SportEnd @SportEnd end |
#SportStart ⇒ Object
begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ]
1746 1747 1748 |
# File 'lib/v20180709/models.rb', line 1746 def SportStart @SportStart end |
#Str ⇒ Object
begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ]
1746 1747 1748 |
# File 'lib/v20180709/models.rb', line 1746 def Str @Str end |
Instance Method Details
#deserialize(params) ⇒ Object
1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 |
# File 'lib/v20180709/models.rb', line 1765 def deserialize(params) @Protocol = params['Protocol'] @SportStart = params['SportStart'] @SportEnd = params['SportEnd'] @DportStart = params['DportStart'] @DportEnd = params['DportEnd'] @PktlenMin = params['PktlenMin'] @PktlenMax = params['PktlenMax'] @MatchBegin = params['MatchBegin'] @MatchType = params['MatchType'] @Str = params['Str'] @Depth = params['Depth'] @Offset = params['Offset'] @IsNot = params['IsNot'] @Action = params['Action'] end |