tencentcloud-sdk-antiddos 3.0.381 → 3.0.385

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: b108798809319ee0d4bcef789a4d60458d734a50
4
- data.tar.gz: e228320ae38d9d319c11252891c3fef3b8ac9c8b
3
+ metadata.gz: 12ed35cf4ce4e8037198397e86f77a9bfec7ff6a
4
+ data.tar.gz: f0b522eba77ddc7b38778f1cac65fa2cbd0722ca
5
5
  SHA512:
6
- metadata.gz: 1cc50cab6a28314b46fecad63b7df78228fcc93586955d0ded7619be17240ed79913bd5b7bd64aa100c8f153d7d8ac540a988c3021b041ac851214735467c229
7
- data.tar.gz: 4b3318ae6ba259fce34b3468db5ed71933b7cc9cf9037ecf482acbd88e6fa9b7c81d48add40ae7bd6fda62639e230f6b37e396b57efa763b3ea55c7344e4559f
6
+ metadata.gz: 527f0d19e8377cd27f1b3807abf30ba602fdea2142dc16f7677dce2bdfcb12df2cb223c145f68467139e61724802c206a7a3565e62720399dbcee56175342fb4
7
+ data.tar.gz: 7e13e3ff9c6de3e4e70c9d61dc05a2e11c59b7bc33e4fd5914a9d0634f4575fbd0000a354d23d934df8d3629cd42414852f93a37e1ae4a15384540205bc85f7a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.381
1
+ 3.0.385
@@ -605,30 +605,6 @@ module TencentCloud
605
605
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
606
606
  end
607
607
 
608
- # 删除DDoS防护的IP黑白名单
609
-
610
- # @param request: Request instance for DeleteBlackWhiteIpList.
611
- # @type request: :class:`Tencentcloud::antiddos::V20200309::DeleteBlackWhiteIpListRequest`
612
- # @rtype: :class:`Tencentcloud::antiddos::V20200309::DeleteBlackWhiteIpListResponse`
613
- def DeleteBlackWhiteIpList(request)
614
- body = send_request('DeleteBlackWhiteIpList', request.serialize)
615
- response = JSON.parse(body)
616
- if response['Response'].key?('Error') == false
617
- model = DeleteBlackWhiteIpListResponse.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
-
632
608
  # 删除CC分级策略
633
609
 
634
610
  # @param request: Request instance for DeleteCCLevelPolicy.
@@ -965,6 +941,30 @@ module TencentCloud
965
941
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
966
942
  end
967
943
 
944
+ # 获取高防包流量折线图
945
+
946
+ # @param request: Request instance for DescribeBgpBizTrend.
947
+ # @type request: :class:`Tencentcloud::antiddos::V20200309::DescribeBgpBizTrendRequest`
948
+ # @rtype: :class:`Tencentcloud::antiddos::V20200309::DescribeBgpBizTrendResponse`
949
+ def DescribeBgpBizTrend(request)
950
+ body = send_request('DescribeBgpBizTrend', request.serialize)
951
+ response = JSON.parse(body)
952
+ if response['Response'].key?('Error') == false
953
+ model = DescribeBgpBizTrendResponse.new
954
+ model.deserialize(response['Response'])
955
+ model
956
+ else
957
+ code = response['Response']['Error']['Code']
958
+ message = response['Response']['Error']['Message']
959
+ reqid = response['Response']['RequestId']
960
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
961
+ end
962
+ rescue TencentCloud::Common::TencentCloudSDKException => e
963
+ raise e
964
+ rescue StandardError => e
965
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
966
+ end
967
+
968
968
  # 获取业务流量曲线
969
969
 
970
970
  # @param request: Request instance for DescribeBizTrend.
@@ -2413,46 +2413,6 @@ module TencentCloud
2413
2413
  end
2414
2414
  end
2415
2415
 
2416
- # DeleteBlackWhiteIpList请求参数结构体
2417
- class DeleteBlackWhiteIpListRequest < TencentCloud::Common::AbstractModel
2418
- # @param InstanceId: 资源实例ID
2419
- # @type InstanceId: String
2420
- # @param IpList: IP列表
2421
- # @type IpList: Array
2422
- # @param Type: IP类型,取值[black(黑名单IP), white(白名单IP)]
2423
- # @type Type: String
2424
-
2425
- attr_accessor :InstanceId, :IpList, :Type
2426
-
2427
- def initialize(instanceid=nil, iplist=nil, type=nil)
2428
- @InstanceId = instanceid
2429
- @IpList = iplist
2430
- @Type = type
2431
- end
2432
-
2433
- def deserialize(params)
2434
- @InstanceId = params['InstanceId']
2435
- @IpList = params['IpList']
2436
- @Type = params['Type']
2437
- end
2438
- end
2439
-
2440
- # DeleteBlackWhiteIpList返回参数结构体
2441
- class DeleteBlackWhiteIpListResponse < TencentCloud::Common::AbstractModel
2442
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2443
- # @type RequestId: String
2444
-
2445
- attr_accessor :RequestId
2446
-
2447
- def initialize(requestid=nil)
2448
- @RequestId = requestid
2449
- end
2450
-
2451
- def deserialize(params)
2452
- @RequestId = params['RequestId']
2453
- end
2454
- end
2455
-
2456
2416
  # DeleteCCLevelPolicy请求参数结构体
