tencentcloud-sdk-antiddos 3.0.445 → 3.0.447
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200309/models.rb +62 -10
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44bfc990353c0baed964e934febef6a1a5e19672
|
4
|
+
data.tar.gz: 75754b6f485b6a2299793d5a7250eaea14907e71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69d70ab7dec549ad2f78f7997c83cf6b5c53c2d4609df6ad737f23f0120dd360cd3fea43df8d2afabdbf6b2460951cd3bbdcc2f51030b46bfaf5c4aaae172204
|
7
|
+
data.tar.gz: fd1369f5a6561b2b61aae75859a6e0cdfb8613b4498fd82f48dcaee63edb7c12862aa9bae1aa73b7a36a08cfe363b858ef87b7328d12e7c0dc3443c2acfaf66e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.447
|
data/lib/v20200309/models.rb
CHANGED
@@ -6590,19 +6590,39 @@ module TencentCloud
|
|
6590
6590
|
# @type Id: String
|
6591
6591
|
# @param Business: 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版)
|
6592
6592
|
# @type Business: String
|
6593
|
-
|
6594
|
-
|
6595
|
-
|
6596
|
-
|
6593
|
+
# @param OtherThresholdFlag: 配置其他阈值标志位,1表示配置其他阈值
|
6594
|
+
# @type OtherThresholdFlag: Integer
|
6595
|
+
# @param SynFloodThreshold: SYN FLOOD流量阈值
|
6596
|
+
# @type SynFloodThreshold: Integer
|
6597
|
+
# @param SynFloodPktThreshold: SYN FLOOD包量阈值
|
6598
|
+
# @type SynFloodPktThreshold: Integer
|
6599
|
+
# @param UdpFloodThreshold: UDP FLOOD流量阈值
|
6600
|
+
# @type UdpFloodThreshold: Integer
|
6601
|
+
# @param UdpFloodPktThreshold: UDP FLOOD包量阈值
|
6602
|
+
# @type UdpFloodPktThreshold: Integer
|
6603
|
+
|
6604
|
+
attr_accessor :Threshold, :Id, :Business, :OtherThresholdFlag, :SynFloodThreshold, :SynFloodPktThreshold, :UdpFloodThreshold, :UdpFloodPktThreshold
|
6605
|
+
|
6606
|
+
def initialize(threshold=nil, id=nil, business=nil, otherthresholdflag=nil, synfloodthreshold=nil, synfloodpktthreshold=nil, udpfloodthreshold=nil, udpfloodpktthreshold=nil)
|
6597
6607
|
@Threshold = threshold
|
6598
6608
|
@Id = id
|
6599
6609
|
@Business = business
|
6610
|
+
@OtherThresholdFlag = otherthresholdflag
|
6611
|
+
@SynFloodThreshold = synfloodthreshold
|
6612
|
+
@SynFloodPktThreshold = synfloodpktthreshold
|
6613
|
+
@UdpFloodThreshold = udpfloodthreshold
|
6614
|
+
@UdpFloodPktThreshold = udpfloodpktthreshold
|
6600
6615
|
end
|
6601
6616
|
|
6602
6617
|
def deserialize(params)
|
6603
6618
|
@Threshold = params['Threshold']
|
6604
6619
|
@Id = params['Id']
|
6605
6620
|
@Business = params['Business']
|
6621
|
+
@OtherThresholdFlag = params['OtherThresholdFlag']
|
6622
|
+
@SynFloodThreshold = params['SynFloodThreshold']
|
6623
|
+
@SynFloodPktThreshold = params['SynFloodPktThreshold']
|
6624
|
+
@UdpFloodThreshold = params['UdpFloodThreshold']
|
6625
|
+
@UdpFloodPktThreshold = params['UdpFloodPktThreshold']
|
6606
6626
|
end
|
6607
6627
|
end
|
6608
6628
|
|
@@ -7085,10 +7105,12 @@ module TencentCloud
|
|
7085
7105
|
# @type IsNot2: Integer
|
7086
7106
|
# @param Id: 特征过滤配置添加成功后自动生成的规则ID,当添加新特征过滤配置时,此字段不用填写;
|
7087
7107
|
# @type Id: String
|
7108
|
+
# @param PktLenGT: 大于报文长度,取值1+
|
7109
|
+
# @type PktLenGT: Integer
|
7088
7110
|
|
7089
|
-
attr_accessor :Protocol, :SportStart, :SportEnd, :DportStart, :DportEnd, :PktlenMin, :PktlenMax, :Action, :MatchBegin, :MatchType, :Str, :Depth, :Offset, :IsNot, :MatchLogic, :MatchBegin2, :MatchType2, :Str2, :Depth2, :Offset2, :IsNot2, :Id
|
7111
|
+
attr_accessor :Protocol, :SportStart, :SportEnd, :DportStart, :DportEnd, :PktlenMin, :PktlenMax, :Action, :MatchBegin, :MatchType, :Str, :Depth, :Offset, :IsNot, :MatchLogic, :MatchBegin2, :MatchType2, :Str2, :Depth2, :Offset2, :IsNot2, :Id, :PktLenGT
|
7090
7112
|
|
7091
|
-
def initialize(protocol=nil, sportstart=nil, sportend=nil, dportstart=nil, dportend=nil, pktlenmin=nil, pktlenmax=nil, action=nil, matchbegin=nil, matchtype=nil, str=nil, depth=nil, offset=nil, isnot=nil, matchlogic=nil, matchbegin2=nil, matchtype2=nil, str2=nil, depth2=nil, offset2=nil, isnot2=nil, id=nil)
|
7113
|
+
def initialize(protocol=nil, sportstart=nil, sportend=nil, dportstart=nil, dportend=nil, pktlenmin=nil, pktlenmax=nil, action=nil, matchbegin=nil, matchtype=nil, str=nil, depth=nil, offset=nil, isnot=nil, matchlogic=nil, matchbegin2=nil, matchtype2=nil, str2=nil, depth2=nil, offset2=nil, isnot2=nil, id=nil, pktlengt=nil)
|
7092
7114
|
@Protocol = protocol
|
7093
7115
|
@SportStart = sportstart
|
7094
7116
|
@SportEnd = sportend
|
@@ -7111,6 +7133,7 @@ module TencentCloud
|
|
7111
7133
|
@Offset2 = offset2
|
7112
7134
|
@IsNot2 = isnot2
|
7113
7135
|
@Id = id
|
7136
|
+
@PktLenGT = pktlengt
|
7114
7137
|
end
|
7115
7138
|
|
7116
7139
|
def deserialize(params)
|
@@ -7136,6 +7159,7 @@ module TencentCloud
|
|
7136
7159
|
@Offset2 = params['Offset2']
|
7137
7160
|
@IsNot2 = params['IsNot2']
|
7138
7161
|
@Id = params['Id']
|
7162
|
+
@PktLenGT = params['PktLenGT']
|
7139
7163
|
end
|
7140
7164
|
end
|
7141
7165
|
|
@@ -7219,10 +7243,22 @@ module TencentCloud
|
|
7219
7243
|
# @type InstanceDetailList: Array
|
7220
7244
|
# @param ListenerCcThresholdList: 域名与协议纬度的防护阈值
|
7221
7245
|
# @type ListenerCcThresholdList: Array
|
7246
|
+
# @param SynFloodThreshold: SYN FLOOD流量阈值
|
7247
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7248
|
+
# @type SynFloodThreshold: Integer
|
7249
|
+
# @param SynFloodPktThreshold: SYN FLOOD包量阈值
|
7250
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7251
|
+
# @type SynFloodPktThreshold: Integer
|
7252
|
+
# @param UdpFloodThreshold: UDP FLOOD流量阈值
|
7253
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7254
|
+
# @type UdpFloodThreshold: Integer
|
7255
|
+
# @param UdpFloodPktThreshold: UDP FLOOD包量阈值
|
7256
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7257
|
+
# @type UdpFloodPktThreshold: Integer
|
7222
7258
|
|
7223
|
-
attr_accessor :DDoSLevel, :DDoSThreshold, :DDoSAI, :CCEnable, :CCThreshold, :InstanceDetailList, :ListenerCcThresholdList
|
7259
|
+
attr_accessor :DDoSLevel, :DDoSThreshold, :DDoSAI, :CCEnable, :CCThreshold, :InstanceDetailList, :ListenerCcThresholdList, :SynFloodThreshold, :SynFloodPktThreshold, :UdpFloodThreshold, :UdpFloodPktThreshold
|
7224
7260
|
|
7225
|
-
def initialize(ddoslevel=nil, ddosthreshold=nil, ddosai=nil, ccenable=nil, ccthreshold=nil, instancedetaillist=nil, listenerccthresholdlist=nil)
|
7261
|
+
def initialize(ddoslevel=nil, ddosthreshold=nil, ddosai=nil, ccenable=nil, ccthreshold=nil, instancedetaillist=nil, listenerccthresholdlist=nil, synfloodthreshold=nil, synfloodpktthreshold=nil, udpfloodthreshold=nil, udpfloodpktthreshold=nil)
|
7226
7262
|
@DDoSLevel = ddoslevel
|
7227
7263
|
@DDoSThreshold = ddosthreshold
|
7228
7264
|
@DDoSAI = ddosai
|
@@ -7230,6 +7266,10 @@ module TencentCloud
|
|
7230
7266
|
@CCThreshold = ccthreshold
|
7231
7267
|
@InstanceDetailList = instancedetaillist
|
7232
7268
|
@ListenerCcThresholdList = listenerccthresholdlist
|
7269
|
+
@SynFloodThreshold = synfloodthreshold
|
7270
|
+
@SynFloodPktThreshold = synfloodpktthreshold
|
7271
|
+
@UdpFloodThreshold = udpfloodthreshold
|
7272
|
+
@UdpFloodPktThreshold = udpfloodpktthreshold
|
7233
7273
|
end
|
7234
7274
|
|
7235
7275
|
def deserialize(params)
|
@@ -7254,6 +7294,10 @@ module TencentCloud
|
|
7254
7294
|
@ListenerCcThresholdList << listenerccthreholdconfig_tmp
|
7255
7295
|
end
|
7256
7296
|
end
|
7297
|
+
@SynFloodThreshold = params['SynFloodThreshold']
|
7298
|
+
@SynFloodPktThreshold = params['SynFloodPktThreshold']
|
7299
|
+
@UdpFloodThreshold = params['UdpFloodThreshold']
|
7300
|
+
@UdpFloodPktThreshold = params['UdpFloodPktThreshold']
|
7257
7301
|
end
|
7258
7302
|
end
|
7259
7303
|
|
@@ -7269,15 +7313,21 @@ module TencentCloud
|
|
7269
7313
|
# @type DropOther: Integer
|
7270
7314
|
# @param CheckExceptNullConnect: 异常空连接防护,取值[0(防护关),1(防护开)]
|
7271
7315
|
# @type CheckExceptNullConnect: Integer
|
7316
|
+
# @param PingOfDeath: ping of death防护,取值[0(防护关),1(防护开)]
|
7317
|
+
# @type PingOfDeath: Integer
|
7318
|
+
# @param TearDrop: tear drop防护,取值[0(防护关),1(防护开)]
|
7319
|
+
# @type TearDrop: Integer
|
7272
7320
|
|
7273
|
-
attr_accessor :DropTcp, :DropUdp, :DropIcmp, :DropOther, :CheckExceptNullConnect
|
7321
|
+
attr_accessor :DropTcp, :DropUdp, :DropIcmp, :DropOther, :CheckExceptNullConnect, :PingOfDeath, :TearDrop
|
7274
7322
|
|
7275
|
-
def initialize(droptcp=nil, dropudp=nil, dropicmp=nil, dropother=nil, checkexceptnullconnect=nil)
|
7323
|
+
def initialize(droptcp=nil, dropudp=nil, dropicmp=nil, dropother=nil, checkexceptnullconnect=nil, pingofdeath=nil, teardrop=nil)
|
7276
7324
|
@DropTcp = droptcp
|
7277
7325
|
@DropUdp = dropudp
|
7278
7326
|
@DropIcmp = dropicmp
|
7279
7327
|
@DropOther = dropother
|
7280
7328
|
@CheckExceptNullConnect = checkexceptnullconnect
|
7329
|
+
@PingOfDeath = pingofdeath
|
7330
|
+
@TearDrop = teardrop
|
7281
7331
|
end
|
7282
7332
|
|
7283
7333
|
def deserialize(params)
|
@@ -7286,6 +7336,8 @@ module TencentCloud
|
|
7286
7336
|
@DropIcmp = params['DropIcmp']
|
7287
7337
|
@DropOther = params['DropOther']
|
7288
7338
|
@CheckExceptNullConnect = params['CheckExceptNullConnect']
|
7339
|
+
@PingOfDeath = params['PingOfDeath']
|
7340
|
+
@TearDrop = params['TearDrop']
|
7289
7341
|
end
|
7290
7342
|
end
|
7291
7343
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-antiddos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.447
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '3.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '3.0'
|
27
27
|
description: Tencent Cloud Ruby SDK is the official software development kit, which
|
28
28
|
allows Ruby developers to write software that makes use of Tencent Cloud service
|
29
29
|
ANTIDDOS.
|