tencentcloud-sdk-antiddos 1.0.242 → 1.0.246

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eeb1ac0e5c6a68ac6fe0a828aa8e3e3a40e2e47e
4
- data.tar.gz: 15a8f75767bfb44d6f215becafb001ee2ee184d2
3
+ metadata.gz: d17434ab6ef268c4cbb5aa915a95aa8fb68b8580
4
+ data.tar.gz: 41053fd37883e857613fe48859ff69cd5b0e8c87
5
5
  SHA512:
6
- metadata.gz: bb5b59a5ef2558a25d68369a179bc23e6adda7d9dd1c6cbc6500f0231184e0aa5949db86c83beeb3087de356be737e69b6517083cbbb82bb0a12481cc387d2cf
7
- data.tar.gz: bb9a7d1920d6a58e3a22eb86427f3fee93c31df001f331854de47b8ab65914d2bbf34e7ed731fd2f9689ac29ef99d35845f1d8ef911cf482d33517281c189efd
6
+ metadata.gz: 643396144af056921370ac1a5e7ba5de7a0384186c461bf2c136f48f0f1963da3611f18ba8ffbcff8dbe9fa7cbd64b4d8ad7fc8fa205d5dbed00f6b5bc632198
7
+ data.tar.gz: 6429db1f7ff6d4733b34bedf8c1f4cff2321e060f6c056d914796879306a87e4a202c6c79b03fe5582443d7fd0a10eb816f201783d43e5e078ac572cc65c3c8c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.242
1
+ 1.0.246
@@ -173,6 +173,30 @@ module TencentCloud
173
173
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
174
174
  end
175
175
 
176
+ # 配置DDoS连接抑制选项
177
+
178
+ # @param request: Request instance for CreateDDoSConnectLimit.
179
+ # @type request: :class:`Tencentcloud::antiddos::V20200309::CreateDDoSConnectLimitRequest`
180
+ # @rtype: :class:`Tencentcloud::antiddos::V20200309::CreateDDoSConnectLimitResponse`
181
+ def CreateDDoSConnectLimit(request)
182
+ body = send_request('CreateDDoSConnectLimit', request.serialize)
183
+ response = JSON.parse(body)
184
+ if response['Response'].key?('Error') == false
185
+ model = CreateDDoSConnectLimitResponse.new
186
+ model.deserialize(response['Response'])
187
+ model
188
+ else
189
+ code = response['Response']['Error']['Code']
190
+ message = response['Response']['Error']['Message']
191
+ reqid = response['Response']['RequestId']
192
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
193
+ end
194
+ rescue TencentCloud::Common::TencentCloudSDKException => e
195
+ raise e
196
+ rescue StandardError => e
197
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
+ end
199
+
176
200
  # 添加DDoS防护的区域封禁配置
177
201
 
178
202
  # @param request: Request instance for CreateDDoSGeoIPBlockConfig.
@@ -317,6 +341,54 @@ module TencentCloud
317
341
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
342
  end
319
343
 
