tencentcloud-sdk-cynosdb 3.0.464 → 3.0.466

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: fbed8b42769d7998f268187bdb802e8855b05e26
4
- data.tar.gz: de0da632f6b5d0ae178bd23e220469073dd5e6d2
3
+ metadata.gz: f6d9188da67a6c0b857e9a8e380b713f725b25eb
4
+ data.tar.gz: 8bba799dd3fc823535fb8c2f2441a0bac3b4b132
5
5
  SHA512:
6
- metadata.gz: 7b575dbf442630186fd846ee1a9d1285c9ede6ab5a63f80873f3c6851ed2f464a46561a3bbf20885834424bc1d6d39d381e22c7ed4b7a2911b57f87f3c3bc863
7
- data.tar.gz: ecd67f33a0e7a7eb74fd486217005fd1493df00c9fdf5023e3516b6977b98bfad0cf1bc968edcc703f90b950f3f69eee893e03b0eeca57d63704b09fef706227
6
+ metadata.gz: 22078663ebe6fa32d49a2969153e803c55da8661b3974d78ef9f7fb67566e6ee4fcecde1e4ff252bee2004e2af7632e611568760607504cbdc078f38be69851b
7
+ data.tar.gz: 3679783c6105a0f303fe1f7a261063ba14a946393ec73b3b41814958ad5f4259838589e4569e14dcf35c907d2553c0eccc407669b576e0af5df9fc9750d10919
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.464
1
+ 3.0.466
@@ -1397,6 +1397,30 @@ module TencentCloud
1397
1397
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1398
1398
  end
1399
1399
 
1400
+ # 本接口(ResetAccountPassword)用于重置实例的数据库账号密码。
1401
+
1402
+ # @param request: Request instance for ResetAccountPassword.
1403
+ # @type request: :class:`Tencentcloud::cynosdb::V20190107::ResetAccountPasswordRequest`
1404
+ # @rtype: :class:`Tencentcloud::cynosdb::V20190107::ResetAccountPasswordResponse`
1405
+ def ResetAccountPassword(request)
1406
+ body = send_request('ResetAccountPassword', request.serialize)
1407
+ response = JSON.parse(body)
1408
+ if response['Response'].key?('Error') == false
1409
+ model = ResetAccountPasswordResponse.new
1410
+ model.deserialize(response['Response'])
1411
+ model
1412
+ else
1413
+ code = response['Response']['Error']['Code']
1414
+ message = response['Response']['Error']['Message']
1415
+ reqid = response['Response']['RequestId']
1416
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1417
+ end
1418
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1419
+ raise e
1420
+ rescue StandardError => e
1421
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1422
+ end
1423
+
1400
1424
  # 恢复serverless集群
1401
1425
 
1402
1426
  # @param request: Request instance for ResumeServerless.
@@ -1469,6 +1493,54 @@ module TencentCloud
1469
1493
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1470
1494
  end
1471
1495
 
