tencentcloud-sdk-antiddos 3.0.390 → 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: 6d4faf4e610f675a3b34aafd5e655a1132909fc5
4
- data.tar.gz: 784fd60973a694172d46011a5c5f7050250afc8c
3
+ metadata.gz: 49f30877898d000fbade8d77c1250f766f600f23
4
+ data.tar.gz: e6b46039707f3ea4d08a3995d0a96a1e4ddad9f1
5
5
  SHA512:
6
- metadata.gz: 47a94562730e04f61d057e452405d92a5479cbdc87c42a80b5f7d836e5bfac6019499a4c5ce5656ad56b2699acbce7336367815c53a5a32e8b8798971b923b7e
7
- data.tar.gz: 3f0aeb0ebe59337663a122c07401f67d63c666dd585cc9764d190ea7588dbd8cf8680dc3e5e4dc6a10e1620476848a19a76ff96304424b1ea65cd7ae46e01250
6
+ metadata.gz: aa5bd220c20922e189f84032a7f775ee82d25a667b27161c3a0caaf60e4947cbbc0a7487d6950a917181091e4914bde84e211997d2daebe272f7fd5c463409f0
7
+ data.tar.gz: af34cc67aa8703047f215af9c548b85e2f4e889008af2ea250a9b81298f5c94501af513aa2a9ea468fe609f4e19ca25666d1fef0342fbead6ac3c4fcf8dadf69
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.390
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.390
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-18 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