344
+ # 添加DDoS防护的端口acl策略
345
+
346
+ # @param request: Request instance for CreatePortAclConfig.
347
+ # @type request: :class:`Tencentcloud::antiddos::V20200309::CreatePortAclConfigRequest`
348
+ # @rtype: :class:`Tencentcloud::antiddos::V20200309::CreatePortAclConfigResponse`
349
+ def CreatePortAclConfig(request)
350
+ body = send_request('CreatePortAclConfig', request.serialize)
351
+ response = JSON.parse(body)
352
+ if response['Response'].key?('Error') == false
353
+ model = CreatePortAclConfigResponse.new
354
+ model.deserialize(response['Response'])
355
+ model
356
+ else
357
+ code = response['Response']['Error']['Code']
358
+ message = response['Response']['Error']['Message']
359
+ reqid = response['Response']['RequestId']
360
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
361
+ end
362
+ rescue TencentCloud::Common::TencentCloudSDKException => e
363
+ raise e
364
+ rescue StandardError => e
365
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
366
+ end
367
+
368
+ # 批量添加DDoS防护的端口acl策略
369
+
370
+ # @param request: Request instance for CreatePortAclConfigList.
371
+ # @type request: :class:`Tencentcloud::antiddos::V20200309::CreatePortAclConfigListRequest`
372
+ # @rtype: :class:`Tencentcloud::antiddos::V20200309::CreatePortAclConfigListResponse`
373
+ def CreatePortAclConfigList(request)
374
+ body = send_request('CreatePortAclConfigList', request.serialize)
375
+ response = JSON.parse(body)
376
+ if response['Response'].key?('Error') == false
377
+ model = CreatePortAclConfigListResponse.new
378
+ model.deserialize(response['Response'])
379
+ model
380
+ else
381
+ code = response['Response']['Error']['Code']
382
+ message = response['Response']['Error']['Message']
383
+ reqid = response['Response']['RequestId']
384
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
385
+ end
386
+ rescue TencentCloud::Common::TencentCloudSDKException => e
387
+ raise e
388
+ rescue StandardError => e
389
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
390
+ end
391
+
320
392
  # 设置DDoS防护的协议封禁配置
321
393
 
322
394
  # @param request: Request instance for CreateProtocolBlockConfig.
@@ -701,6 +773,30 @@ module TencentCloud
701
773
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
702
774
  end
703
775
 
776
+ # 获取DDoS连接抑制配置列表
777
+
778
+ # @param request: Request instance for DescribeDDoSConnectLimitList.
779
+ # @type request: :class:`Tencentcloud::antiddos::V20200309::DescribeDDoSConnectLimitListRequest`
780
+ # @rtype: :class:`Tencentcloud::antiddos::V20200309::DescribeDDoSConnectLimitListResponse`
781
+ def DescribeDDoSConnectLimitList(request)
782
+ body = send_request('DescribeDDoSConnectLimitList', request.serialize)
783
+ response = JSON.parse(body)
784
+ if response['Response'].key?('Error') == false
785
+ model = DescribeDDoSConnectLimitListResponse.new
786
+ model.deserialize(response['Response'])
787
+ model
788
+ else
789
+ code = response['Response']['Error']['Code']
790
+ message = response['Response']['Error']['Message']
791
+ reqid = response['Response']['RequestId']
792
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
793
+ end
794
+ rescue TencentCloud::Common::TencentCloudSDKException => e
795
+ raise e
796
+ rescue StandardError => e
797
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
798
+ end
799
+
704
800
  # 获取DDoS攻击流量带宽和攻击包速率数据
705
801
 
706
802
  # @param request: Request instance for DescribeDDoSTrend.
@@ -989,6 +1085,30 @@ module TencentCloud
989
1085
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
990
1086
  end
991
1087
 
1088
+ # 获取DDoS防护的端口acl策略列表
1089
+
1090
+ # @param request: Request instance for DescribeListPortAclList.
1091
+ # @type request: :class:`Tencentcloud::antiddos::V20200309::DescribeListPortAclListRequest`
1092
+ # @rtype: :class:`Tencentcloud::antiddos::V20200309::DescribeListPortAclListResponse`
1093
+ def DescribeListPortAclList(request)
1094
+ body = send_request('DescribeListPortAclList', request.serialize)
1095
+ response = JSON.parse(body)
1096
+ if response['Response'].key?('Error') == false
1097
+ model = DescribeListPortAclListResponse.new
1098
+ model.deserialize(response['Response'])
1099
+ model
1100
+ else
1101
+ code = response['Response']['Error']['Code']
1102
+ message = response['Response']['Error']['Message']
1103
+ reqid = response['Response']['RequestId']
1104
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1105
+ end
1106
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1107
+ raise e
1108
+ rescue StandardError => e
1109
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1110
+ end
1111
+
992
1112
  # 获取防护阈值配置列表,包括DDoS的AI、等级、CC阈值开关等
993
1113
 
994
1114
  # @param request: Request instance for DescribeListProtectThresholdConfig.
@@ -17,6 +17,77 @@
17
17
  module TencentCloud
