tencentcloud-sdk-antiddos 1.0.266 → 1.0.269

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: fec7ca50212af3e1e2d575d74ef3de0a345ecc8f
4
- data.tar.gz: 79eb3becf9f8596d5c627b53956baaf11b1b9cb1
3
+ metadata.gz: 711e8a3c73a5737007b0fd36d4c11507eac7b4aa
4
+ data.tar.gz: e517d2f0180df0e52f1a8344a186463d5224a52f
5
5
  SHA512:
6
- metadata.gz: 34a044922e32f9256eda2b177d74cbbe2880702d9d7640097a9530bd27ea91eb2132fcaec1541f70609b13fd9fa37549d225634d8664c1b56cf9c2890451d101
7
- data.tar.gz: dfa9bd9cebb75f6fd8ba7b83178d9cc98ea60d424ffca9e29958bb5866c1ab2beea556e53ffe3cda83f6545fcca4c6397e1696eb8aaf35d049c9d1b9a0986ff9
6
+ metadata.gz: dcebd30421be8f1b2425bdc748e90b993b7767e4c71ed644e40de6fd3a2f852f4e721a8dac845a238b28cb457ffe080302d7efc096d95ae57c762bbfcdd40c12
7
+ data.tar.gz: cab7baf3001fe948ad1236c4698f9c9a5e85e31531a8d6ebebde89939d92f9cc4acbf3e1df98c14bcaae9b166995174c3eed8b263abe758061c33d858f6a0da2
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.266
1
+ 1.0.269
@@ -173,6 +173,30 @@ module TencentCloud
173
173
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
174
174
  end
175
175
 
176
+ # 新建CC四层黑白名单
177
+
178
+ # @param request: Request instance for CreateCcBlackWhiteIpList.
179
+ # @type request: :class:`Tencentcloud::antiddos::V20200309::CreateCcBlackWhiteIpListRequest`
180
+ # @rtype: :class:`Tencentcloud::antiddos::V20200309::CreateCcBlackWhiteIpListResponse`
181
+ def CreateCcBlackWhiteIpList(request)
182
+ body = send_request('CreateCcBlackWhiteIpList', request.serialize)
183
+ response = JSON.parse(body)
184
+ if response['Response'].key?('Error') == false
185
+ model = CreateCcBlackWhiteIpListResponse.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
  # 新建cc防护的地域封禁配置
177
201
 
178
202
  # @param request: Request instance for CreateCcGeoIPBlockConfig.
@@ -581,6 +605,30 @@ module TencentCloud
581
605
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
582
606
  end
583
607
 
608
+ # 删除CC分级策略
609
+
610
+ # @param request: Request instance for DeleteCCLevelPolicy.
611
+ # @type request: :class:`Tencentcloud::antiddos::V20200309::DeleteCCLevelPolicyRequest`
612
+ # @rtype: :class:`Tencentcloud::antiddos::V20200309::DeleteCCLevelPolicyResponse`
613
+ def DeleteCCLevelPolicy(request)
614
+ body = send_request('DeleteCCLevelPolicy', request.serialize)
615
+ response = JSON.parse(body)
616
+ if response['Response'].key?('Error') == false
617
+ model = DeleteCCLevelPolicyResponse.new
618
+ model.deserialize(response['Response'])
619
+ model
620
+ else
621
+ code = response['Response']['Error']['Code']
622
+ message = response['Response']['Error']['Message']
623
+ reqid = response['Response']['RequestId']
624
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
625
+ end
626
+ rescue TencentCloud::Common::TencentCloudSDKException => e
627
+ raise e
628
+ rescue StandardError => e
629
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
630
+ end
631
+
584
632
  # 删除CC精准防护策略
585
633
 
586
634
  # @param request: Request instance for DeleteCCPrecisionPolicy.
@@ -629,6 +677,30 @@ module TencentCloud
629
677
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
630
678
  end
631
679
 