2457
2417
  class DeleteCCLevelPolicyRequest < TencentCloud::Common::AbstractModel
2458
2418
  # @param InstanceId: 实例Id
@@ -3005,6 +2965,74 @@ module TencentCloud
3005
2965
  end
3006
2966
  end
3007
2967
 
2968
+ # DescribeBgpBizTrend请求参数结构体
2969
+ class DescribeBgpBizTrendRequest < TencentCloud::Common::AbstractModel
2970
+ # @param Business: 大禹子产品代号(bgp-multip表示高防包)
2971
+ # @type Business: String
2972
+ # @param StartTime: 统计开始时间。 例:“2020-09-22 00:00:00”
2973
+ # @type StartTime: String
2974
+ # @param EndTime: 统计结束时间。 例:“2020-09-22 00:00:00”
2975
+ # @type EndTime: String
2976
+ # @param MetricName: 统计纬度,可取值intraffic, outtraffic, inpkg, outpkg
2977
+ # @type MetricName: String
2978
+ # @param InstanceId: 资源实例ID
2979
+ # @type InstanceId: String
2980
+ # @param Flag: 0表示固定时间,1表示自定义时间
2981
+ # @type Flag: Integer
2982
+
2983
+ attr_accessor :Business, :StartTime, :EndTime, :MetricName, :InstanceId, :Flag
2984
+
2985
+ def initialize(business=nil, starttime=nil, endtime=nil, metricname=nil, instanceid=nil, flag=nil)
2986
+ @Business = business
2987
+ @StartTime = starttime
2988
+ @EndTime = endtime
2989
+ @MetricName = metricname
2990
+ @InstanceId = instanceid
2991
+ @Flag = flag
2992
+ end
2993
+
2994
+ def deserialize(params)
2995
+ @Business = params['Business']
2996
+ @StartTime = params['StartTime']
2997
+ @EndTime = params['EndTime']
2998
+ @MetricName = params['MetricName']
2999
+ @InstanceId = params['InstanceId']
3000
+ @Flag = params['Flag']
3001
+ end
3002
+ end
3003
+
3004
+ # DescribeBgpBizTrend返回参数结构体
3005
+ class DescribeBgpBizTrendResponse < TencentCloud::Common::AbstractModel
3006
+ # @param DataList: 曲线图各个时间点的值
3007
+ # @type DataList: Array
3008
+ # @param Total: 曲线图取值个数
3009
+ # @type Total: Integer
3010
+ # @param MetricName: 统计纬度
3011
+ # @type MetricName: String
3012
+ # @param MaxData: 返回数组最大值
3013
+ # @type MaxData: Integer
3014
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3015
+ # @type RequestId: String
3016
+
3017
+ attr_accessor :DataList, :Total, :MetricName, :MaxData, :RequestId
3018
+
3019
+ def initialize(datalist=nil, total=nil, metricname=nil, maxdata=nil, requestid=nil)
3020
+ @DataList = datalist
3021
+ @Total = total
3022
+ @MetricName = metricname
3023
+ @MaxData = maxdata
3024
+ @RequestId = requestid
3025
+ end
3026
+
3027
+ def deserialize(params)
3028
+ @DataList = params['DataList']
3029
+ @Total = params['Total']
3030
+ @MetricName = params['MetricName']
3031
+ @MaxData = params['MaxData']
3032
+ @RequestId = params['RequestId']
3033
+ end
3034
+ end
3035
+
3008
3036
  # DescribeBizTrend请求参数结构体
3009
3037
  class DescribeBizTrendRequest < TencentCloud::Common::AbstractModel
3010
3038
  # @param Statistics: 统计方式,可取值max, min, avg, sum, 如统计纬度是流量速率或包量速率,仅可取值max
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.381
4
+ version: 3.0.385
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-08-05 00:00:00.000000000 Z
11
+ date: 2022-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common