18
18
  module Antiddos
19
19
  module V20200309
20
+ # 基于端口的acl策略
21
+ class AclConfig < TencentCloud::Common::AbstractModel
22
+ # @param ForwardProtocol: 协议类型, 可取值tcp, udp, all
23
+ # @type ForwardProtocol: String
24
+ # @param DPortStart: 目的端口起始,可取值范围0~65535
25
+ # @type DPortStart: Integer
26
+ # @param DPortEnd: 目的端口结束,可取值范围0~65535
27
+ # @type DPortEnd: Integer
28
+ # @param SPortStart: 来源端口起始,可取值范围0~65535
29
+ # @type SPortStart: Integer
30
+ # @param SPortEnd: 来源端口结束,可取值范围0~65535
31
+ # @type SPortEnd: Integer
32
+ # @param Action: 动作,可取值:drop, transmit, forward
33
+ # @type Action: String
34
+ # @param Priority: 策略优先级,数字越小,级别越高,该规则越靠前匹配,取值1-1000
35
+ # 注意:此字段可能返回 null,表示取不到有效值。
36
+ # @type Priority: Integer
37
+
38
+ attr_accessor :ForwardProtocol, :DPortStart, :DPortEnd, :SPortStart, :SPortEnd, :Action, :Priority
39
+
40
+ def initialize(forwardprotocol=nil, dportstart=nil, dportend=nil, sportstart=nil, sportend=nil, action=nil, priority=nil)
41
+ @ForwardProtocol = forwardprotocol
42
+ @DPortStart = dportstart
43
+ @DPortEnd = dportend
44
+ @SPortStart = sportstart
45
+ @SPortEnd = sportend
46
+ @Action = action
47
+ @Priority = priority
48
+ end
49
+
50
+ def deserialize(params)
51
+ @ForwardProtocol = params['ForwardProtocol']
52
+ @DPortStart = params['DPortStart']
53
+ @DPortEnd = params['DPortEnd']
54
+ @SPortStart = params['SPortStart']
55
+ @SPortEnd = params['SPortEnd']
56
+ @Action = params['Action']
57
+ @Priority = params['Priority']
58
+ end
59
+ end
60
+
61
+ # 端口acl策略配置与高防资源关联
62
+ class AclConfigRelation < TencentCloud::Common::AbstractModel
63
+ # @param AclConfig: acl策略
64
+ # @type AclConfig: :class:`Tencentcloud::Antiddos.v20200309.models.AclConfig`
65
+ # @param InstanceDetailList: 实例列表
66
+ # @type InstanceDetailList: Array
67
+
68
+ attr_accessor :AclConfig, :InstanceDetailList
69
+
70
+ def initialize(aclconfig=nil, instancedetaillist=nil)
71
+ @AclConfig = aclconfig
72
+ @InstanceDetailList = instancedetaillist
73
+ end
74
+
75
+ def deserialize(params)
76
+ unless params['AclConfig'].nil?
77
+ @AclConfig = AclConfig.new
78
+ @AclConfig.deserialize(params['AclConfig'])
79
+ end
80
+ unless params['InstanceDetailList'].nil?
81
+ @InstanceDetailList = []
82
+ params['InstanceDetailList'].each do |i|
83
+ instancerelation_tmp = InstanceRelation.new
84
+ instancerelation_tmp.deserialize(i)
85
+ @InstanceDetailList << instancerelation_tmp
86
+ end
87
+ end
88
+ end
89
+ end
90
+
20
91
  # AssociateDDoSEipAddress请求参数结构体
21
92
  class AssociateDDoSEipAddressRequest < TencentCloud::Common::AbstractModel
22
93
  # @param InstanceId: 资源实例ID,实例ID形如:bgpip-0000011x。只能填写高防IP实例。
@@ -557,6 +628,84 @@ module TencentCloud
557
628
  end
558
629
  end
559
630
 