1496
+ # 本接口(SearchClusterDatabases)搜索集群database列表
1497
+
1498
+ # @param request: Request instance for SearchClusterDatabases.
1499
+ # @type request: :class:`Tencentcloud::cynosdb::V20190107::SearchClusterDatabasesRequest`
1500
+ # @rtype: :class:`Tencentcloud::cynosdb::V20190107::SearchClusterDatabasesResponse`
1501
+ def SearchClusterDatabases(request)
1502
+ body = send_request('SearchClusterDatabases', request.serialize)
1503
+ response = JSON.parse(body)
1504
+ if response['Response'].key?('Error') == false
1505
+ model = SearchClusterDatabasesResponse.new
1506
+ model.deserialize(response['Response'])
1507
+ model
1508
+ else
1509
+ code = response['Response']['Error']['Code']
1510
+ message = response['Response']['Error']['Message']
1511
+ reqid = response['Response']['RequestId']
1512
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1513
+ end
1514
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1515
+ raise e
1516
+ rescue StandardError => e
1517
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1518
+ end
1519
+
1520
+ # 本接口(SearchClusterTables)搜索集群数据表列表
1521
+
1522
+ # @param request: Request instance for SearchClusterTables.
1523
+ # @type request: :class:`Tencentcloud::cynosdb::V20190107::SearchClusterTablesRequest`
1524
+ # @rtype: :class:`Tencentcloud::cynosdb::V20190107::SearchClusterTablesResponse`
1525
+ def SearchClusterTables(request)
1526
+ body = send_request('SearchClusterTables', request.serialize)
1527
+ response = JSON.parse(body)
1528
+ if response['Response'].key?('Error') == false
1529
+ model = SearchClusterTablesResponse.new
1530
+ model.deserialize(response['Response'])
1531
+ model
1532
+ else
1533
+ code = response['Response']['Error']['Code']
1534
+ message = response['Response']['Error']['Message']
1535
+ reqid = response['Response']['RequestId']
1536
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1537
+ end
1538
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1539
+ raise e
1540
+ rescue StandardError => e
1541
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1542
+ end
1543
+
1472
1544
  # SetRenewFlag设置实例的自动续费功能
1473
1545
 
1474
1546
  # @param request: Request instance for SetRenewFlag.
@@ -1517,6 +1589,30 @@ module TencentCloud
1517
1589
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1518
1590
  end
1519
1591
 
1592
+ # 本接口(SwitchProxyVpc)更换数据库代理vpc
1593
+
1594
+ # @param request: Request instance for SwitchProxyVpc.
1595
+ # @type request: :class:`Tencentcloud::cynosdb::V20190107::SwitchProxyVpcRequest`
1596
+ # @rtype: :class:`Tencentcloud::cynosdb::V20190107::SwitchProxyVpcResponse`
1597
+ def SwitchProxyVpc(request)
1598
+ body = send_request('SwitchProxyVpc', request.serialize)
1599
+ response = JSON.parse(body)
1600
+ if response['Response'].key?('Error') == false
1601
+ model = SwitchProxyVpcResponse.new
1602
+ model.deserialize(response['Response'])
1603
+ model
1604
+ else
1605
+ code = response['Response']['Error']['Code']
1606
+ message = response['Response']['Error']['Message']
1607
+ reqid = response['Response']['RequestId']
1608
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1609
+ end
1610
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1611
+ raise e
1612
+ rescue StandardError => e
1613
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1614
+ end
1615
+
1520
1616
  # 升级实例
1521
1617
 
1522
1618
  # @param request: Request instance for UpgradeInstance.
@@ -29,15 +29,18 @@ module TencentCloud
29
29
  # @type UpdateTime: String
30
30
  # @param Host: 主机
31
31
  # @type Host: String
32
+ # @param MaxUserConnections: 用户最大连接数
33
+ # @type MaxUserConnections: Integer
32
34
 
33
- attr_accessor :AccountName, :Description, :CreateTime, :UpdateTime, :Host
35
+ attr_accessor :AccountName, :Description, :CreateTime, :UpdateTime, :Host, :MaxUserConnections
34
36
 
35
- def initialize(accountname=nil, description=nil, createtime=nil, updatetime=nil, host=nil)
37
+ def initialize(accountname=nil, description=nil, createtime=nil, updatetime=nil, host=nil, maxuserconnections=nil)
36
38
  @AccountName = accountname
37
39
  @Description = description
38
40
  @CreateTime = createtime
39
41
  @UpdateTime = updatetime
40
42
  @Host = host
43
+ @MaxUserConnections = maxuserconnections
41
44
  end
42
45
 
43
46
  def deserialize(params)
@@ -46,6 +49,7 @@ module TencentCloud
46
49
  @CreateTime = params['CreateTime']
47
50
  @UpdateTime = params['UpdateTime']
48
51
  @Host = params['Host']
52
+ @MaxUserConnections = params['MaxUserConnections']
49
53
  end
