tencentcloud-sdk-antiddos 3.0.396 → 3.0.400

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: 5ad0eb8806c43aa4164932ad7a73f9b9a56b074a
4
- data.tar.gz: 9a9d303ea2784b2cfb73f90bff10a3377f517e1c
3
+ metadata.gz: 93f57ab40478d9c80b8e34164e98f280c6dde802
4
+ data.tar.gz: 2b078c0d6af13ed5ac9fcb413906d9f79334a909
5
5
  SHA512:
6
- metadata.gz: 7cd839ca766e7ca9fa20acefb89dd0ca66d090bf885a9f3f91a0b0723f3845ce3b0a31fd99651f220d65e32404260746ec85f3f8e58d1fec6dd549cc1947cd67
7
- data.tar.gz: ed38b2744038d51c79285173b50c7e47a9fc6f680b76348b1097c483390a5493a85ac7bf6d15f352a45680365b9fdc1f4f7ef59d5d2d64ea8b64a26fedf47067
6
+ metadata.gz: a9439c82745963221b9688fb50f20ee3f2c20fcefe5ef6ac13287abdcd8cc587ccd00303a90187f14ce5c7fcf9ac8e1d69aa0ef94be67440469ee48ee25ccd23
7
+ data.tar.gz: 1679fbe628d37c43fadbd532c7d8c079c901da55f6ff14c1165599ed115dee0016546cdc4e4ad83cf5180c273255d21c998c832be331cec0570f2976ab40a2a7
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.396
1
+ 3.0.400
@@ -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.396
4
+ version: 3.0.400
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-29 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