680
+ # 删除CC清洗阈值策略
681
+
682
+ # @param request: Request instance for DeleteCCThresholdPolicy.
683
+ # @type request: :class:`Tencentcloud::antiddos::V20200309::DeleteCCThresholdPolicyRequest`
684
+ # @rtype: :class:`Tencentcloud::antiddos::V20200309::DeleteCCThresholdPolicyResponse`
685
+ def DeleteCCThresholdPolicy(request)
686
+ body = send_request('DeleteCCThresholdPolicy', request.serialize)
687
+ response = JSON.parse(body)
688
+ if response['Response'].key?('Error') == false
689
+ model = DeleteCCThresholdPolicyResponse.new
690
+ model.deserialize(response['Response'])
691
+ model
692
+ else
693
+ code = response['Response']['Error']['Code']
694
+ message = response['Response']['Error']['Message']
695
+ reqid = response['Response']['RequestId']
696
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
697
+ end
698
+ rescue TencentCloud::Common::TencentCloudSDKException => e
699
+ raise e
700
+ rescue StandardError => e
701
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
702
+ end
703
+
632
704
  # 删除CC四层黑白名单
633
705
 
634
706
  # @param request: Request instance for DeleteCcBlackWhiteIpList.
@@ -917,6 +989,54 @@ module TencentCloud
917
989
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
918
990
  end
919
991
 
992
+ # 获取CC防护等级列表
993
+
994
+ # @param request: Request instance for DescribeCCLevelList.
995
+ # @type request: :class:`Tencentcloud::antiddos::V20200309::DescribeCCLevelListRequest`
996
+ # @rtype: :class:`Tencentcloud::antiddos::V20200309::DescribeCCLevelListResponse`
997
+ def DescribeCCLevelList(request)
998
+ body = send_request('DescribeCCLevelList', request.serialize)
999
+ response = JSON.parse(body)
1000
+ if response['Response'].key?('Error') == false
1001
+ model = DescribeCCLevelListResponse.new
1002
+ model.deserialize(response['Response'])
1003
+ model
1004
+ else
1005
+ code = response['Response']['Error']['Code']
1006
+ message = response['Response']['Error']['Message']
1007
+ reqid = response['Response']['RequestId']
1008
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1009
+ end
1010
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1011
+ raise e
1012
+ rescue StandardError => e
1013
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1014
+ end
1015
+
1016
+ # 获取CC分级策略
1017
+
1018
+ # @param request: Request instance for DescribeCCLevelPolicy.
1019
+ # @type request: :class:`Tencentcloud::antiddos::V20200309::DescribeCCLevelPolicyRequest`
1020
+ # @rtype: :class:`Tencentcloud::antiddos::V20200309::DescribeCCLevelPolicyResponse`
1021
+ def DescribeCCLevelPolicy(request)
1022
+ body = send_request('DescribeCCLevelPolicy', request.serialize)
1023
+ response = JSON.parse(body)
1024
+ if response['Response'].key?('Error') == false
1025
+ model = DescribeCCLevelPolicyResponse.new
1026
+ model.deserialize(response['Response'])
1027
+ model
1028
+ else
1029
+ code = response['Response']['Error']['Code']
1030
+ message = response['Response']['Error']['Message']
1031
+ reqid = response['Response']['RequestId']
1032
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1033
+ end
1034
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1035
+ raise e
1036
+ rescue StandardError => e
1037
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1038
+ end
1039
+
920
1040
  # 获取CC精准防护列表
921
1041
 
922
1042
  # @param request: Request instance for DescribeCCPrecisionPlyList.
@@ -965,6 +1085,30 @@ module TencentCloud
965
1085
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
966
1086
  end
967
1087
 