50
54
  end
51
55
 
@@ -1489,10 +1493,24 @@ module TencentCloud
1489
1493
  # @type StorageId: String
1490
1494
  # @param StoragePayMode: 存储付费类型
1491
1495
  # @type StoragePayMode: Integer
1496
+ # @param PhysicalZone: 物理区
1497
+ # @type PhysicalZone: String
1498
+ # @param BusinessType: 商业类型
1499
+ # 注意:此字段可能返回 null,表示取不到有效值。
1500
+ # @type BusinessType: String
1501
+ # @param Tasks: 任务
1502
+ # 注意:此字段可能返回 null,表示取不到有效值。
1503
+ # @type Tasks: Array
1504
+ # @param IsFreeze: 是否冻结
1505
+ # 注意:此字段可能返回 null,表示取不到有效值。
1506
+ # @type IsFreeze: String
1507
+ # @param ResourceTags: 资源标签
1508
+ # 注意:此字段可能返回 null,表示取不到有效值。
1509
+ # @type ResourceTags: Array
1492
1510
 
1493
- attr_accessor :Uin, :AppId, :ClusterId, :ClusterName, :InstanceId, :InstanceName, :ProjectId, :Region, :Zone, :Status, :StatusDesc, :DbType, :DbVersion, :Cpu, :Memory, :Storage, :InstanceType, :InstanceRole, :UpdateTime, :CreateTime, :VpcId, :SubnetId, :Vip, :Vport, :PayMode, :PeriodEndTime, :DestroyDeadlineText, :IsolateTime, :NetType, :WanDomain, :WanIP, :WanPort, :WanStatus, :DestroyTime, :CynosVersion, :ProcessingTask, :RenewFlag, :MinCpu, :MaxCpu, :ServerlessStatus, :StorageId, :StoragePayMode
1511
+ attr_accessor :Uin, :AppId, :ClusterId, :ClusterName, :InstanceId, :InstanceName, :ProjectId, :Region, :Zone, :Status, :StatusDesc, :DbType, :DbVersion, :Cpu, :Memory, :Storage, :InstanceType, :InstanceRole, :UpdateTime, :CreateTime, :VpcId, :SubnetId, :Vip, :Vport, :PayMode, :PeriodEndTime, :DestroyDeadlineText, :IsolateTime, :NetType, :WanDomain, :WanIP, :WanPort, :WanStatus, :DestroyTime, :CynosVersion, :ProcessingTask, :RenewFlag, :MinCpu, :MaxCpu, :ServerlessStatus, :StorageId, :StoragePayMode, :PhysicalZone, :BusinessType, :Tasks, :IsFreeze, :ResourceTags
1494
1512
 
1495
- def initialize(uin=nil, appid=nil, clusterid=nil, clustername=nil, instanceid=nil, instancename=nil, projectid=nil, region=nil, zone=nil, status=nil, statusdesc=nil, dbtype=nil, dbversion=nil, cpu=nil, memory=nil, storage=nil, instancetype=nil, instancerole=nil, updatetime=nil, createtime=nil, vpcid=nil, subnetid=nil, vip=nil, vport=nil, paymode=nil, periodendtime=nil, destroydeadlinetext=nil, isolatetime=nil, nettype=nil, wandomain=nil, wanip=nil, wanport=nil, wanstatus=nil, destroytime=nil, cynosversion=nil, processingtask=nil, renewflag=nil, mincpu=nil, maxcpu=nil, serverlessstatus=nil, storageid=nil, storagepaymode=nil)
1513
+ def initialize(uin=nil, appid=nil, clusterid=nil, clustername=nil, instanceid=nil, instancename=nil, projectid=nil, region=nil, zone=nil, status=nil, statusdesc=nil, dbtype=nil, dbversion=nil, cpu=nil, memory=nil, storage=nil, instancetype=nil, instancerole=nil, updatetime=nil, createtime=nil, vpcid=nil, subnetid=nil, vip=nil, vport=nil, paymode=nil, periodendtime=nil, destroydeadlinetext=nil, isolatetime=nil, nettype=nil, wandomain=nil, wanip=nil, wanport=nil, wanstatus=nil, destroytime=nil, cynosversion=nil, processingtask=nil, renewflag=nil, mincpu=nil, maxcpu=nil, serverlessstatus=nil, storageid=nil, storagepaymode=nil, physicalzone=nil, businesstype=nil, tasks=nil, isfreeze=nil, resourcetags=nil)
1496
1514
  @Uin = uin