631
+ # 连接抑制相关配置
632
+ class ConnectLimitConfig < TencentCloud::Common::AbstractModel
633
+ # @param SdNewLimit: 基于源IP+目的IP的每秒新建数限制
634
+ # @type SdNewLimit: Integer
635
+ # @param DstNewLimit: 基于目的IP的每秒新建数限制
636
+ # @type DstNewLimit: Integer
637
+ # @param SdConnLimit: 基于源IP+目的IP的并发连接控制
638
+ # @type SdConnLimit: Integer
639
+ # @param DstConnLimit: 基于目的IP+目的端口的并发连接控制
640
+ # @type DstConnLimit: Integer
641
+ # @param BadConnThreshold: 基于连接抑制触发阈值,取值范围[0,4294967295]
642
+ # @type BadConnThreshold: Integer
643
+ # @param NullConnEnable: 异常连接检测条件,空连接防护开关,,取值范围[0,1]
644
+ # @type NullConnEnable: Integer
645
+ # @param ConnTimeout: 异常连接检测条件,连接超时,,取值范围[0,65535]
646
+ # @type ConnTimeout: Integer
647
+ # @param SynRate: 异常连接检测条件,syn占比ack百分比,,取值范围[0,100]
648
+ # @type SynRate: Integer
649
+ # @param SynLimit: 异常连接检测条件,syn阈值,取值范围[0,100]
650
+ # @type SynLimit: Integer
651
+
652
+ attr_accessor :SdNewLimit, :DstNewLimit, :SdConnLimit, :DstConnLimit, :BadConnThreshold, :NullConnEnable, :ConnTimeout, :SynRate, :SynLimit
653
+
654
+ def initialize(sdnewlimit=nil, dstnewlimit=nil, sdconnlimit=nil, dstconnlimit=nil, badconnthreshold=nil, nullconnenable=nil, conntimeout=nil, synrate=nil, synlimit=nil)
655
+ @SdNewLimit = sdnewlimit
656
+ @DstNewLimit = dstnewlimit
657
+ @SdConnLimit = sdconnlimit
658
+ @DstConnLimit = dstconnlimit
659
+ @BadConnThreshold = badconnthreshold
660
+ @NullConnEnable = nullconnenable
661
+ @ConnTimeout = conntimeout
662
+ @SynRate = synrate
663
+ @SynLimit = synlimit
664
+ end
665
+
666
+ def deserialize(params)
667
+ @SdNewLimit = params['SdNewLimit']
668
+ @DstNewLimit = params['DstNewLimit']
669
+ @SdConnLimit = params['SdConnLimit']
670
+ @DstConnLimit = params['DstConnLimit']
671
+ @BadConnThreshold = params['BadConnThreshold']
672
+ @NullConnEnable = params['NullConnEnable']
673
+ @ConnTimeout = params['ConnTimeout']
674
+ @SynRate = params['SynRate']
675
+ @SynLimit = params['SynLimit']
676
+ end
677
+ end
678
+
679
+ # 连接抑制列表
680
+ class ConnectLimitRelation < TencentCloud::Common::AbstractModel
681
+ # @param ConnectLimitConfig: 连接抑制配置
682
+ # @type ConnectLimitConfig: :class:`Tencentcloud::Antiddos.v20200309.models.ConnectLimitConfig`
683
+ # @param InstanceDetailList: 连接抑制关联的实例信息
684
+ # @type InstanceDetailList: Array
685
+
686
+ attr_accessor :ConnectLimitConfig, :InstanceDetailList
687
+
688
+ def initialize(connectlimitconfig=nil, instancedetaillist=nil)
689
+ @ConnectLimitConfig = connectlimitconfig
690
+ @InstanceDetailList = instancedetaillist
691
+ end
692
+
693
+ def deserialize(params)
694
+ unless params['ConnectLimitConfig'].nil?
695
+ @ConnectLimitConfig = ConnectLimitConfig.new
696
+ @ConnectLimitConfig.deserialize(params['ConnectLimitConfig'])
697
+ end
698
+ unless params['InstanceDetailList'].nil?
699
+ @InstanceDetailList = []
700
+ params['InstanceDetailList'].each do |i|
701
+ instancerelation_tmp = InstanceRelation.new
702
+ instancerelation_tmp.deserialize(i)
703
+ @InstanceDetailList << instancerelation_tmp
704
+ end
705
+ end
706
+ end
707
+ end
708
+
560
709
  # CreateBlackWhiteIpList请求参数结构体
