tencentcloud-sdk-cynosdb 3.0.954 → 3.0.956

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: c90890b1b3cdd9c7f856840f7c6dec41dee409cc
4
- data.tar.gz: bab1626d09f1d2e4d850f2565e4b6c0a9668e4e0
3
+ metadata.gz: 50e7ace448a40f631f300f6045d473eae0453b02
4
+ data.tar.gz: 7c79bafa7dcde72ea3fbaab9363e08a4313e2727
5
5
  SHA512:
6
- metadata.gz: 732eb7daee1094da8920f300d8037baa7f9c20bf4003732af2847234810da4cfc1093974b27dbd11ea5e42dcc0b3be36bd40d9e8dc13e5c25901f62d0ebbbb9e
7
- data.tar.gz: 62846ddb0f419d4d83843e06240b54b202651da08bf696bc716d91cfe55828ef76b57003732fa9943d5aa12ce042f7627600f242c3e8224677dfa7e7adefd898
6
+ metadata.gz: 6d395e4cbc7131531cdf042fd871c660e3c476182a11270bcc85c20e80d1889f9e7830a8de1351196c10f3192b334bb82bafe766fad9d257a014fe9311b59fe3
7
+ data.tar.gz: 030760b60708079bfd0350b41c5b4d17ff9b204d3ebffe99f8bd7852839bd7958e5beeafedaefa00705430621c982697075a497470ee7aab0de27e35445ef6b6
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.954
1
+ 3.0.956
@@ -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.
@@ -1277,6 +1301,30 @@ module TencentCloud
1277
1301
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1278
1302
  end
1279
1303
 
1304
+ # 查询集群透明加密信息
1305
+
1306
+ # @param request: Request instance for DescribeClusterTransparentEncryptInfo.
1307
+ # @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeClusterTransparentEncryptInfoRequest`
1308
+ # @rtype: :class:`Tencentcloud::cynosdb::V20190107::DescribeClusterTransparentEncryptInfoResponse`
1309
+ def DescribeClusterTransparentEncryptInfo(request)
1310
+ body = send_request('DescribeClusterTransparentEncryptInfo', request.serialize)
1311
+ response = JSON.parse(body)
1312
+ if response['Response'].key?('Error') == false
1313
+ model = DescribeClusterTransparentEncryptInfoResponse.new
1314
+ model.deserialize(response['Response'])
1315
+ model
1316
+ else
1317
+ code = response['Response']['Error']['Code']
1318
+ message = response['Response']['Error']['Message']
1319
+ reqid = response['Response']['RequestId']
1320
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1321
+ end
1322
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1323
+ raise e
1324
+ rescue StandardError => e
1325
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1326
+ end
1327
+
1280
1328
  # 本接口(DescribeClusters)用于查询集群列表。
1281
1329
 
1282
1330
  # @param request: Request instance for DescribeClusters.
@@ -1517,6 +1565,30 @@ module TencentCloud
1517
1565
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1518
1566
  end
1519
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
+
1520
1592
  # 本接口(DescribeIsolatedInstances)用于查询回收站实例列表。
1521
1593
 
1522
1594
  # @param request: Request instance for DescribeIsolatedInstances.
@@ -2981,6 +3053,30 @@ module TencentCloud
2981
3053
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2982
3054
  end
2983
3055
 
3056
+ # 开通集群透明加密
3057
+
3058
+ # @param request: Request instance for OpenClusterTransparentEncrypt.
3059
+ # @type request: :class:`Tencentcloud::cynosdb::V20190107::OpenClusterTransparentEncryptRequest`
3060
+ # @rtype: :class:`Tencentcloud::cynosdb::V20190107::OpenClusterTransparentEncryptResponse`
3061
+ def OpenClusterTransparentEncrypt(request)
3062
+ body = send_request('OpenClusterTransparentEncrypt', request.serialize)
3063
+ response = JSON.parse(body)
3064
+ if response['Response'].key?('Error') == false
3065
+ model = OpenClusterTransparentEncryptResponse.new
3066
+ model.deserialize(response['Response'])
3067
+ model
3068
+ else
3069
+ code = response['Response']['Error']['Code']
3070
+ message = response['Response']['Error']['Message']
3071
+ reqid = response['Response']['RequestId']
3072
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3073
+ end
3074
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3075
+ raise e
3076
+ rescue StandardError => e
3077
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3078
+ end
3079
+
2984
3080
  # 本接口(OpenReadOnlyInstanceExclusiveAccess)用于开通只读实例独有访问接入组。
2985
3081
 
2986
3082
  # @param request: Request instance for OpenReadOnlyInstanceExclusiveAccess.
@@ -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
@@ -5845,6 +5889,46 @@ module TencentCloud
5845
5889
  end
5846
5890
  end
5847
5891
 
