tencentcloud-sdk-waf 3.0.657 → 3.0.658

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: 9897d2323e7cfd755442c242607412973ab264c9
4
- data.tar.gz: 8a099571731080b2eb456e0215cdef15c287c321
3
+ metadata.gz: b0d79a2dce152a4877814ac3ce6e0bcaf624b943
4
+ data.tar.gz: cb0e2d85af7a4806eb47b54c5a936dd9424665c3
5
5
  SHA512:
6
- metadata.gz: 1f2d45098897aff28d5d178f4f40c73c81b8f56aef8ca43dc89408e3f4499ad9bab385d4d318e6c6e56128aa05c81c3e58c2ca488974caf749200de93401b301
7
- data.tar.gz: c7540e0ed606f5f31a9442dea61b841337defbe1e8e2c34abe8367e7d92d7a0dae54f6d959d25e8b9246a9518de57c8ee916e06bb1fb86ea32fe22712c13a15f
6
+ metadata.gz: 56e1c350d3ec1661cbd07a05249d74067a221e3cc8c0f03002b4caed41785f68914ba67248f878b15882018b7cc3c34ac3a0febe3a35148927a69032d483407a
7
+ data.tar.gz: d103f74697b895386b649486deab146fb741c35b3b4e51e5d3ee00e52df8154391a7762837459375a34425d16985f90c9d7ca30040ecda8c482fd03c48c5323d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.657
1
+ 3.0.658
@@ -1330,6 +1330,30 @@ module TencentCloud
1330
1330
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1331
1331
  end
1332
1332
 
1333
+ # 获取非标端口列表
1334
+
1335
+ # @param request: Request instance for DescribePorts.
1336
+ # @type request: :class:`Tencentcloud::waf::V20180125::DescribePortsRequest`
1337
+ # @rtype: :class:`Tencentcloud::waf::V20180125::DescribePortsResponse`
1338
+ def DescribePorts(request)
1339
+ body = send_request('DescribePorts', request.serialize)
1340
+ response = JSON.parse(body)
1341
+ if response['Response'].key?('Error') == false
1342
+ model = DescribePortsResponse.new
1343
+ model.deserialize(response['Response'])
1344
+ model
1345
+ else
1346
+ code = response['Response']['Error']['Code']
1347
+ message = response['Response']['Error']['Message']
1348
+ reqid = response['Response']['RequestId']
1349
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1350
+ end
1351
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1352
+ raise e
1353
+ rescue StandardError => e
1354
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1355
+ end
1356
+
1333
1357
  # 获取各个模块具体的规格限制
1334
1358
 
1335
1359
  # @param request: Request instance for DescribeRuleLimit.
@@ -4161,6 +4161,50 @@ module TencentCloud
4161
4161
  end
4162
4162
  end
4163
4163
 
4164
+ # DescribePorts请求参数结构体
4165
+ class DescribePortsRequest < TencentCloud::Common::AbstractModel
4166
+ # @param Edition: 版本
4167
+ # @type Edition: String
4168
+ # @param InstanceID: 实例ID
4169
+ # @type InstanceID: String
4170
+
4171
+ attr_accessor :Edition, :InstanceID
4172
+
4173
+ def initialize(edition=nil, instanceid=nil)
4174
+ @Edition = edition
4175
+ @InstanceID = instanceid
4176
+ end
4177
+
4178
+ def deserialize(params)
4179
+ @Edition = params['Edition']
4180
+ @InstanceID = params['InstanceID']
4181
+ end
4182
+ end
4183
+
4184
+ # DescribePorts返回参数结构体
4185
+ class DescribePortsResponse < TencentCloud::Common::AbstractModel
4186
+ # @param HttpPorts: http端口列表
4187
+ # @type HttpPorts: Array
4188
+ # @param HttpsPorts: https端口列表
4189
+ # @type HttpsPorts: Array
4190
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4191
+ # @type RequestId: String
4192
+
4193
+ attr_accessor :HttpPorts, :HttpsPorts, :RequestId
4194
+
4195
+ def initialize(httpports=nil, httpsports=nil, requestid=nil)
4196
+ @HttpPorts = httpports
4197
+ @HttpsPorts = httpsports
4198
+ @RequestId = requestid
4199
+ end
4200
+
4201
+ def deserialize(params)
4202
+ @HttpPorts = params['HttpPorts']
4203
+ @HttpsPorts = params['HttpsPorts']
4204
+ @RequestId = params['RequestId']
4205
+ end
4206
+ end
4207
+
4164
4208
  # DescribeRuleLimit请求参数结构体
4165
4209
  class DescribeRuleLimitRequest < TencentCloud::Common::AbstractModel
4166
4210
  # @param Domain: 域名
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.657
4
+ version: 3.0.658
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-09-12 00:00:00.000000000 Z
11
+ date: 2023-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common