561
710
  class CreateBlackWhiteIpListRequest < TencentCloud::Common::AbstractModel
562
711
  # @param InstanceId: 资源实例ID
@@ -752,6 +901,45 @@ module TencentCloud
752
901
  end
753
902
  end
754
903
 
904
+ # CreateDDoSConnectLimit请求参数结构体
905
+ class CreateDDoSConnectLimitRequest < TencentCloud::Common::AbstractModel
906
+ # @param InstanceId: 资源实例Id
907
+ # @type InstanceId: String
908
+ # @param ConnectLimitConfig: 连接抑制配置
909
+ # @type ConnectLimitConfig: :class:`Tencentcloud::Antiddos.v20200309.models.ConnectLimitConfig`
910
+
911
+ attr_accessor :InstanceId, :ConnectLimitConfig
912
+
913
+ def initialize(instanceid=nil, connectlimitconfig=nil)
914
+ @InstanceId = instanceid
915
+ @ConnectLimitConfig = connectlimitconfig
916
+ end
917
+
918
+ def deserialize(params)
919
+ @InstanceId = params['InstanceId']
920
+ unless params['ConnectLimitConfig'].nil?
921
+ @ConnectLimitConfig = ConnectLimitConfig.new
922
+ @ConnectLimitConfig.deserialize(params['ConnectLimitConfig'])
923
+ end
924
+ end
925
+ end
926
+
927
+ # CreateDDoSConnectLimit返回参数结构体
928
+ class CreateDDoSConnectLimitResponse < TencentCloud::Common::AbstractModel
929
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
930
+ # @type RequestId: String
931
+
932
+ attr_accessor :RequestId
933
+
934
+ def initialize(requestid=nil)
935
+ @RequestId = requestid
936
+ end
937
+
938
+ def deserialize(params)
939
+ @RequestId = params['RequestId']
940
+ end
941
+ end
942
+
755
943
  # CreateDDoSGeoIPBlockConfig请求参数结构体
756
944
  class CreateDDoSGeoIPBlockConfigRequest < TencentCloud::Common::AbstractModel
757
945
  # @param InstanceId: 资源实例ID
@@ -1000,6 +1188,84 @@ module TencentCloud
1000
1188
  end
1001
1189
  end
1002
1190
 