5892
+ # DescribeClusterTransparentEncryptInfo请求参数结构体
5893
+ class DescribeClusterTransparentEncryptInfoRequest < TencentCloud::Common::AbstractModel
5894
+ # @param ClusterId: 集群id
5895
+ # @type ClusterId: String
5896
+
5897
+ attr_accessor :ClusterId
5898
+
5899
+ def initialize(clusterid=nil)
5900
+ @ClusterId = clusterid
5901
+ end
5902
+
5903
+ def deserialize(params)
5904
+ @ClusterId = params['ClusterId']
5905
+ end
5906
+ end
5907
+
5908
+ # DescribeClusterTransparentEncryptInfo返回参数结构体
5909
+ class DescribeClusterTransparentEncryptInfoResponse < TencentCloud::Common::AbstractModel
5910
+ # @param KeyId: 加密秘钥id
5911
+ # @type KeyId: String
5912
+ # @param KeyRegion: 加密秘钥地域
5913
+ # @type KeyRegion: String
5914
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5915
+ # @type RequestId: String
5916
+
5917
+ attr_accessor :KeyId, :KeyRegion, :RequestId
5918
+
5919
+ def initialize(keyid=nil, keyregion=nil, requestid=nil)
5920
+ @KeyId = keyid
5921
+ @KeyRegion = keyregion
5922
+ @RequestId = requestid
5923
+ end
5924
+
5925
+ def deserialize(params)
5926
+ @KeyId = params['KeyId']
5927
+ @KeyRegion = params['KeyRegion']
5928
+ @RequestId = params['RequestId']
5929
+ end
5930
+ end
5931
+
5848
5932
  # DescribeClusters请求参数结构体
5849
5933
  class DescribeClustersRequest < TencentCloud::Common::AbstractModel
5850
5934
  # @param DbType: 引擎类型:目前支持“MYSQL”, “POSTGRESQL”
@@ -6463,6 +6547,50 @@ module TencentCloud
6463
6547
  end
6464
6548
  end
6465
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
+
6466
6594
  # DescribeIsolatedInstances请求参数结构体
6467
6595
  class DescribeIsolatedInstancesRequest < TencentCloud::Common::AbstractModel
6468
6596
  # @param Limit: 返回数量,默认为 20,最大值为 100
@@ -10986,6 +11114,54 @@ module TencentCloud
10986
11114
  end
10987
11115
  end
10988
11116
 
11117
+ # OpenClusterTransparentEncrypt请求参数结构体
11118
+ class OpenClusterTransparentEncryptRequest < TencentCloud::Common::AbstractModel
11119
+ # @param ClusterId: 集群id
11120
+ # @type ClusterId: String
11121
+ # @param KeyType: 秘钥类型(cloud,custom)
11122
+ # @type KeyType: String
11123
+ # @param KeyId: 秘钥Id
11124
+ # @type KeyId: String
11125
+ # @param KeyRegion: 秘钥地域
11126
+ # @type KeyRegion: String
11127
+
11128
+ attr_accessor :ClusterId, :KeyType, :KeyId, :KeyRegion
11129
+
11130
+ def initialize(clusterid=nil, keytype=nil, keyid=nil, keyregion=nil)
11131
+ @ClusterId = clusterid
11132
+ @KeyType = keytype
11133
+ @KeyId = keyid
11134
+ @KeyRegion = keyregion
11135
+ end
11136
+
11137
+ def deserialize(params)
11138
+ @ClusterId = params['ClusterId']
11139
+ @KeyType = params['KeyType']
11140
+ @KeyId = params['KeyId']
11141
+ @KeyRegion = params['KeyRegion']
11142
+ end
11143
+ end
11144
+
11145
+ # OpenClusterTransparentEncrypt返回参数结构体
11146
+ class OpenClusterTransparentEncryptResponse < TencentCloud::Common::AbstractModel
11147
+ # @param TaskId: 异步任务id
11148
+ # @type TaskId: Integer
11149
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11150
+ # @type RequestId: String
11151
+
11152
+ attr_accessor :TaskId, :RequestId
11153
+
11154
+ def initialize(taskid=nil, requestid=nil)
11155
+ @TaskId = taskid
11156
+ @RequestId = requestid
11157
+ end
11158
+
11159
+ def deserialize(params)
11160
+ @TaskId = params['TaskId']
11161
+ @RequestId = params['RequestId']
11162
+ end
11163
+ end
11164
+
10989
11165
  # OpenReadOnlyInstanceExclusiveAccess请求参数结构体
10990
11166
  class OpenReadOnlyInstanceExclusiveAccessRequest < TencentCloud::Common::AbstractModel
10991
11167
  # @param ClusterId: 请使用 [集群信息描述](https://cloud.tencent.com/document/api/1003/48086) 获取 clusterId。
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.954
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-04 00:00:00.000000000 Z
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