tencentcloud-sdk-antiddos 3.0.391 → 3.0.399

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: ee78dfefe0541c2b06135f99e77902bb4a30686c
4
- data.tar.gz: 4fd42807e6f94bf092f18ac9201bbbbf68fd1c4f
3
+ metadata.gz: eadd7f627060d18278126578a1243063c5587b9f
4
+ data.tar.gz: 6d01af2b927108dfb14c9002a352ae539f1c68a9
5
5
  SHA512:
6
- metadata.gz: 3e09b0c02e9af317e0cceec8591608cf8734778a4e46bc1b8f6ff6076514b3bd3109e1db41bd15e254f42b8734faf68a1c22a0292c22ad270091d5b7323e9bcd
7
- data.tar.gz: 17071169094456e42b334ffb0de7cc38f8958d59c82286c8f3ccef07f2872ce6ba96c17b3ba9baa53acf3cf9868456bae132cfcc4b19639e6e4c76969613390f
6
+ metadata.gz: 76b4894e934b2071502f81b6f0c040b2cb31e5c45dfd0b8b1494b5d718ad988dc7f02b956f3ea7f09b4f577468288050852c610ae175fd7c6727ae86d707c4b9
7
+ data.tar.gz: c3e08d7829496e8f76cb56ed00d8009988b057be70595cb8cc5761aedbb6cd381cc37e1c3fd875a474d071986a06327e81224abe98e47256d9c3a4b4a16fe352
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.391
1
+ 3.0.399
@@ -1685,6 +1685,30 @@ module TencentCloud
1685
1685
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1686
1686
  end
1687
1687
 
1688
+ # 获取L7转发规则健康检查异常结果列表
1689
+
1690
+ # @param request: Request instance for DescribeNewL7RulesErrHealth.
1691
+ # @type request: :class:`Tencentcloud::antiddos::V20200309::DescribeNewL7RulesErrHealthRequest`
1692
+ # @rtype: :class:`Tencentcloud::antiddos::V20200309::DescribeNewL7RulesErrHealthResponse`
1693
+ def DescribeNewL7RulesErrHealth(request)
1694
+ body = send_request('DescribeNewL7RulesErrHealth', request.serialize)
1695
+ response = JSON.parse(body)
1696
+ if response['Response'].key?('Error') == false
1697
+ model = DescribeNewL7RulesErrHealthResponse.new
1698
+ model.deserialize(response['Response'])
1699
+ model
1700
+ else
1701
+ code = response['Response']['Error']['Code']
1702
+ message = response['Response']['Error']['Message']
1703
+ reqid = response['Response']['RequestId']
1704
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1705
+ end
1706
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1707
+ raise e
1708
+ rescue StandardError => e
1709
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1710
+ end
1711
+
1688
1712
  # 拉取防护概览攻击趋势
1689
1713
 
1690
1714
  # @param request: Request instance for DescribeOverviewAttackTrend.
@@ -4932,6 +4932,57 @@ module TencentCloud
4932
4932
  end
4933
4933
  end
4934
4934
 
4935
+ # DescribeNewL7RulesErrHealth请求参数结构体
4936
+ class DescribeNewL7RulesErrHealthRequest < TencentCloud::Common::AbstractModel
4937
+ # @param Business: 大禹子产品代号(bgpip表示高防IP)
4938
+ # @type Business: String
4939
+ # @param RuleIdList: 规则Id列表
4940
+ # @type RuleIdList: Array
4941
+
4942
+ attr_accessor :Business, :RuleIdList
4943
+
4944
+ def initialize(business=nil, ruleidlist=nil)
4945
+ @Business = business
4946
+ @RuleIdList = ruleidlist
4947
+ end
4948
+
4949
+ def deserialize(params)
4950
+ @Business = params['Business']
4951
+ @RuleIdList = params['RuleIdList']
4952
+ end
4953
+ end
4954
+
4955
+ # DescribeNewL7RulesErrHealth返回参数结构体
4956
+ class DescribeNewL7RulesErrHealthResponse < TencentCloud::Common::AbstractModel
4957
+ # @param ErrHealths: 异常规则列表,返回值说明: Key值为规则ID,Value值为异常IP及错误信息,多个IP用","分割
4958
+ # @type ErrHealths: Array
4959
+ # @param Total: 异常规则的总数
4960
+ # @type Total: Integer
4961
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4962
+ # @type RequestId: String
4963
+
4964
+ attr_accessor :ErrHealths, :Total, :RequestId
4965
+
4966
+ def initialize(errhealths=nil, total=nil, requestid=nil)
4967
+ @ErrHealths = errhealths
4968
+ @Total = total
4969
+ @RequestId = requestid
4970
+ end
4971
+
4972
+ def deserialize(params)
4973
+ unless params['ErrHealths'].nil?
4974
+ @ErrHealths = []
4975
+ params['ErrHealths'].each do |i|
4976
+ keyvalue_tmp = KeyValue.new
4977
+ keyvalue_tmp.deserialize(i)
4978
+ @ErrHealths << keyvalue_tmp
4979
+ end
4980
+ end
4981
+ @Total = params['Total']
4982
+ @RequestId = params['RequestId']
4983
+ end
4984
+ end
4985
+
4935
4986
  # DescribeNewL7Rules请求参数结构体
4936
4987
  class DescribeNewL7RulesRequest < TencentCloud::Common::AbstractModel
4937
4988
  # @param Business: 大禹子产品代号(bgpip表示高防IP)
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.391
4
+ version: 3.0.399
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-23 00:00:00.000000000 Z
11
+ date: 2022-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common