1191
+ # CreatePortAclConfigList请求参数结构体
1192
+ class CreatePortAclConfigListRequest < TencentCloud::Common::AbstractModel
1193
+ # @param InstanceIdList: 资源实例ID列表
1194
+ # @type InstanceIdList: Array
1195
+ # @param AclConfig: 端口acl策略
1196
+ # @type AclConfig: :class:`Tencentcloud::Antiddos.v20200309.models.AclConfig`
1197
+
1198
+ attr_accessor :InstanceIdList, :AclConfig
1199
+
1200
+ def initialize(instanceidlist=nil, aclconfig=nil)
1201
+ @InstanceIdList = instanceidlist
1202
+ @AclConfig = aclconfig
1203
+ end
1204
+
1205
+ def deserialize(params)
1206
+ @InstanceIdList = params['InstanceIdList']
1207
+ unless params['AclConfig'].nil?
1208
+ @AclConfig = AclConfig.new
1209
+ @AclConfig.deserialize(params['AclConfig'])
1210
+ end
1211
+ end
1212
+ end
1213
+
1214
+ # CreatePortAclConfigList返回参数结构体
1215
+ class CreatePortAclConfigListResponse < TencentCloud::Common::AbstractModel
1216
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1217
+ # @type RequestId: String
1218
+
1219
+ attr_accessor :RequestId
1220
+
1221
+ def initialize(requestid=nil)
1222
+ @RequestId = requestid
1223
+ end
1224
+
1225
+ def deserialize(params)
1226
+ @RequestId = params['RequestId']
1227
+ end
1228
+ end
1229
+
1230
+ # CreatePortAclConfig请求参数结构体
1231
+ class CreatePortAclConfigRequest < TencentCloud::Common::AbstractModel
1232
+ # @param InstanceId: 资源实例ID
1233
+ # @type InstanceId: String
1234
+ # @param AclConfig: 端口acl策略
1235
+ # @type AclConfig: :class:`Tencentcloud::Antiddos.v20200309.models.AclConfig`
1236
+
1237
+ attr_accessor :InstanceId, :AclConfig
1238
+
1239
+ def initialize(instanceid=nil, aclconfig=nil)
1240
+ @InstanceId = instanceid
1241
+ @AclConfig = aclconfig
1242
+ end
1243
+
1244
+ def deserialize(params)
1245
+ @InstanceId = params['InstanceId']
1246
+ unless params['AclConfig'].nil?
1247
+ @AclConfig = AclConfig.new
1248
+ @AclConfig.deserialize(params['AclConfig'])
1249
+ end
1250
+ end
1251
+ end
1252
+
1253
+ # CreatePortAclConfig返回参数结构体
1254
+ class CreatePortAclConfigResponse < TencentCloud::Common::AbstractModel
1255
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1256
+ # @type RequestId: String
1257
+
1258
+ attr_accessor :RequestId
1259
+
1260
+ def initialize(requestid=nil)
1261
+ @RequestId = requestid
1262
+ end
1263
+
1264
+ def deserialize(params)
1265
+ @RequestId = params['RequestId']
1266
+ end
1267
+ end
1268
+
1003
1269
  # CreateProtocolBlockConfig请求参数结构体
1004
1270
  class CreateProtocolBlockConfigRequest < TencentCloud::Common::AbstractModel
1005
1271
  # @param InstanceId: 资源实例ID
@@ -1937,6 +2203,65 @@ module TencentCloud
1937
2203
  end
1938
2204
  end
1939
2205
 
2206
+ # DescribeDDoSConnectLimitList请求参数结构体
2207
+ class DescribeDDoSConnectLimitListRequest < TencentCloud::Common::AbstractModel
2208
+ # @param Offset: 页起始偏移,取值为(页码-1)*一页条数
2209
+ # @type Offset: Integer
2210
+ # @param Limit: 一页条数
2211
+ # @type Limit: Integer
2212
+ # @param FilterIp: 可选参数,按照IP进行过滤
2213
+ # @type FilterIp: String
2214
+ # @param FilterInstanceId: 可选参数,按照实例id进行过滤
2215
+ # @type FilterInstanceId: String
2216
+
2217
+ attr_accessor :Offset, :Limit, :FilterIp, :FilterInstanceId
2218
+
2219
+ def initialize(offset=nil, limit=nil, filterip=nil, filterinstanceid=nil)
2220
+ @Offset = offset
2221
+ @Limit = limit
2222
+ @FilterIp = filterip
2223
+ @FilterInstanceId = filterinstanceid
2224
+ end
2225
+
2226
+ def deserialize(params)
2227
+ @Offset = params['Offset']
2228
+ @Limit = params['Limit']
2229
+ @FilterIp = params['FilterIp']
2230
+ @FilterInstanceId = params['FilterInstanceId']
2231
+ end
2232
+ end
2233
+
2234
+ # DescribeDDoSConnectLimitList返回参数结构体
2235
+ class DescribeDDoSConnectLimitListResponse < TencentCloud::Common::AbstractModel
2236
+ # @param Total: 连接抑制配置总数
2237
+ # @type Total: Integer
2238
+ # @param ConfigList: 连接抑制配置详情信息
2239
+ # @type ConfigList: Array
2240
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2241
+ # @type RequestId: String
2242
+
2243
+ attr_accessor :Total, :ConfigList, :RequestId
2244
+
2245
+ def initialize(total=nil, configlist=nil, requestid=nil)
2246
+ @Total = total
2247
+ @ConfigList = configlist
2248
+ @RequestId = requestid
2249
+ end
2250
+
2251
+ def deserialize(params)
2252
+ @Total = params['Total']
2253
+ unless params['ConfigList'].nil?
2254
+ @ConfigList = []
2255
+ params['ConfigList'].each do |i|
2256
+ connectlimitrelation_tmp = ConnectLimitRelation.new
2257
+ connectlimitrelation_tmp.deserialize(i)
2258
+ @ConfigList << connectlimitrelation_tmp
2259
+ end
2260
+ end
2261
+ @RequestId = params['RequestId']
2262
+ end
2263
+ end
2264
+
1940
2265
  # DescribeDDoSTrend请求参数结构体
