tencentcloud-sdk-cynosdb 3.0.955 → 3.0.956
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 +48 -0
- data/lib/v20190107/models.rb +88 -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: 50e7ace448a40f631f300f6045d473eae0453b02
|
4
|
+
data.tar.gz: 7c79bafa7dcde72ea3fbaab9363e08a4313e2727
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d395e4cbc7131531cdf042fd871c660e3c476182a11270bcc85c20e80d1889f9e7830a8de1351196c10f3192b334bb82bafe766fad9d257a014fe9311b59fe3
|
7
|
+
data.tar.gz: 030760b60708079bfd0350b41c5b4d17ff9b204d3ebffe99f8bd7852839bd7958e5beeafedaefa00705430621c982697075a497470ee7aab0de27e35445ef6b6
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.956
|
data/lib/v20190107/client.rb
CHANGED
@@ -221,6 +221,30 @@ module TencentCloud
|
|
221
221
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
222
|
end
|
223
223
|
|
224
|
+
# 关闭数据库代理连接地址
|
225
|
+
|
226
|
+
# @param request: Request instance for CloseProxyEndPoint.
|
227
|
+
# @type request: :class:`Tencentcloud::cynosdb::V20190107::CloseProxyEndPointRequest`
|
228
|
+
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::CloseProxyEndPointResponse`
|
229
|
+
def CloseProxyEndPoint(request)
|
230
|
+
body = send_request('CloseProxyEndPoint', request.serialize)
|
231
|
+
response = JSON.parse(body)
|
232
|
+
if response['Response'].key?('Error') == false
|
233
|
+
model = CloseProxyEndPointResponse.new
|
234
|
+
model.deserialize(response['Response'])
|
235
|
+
model
|
236
|
+
else
|
237
|
+
code = response['Response']['Error']['Code']
|
238
|
+
message = response['Response']['Error']['Message']
|
239
|
+
reqid = response['Response']['RequestId']
|
240
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
241
|
+
end
|
242
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
243
|
+
raise e
|
244
|
+
rescue StandardError => e
|
245
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
|
+
end
|
247
|
+
|
224
248
|
# 本接口(CloseWan)用于关闭外网。
|
225
249
|
|
226
250
|
# @param request: Request instance for CloseWan.
|
@@ -1541,6 +1565,30 @@ module TencentCloud
|
|
1541
1565
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1542
1566
|
end
|
1543
1567
|
|
1568
|
+
# 本接口(DescribeInstancesWithinSameCluster)用于查询同一集群下实例列表
|
1569
|
+
|
1570
|
+
# @param request: Request instance for DescribeInstancesWithinSameCluster.
|
1571
|
+
# @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeInstancesWithinSameClusterRequest`
|
1572
|
+
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::DescribeInstancesWithinSameClusterResponse`
|
1573
|
+
def DescribeInstancesWithinSameCluster(request)
|
1574
|
+
body = send_request('DescribeInstancesWithinSameCluster', request.serialize)
|
1575
|
+
response = JSON.parse(body)
|
1576
|
+
if response['Response'].key?('Error') == false
|
1577
|
+
model = DescribeInstancesWithinSameClusterResponse.new
|
1578
|
+
model.deserialize(response['Response'])
|
1579
|
+
model
|
1580
|
+
else
|
1581
|
+
code = response['Response']['Error']['Code']
|
1582
|
+
message = response['Response']['Error']['Message']
|
1583
|
+
reqid = response['Response']['RequestId']
|
1584
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1585
|
+
end
|
1586
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1587
|
+
raise e
|
1588
|
+
rescue StandardError => e
|
1589
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1590
|
+
end
|
1591
|
+
|
1544
1592
|
# 本接口(DescribeIsolatedInstances)用于查询回收站实例列表。
|
1545
1593
|
|
1546
1594
|
# @param request: Request instance for DescribeIsolatedInstances.
|
data/lib/v20190107/models.rb
CHANGED
@@ -1378,6 +1378,50 @@ module TencentCloud
|
|
1378
1378
|
end
|
1379
1379
|
end
|
1380
1380
|
|
1381
|
+
# CloseProxyEndPoint请求参数结构体
|
1382
|
+
class CloseProxyEndPointRequest < TencentCloud::Common::AbstractModel
|
1383
|
+
# @param ClusterId: 集群ID
|
1384
|
+
# @type ClusterId: String
|
1385
|
+
# @param ProxyGroupId: 数据库代理组ID
|
1386
|
+
# @type ProxyGroupId: String
|
1387
|
+
|
1388
|
+
attr_accessor :ClusterId, :ProxyGroupId
|
1389
|
+
|
1390
|
+
def initialize(clusterid=nil, proxygroupid=nil)
|
1391
|
+
@ClusterId = clusterid
|
1392
|
+
@ProxyGroupId = proxygroupid
|
1393
|
+
end
|
1394
|
+
|
1395
|
+
def deserialize(params)
|
1396
|
+
@ClusterId = params['ClusterId']
|
1397
|
+
@ProxyGroupId = params['ProxyGroupId']
|
1398
|
+
end
|
1399
|
+
end
|
1400
|
+
|
1401
|
+
# CloseProxyEndPoint返回参数结构体
|
1402
|
+
class CloseProxyEndPointResponse < TencentCloud::Common::AbstractModel
|
1403
|
+
# @param FlowId: 异步流程ID
|
1404
|
+
# @type FlowId: Integer
|
1405
|
+
# @param TaskId: 异步任务ID
|
1406
|
+
# @type TaskId: Integer
|
1407
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1408
|
+
# @type RequestId: String
|
1409
|
+
|
1410
|
+
attr_accessor :FlowId, :TaskId, :RequestId
|
1411
|
+
|
1412
|
+
def initialize(flowid=nil, taskid=nil, requestid=nil)
|
1413
|
+
@FlowId = flowid
|
1414
|
+
@TaskId = taskid
|
1415
|
+
@RequestId = requestid
|
1416
|
+
end
|
1417
|
+
|
1418
|
+
def deserialize(params)
|
1419
|
+
@FlowId = params['FlowId']
|
1420
|
+
@TaskId = params['TaskId']
|
1421
|
+
@RequestId = params['RequestId']
|
1422
|
+
end
|
1423
|
+
end
|
1424
|
+
|
1381
1425
|
# CloseProxy请求参数结构体
|
1382
1426
|
class CloseProxyRequest < TencentCloud::Common::AbstractModel
|
1383
1427
|
# @param ClusterId: 集群ID
|
@@ -6503,6 +6547,50 @@ module TencentCloud
|
|
6503
6547
|
end
|
6504
6548
|
end
|
6505
6549
|
|
6550
|
+
# DescribeInstancesWithinSameCluster请求参数结构体
|
6551
|
+
class DescribeInstancesWithinSameClusterRequest < TencentCloud::Common::AbstractModel
|
6552
|
+
# @param UniqVpcId: vpcId
|
6553
|
+
# @type UniqVpcId: String
|
6554
|
+
# @param Vip: vip
|
6555
|
+
# @type Vip: String
|
6556
|
+
|
6557
|
+
attr_accessor :UniqVpcId, :Vip
|
6558
|
+
|
6559
|
+
def initialize(uniqvpcid=nil, vip=nil)
|
6560
|
+
@UniqVpcId = uniqvpcid
|
6561
|
+
@Vip = vip
|
6562
|
+
end
|
6563
|
+
|
6564
|
+
def deserialize(params)
|
6565
|
+
@UniqVpcId = params['UniqVpcId']
|
6566
|
+
@Vip = params['Vip']
|
6567
|
+
end
|
6568
|
+
end
|
6569
|
+
|
6570
|
+
# DescribeInstancesWithinSameCluster返回参数结构体
|
6571
|
+
class DescribeInstancesWithinSameClusterResponse < TencentCloud::Common::AbstractModel
|
6572
|
+
# @param TotalCount: 实例个数
|
6573
|
+
# @type TotalCount: Integer
|
6574
|
+
# @param InstanceIds: 实例ID列表
|
6575
|
+
# @type InstanceIds: Array
|
6576
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6577
|
+
# @type RequestId: String
|
6578
|
+
|
6579
|
+
attr_accessor :TotalCount, :InstanceIds, :RequestId
|
6580
|
+
|
6581
|
+
def initialize(totalcount=nil, instanceids=nil, requestid=nil)
|
6582
|
+
@TotalCount = totalcount
|
6583
|
+
@InstanceIds = instanceids
|
6584
|
+
@RequestId = requestid
|
6585
|
+
end
|
6586
|
+
|
6587
|
+
def deserialize(params)
|
6588
|
+
@TotalCount = params['TotalCount']
|
6589
|
+
@InstanceIds = params['InstanceIds']
|
6590
|
+
@RequestId = params['RequestId']
|
6591
|
+
end
|
6592
|
+
end
|
6593
|
+
|
6506
6594
|
# DescribeIsolatedInstances请求参数结构体
|
6507
6595
|
class DescribeIsolatedInstancesRequest < TencentCloud::Common::AbstractModel
|
6508
6596
|
# @param Limit: 返回数量,默认为 20,最大值为 100
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.956
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|