1088
+ # 获取CC清洗阈值列表
1089
+
1090
+ # @param request: Request instance for DescribeCCThresholdList.
1091
+ # @type request: :class:`Tencentcloud::antiddos::V20200309::DescribeCCThresholdListRequest`
1092
+ # @rtype: :class:`Tencentcloud::antiddos::V20200309::DescribeCCThresholdListResponse`
1093
+ def DescribeCCThresholdList(request)
1094
+ body = send_request('DescribeCCThresholdList', request.serialize)
1095
+ response = JSON.parse(body)
1096
+ if response['Response'].key?('Error') == false
1097
+ model = DescribeCCThresholdListResponse.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
+
968
1112
  # 获取CC攻击指标数据,包括总请求峰值(QPS)和攻击请求(QPS)以及总请求次数和攻击请求次数
969
1113
 
970
1114
  # @param request: Request instance for DescribeCCTrend.
@@ -605,6 +605,46 @@ module TencentCloud
605
605
  end
606
606
  end
607
607
 
608
+ # CC分级策略
609
+ class CCLevelPolicy < TencentCloud::Common::AbstractModel
610
+ # @param InstanceId: 实例Id
611
+ # @type InstanceId: String
612
+ # @param Ip: Ip
613
+ # @type Ip: String
614
+ # @param Protocol: 协议
615
+ # @type Protocol: String
616
+ # @param Domain: 域名
617
+ # @type Domain: String
618
+ # @param Level: 防护等级,可取值default表示默认策略,loose表示宽松,strict表示严格
619
+ # @type Level: String
620
+ # @param CreateTime: 创建时间
621
+ # @type CreateTime: String
622
+ # @param ModifyTime: 修改时间
623
+ # @type ModifyTime: String
624
+
625
+ attr_accessor :InstanceId, :Ip, :Protocol, :Domain, :Level, :CreateTime, :ModifyTime
626
+
627
+ def initialize(instanceid=nil, ip=nil, protocol=nil, domain=nil, level=nil, createtime=nil, modifytime=nil)
628
+ @InstanceId = instanceid
629
+ @Ip = ip
630
+ @Protocol = protocol
631
+ @Domain = domain
632
+ @Level = level
633
+ @CreateTime = createtime
634
+ @ModifyTime = modifytime
635
+ end
636
+
637
+ def deserialize(params)
638
+ @InstanceId = params['InstanceId']
639
+ @Ip = params['Ip']
640
+ @Protocol = params['Protocol']
641
+ @Domain = params['Domain']
642
+ @Level = params['Level']
643
+ @CreateTime = params['CreateTime']
644
+ @ModifyTime = params['ModifyTime']
645
+ end
646
+ end
647
+
608
648
  # CC精准防护配置项
609
649
  class CCPrecisionPlyRecord < TencentCloud::Common::AbstractModel
610
650
  # @param FieldType: 配置项类型,当前仅支持value
@@ -779,6 +819,46 @@ module TencentCloud
779
819
  end
780
820
  end
781
821
 
822
+ # CC清洗阈值策略
823
+ class CCThresholdPolicy < TencentCloud::Common::AbstractModel
824
+ # @param InstanceId: 实例Id
825
+ # @type InstanceId: String
826
+ # @param Ip: Ip地址
827
+ # @type Ip: String
828
+ # @param Protocol: 协议
829
+ # @type Protocol: String
830
+ # @param Domain: 域名
831
+ # @type Domain: String
832
+ # @param Threshold: 清洗阈值
833
+ # @type Threshold: Integer
834
+ # @param CreateTime: 创建时间
835
+ # @type CreateTime: String
836
+ # @param ModifyTime: 修改时间
837
+ # @type ModifyTime: String
838
+
839
+ attr_accessor :InstanceId, :Ip, :Protocol, :Domain, :Threshold, :CreateTime, :ModifyTime
840
+
841
+ def initialize(instanceid=nil, ip=nil, protocol=nil, domain=nil, threshold=nil, createtime=nil, modifytime=nil)
842
+ @InstanceId = instanceid
843
+ @Ip = ip
844
+ @Protocol = protocol
845
+ @Domain = domain
846
+ @Threshold = threshold
847
+ @CreateTime = createtime
848
+ @ModifyTime = modifytime
849
+ end
850
+
851
+ def deserialize(params)
852
+ @InstanceId = params['InstanceId']
853
+ @Ip = params['Ip']
854
+ @Protocol = params['Protocol']
855
+ @Domain = params['Domain']
856
+ @Threshold = params['Threshold']
857
+ @CreateTime = params['CreateTime']
858
+ @ModifyTime = params['ModifyTime']
859
+ end
860
+ end
861
+
782
862
  # CC四层黑白名单列表
