tencentcloud-sdk-antiddos 3.0.382 → 3.0.384

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: dbc3f82b45139dcd90ac2b10c545a09757882fb4
4
- data.tar.gz: 131934f5a14fab927c24d80203c4e3fcb3bbfbc4
3
+ metadata.gz: b4cbf7c2598af8f29a93e1930f81b228e1f0e1fd
4
+ data.tar.gz: ec9886beb42fa9ec92de34dc60df980d8d248182
5
5
  SHA512:
6
- metadata.gz: 0858b5830411a996b2cd6d8177144b56869dc93aea6afe201f011886101cf4c7b36664ebee180ef395f938acc950d2ab511d7ae612339595c0437cdad612a258
7
- data.tar.gz: 0b3282a8061789d3727bd37468b14359e3e923fd9f1667ab6cc27db6a64bc65bceb76e669e7c50d8631692145cbd726a82ed372da96708765e6e94de90de0ac9
6
+ metadata.gz: 92c76f1607b4bc4dc954aad1b6695109e762db14360e184d6cf20f9d4649c8194109b7d887bc403e8f56565344872bb7b3088f3c6ecaee7f7514f984b83bcad3
7
+ data.tar.gz: ffa38b82f30ed74a18e8fdafea1983c7e93271206a069ca292d53ef19dea97b4081163e7e742628a9b12817a0eacf2d138ed564ddf92546880cb35f4484518f1
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.382
1
+ 3.0.384
@@ -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.382
4
+ version: 3.0.384
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-08 00:00:00.000000000 Z
11
+ date: 2022-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common