tencentcloud-sdk-keewidb 3.0.556 → 3.0.558

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: 2f0ccd0e385aba9e8939be2538fa0d082293206e
4
- data.tar.gz: 5562644c46ba006bad5285d53e4195a7afbe3395
3
+ metadata.gz: ef890df22c9244e638caca248c5c712da44d7caa
4
+ data.tar.gz: d99f149852e6dd549a05a615b58c9b5524ed5f70
5
5
  SHA512:
6
- metadata.gz: c17fc1480732a372dbb14ef31015e06d2989033fc3e30fedbe68374c8262694e5134074f854b0d0029cb7c8d92771ea78d23f71bea2a307926ed00a9ee4ac2ec
7
- data.tar.gz: bdf6b8b0258248065d46117590ce4c8d06cbdc66e7db40677d4f4ef4db87f6d55a53d9a6f8efc2d89ecee0011887f3d1d8e5e987ca3bd91678384eae98fd6297
6
+ metadata.gz: c929ef8017591639b1cb6415c87d061f46e2e732e4552f9223292a8cd8370ca4d0c70ae0a0fce3145bdc81abb31d2c2d10729e6a511032060c9ddebe1ae40a83
7
+ data.tar.gz: e11d22d49830f457109cc2654493937473fd46e40c38ca331355fbcf8a8c080fd64e94cf9fffbc9f52d1532ade9563b5727cb2bdb71319a5bce249c7414d06ed
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.556
1
+ 3.0.558
@@ -197,6 +197,30 @@ module TencentCloud
197
197
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
198
  end
199
199
 
200
+ # 本接口(DescribeConnectionConfig)用于查询实例连接配置,包括出流量和入流量带宽、最大连接数限制。
201
+
202
+ # @param request: Request instance for DescribeConnectionConfig.
203
+ # @type request: :class:`Tencentcloud::keewidb::V20220308::DescribeConnectionConfigRequest`
204
+ # @rtype: :class:`Tencentcloud::keewidb::V20220308::DescribeConnectionConfigResponse`
205
+ def DescribeConnectionConfig(request)
206
+ body = send_request('DescribeConnectionConfig', request.serialize)
207
+ response = JSON.parse(body)
208
+ if response['Response'].key?('Error') == false
209
+ model = DescribeConnectionConfigResponse.new
210
+ model.deserialize(response['Response'])
211
+ model
212
+ else
213
+ code = response['Response']['Error']['Code']
214
+ message = response['Response']['Error']['Message']
215
+ reqid = response['Response']['RequestId']
216
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
217
+ end
218
+ rescue TencentCloud::Common::TencentCloudSDKException => e
219
+ raise e
220
+ rescue StandardError => e
221
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
+ end
223
+
200
224
  # 本接口(DescribeDBSecurityGroups)用于查询实例的安全组详情。
201
225
 
202
226
  # @param request: Request instance for DescribeDBSecurityGroups.
@@ -474,6 +474,50 @@ module TencentCloud
474
474
  end
475
475
  end
476
476
 
477
+ # DescribeConnectionConfig请求参数结构体
478
+ class DescribeConnectionConfigRequest < TencentCloud::Common::AbstractModel
479
+ # @param InstanceId: 实例 ID,如:kee-6ubh****。
480
+ # @type InstanceId: String
481
+
482
+ attr_accessor :InstanceId
483
+
484
+ def initialize(instanceid=nil)
485
+ @InstanceId = instanceid
486
+ end
487
+
488
+ def deserialize(params)
489
+ @InstanceId = params['InstanceId']
490
+ end
491
+ end
492
+
493
+ # DescribeConnectionConfig返回参数结构体
494
+ class DescribeConnectionConfigResponse < TencentCloud::Common::AbstractModel
495
+ # @param InNetLimit: 单分片入流量带宽限制,单位:MB。
496
+ # @type InNetLimit: Integer
497
+ # @param OutNetLimit: 单分片出流量带宽限制,单位:MB。
498
+ # @type OutNetLimit: Integer
499
+ # @param ClientLimit: 单分片连接数限制。
500
+ # @type ClientLimit: Integer
501
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
502
+ # @type RequestId: String
503
+
504
+ attr_accessor :InNetLimit, :OutNetLimit, :ClientLimit, :RequestId
505
+
506
+ def initialize(innetlimit=nil, outnetlimit=nil, clientlimit=nil, requestid=nil)
507
+ @InNetLimit = innetlimit
508
+ @OutNetLimit = outnetlimit
509
+ @ClientLimit = clientlimit
510
+ @RequestId = requestid
511
+ end
512
+
513
+ def deserialize(params)
514
+ @InNetLimit = params['InNetLimit']
515
+ @OutNetLimit = params['OutNetLimit']
516
+ @ClientLimit = params['ClientLimit']
517
+ @RequestId = params['RequestId']
518
+ end
519
+ end
520
+
477
521
  # DescribeDBSecurityGroups请求参数结构体
478
522
  class DescribeDBSecurityGroupsRequest < TencentCloud::Common::AbstractModel
479
523
  # @param Product: 数据库引擎名称:keewidb。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-keewidb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.556
4
+ version: 3.0.558
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-20 00:00:00.000000000 Z
11
+ date: 2023-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common