783
863
  class CcBlackWhiteIpPolicy < TencentCloud::Common::AbstractModel
784
864
  # @param PolicyId: 策略Id
@@ -1242,6 +1322,65 @@ module TencentCloud
1242
1322
  end
1243
1323
  end
1244
1324
 
1325
+ # CreateCcBlackWhiteIpList请求参数结构体
1326
+ class CreateCcBlackWhiteIpListRequest < TencentCloud::Common::AbstractModel
1327
+ # @param InstanceId: 资源实例ID
1328
+ # @type InstanceId: String
1329
+ # @param IpList: IP列表
1330
+ # @type IpList: Array
1331
+ # @param Type: IP类型,取值[black(黑名单IP), white(白名单IP)]
1332
+ # @type Type: String
1333
+ # @param Ip: Ip地址
1334
+ # @type Ip: String
1335
+ # @param Domain: 域名
1336
+ # @type Domain: String
1337
+ # @param Protocol: 协议
1338
+ # @type Protocol: String
1339
+
1340
+ attr_accessor :InstanceId, :IpList, :Type, :Ip, :Domain, :Protocol
1341
+
1342
+ def initialize(instanceid=nil, iplist=nil, type=nil, ip=nil, domain=nil, protocol=nil)
1343
+ @InstanceId = instanceid
1344
+ @IpList = iplist
1345
+ @Type = type
1346
+ @Ip = ip
1347
+ @Domain = domain
1348
+ @Protocol = protocol
1349
+ end
1350
+
1351
+ def deserialize(params)
1352
+ @InstanceId = params['InstanceId']
1353
+ unless params['IpList'].nil?
1354
+ @IpList = []
1355
+ params['IpList'].each do |i|
1356
+ ipsegment_tmp = IpSegment.new
1357
+ ipsegment_tmp.deserialize(i)
1358
+ @IpList << ipsegment_tmp
1359
+ end
1360
+ end
1361
+ @Type = params['Type']
1362
+ @Ip = params['Ip']
1363
+ @Domain = params['Domain']
1364
+ @Protocol = params['Protocol']
1365
+ end
1366
+ end
1367
+
1368
+ # CreateCcBlackWhiteIpList返回参数结构体
1369
+ class CreateCcBlackWhiteIpListResponse < TencentCloud::Common::AbstractModel
1370
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1371
+ # @type RequestId: String
1372
+
1373
+ attr_accessor :RequestId
1374
+
1375
+ def initialize(requestid=nil)
1376
+ @RequestId = requestid
1377
+ end
1378
+
1379
+ def deserialize(params)
1380
+ @RequestId = params['RequestId']
1381
+ end
1382
+ end
1383
+
1245
1384
  # CreateCcGeoIPBlockConfig请求参数结构体
1246
1385
  class CreateCcGeoIPBlockConfigRequest < TencentCloud::Common::AbstractModel
1247
1386
  # @param InstanceId: 实例id
@@ -2133,6 +2272,50 @@ module TencentCloud
2133
2272
  end
2134
2273
  end
2135
2274
 