1941
2266
  class DescribeDDoSTrendRequest < TencentCloud::Common::AbstractModel
1942
2267
  # @param Business: 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版;basic表示DDoS基础防护)
@@ -2712,6 +3037,65 @@ module TencentCloud
2712
3037
  end
2713
3038
  end
2714
3039
 
3040
+ # DescribeListPortAclList请求参数结构体
3041
+ class DescribeListPortAclListRequest < TencentCloud::Common::AbstractModel
3042
+ # @param Offset: 页起始偏移,取值为(页码-1)*一页条数
3043
+ # @type Offset: Integer
3044
+ # @param Limit: 一页条数,当Limit=0时,默认一页条数为100;最大取值为100
3045
+ # @type Limit: Integer
3046
+ # @param FilterInstanceId: 资源实例ID搜索, 支持资源实例前缀通配搜索,例如bgp-*表示获取高防包类型的资源实例
3047
+ # @type FilterInstanceId: String
3048
+ # @param FilterIp: ip搜索
3049
+ # @type FilterIp: String
3050
+
3051
+ attr_accessor :Offset, :Limit, :FilterInstanceId, :FilterIp
3052
+
3053
+ def initialize(offset=nil, limit=nil, filterinstanceid=nil, filterip=nil)
3054
+ @Offset = offset
3055
+ @Limit = limit
3056
+ @FilterInstanceId = filterinstanceid
3057
+ @FilterIp = filterip
3058
+ end
3059
+
3060
+ def deserialize(params)
3061
+ @Offset = params['Offset']
3062
+ @Limit = params['Limit']
3063
+ @FilterInstanceId = params['FilterInstanceId']
3064
+ @FilterIp = params['FilterIp']
3065
+ end
3066
+ end
3067
+
3068
+ # DescribeListPortAclList返回参数结构体
3069
+ class DescribeListPortAclListResponse < TencentCloud::Common::AbstractModel
3070
+ # @param Total: 总数
3071
+ # @type Total: Integer
3072
+ # @param AclList: 端口acl策略
3073
+ # @type AclList: Array
3074
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3075
+ # @type RequestId: String
3076
+
3077
+ attr_accessor :Total, :AclList, :RequestId
3078
+
3079
+ def initialize(total=nil, acllist=nil, requestid=nil)
3080
+ @Total = total
3081
+ @AclList = acllist
3082
+ @RequestId = requestid
3083
+ end
3084
+
3085
+ def deserialize(params)
3086
+ @Total = params['Total']
3087
+ unless params['AclList'].nil?
3088
+ @AclList = []
3089
+ params['AclList'].each do |i|
3090
+ aclconfigrelation_tmp = AclConfigRelation.new
3091
+ aclconfigrelation_tmp.deserialize(i)
3092
+ @AclList << aclconfigrelation_tmp
3093
+ end
3094
+ end
3095
+ @RequestId = params['RequestId']
3096
+ end
3097
+ end
3098
+
2715
3099
  # DescribeListProtectThresholdConfig请求参数结构体
2716
3100
  class DescribeListProtectThresholdConfigRequest < TencentCloud::Common::AbstractModel
2717
3101
  # @param Offset: 页起始偏移,取值为(页码-1)*一页条数
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: 1.0.242
4
+ version: 1.0.246
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-01-14 00:00:00.000000000 Z
11
+ date: 2022-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common