tencentcloud-sdk-antiddos 3.0.396 → 3.0.398

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: 49f30877898d000fbade8d77c1250f766f600f23
4
+ data.tar.gz: e6b46039707f3ea4d08a3995d0a96a1e4ddad9f1
5
5
  SHA512:
6
- metadata.gz: 7cd839ca766e7ca9fa20acefb89dd0ca66d090bf885a9f3f91a0b0723f3845ce3b0a31fd99651f220d65e32404260746ec85f3f8e58d1fec6dd549cc1947cd67
7
- data.tar.gz: ed38b2744038d51c79285173b50c7e47a9fc6f680b76348b1097c483390a5493a85ac7bf6d15f352a45680365b9fdc1f4f7ef59d5d2d64ea8b64a26fedf47067
6
+ metadata.gz: aa5bd220c20922e189f84032a7f775ee82d25a667b27161c3a0caaf60e4947cbbc0a7487d6950a917181091e4914bde84e211997d2daebe272f7fd5c463409f0
7
+ data.tar.gz: af34cc67aa8703047f215af9c548b85e2f4e889008af2ea250a9b81298f5c94501af513aa2a9ea468fe609f4e19ca25666d1fef0342fbead6ac3c4fcf8dadf69
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.396
1
+ 3.0.398
@@ -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.398
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