1497
1515
  @AppId = appid
1498
1516
  @ClusterId = clusterid
@@ -1535,6 +1553,11 @@ module TencentCloud
1535
1553
  @ServerlessStatus = serverlessstatus
1536
1554
  @StorageId = storageid
1537
1555
  @StoragePayMode = storagepaymode
1556
+ @PhysicalZone = physicalzone
1557
+ @BusinessType = businesstype
1558
+ @Tasks = tasks
1559
+ @IsFreeze = isfreeze
1560
+ @ResourceTags = resourcetags
1538
1561
  end
1539
1562
 
1540
1563
  def deserialize(params)
@@ -1580,6 +1603,25 @@ module TencentCloud
1580
1603
  @ServerlessStatus = params['ServerlessStatus']
1581
1604
  @StorageId = params['StorageId']
1582
1605
  @StoragePayMode = params['StoragePayMode']
1606
+ @PhysicalZone = params['PhysicalZone']
1607
+ @BusinessType = params['BusinessType']
1608
+ unless params['Tasks'].nil?
1609
+ @Tasks = []
1610
+ params['Tasks'].each do |i|
1611
+ objecttask_tmp = ObjectTask.new
1612
+ objecttask_tmp.deserialize(i)
1613
+ @Tasks << objecttask_tmp
1614
+ end
1615
+ end
1616
+ @IsFreeze = params['IsFreeze']
1617
+ unless params['ResourceTags'].nil?
1618
+ @ResourceTags = []
1619
+ params['ResourceTags'].each do |i|
1620
+ tag_tmp = Tag.new
1621
+ tag_tmp.deserialize(i)
1622
+ @ResourceTags << tag_tmp
1623
+ end
1624
+ end
1583
1625
  end
1584
1626
  end
1585
1627
 
@@ -3921,6 +3963,17 @@ module TencentCloud
3921
3963
  end
3922
3964
  end
3923
3965
 
3966
+ # 参数是否可修改的详细信息
3967
+ class ModifiableInfo < TencentCloud::Common::AbstractModel
3968
+
3969
+
3970
+ def initialize()
3971
+ end
3972
+
3973
+ def deserialize(params)
3974
+ end
3975
+ end
3976
+
3924
3977
  # ModifyAccountParams请求参数结构体
3925
3978
  class ModifyAccountParamsRequest < TencentCloud::Common::AbstractModel
3926
3979
  # @param ClusterId: 集群id,不超过32个字符
@@ -4591,10 +4644,22 @@ module TencentCloud
4591
4644
  # @type MatchValue: String
4592
4645
  # @param Description: 参数描述
4593
4646
  # @type Description: String
4647
+ # @param IsGlobal: 是否为全局参数
4648
+ # 注意:此字段可能返回 null,表示取不到有效值。
4649
+ # @type IsGlobal: Integer
4650
+ # @param ModifiableInfo: 参数是否可修改
4651
+ # 注意:此字段可能返回 null,表示取不到有效值。
4652
+ # @type ModifiableInfo: :class:`Tencentcloud::Cynosdb.v20190107.models.ModifiableInfo`
4653
+ # @param IsFunc: 是否为函数
4654
+ # 注意:此字段可能返回 null,表示取不到有效值。
4655
+ # @type IsFunc: Boolean
4656
+ # @param Func: 函数
4657
+ # 注意:此字段可能返回 null,表示取不到有效值。
4658
+ # @type Func: String
4594
4659
 
