tencentcloud-sdk-keewidb 3.0.557 → 3.0.559
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20220308/client.rb +24 -0
- data/lib/v20220308/models.rb +44 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c100c0403172f64d77b283fc23a6cc70dc353731
|
4
|
+
data.tar.gz: 27fa91bb56ca11ee2f203deda3d88e5199d89b3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22cf1d7c171c575e7cc0822db454344b1b2e4d35bc6d20ee4da0b8d8f7980c58508c04fd02375df3d084038c9f7175ed02369e70163e819facc61db7d65de9da
|
7
|
+
data.tar.gz: 0179dd545038738494e9c78a5170178be4539f7f1f1d602fc40f7ed43d24a979e7a054eb75a0cea1ff21e3ac76726e7decb6ba21a023aacd1f6aa3320be1162b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.559
|
data/lib/v20220308/client.rb
CHANGED
@@ -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.
|
data/lib/v20220308/models.rb
CHANGED
@@ -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.
|
4
|
+
version: 3.0.559
|
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-
|
11
|
+
date: 2023-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|