tencentcloud-sdk-cynosdb 3.0.700 → 3.0.701
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/v20190107/client.rb +24 -0
- data/lib/v20190107/models.rb +56 -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: c778792c287f16b7b4585f964660ebc3936272c0
|
4
|
+
data.tar.gz: 550bbba71069505d347bb1cca80bade2ae325252
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 795d2612948dbbc9ac2f807919b6d3e5e29fe731518df159d3d0f8955b245e89d141842d21a4ce38d1b0d50b79dbeb3d462ce9bf600c67356fbb3c5f29b0e4cd
|
7
|
+
data.tar.gz: 8baaacbc295b1a4a126fa19688877af6e692315071961388d8c307f23eb0e8e0eb0353259c1f7381af7e08a7cdb9f30fb2f055f05bea0a789194167831d553cb
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.701
|
data/lib/v20190107/client.rb
CHANGED
@@ -965,6 +965,30 @@ module TencentCloud
|
|
965
965
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
966
966
|
end
|
967
967
|
|
968
|
+
# 获取database列表
|
969
|
+
|
970
|
+
# @param request: Request instance for DescribeClusterDatabases.
|
971
|
+
# @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeClusterDatabasesRequest`
|
972
|
+
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::DescribeClusterDatabasesResponse`
|
973
|
+
def DescribeClusterDatabases(request)
|
974
|
+
body = send_request('DescribeClusterDatabases', request.serialize)
|
975
|
+
response = JSON.parse(body)
|
976
|
+
if response['Response'].key?('Error') == false
|
977
|
+
model = DescribeClusterDatabasesResponse.new
|
978
|
+
model.deserialize(response['Response'])
|
979
|
+
model
|
980
|
+
else
|
981
|
+
code = response['Response']['Error']['Code']
|
982
|
+
message = response['Response']['Error']['Message']
|
983
|
+
reqid = response['Response']['RequestId']
|
984
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
985
|
+
end
|
986
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
987
|
+
raise e
|
988
|
+
rescue StandardError => e
|
989
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
990
|
+
end
|
991
|
+
|
968
992
|
# 该接口(DescribeClusterDetail)显示集群详情
|
969
993
|
|
970
994
|
# @param request: Request instance for DescribeClusterDetail.
|
data/lib/v20190107/models.rb
CHANGED
@@ -4332,6 +4332,62 @@ module TencentCloud
|
|
4332
4332
|
end
|
4333
4333
|
end
|
4334
4334
|
|
4335
|
+
# DescribeClusterDatabases请求参数结构体
|
4336
|
+
class DescribeClusterDatabasesRequest < TencentCloud::Common::AbstractModel
|
4337
|
+
# @param ClusterId: 集群id
|
4338
|
+
# @type ClusterId: String
|
4339
|
+
# @param Offset: 分页偏移
|
4340
|
+
# @type Offset: Integer
|
4341
|
+
# @param Limit: 分页限制数量
|
4342
|
+
# @type Limit: Integer
|
4343
|
+
|
4344
|
+
attr_accessor :ClusterId, :Offset, :Limit
|
4345
|
+
|
4346
|
+
def initialize(clusterid=nil, offset=nil, limit=nil)
|
4347
|
+
@ClusterId = clusterid
|
4348
|
+
@Offset = offset
|
4349
|
+
@Limit = limit
|
4350
|
+
end
|
4351
|
+
|
4352
|
+
def deserialize(params)
|
4353
|
+
@ClusterId = params['ClusterId']
|
4354
|
+
@Offset = params['Offset']
|
4355
|
+
@Limit = params['Limit']
|
4356
|
+
end
|
4357
|
+
end
|
4358
|
+
|
4359
|
+
# DescribeClusterDatabases返回参数结构体
|
4360
|
+
class DescribeClusterDatabasesResponse < TencentCloud::Common::AbstractModel
|
4361
|
+
# @param TotalCount: 总条数
|
4362
|
+
# @type TotalCount: Integer
|
4363
|
+
# @param Offset: 分页偏移
|
4364
|
+
# @type Offset: Integer
|
4365
|
+
# @param Databases: 数据库列表
|
4366
|
+
# @type Databases: Array
|
4367
|
+
# @param Limit: 分页限制数
|
4368
|
+
# @type Limit: Integer
|
4369
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4370
|
+
# @type RequestId: String
|
4371
|
+
|
4372
|
+
attr_accessor :TotalCount, :Offset, :Databases, :Limit, :RequestId
|
4373
|
+
|
4374
|
+
def initialize(totalcount=nil, offset=nil, databases=nil, limit=nil, requestid=nil)
|
4375
|
+
@TotalCount = totalcount
|
4376
|
+
@Offset = offset
|
4377
|
+
@Databases = databases
|
4378
|
+
@Limit = limit
|
4379
|
+
@RequestId = requestid
|
4380
|
+
end
|
4381
|
+
|
4382
|
+
def deserialize(params)
|
4383
|
+
@TotalCount = params['TotalCount']
|
4384
|
+
@Offset = params['Offset']
|
4385
|
+
@Databases = params['Databases']
|
4386
|
+
@Limit = params['Limit']
|
4387
|
+
@RequestId = params['RequestId']
|
4388
|
+
end
|
4389
|
+
end
|
4390
|
+
|
4335
4391
|
# DescribeClusterDetailDatabases请求参数结构体
|
4336
4392
|
class DescribeClusterDetailDatabasesRequest < TencentCloud::Common::AbstractModel
|
4337
4393
|
# @param ClusterId: 集群ID
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cynosdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.701
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
@@ -33,9 +33,9 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/tencentcloud-sdk-cynosdb.rb
|
37
36
|
- lib/v20190107/client.rb
|
38
37
|
- lib/v20190107/models.rb
|
38
|
+
- lib/tencentcloud-sdk-cynosdb.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|