4595
- attr_accessor :CurrentValue, :Default, :EnumValue, :Max, :Min, :ParamName, :NeedReboot, :ParamType, :MatchType, :MatchValue, :Description
4660
+ attr_accessor :CurrentValue, :Default, :EnumValue, :Max, :Min, :ParamName, :NeedReboot, :ParamType, :MatchType, :MatchValue, :Description, :IsGlobal, :ModifiableInfo, :IsFunc, :Func
4596
4661
 
4597
- def initialize(currentvalue=nil, default=nil, enumvalue=nil, max=nil, min=nil, paramname=nil, needreboot=nil, paramtype=nil, matchtype=nil, matchvalue=nil, description=nil)
4662
+ def initialize(currentvalue=nil, default=nil, enumvalue=nil, max=nil, min=nil, paramname=nil, needreboot=nil, paramtype=nil, matchtype=nil, matchvalue=nil, description=nil, isglobal=nil, modifiableinfo=nil, isfunc=nil, func=nil)
4598
4663
  @CurrentValue = currentvalue
4599
4664
  @Default = default
4600
4665
  @EnumValue = enumvalue
@@ -4606,6 +4671,10 @@ module TencentCloud
4606
4671
  @MatchType = matchtype
4607
4672
  @MatchValue = matchvalue
4608
4673
  @Description = description
4674
+ @IsGlobal = isglobal
4675
+ @ModifiableInfo = modifiableinfo
4676
+ @IsFunc = isfunc
4677
+ @Func = func
4609
4678
  end
4610
4679
 
4611
4680
  def deserialize(params)
@@ -4620,6 +4689,13 @@ module TencentCloud
4620
4689
  @MatchType = params['MatchType']
4621
4690
  @MatchValue = params['MatchValue']
4622
4691
  @Description = params['Description']
4692
+ @IsGlobal = params['IsGlobal']
4693
+ unless params['ModifiableInfo'].nil?
4694
+ @ModifiableInfo = ModifiableInfo.new
4695
+ @ModifiableInfo.deserialize(params['ModifiableInfo'])
4696
+ end
4697
+ @IsFunc = params['IsFunc']
4698
+ @Func = params['Func']
4623
4699
  end
4624
4700
  end
4625
4701
 
@@ -4847,6 +4923,50 @@ module TencentCloud
4847
4923
  end
4848
4924
  end
4849
4925
 
4926
+ # ResetAccountPassword请求参数结构体
4927
+ class ResetAccountPasswordRequest < TencentCloud::Common::AbstractModel
4928
+ # @param AccountName: 数据库账号名
4929
+ # @type AccountName: String
4930
+ # @param AccountPassword: 数据库账号新密码
4931
+ # @type AccountPassword: String
4932
+ # @param ClusterId: 集群ID
4933
+ # @type ClusterId: String
4934
+ # @param Host: 主机,不填默认为"%"
4935
+ # @type Host: String
4936
+
4937
+ attr_accessor :AccountName, :AccountPassword, :ClusterId, :Host
4938
+
4939
+ def initialize(accountname=nil, accountpassword=nil, clusterid=nil, host=nil)
4940
+ @AccountName = accountname
4941
+ @AccountPassword = accountpassword
4942
+ @ClusterId = clusterid
4943
+ @Host = host
4944
+ end
4945
+
4946
+ def deserialize(params)
4947
+ @AccountName = params['AccountName']
4948
+ @AccountPassword = params['AccountPassword']
4949
+ @ClusterId = params['ClusterId']
4950
+ @Host = params['Host']
4951
+ end
4952
+ end
4953
+
4954
+ # ResetAccountPassword返回参数结构体
4955
+ class ResetAccountPasswordResponse < TencentCloud::Common::AbstractModel
4956
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4957
+ # @type RequestId: String
4958
+
4959
+ attr_accessor :RequestId
4960
+
4961
+ def initialize(requestid=nil)
4962
+ @RequestId = requestid
4963
+ end
4964
+
4965
+ def deserialize(params)
4966
+ @RequestId = params['RequestId']
4967
+ end
4968
+ end
4969
+
4850
4970
  # ResumeServerless请求参数结构体