2275
+ # DeleteCCLevelPolicy请求参数结构体
2276
+ class DeleteCCLevelPolicyRequest < TencentCloud::Common::AbstractModel
2277
+ # @param InstanceId: 实例Id
2278
+ # @type InstanceId: String
2279
+ # @param Ip: 配置策略的IP
2280
+ # @type Ip: String
2281
+ # @param Domain: 域名
2282
+ # @type Domain: String
2283
+ # @param Protocol: 协议,可取值http
2284
+ # @type Protocol: String
2285
+
2286
+ attr_accessor :InstanceId, :Ip, :Domain, :Protocol
2287
+
2288
+ def initialize(instanceid=nil, ip=nil, domain=nil, protocol=nil)
2289
+ @InstanceId = instanceid
2290
+ @Ip = ip
2291
+ @Domain = domain
2292
+ @Protocol = protocol
2293
+ end
2294
+
2295
+ def deserialize(params)
2296
+ @InstanceId = params['InstanceId']
2297
+ @Ip = params['Ip']
2298
+ @Domain = params['Domain']
2299
+ @Protocol = params['Protocol']
2300
+ end
2301
+ end
2302
+
2303
+ # DeleteCCLevelPolicy返回参数结构体
2304
+ class DeleteCCLevelPolicyResponse < TencentCloud::Common::AbstractModel
2305
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2306
+ # @type RequestId: String
2307
+
2308
+ attr_accessor :RequestId
2309
+
2310
+ def initialize(requestid=nil)
2311
+ @RequestId = requestid
2312
+ end
2313
+
2314
+ def deserialize(params)
2315
+ @RequestId = params['RequestId']
2316
+ end
2317
+ end
2318
+
2136
2319
  # DeleteCCPrecisionPolicy请求参数结构体
2137
2320
  class DeleteCCPrecisionPolicyRequest < TencentCloud::Common::AbstractModel
2138
2321
  # @param InstanceId: 实例Id
@@ -2205,6 +2388,50 @@ module TencentCloud
2205
2388
  end
2206
2389
  end
2207
2390
 
2391
+ # DeleteCCThresholdPolicy请求参数结构体
2392
+ class DeleteCCThresholdPolicyRequest < TencentCloud::Common::AbstractModel
2393
+ # @param InstanceId: 实例Id
2394
+ # @type InstanceId: String
2395
+ # @param Ip: 配置策略的IP
2396
+ # @type Ip: String
2397
+ # @param Domain: 域名
2398
+ # @type Domain: String
2399
+ # @param Protocol: 协议,可取值http
2400
+ # @type Protocol: String
2401
+
2402
+ attr_accessor :InstanceId, :Ip, :Domain, :Protocol
2403
+
2404
+ def initialize(instanceid=nil, ip=nil, domain=nil, protocol=nil)
2405
+ @InstanceId = instanceid
2406
+ @Ip = ip
2407
+ @Domain = domain
2408
+ @Protocol = protocol
2409
+ end
2410
+
2411
+ def deserialize(params)
2412
+ @InstanceId = params['InstanceId']
2413
+ @Ip = params['Ip']
2414
+ @Domain = params['Domain']
2415
+ @Protocol = params['Protocol']
2416
+ end
2417
+ end
2418
+
2419
+ # DeleteCCThresholdPolicy返回参数结构体
2420
+ class DeleteCCThresholdPolicyResponse < TencentCloud::Common::AbstractModel
2421
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2422
+ # @type RequestId: String
2423
+
2424
+ attr_accessor :RequestId
2425
+
2426
+ def initialize(requestid=nil)
2427
+ @RequestId = requestid
2428
+ end
2429
+
2430
+ def deserialize(params)
2431
+ @RequestId = params['RequestId']
2432
+ end
2433
+ end
2434
+
2208
2435
  # DeleteCcBlackWhiteIpList请求参数结构体
2209
2436
  class DeleteCcBlackWhiteIpListRequest < TencentCloud::Common::AbstractModel
2210
2437
  # @param InstanceId: 资源实例ID
@@ -2716,6 +2943,113 @@ module TencentCloud
2716
2943
  end
2717
2944
  end
2718
2945
 
