tencentcloud-sdk-waf 3.0.542 → 3.0.543

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: 5f79d1f561be8072ec8cf6632d60e611046756ee
4
- data.tar.gz: 9144464cd116a7fc1ccdc347eefc4f0552298e5e
3
+ metadata.gz: a1e004a04d915122d51de18b41601e9bfa7b08ef
4
+ data.tar.gz: 642fa00d3efd5c379401d2f7c4766156a110f44e
5
5
  SHA512:
6
- metadata.gz: 5c38ab37348b9dd3370d85f46a001b341c7b21909839280892f1517e9647feafeabcf64776865d7938678d41ad1e42fe6d5bf823d63d4edc5161daaeda19f8cb
7
- data.tar.gz: c7bcedaa84e3a4e8256f08fa0b26124d140af5761c324b7bc9dca978e2aadd41a02f59d647574560ca1357621c8a7acad5c17a8286e92b07f0efae299f71d599
6
+ metadata.gz: c2052ec849b3fe85a65199eced1d742dcd391e70095bfe9233eacd5ce6605be1c20edb1dfbad472220650f418424487da6826f1e3027f0310d3f8f954f28cb5d
7
+ data.tar.gz: 5379e8416ff5ef34ac27419a2328587eaa2f24c0a4504066d90c178fddacffbff3f645e2ffa3bd6883fbce955d26d119b5b1ff457fff9e6c54aec291f80b7499
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.542
1
+ 3.0.543
@@ -678,6 +678,30 @@ module TencentCloud
678
678
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
679
679
  end
680
680
 
681
+ # 根据过滤条件查询VIP信息
682
+
683
+ # @param request: Request instance for DescribeVipInfo.
684
+ # @type request: :class:`Tencentcloud::waf::V20180125::DescribeVipInfoRequest`
685
+ # @rtype: :class:`Tencentcloud::waf::V20180125::DescribeVipInfoResponse`
686
+ def DescribeVipInfo(request)
687
+ body = send_request('DescribeVipInfo', request.serialize)
688
+ response = JSON.parse(body)
689
+ if response['Response'].key?('Error') == false
690
+ model = DescribeVipInfoResponse.new
691
+ model.deserialize(response['Response'])
692
+ model
693
+ else
694
+ code = response['Response']['Error']['Code']
695
+ message = response['Response']['Error']['Message']
696
+ reqid = response['Response']['RequestId']
697
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
698
+ end
699
+ rescue TencentCloud::Common::TencentCloudSDKException => e
700
+ raise e
701
+ rescue StandardError => e
702
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
703
+ end
704
+
681
705
  # 返回ip惩罚规则详细信息
682
706
 
683
707
  # @param request: Request instance for DescribeWafAutoDenyRules.
@@ -2162,6 +2162,49 @@ module TencentCloud
2162
2162
  end
2163
2163
  end
2164
2164
 
2165
+ # DescribeVipInfo请求参数结构体
2166
+ class DescribeVipInfoRequest < TencentCloud::Common::AbstractModel
2167
+ # @param InstanceIds: waf实例id列表
2168
+ # @type InstanceIds: Array
2169
+
2170
+ attr_accessor :InstanceIds
2171
+
2172
+ def initialize(instanceids=nil)
2173
+ @InstanceIds = instanceids
2174
+ end
2175
+
2176
+ def deserialize(params)
2177
+ @InstanceIds = params['InstanceIds']
2178
+ end
2179
+ end
2180
+
2181
+ # DescribeVipInfo返回参数结构体
2182
+ class DescribeVipInfoResponse < TencentCloud::Common::AbstractModel
2183
+ # @param VipInfo: VIP信息
2184
+ # @type VipInfo: Array
2185
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2186
+ # @type RequestId: String
2187
+
2188
+ attr_accessor :VipInfo, :RequestId
2189
+
2190
+ def initialize(vipinfo=nil, requestid=nil)
2191
+ @VipInfo = vipinfo
2192
+ @RequestId = requestid
2193
+ end
2194
+
2195
+ def deserialize(params)
2196
+ unless params['VipInfo'].nil?
2197
+ @VipInfo = []
2198
+ params['VipInfo'].each do |i|
2199
+ vipinfo_tmp = VipInfo.new
2200
+ vipinfo_tmp.deserialize(i)
2201
+ @VipInfo << vipinfo_tmp
2202
+ end
2203
+ end
2204
+ @RequestId = params['RequestId']
2205
+ end
2206
+ end
2207
+
2165
2208
  # DescribeWafAutoDenyRules请求参数结构体
2166
2209
  class DescribeWafAutoDenyRulesRequest < TencentCloud::Common::AbstractModel
2167
2210
  # @param Domain: 域名
@@ -3931,6 +3974,28 @@ module TencentCloud
3931
3974
  end
3932
3975
  end
3933
3976
 
3977
+ # Vip信息
3978
+ class VipInfo < TencentCloud::Common::AbstractModel
3979
+ # @param Vip: Virtual IP
3980
+ # 注意:此字段可能返回 null,表示取不到有效值。
3981
+ # @type Vip: String
3982
+ # @param InstanceId: waf实例id
3983
+ # 注意:此字段可能返回 null,表示取不到有效值。
3984
+ # @type InstanceId: String
3985
+
3986
+ attr_accessor :Vip, :InstanceId
3987
+
3988
+ def initialize(vip=nil, instanceid=nil)
3989
+ @Vip = vip
3990
+ @InstanceId = instanceid
3991
+ end
3992
+
3993
+ def deserialize(params)
3994
+ @Vip = params['Vip']
3995
+ @InstanceId = params['InstanceId']
3996
+ end
3997
+ end
3998
+
3934
3999
  # waf模块的规格
3935
4000
  class WafRuleLimit < TencentCloud::Common::AbstractModel
3936
4001
  # @param CC: 自定义CC的规格
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-waf
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.542
4
+ version: 3.0.543
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-03 00:00:00.000000000 Z
11
+ date: 2023-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common