4851
4971
  class ResumeServerlessRequest < TencentCloud::Common::AbstractModel
4852
4972
  # @param ClusterId: 集群ID
@@ -5098,6 +5218,112 @@ module TencentCloud
5098
5218
  end
5099
5219
  end
5100
5220
 
5221
+ # SearchClusterDatabases请求参数结构体
5222
+ class SearchClusterDatabasesRequest < TencentCloud::Common::AbstractModel
5223
+ # @param ClusterId: 集群id
5224
+ # @type ClusterId: String
5225
+ # @param Database: 数据库名
5226
+ # @type Database: String
5227
+ # @param MatchType: 是否精确搜索。
5228
+ # 0: 模糊搜索 1:精确搜索
5229
+ # 默认为0
5230
+ # @type MatchType: Integer
5231
+
5232
+ attr_accessor :ClusterId, :Database, :MatchType
5233
+
5234
+ def initialize(clusterid=nil, database=nil, matchtype=nil)
5235
+ @ClusterId = clusterid
5236
+ @Database = database
5237
+ @MatchType = matchtype
5238
+ end
5239
+
5240
+ def deserialize(params)
5241
+ @ClusterId = params['ClusterId']
5242
+ @Database = params['Database']
5243
+ @MatchType = params['MatchType']
5244
+ end
5245
+ end
5246
+
5247
+ # SearchClusterDatabases返回参数结构体
5248
+ class SearchClusterDatabasesResponse < TencentCloud::Common::AbstractModel
5249
+ # @param Databases: 数据库列表
5250
+ # 注意:此字段可能返回 null,表示取不到有效值。
5251
+ # @type Databases: Array
5252
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5253
+ # @type RequestId: String
5254
+
5255
+ attr_accessor :Databases, :RequestId
5256
+
5257
+ def initialize(databases=nil, requestid=nil)
5258
+ @Databases = databases
5259
+ @RequestId = requestid
5260
+ end
5261
+
5262
+ def deserialize(params)
5263
+ @Databases = params['Databases']
5264
+ @RequestId = params['RequestId']
5265
+ end
5266
+ end
5267
+
5268
+ # SearchClusterTables请求参数结构体
5269
+ class SearchClusterTablesRequest < TencentCloud::Common::AbstractModel
5270
+ # @param ClusterId: 集群id
5271
+ # @type ClusterId: String
5272
+ # @param Database: 数据库名
5273
+ # @type Database: String
5274
+ # @param Table: 数据表名
5275
+ # @type Table: String
5276
+ # @param TableType: 数据表类型:
5277
+ # view:只返回 view,
5278
+ # base_table: 只返回基本表,
5279
+ # all:返回 view 和表
5280
+ # @type TableType: String
5281
+
5282
+ attr_accessor :ClusterId, :Database, :Table, :TableType
5283
+
5284
+ def initialize(clusterid=nil, database=nil, table=nil, tabletype=nil)
5285
+ @ClusterId = clusterid
5286
+ @Database = database
5287
+ @Table = table
5288
+ @TableType = tabletype
5289
+ end
5290
+
5291
+ def deserialize(params)
5292
+ @ClusterId = params['ClusterId']
5293
+ @Database = params['Database']
5294
+ @Table = params['Table']
5295
+ @TableType = params['TableType']
5296
+ end
5297
+ end
5298
+
5299
+ # SearchClusterTables返回参数结构体
5300
+ class SearchClusterTablesResponse < TencentCloud::Common::AbstractModel
5301
+ # @param Tables: 数据表列表
5302
+ # 注意:此字段可能返回 null,表示取不到有效值。
5303
+ # @type Tables: Array
5304
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5305
+ # @type RequestId: String
5306
+
5307
+ attr_accessor :Tables, :RequestId
5308
+
5309
+ def initialize(tables=nil, requestid=nil)
5310
+ @Tables = tables
5311
+ @RequestId = requestid
5312
+ end
5313
+
5314
+ def deserialize(params)
5315
+ unless params['Tables'].nil?
5316
+ @Tables = []
5317
+ params['Tables'].each do |i|
5318
+ databasetables_tmp = DatabaseTables.new
5319
+ databasetables_tmp.deserialize(i)
5320
+ @Tables << databasetables_tmp
5321
+ end
5322
+ end
5323
+ @RequestId = params['RequestId']
5324
+ end
5325
+ end
5326
+
5101
5327
  # 安全组详情