2946
+ # DescribeCCLevelList请求参数结构体
2947
+ class DescribeCCLevelListRequest < TencentCloud::Common::AbstractModel
2948
+ # @param Business: 大禹子产品代号(bgp-multip表示高防包)
2949
+ # @type Business: String
2950
+ # @param Offset: 页起始偏移,取值为(页码-1)*一页条数
2951
+ # @type Offset: Integer
2952
+ # @param Limit: 一页条数
2953
+ # @type Limit: Integer
2954
+ # @param InstanceId: 指定实例Id
2955
+ # @type InstanceId: String
2956
+
2957
+ attr_accessor :Business, :Offset, :Limit, :InstanceId
2958
+
2959
+ def initialize(business=nil, offset=nil, limit=nil, instanceid=nil)
2960
+ @Business = business
2961
+ @Offset = offset
2962
+ @Limit = limit
2963
+ @InstanceId = instanceid
2964
+ end
2965
+
2966
+ def deserialize(params)
2967
+ @Business = params['Business']
2968
+ @Offset = params['Offset']
2969
+ @Limit = params['Limit']
2970
+ @InstanceId = params['InstanceId']
2971
+ end
2972
+ end
2973
+
2974
+ # DescribeCCLevelList返回参数结构体
2975
+ class DescribeCCLevelListResponse < TencentCloud::Common::AbstractModel
2976
+ # @param Total: 分级策略列表总数
2977
+ # @type Total: Integer
2978
+ # @param LevelList: 分级策略列表详情
2979
+ # @type LevelList: Array
2980
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2981
+ # @type RequestId: String
2982
+
2983
+ attr_accessor :Total, :LevelList, :RequestId
2984
+
2985
+ def initialize(total=nil, levellist=nil, requestid=nil)
2986
+ @Total = total
2987
+ @LevelList = levellist
2988
+ @RequestId = requestid
2989
+ end
2990
+
2991
+ def deserialize(params)
2992
+ @Total = params['Total']
2993
+ unless params['LevelList'].nil?
2994
+ @LevelList = []
2995
+ params['LevelList'].each do |i|
2996
+ cclevelpolicy_tmp = CCLevelPolicy.new
2997
+ cclevelpolicy_tmp.deserialize(i)
2998
+ @LevelList << cclevelpolicy_tmp
2999
+ end
3000
+ end
3001
+ @RequestId = params['RequestId']
3002
+ end
3003
+ end
3004
+
3005
+ # DescribeCCLevelPolicy请求参数结构体
3006
+ class DescribeCCLevelPolicyRequest < TencentCloud::Common::AbstractModel
3007
+ # @param InstanceId: 实例Id
3008
+ # @type InstanceId: String
3009
+ # @param Ip: IP值
3010
+ # @type Ip: String
3011
+ # @param Domain: 域名
3012
+ # @type Domain: String
3013
+ # @param Protocol: 协议,可取值HTTP,HTTPS
3014
+ # @type Protocol: String
3015
+
3016
+ attr_accessor :InstanceId, :Ip, :Domain, :Protocol
3017
+
3018
+ def initialize(instanceid=nil, ip=nil, domain=nil, protocol=nil)
3019
+ @InstanceId = instanceid
3020
+ @Ip = ip
3021
+ @Domain = domain
3022
+ @Protocol = protocol
3023
+ end
3024
+
3025
+ def deserialize(params)
3026
+ @InstanceId = params['InstanceId']
3027
+ @Ip = params['Ip']
3028
+ @Domain = params['Domain']
3029
+ @Protocol = params['Protocol']
3030
+ end
3031
+ end
3032
+
3033
+ # DescribeCCLevelPolicy返回参数结构体
3034
+ class DescribeCCLevelPolicyResponse < TencentCloud::Common::AbstractModel
3035
+ # @param Level: CC防护等级,可取值loose表示宽松,strict表示严格,normal表示适中, emergency表示攻击紧急, sup_loose表示超级宽松,default表示默认策略(无频控配置下发),customized表示自定义策略
3036
+ # @type Level: String
3037
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3038
+ # @type RequestId: String
3039
+
3040
+ attr_accessor :Level, :RequestId
3041
+
3042
+ def initialize(level=nil, requestid=nil)
3043
+ @Level = level
3044
+ @RequestId = requestid
3045
+ end
3046
+
3047
+ def deserialize(params)
3048
+ @Level = params['Level']
3049
+ @RequestId = params['RequestId']
3050
+ end
3051
+ end
3052
+
2719
3053
  # DescribeCCPrecisionPlyList请求参数结构体