5102
5328
  class SecurityGroup < TencentCloud::Common::AbstractModel
5103
5329
  # @param ProjectId: 项目ID
@@ -5296,6 +5522,58 @@ module TencentCloud
5296
5522
  end
5297
5523
  end
5298
5524
 
5525
+ # SwitchProxyVpc请求参数结构体
5526
+ class SwitchProxyVpcRequest < TencentCloud::Common::AbstractModel
5527
+ # @param ClusterId: 集群ID
5528
+ # @type ClusterId: String
5529
+ # @param UniqVpcId: 字符串vpc id
5530
+ # @type UniqVpcId: String
5531
+ # @param UniqSubnetId: 字符串子网id
5532
+ # @type UniqSubnetId: String
5533
+ # @param OldIpReserveHours: 旧地址回收时间
5534
+ # @type OldIpReserveHours: Integer
5535
+ # @param ProxyGroupId: 数据库代理组Id(该参数为必填项,可以通过DescribeProxies接口获得)
5536
+ # @type ProxyGroupId: String
5537
+
5538
+ attr_accessor :ClusterId, :UniqVpcId, :UniqSubnetId, :OldIpReserveHours, :ProxyGroupId
5539
+
5540
+ def initialize(clusterid=nil, uniqvpcid=nil, uniqsubnetid=nil, oldipreservehours=nil, proxygroupid=nil)
5541
+ @ClusterId = clusterid
5542
+ @UniqVpcId = uniqvpcid
5543
+ @UniqSubnetId = uniqsubnetid
5544
+ @OldIpReserveHours = oldipreservehours
5545
+ @ProxyGroupId = proxygroupid
5546
+ end
5547
+
5548
+ def deserialize(params)
5549
+ @ClusterId = params['ClusterId']
5550
+ @UniqVpcId = params['UniqVpcId']
5551
+ @UniqSubnetId = params['UniqSubnetId']
5552
+ @OldIpReserveHours = params['OldIpReserveHours']
5553
+ @ProxyGroupId = params['ProxyGroupId']
5554
+ end
5555
+ end
5556
+
5557
+ # SwitchProxyVpc返回参数结构体
5558
+ class SwitchProxyVpcResponse < TencentCloud::Common::AbstractModel
5559
+ # @param FlowId: 异步任务id。
5560
+ # @type FlowId: Integer
5561
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5562
+ # @type RequestId: String
5563
+
5564
+ attr_accessor :FlowId, :RequestId
5565
+
5566
+ def initialize(flowid=nil, requestid=nil)
5567
+ @FlowId = flowid
5568
+ @RequestId = requestid
5569
+ end
5570
+
5571
+ def deserialize(params)
5572
+ @FlowId = params['FlowId']
5573
+ @RequestId = params['RequestId']
5574
+ end
5575
+ end
5576
+
5299
5577
  # mysql表权限
5300
5578
  class TablePrivileges < TencentCloud::Common::AbstractModel
5301
5579
  # @param Db: 数据库名
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.464
4
+ version: 3.0.466
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-02 00:00:00.000000000 Z
11
+ date: 2022-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common