2720
3054
  class DescribeCCPrecisionPlyListRequest < TencentCloud::Common::AbstractModel
2721
3055
  # @param Business: 大禹子产品代号(bgpip-multip:表示高防包;bgpip:表示高防ip)
@@ -2858,6 +3192,65 @@ module TencentCloud
2858
3192
  end
2859
3193
  end
2860
3194
 
3195
+ # DescribeCCThresholdList请求参数结构体
3196
+ class DescribeCCThresholdListRequest < TencentCloud::Common::AbstractModel
3197
+ # @param Business: 大禹子产品代号(bgp-multip表示高防包)
3198
+ # @type Business: String
3199
+ # @param Offset: 页起始偏移,取值为(页码-1)*一页条数
3200
+ # @type Offset: Integer
3201
+ # @param Limit: 一页条数
3202
+ # @type Limit: Integer
3203
+ # @param InstanceId: 指定实例Id
3204
+ # @type InstanceId: String
3205
+
3206
+ attr_accessor :Business, :Offset, :Limit, :InstanceId
3207
+
3208
+ def initialize(business=nil, offset=nil, limit=nil, instanceid=nil)
3209
+ @Business = business
3210
+ @Offset = offset
3211
+ @Limit = limit
3212
+ @InstanceId = instanceid
3213
+ end
3214
+
3215
+ def deserialize(params)
3216
+ @Business = params['Business']
3217
+ @Offset = params['Offset']
3218
+ @Limit = params['Limit']
3219
+ @InstanceId = params['InstanceId']
3220
+ end
3221
+ end
3222
+
3223
+ # DescribeCCThresholdList返回参数结构体
3224
+ class DescribeCCThresholdListResponse < TencentCloud::Common::AbstractModel
3225
+ # @param Total: 清洗阈值策略列表总数
3226
+ # @type Total: Integer
3227
+ # @param ThresholdList: 清洗阈值策略列表详情
3228
+ # @type ThresholdList: Array
3229
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3230
+ # @type RequestId: String
3231
+
3232
+ attr_accessor :Total, :ThresholdList, :RequestId
3233
+
3234
+ def initialize(total=nil, thresholdlist=nil, requestid=nil)
3235
+ @Total = total
3236
+ @ThresholdList = thresholdlist
3237
+ @RequestId = requestid
3238
+ end
3239
+
3240
+ def deserialize(params)
3241
+ @Total = params['Total']
3242
+ unless params['ThresholdList'].nil?
3243
+ @ThresholdList = []
3244
+ params['ThresholdList'].each do |i|
3245
+ ccthresholdpolicy_tmp = CCThresholdPolicy.new
3246
+ ccthresholdpolicy_tmp.deserialize(i)
3247
+ @ThresholdList << ccthresholdpolicy_tmp
3248
+ end
3249
+ end
3250
+ @RequestId = params['RequestId']
3251
+ end
3252
+ end
3253
+
2861
3254
  # DescribeCCTrend请求参数结构体
2862
3255
  class DescribeCCTrendRequest < TencentCloud::Common::AbstractModel
2863
3256
  # @param Business: 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版;basic表示DDoS基础防护)
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.266
4
+ version: 1.0.269
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-02-28 00:00:00.000000000 Z
11
+ date: 2022-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common