tencentcloud-sdk-cynosdb 3.0.482 → 3.0.484

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: f8460322426bf59decabe77c1dd4747f3dbbe0e4
4
- data.tar.gz: faa1b2386735a23ab90d298cd11f583ae2168443
3
+ metadata.gz: 4d2d6ea7c5203fd8006101114deca9d6917077f8
4
+ data.tar.gz: 0927f078044054ec0c1de2d0e48a191736592e86
5
5
  SHA512:
6
- metadata.gz: 714d4bad64d44ad26d4996d5afcbdac222d3a863962920e652272b280562406b88bc9c5fea0cb85ed539356289da28b041057e6a47655b086067cccf12597403
7
- data.tar.gz: 6b3fa58df68cc995dc5ac6a1328b181d69bfe4135068cb845b5c7f54ae961115e07b1310a7b6d51406b8330f1b8e2bc46a4e3fd0d5ef8ec0e818f8db6767b809
6
+ metadata.gz: 967c2dc17f6ccb3293853766cdb6e74845129ea2a05a49a66c8edb478ea93d3081cdc37245d4092a8d396f90e5d18a21c509814f9fe77960459ad77d0c6264f8
7
+ data.tar.gz: 13c30b8cc3edb0798505fb98294c451cc52a629b01690bf18a9ff1b9006ae4a19f5cead021a65586f4c52b94845308de6bac876eb6af62c7f2c186670bce2359
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.482
1
+ 3.0.484
@@ -509,7 +509,7 @@ module TencentCloud
509
509
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
510
510
  end
511
511
 
512
- # 显示集群详情
512
+ # 该接口(DescribeClusterDetail)显示集群详情
513
513
 
514
514
  # @param request: Request instance for DescribeClusterDetail.
515
515
  # @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeClusterDetailRequest`
@@ -17,6 +17,36 @@
17
17
  module TencentCloud
18
18
  module Cynosdb
19
19
  module V20190107
20
+ # 集群支持的功能
21
+ class Ability < TencentCloud::Common::AbstractModel
22
+ # @param IsSupportSlaveZone: 是否支持从可用区
23
+ # @type IsSupportSlaveZone: String
24
+ # @param NonsupportSlaveZoneReason: 不支持从可用区的原因
25
+ # 注意:此字段可能返回 null,表示取不到有效值。
26
+ # @type NonsupportSlaveZoneReason: String
27
+ # @param IsSupportRo: 是否支持RO实例
28
+ # @type IsSupportRo: String
29
+ # @param NonsupportRoReason: 不支持RO实例的原因
30
+ # 注意:此字段可能返回 null,表示取不到有效值。
31
+ # @type NonsupportRoReason: String
32
+
33
+ attr_accessor :IsSupportSlaveZone, :NonsupportSlaveZoneReason, :IsSupportRo, :NonsupportRoReason
34
+
35
+ def initialize(issupportslavezone=nil, nonsupportslavezonereason=nil, issupportro=nil, nonsupportroreason=nil)
36
+ @IsSupportSlaveZone = issupportslavezone
37
+ @NonsupportSlaveZoneReason = nonsupportslavezonereason
38
+ @IsSupportRo = issupportro
39
+ @NonsupportRoReason = nonsupportroreason
40
+ end
41
+
42
+ def deserialize(params)
43
+ @IsSupportSlaveZone = params['IsSupportSlaveZone']
44
+ @NonsupportSlaveZoneReason = params['NonsupportSlaveZoneReason']
45
+ @IsSupportRo = params['IsSupportRo']
46
+ @NonsupportRoReason = params['NonsupportRoReason']
47
+ end
48
+ end
49
+
20
50
  # 数据库账号信息
21
51
  class Account < TencentCloud::Common::AbstractModel
22
52
  # @param AccountName: 数据库账号名
@@ -182,10 +212,14 @@ module TencentCloud
182
212
  # @type OrderSource: String
183
213
  # @param DealMode: 交易模式 0-下单并支付 1-下单
184
214
  # @type DealMode: Integer
215
+ # @param ParamTemplateId: 参数模版ID
216
+ # @type ParamTemplateId: Integer
217
+ # @param InstanceParams: 参数列表,ParamTemplateId 传入时InstanceParams才有效
218
+ # @type InstanceParams: Array
185
219
 
186
- attr_accessor :ClusterId, :Cpu, :Memory, :ReadOnlyCount, :InstanceGrpId, :VpcId, :SubnetId, :Port, :InstanceName, :AutoVoucher, :DbType, :OrderSource, :DealMode
220
+ attr_accessor :ClusterId, :Cpu, :Memory, :ReadOnlyCount, :InstanceGrpId, :VpcId, :SubnetId, :Port, :InstanceName, :AutoVoucher, :DbType, :OrderSource, :DealMode, :ParamTemplateId, :InstanceParams
187
221
 
188
- def initialize(clusterid=nil, cpu=nil, memory=nil, readonlycount=nil, instancegrpid=nil, vpcid=nil, subnetid=nil, port=nil, instancename=nil, autovoucher=nil, dbtype=nil, ordersource=nil, dealmode=nil)
222
+ def initialize(clusterid=nil, cpu=nil, memory=nil, readonlycount=nil, instancegrpid=nil, vpcid=nil, subnetid=nil, port=nil, instancename=nil, autovoucher=nil, dbtype=nil, ordersource=nil, dealmode=nil, paramtemplateid=nil, instanceparams=nil)
189
223
  @ClusterId = clusterid
190
224
  @Cpu = cpu
191
225
  @Memory = memory
@@ -199,6 +233,8 @@ module TencentCloud
199
233
  @DbType = dbtype
200
234
  @OrderSource = ordersource
201
235
  @DealMode = dealmode
236
+ @ParamTemplateId = paramtemplateid
237
+ @InstanceParams = instanceparams
202
238
  end
203
239
 
204
240
  def deserialize(params)
@@ -215,6 +251,15 @@ module TencentCloud
215
251
  @DbType = params['DbType']
216
252
  @OrderSource = params['OrderSource']
217
253
  @DealMode = params['DealMode']
254
+ @ParamTemplateId = params['ParamTemplateId']
255
+ unless params['InstanceParams'].nil?
256
+ @InstanceParams = []
257
+ params['InstanceParams'].each do |i|
258
+ modifyparamitem_tmp = ModifyParamItem.new
259
+ modifyparamitem_tmp.deserialize(i)
260
+ @InstanceParams << modifyparamitem_tmp
261
+ end
262
+ end
218
263
  end
219
264
  end
220
265
 
@@ -625,10 +670,12 @@ module TencentCloud
625
670
  # @type InstanceMemory: Integer
626
671
  # @param InstanceStorage: 硬盘
627
672
  # @type InstanceStorage: Integer
673
+ # @param InstanceRole: 实例角色
674
+ # @type InstanceRole: String
628
675
 
629
- attr_accessor :InstanceId, :InstanceName, :InstanceType, :InstanceStatus, :InstanceStatusDesc, :InstanceCpu, :InstanceMemory, :InstanceStorage
676
+ attr_accessor :InstanceId, :InstanceName, :InstanceType, :InstanceStatus, :InstanceStatusDesc, :InstanceCpu, :InstanceMemory, :InstanceStorage, :InstanceRole
630
677
 
631
- def initialize(instanceid=nil, instancename=nil, instancetype=nil, instancestatus=nil, instancestatusdesc=nil, instancecpu=nil, instancememory=nil, instancestorage=nil)
678
+ def initialize(instanceid=nil, instancename=nil, instancetype=nil, instancestatus=nil, instancestatusdesc=nil, instancecpu=nil, instancememory=nil, instancestorage=nil, instancerole=nil)
632
679
  @InstanceId = instanceid
633
680
  @InstanceName = instancename
634
681
  @InstanceType = instancetype
@@ -637,6 +684,7 @@ module TencentCloud
637
684
  @InstanceCpu = instancecpu
638
685
  @InstanceMemory = instancememory
639
686
  @InstanceStorage = instancestorage
687
+ @InstanceRole = instancerole
640
688
  end
641
689
 
642
690
  def deserialize(params)
@@ -648,6 +696,7 @@ module TencentCloud
648
696
  @InstanceCpu = params['InstanceCpu']
649
697
  @InstanceMemory = params['InstanceMemory']
650
698
  @InstanceStorage = params['InstanceStorage']
699
+ @InstanceRole = params['InstanceRole']
651
700
  end
652
701
  end
653
702
 
@@ -1146,63 +1195,113 @@ module TencentCloud
1146
1195
  # @param InstanceNum: 实例数
1147
1196
  # @type InstanceNum: Integer
1148
1197
  # @param Uin: 用户uin
1198
+ # 注意:此字段可能返回 null,表示取不到有效值。
1149
1199
  # @type Uin: String
1150
1200
  # @param DbType: 引擎类型
1201
+ # 注意:此字段可能返回 null,表示取不到有效值。
1151
1202
  # @type DbType: String
1152
1203
  # @param AppId: 用户appid
1204
+ # 注意:此字段可能返回 null,表示取不到有效值。
1153
1205
  # @type AppId: Integer
1154
1206
  # @param StatusDesc: 集群状态描述
1207
+ # 注意:此字段可能返回 null,表示取不到有效值。
1155
1208
  # @type StatusDesc: String
1156
1209
  # @param CreateTime: 集群创建时间
1210
+ # 注意:此字段可能返回 null,表示取不到有效值。
1157
1211
  # @type CreateTime: String
1158
1212
  # @param PayMode: 付费模式。0-按量计费,1-包年包月
1213
+ # 注意:此字段可能返回 null,表示取不到有效值。
1159
1214
  # @type PayMode: Integer
1160
1215
  # @param PeriodEndTime: 截止时间
1216
+ # 注意:此字段可能返回 null,表示取不到有效值。
1161
1217
  # @type PeriodEndTime: String
1162
1218
  # @param Vip: 集群读写vip
1219
+ # 注意:此字段可能返回 null,表示取不到有效值。
1163
1220
  # @type Vip: String
1164
1221
  # @param Vport: 集群读写vport
1222
+ # 注意:此字段可能返回 null,表示取不到有效值。
1165
1223
  # @type Vport: Integer
1166
1224
  # @param ProjectID: 项目id
1225
+ # 注意:此字段可能返回 null,表示取不到有效值。
1167
1226
  # @type ProjectID: Integer
1168
1227
  # @param VpcId: 私有网络ID
1228
+ # 注意:此字段可能返回 null,表示取不到有效值。
1169
1229
  # @type VpcId: String
1170
1230
  # @param SubnetId: 子网ID
1231
+ # 注意:此字段可能返回 null,表示取不到有效值。
1171
1232
  # @type SubnetId: String
1172
1233
  # @param CynosVersion: cynos内核版本
1234
+ # 注意:此字段可能返回 null,表示取不到有效值。
1173
1235
  # @type CynosVersion: String
1174
1236
  # @param StorageLimit: 存储容量
1237
+ # 注意:此字段可能返回 null,表示取不到有效值。
1175
1238
  # @type StorageLimit: Integer
1176
1239
  # @param RenewFlag: 续费标志
1240
+ # 注意:此字段可能返回 null,表示取不到有效值。
1177
1241
  # @type RenewFlag: Integer
1178
1242
  # @param ProcessingTask: 正在处理的任务
1243
+ # 注意:此字段可能返回 null,表示取不到有效值。
1179
1244
  # @type ProcessingTask: String
1180
1245
  # @param Tasks: 集群的任务数组
1246
+ # 注意:此字段可能返回 null,表示取不到有效值。
1181
1247
  # @type Tasks: Array
1182
1248
  # @param ResourceTags: 集群绑定的tag数组
1249
+ # 注意:此字段可能返回 null,表示取不到有效值。
1183
1250
  # @type ResourceTags: Array
1184
1251
  # @param DbMode: Db类型(NORMAL, SERVERLESS)
1252
+ # 注意:此字段可能返回 null,表示取不到有效值。
1185
1253
  # @type DbMode: String
1186
1254
  # @param ServerlessStatus: 当Db类型为SERVERLESS时,serverless集群状态,可选值:
1187
1255
  # resume
1188
1256
  # pause
1257
+ # 注意:此字段可能返回 null,表示取不到有效值。
1189
1258
  # @type ServerlessStatus: String
1190
1259
  # @param Storage: 集群预付费存储值大小
1260
+ # 注意:此字段可能返回 null,表示取不到有效值。
1191
1261
  # @type Storage: Integer
1192
1262
  # @param StorageId: 集群存储为预付费时的存储ID,用于预付费存储变配
1263
+ # 注意:此字段可能返回 null,表示取不到有效值。
1193
1264
  # @type StorageId: String
1194
1265
  # @param StoragePayMode: 集群存储付费模式。0-按量计费,1-包年包月
1266
+ # 注意:此字段可能返回 null,表示取不到有效值。
1195
1267
  # @type StoragePayMode: Integer
1196
1268
  # @param MinStorageSize: 集群计算规格对应的最小存储值
1269
+ # 注意:此字段可能返回 null,表示取不到有效值。
1197
1270
  # @type MinStorageSize: Integer
1198
1271
  # @param MaxStorageSize: 集群计算规格对应的最大存储值
1272
+ # 注意:此字段可能返回 null,表示取不到有效值。
1199
1273
  # @type MaxStorageSize: Integer
1200
1274
  # @param NetAddrs: 集群网络信息
1275
+ # 注意:此字段可能返回 null,表示取不到有效值。
1201
1276
  # @type NetAddrs: Array
1277
+ # @param PhysicalZone: 物理可用区
1278
+ # 注意:此字段可能返回 null,表示取不到有效值。
1279
+ # @type PhysicalZone: String
1280
+ # @param MasterZone: 主可用区
1281
+ # 注意:此字段可能返回 null,表示取不到有效值。
1282
+ # @type MasterZone: String
1283
+ # @param HasSlaveZone: 是否有从可用区
1284
+ # 注意:此字段可能返回 null,表示取不到有效值。
1285
+ # @type HasSlaveZone: String
1286
+ # @param SlaveZones: 从可用区
1287
+ # 注意:此字段可能返回 null,表示取不到有效值。
1288
+ # @type SlaveZones: Array
1289
+ # @param BusinessType: 商业类型
1290
+ # 注意:此字段可能返回 null,表示取不到有效值。
1291
+ # @type BusinessType: String
1292
+ # @param IsFreeze: 是否冻结
1293
+ # 注意:此字段可能返回 null,表示取不到有效值。
1294
+ # @type IsFreeze: String
1295
+ # @param OrderSource: 订单来源
1296
+ # 注意:此字段可能返回 null,表示取不到有效值。
1297
+ # @type OrderSource: String
1298
+ # @param Ability: 能力
1299
+ # 注意:此字段可能返回 null,表示取不到有效值。
1300
+ # @type Ability: :class:`Tencentcloud::Cynosdb.v20190107.models.Ability`
1202
1301
 
1203
- attr_accessor :Status, :UpdateTime, :Zone, :ClusterName, :Region, :DbVersion, :ClusterId, :InstanceNum, :Uin, :DbType, :AppId, :StatusDesc, :CreateTime, :PayMode, :PeriodEndTime, :Vip, :Vport, :ProjectID, :VpcId, :SubnetId, :CynosVersion, :StorageLimit, :RenewFlag, :ProcessingTask, :Tasks, :ResourceTags, :DbMode, :ServerlessStatus, :Storage, :StorageId, :StoragePayMode, :MinStorageSize, :MaxStorageSize, :NetAddrs
1302
+ attr_accessor :Status, :UpdateTime, :Zone, :ClusterName, :Region, :DbVersion, :ClusterId, :InstanceNum, :Uin, :DbType, :AppId, :StatusDesc, :CreateTime, :PayMode, :PeriodEndTime, :Vip, :Vport, :ProjectID, :VpcId, :SubnetId, :CynosVersion, :StorageLimit, :RenewFlag, :ProcessingTask, :Tasks, :ResourceTags, :DbMode, :ServerlessStatus, :Storage, :StorageId, :StoragePayMode, :MinStorageSize, :MaxStorageSize, :NetAddrs, :PhysicalZone, :MasterZone, :HasSlaveZone, :SlaveZones, :BusinessType, :IsFreeze, :OrderSource, :Ability
1204
1303
 
1205
- def initialize(status=nil, updatetime=nil, zone=nil, clustername=nil, region=nil, dbversion=nil, clusterid=nil, instancenum=nil, uin=nil, dbtype=nil, appid=nil, statusdesc=nil, createtime=nil, paymode=nil, periodendtime=nil, vip=nil, vport=nil, projectid=nil, vpcid=nil, subnetid=nil, cynosversion=nil, storagelimit=nil, renewflag=nil, processingtask=nil, tasks=nil, resourcetags=nil, dbmode=nil, serverlessstatus=nil, storage=nil, storageid=nil, storagepaymode=nil, minstoragesize=nil, maxstoragesize=nil, netaddrs=nil)
1304
+ def initialize(status=nil, updatetime=nil, zone=nil, clustername=nil, region=nil, dbversion=nil, clusterid=nil, instancenum=nil, uin=nil, dbtype=nil, appid=nil, statusdesc=nil, createtime=nil, paymode=nil, periodendtime=nil, vip=nil, vport=nil, projectid=nil, vpcid=nil, subnetid=nil, cynosversion=nil, storagelimit=nil, renewflag=nil, processingtask=nil, tasks=nil, resourcetags=nil, dbmode=nil, serverlessstatus=nil, storage=nil, storageid=nil, storagepaymode=nil, minstoragesize=nil, maxstoragesize=nil, netaddrs=nil, physicalzone=nil, masterzone=nil, hasslavezone=nil, slavezones=nil, businesstype=nil, isfreeze=nil, ordersource=nil, ability=nil)
1206
1305
  @Status = status
1207
1306
  @UpdateTime = updatetime
1208
1307
  @Zone = zone
@@ -1237,6 +1336,14 @@ module TencentCloud
1237
1336
  @MinStorageSize = minstoragesize
1238
1337
  @MaxStorageSize = maxstoragesize
1239
1338
  @NetAddrs = netaddrs
1339
+ @PhysicalZone = physicalzone
1340
+ @MasterZone = masterzone
1341
+ @HasSlaveZone = hasslavezone
1342
+ @SlaveZones = slavezones
1343
+ @BusinessType = businesstype
1344
+ @IsFreeze = isfreeze
1345
+ @OrderSource = ordersource
1346
+ @Ability = ability
1240
1347
  end
1241
1348
 
1242
1349
  def deserialize(params)
@@ -1295,6 +1402,17 @@ module TencentCloud
1295
1402
  @NetAddrs << netaddr_tmp
1296
1403
  end
1297
1404
  end
1405
+ @PhysicalZone = params['PhysicalZone']
1406
+ @MasterZone = params['MasterZone']
1407
+ @HasSlaveZone = params['HasSlaveZone']
1408
+ @SlaveZones = params['SlaveZones']
1409
+ @BusinessType = params['BusinessType']
1410
+ @IsFreeze = params['IsFreeze']
1411
+ @OrderSource = params['OrderSource']
1412
+ unless params['Ability'].nil?
1413
+ @Ability = Ability.new
1414
+ @Ability.deserialize(params['Ability'])
1415
+ end
1298
1416
  end
1299
1417
  end
1300
1418
 
@@ -1352,10 +1470,76 @@ module TencentCloud
1352
1470
  # pause
1353
1471
  # pausing
1354
1472
  # @type ServerlessStatus: String
1473
+ # @param LogBin: binlog开关,可选值:ON, OFF
1474
+ # 注意:此字段可能返回 null,表示取不到有效值。
1475
+ # @type LogBin: String
1476
+ # @param PitrType: pitr类型,可选值:normal, redo_pitr
1477
+ # 注意:此字段可能返回 null,表示取不到有效值。
1478
+ # @type PitrType: String
1479
+ # @param PhysicalZone: 物理可用区
1480
+ # 注意:此字段可能返回 null,表示取不到有效值。
1481
+ # @type PhysicalZone: String
1482
+ # @param StorageId: 存储Id
1483
+ # 注意:此字段可能返回 null,表示取不到有效值。
1484
+ # @type StorageId: String
1485
+ # @param Storage: 存储大小,单位为G
1486
+ # 注意:此字段可能返回 null,表示取不到有效值。
1487
+ # @type Storage: Integer
1488
+ # @param MaxStorageSize: 最大存储规格,单位为G
1489
+ # 注意:此字段可能返回 null,表示取不到有效值。
1490
+ # @type MaxStorageSize: Integer
1491
+ # @param MinStorageSize: 最小存储规格,单位为G
1492
+ # 注意:此字段可能返回 null,表示取不到有效值。
1493
+ # @type MinStorageSize: Integer
1494
+ # @param StoragePayMode: 存储付费类型,1为包年包月,0为按量计费
1495
+ # 注意:此字段可能返回 null,表示取不到有效值。
1496
+ # @type StoragePayMode: Integer
1497
+ # @param DbMode: 数据库类型,normal,serverless
1498
+ # 注意:此字段可能返回 null,表示取不到有效值。
1499
+ # @type DbMode: String
1500
+ # @param StorageLimit: 存储空间上限
1501
+ # 注意:此字段可能返回 null,表示取不到有效值。
1502
+ # @type StorageLimit: Integer
1503
+ # @param Ability: 集群支持的功能
1504
+ # 注意:此字段可能返回 null,表示取不到有效值。
1505
+ # @type Ability: :class:`Tencentcloud::Cynosdb.v20190107.models.Ability`
1506
+ # @param CynosVersion: cynos版本
1507
+ # 注意:此字段可能返回 null,表示取不到有效值。
1508
+ # @type CynosVersion: String
1509
+ # @param BusinessType: 商业类型
1510
+ # 注意:此字段可能返回 null,表示取不到有效值。
1511
+ # @type BusinessType: String
1512
+ # @param HasSlaveZone: 是否有从可用区
1513
+ # 注意:此字段可能返回 null,表示取不到有效值。
1514
+ # @type HasSlaveZone: String
1515
+ # @param IsFreeze: 是否冻结
1516
+ # 注意:此字段可能返回 null,表示取不到有效值。
1517
+ # @type IsFreeze: String
1518
+ # @param Tasks: 任务列表
1519
+ # 注意:此字段可能返回 null,表示取不到有效值。
1520
+ # @type Tasks: Array
1521
+ # @param MasterZone: 主可用区
1522
+ # 注意:此字段可能返回 null,表示取不到有效值。
1523
+ # @type MasterZone: String
1524
+ # @param SlaveZones: 从可用区列表
1525
+ # 注意:此字段可能返回 null,表示取不到有效值。
1526
+ # @type SlaveZones: Array
1527
+ # @param ProxyStatus: Proxy状态
1528
+ # 注意:此字段可能返回 null,表示取不到有效值。
1529
+ # @type ProxyStatus: String
1530
+ # @param IsSkipTrade: 是否跳过交易
1531
+ # 注意:此字段可能返回 null,表示取不到有效值。
1532
+ # @type IsSkipTrade: String
1533
+ # @param IsOpenPasswordComplexity: 是否打开密码复杂度
1534
+ # 注意:此字段可能返回 null,表示取不到有效值。
1535
+ # @type IsOpenPasswordComplexity: String
1536
+ # @param NetworkStatus: 网络类型
1537
+ # 注意:此字段可能返回 null,表示取不到有效值。
1538
+ # @type NetworkStatus: String
1355
1539
 
1356
- attr_accessor :ClusterId, :ClusterName, :Region, :Status, :StatusDesc, :VpcName, :VpcId, :SubnetName, :SubnetId, :Charset, :CreateTime, :DbType, :DbVersion, :UsedStorage, :RoAddr, :InstanceSet, :PayMode, :PeriodEndTime, :Vip, :Vport, :ProjectID, :Zone, :ResourceTags, :ServerlessStatus
1540
+ attr_accessor :ClusterId, :ClusterName, :Region, :Status, :StatusDesc, :VpcName, :VpcId, :SubnetName, :SubnetId, :Charset, :CreateTime, :DbType, :DbVersion, :UsedStorage, :RoAddr, :InstanceSet, :PayMode, :PeriodEndTime, :Vip, :Vport, :ProjectID, :Zone, :ResourceTags, :ServerlessStatus, :LogBin, :PitrType, :PhysicalZone, :StorageId, :Storage, :MaxStorageSize, :MinStorageSize, :StoragePayMode, :DbMode, :StorageLimit, :Ability, :CynosVersion, :BusinessType, :HasSlaveZone, :IsFreeze, :Tasks, :MasterZone, :SlaveZones, :ProxyStatus, :IsSkipTrade, :IsOpenPasswordComplexity, :NetworkStatus
1357
1541
 
1358
- def initialize(clusterid=nil, clustername=nil, region=nil, status=nil, statusdesc=nil, vpcname=nil, vpcid=nil, subnetname=nil, subnetid=nil, charset=nil, createtime=nil, dbtype=nil, dbversion=nil, usedstorage=nil, roaddr=nil, instanceset=nil, paymode=nil, periodendtime=nil, vip=nil, vport=nil, projectid=nil, zone=nil, resourcetags=nil, serverlessstatus=nil)
1542
+ def initialize(clusterid=nil, clustername=nil, region=nil, status=nil, statusdesc=nil, vpcname=nil, vpcid=nil, subnetname=nil, subnetid=nil, charset=nil, createtime=nil, dbtype=nil, dbversion=nil, usedstorage=nil, roaddr=nil, instanceset=nil, paymode=nil, periodendtime=nil, vip=nil, vport=nil, projectid=nil, zone=nil, resourcetags=nil, serverlessstatus=nil, logbin=nil, pitrtype=nil, physicalzone=nil, storageid=nil, storage=nil, maxstoragesize=nil, minstoragesize=nil, storagepaymode=nil, dbmode=nil, storagelimit=nil, ability=nil, cynosversion=nil, businesstype=nil, hasslavezone=nil, isfreeze=nil, tasks=nil, masterzone=nil, slavezones=nil, proxystatus=nil, isskiptrade=nil, isopenpasswordcomplexity=nil, networkstatus=nil)
1359
1543
  @ClusterId = clusterid
1360
1544
  @ClusterName = clustername
1361
1545
  @Region = region
@@ -1380,6 +1564,28 @@ module TencentCloud
1380
1564
  @Zone = zone
1381
1565
  @ResourceTags = resourcetags
1382
1566
  @ServerlessStatus = serverlessstatus
1567
+ @LogBin = logbin
1568
+ @PitrType = pitrtype
1569
+ @PhysicalZone = physicalzone
1570
+ @StorageId = storageid
1571
+ @Storage = storage
1572
+ @MaxStorageSize = maxstoragesize
1573
+ @MinStorageSize = minstoragesize
1574
+ @StoragePayMode = storagepaymode
1575
+ @DbMode = dbmode
1576
+ @StorageLimit = storagelimit
1577
+ @Ability = ability
1578
+ @CynosVersion = cynosversion
1579
+ @BusinessType = businesstype
1580
+ @HasSlaveZone = hasslavezone
1581
+ @IsFreeze = isfreeze
1582
+ @Tasks = tasks
1583
+ @MasterZone = masterzone
1584
+ @SlaveZones = slavezones
1585
+ @ProxyStatus = proxystatus
1586
+ @IsSkipTrade = isskiptrade
1587
+ @IsOpenPasswordComplexity = isopenpasswordcomplexity
1588
+ @NetworkStatus = networkstatus
1383
1589
  end
1384
1590
 
1385
1591
  def deserialize(params)
@@ -1428,6 +1634,38 @@ module TencentCloud
1428
1634
  end
1429
1635
  end
1430
1636
  @ServerlessStatus = params['ServerlessStatus']
1637
+ @LogBin = params['LogBin']
1638
+ @PitrType = params['PitrType']
1639
+ @PhysicalZone = params['PhysicalZone']
1640
+ @StorageId = params['StorageId']
1641
+ @Storage = params['Storage']
1642
+ @MaxStorageSize = params['MaxStorageSize']
1643
+ @MinStorageSize = params['MinStorageSize']
1644
+ @StoragePayMode = params['StoragePayMode']
1645
+ @DbMode = params['DbMode']
1646
+ @StorageLimit = params['StorageLimit']
1647
+ unless params['Ability'].nil?
1648
+ @Ability = Ability.new
1649
+ @Ability.deserialize(params['Ability'])
1650
+ end
1651
+ @CynosVersion = params['CynosVersion']
1652
+ @BusinessType = params['BusinessType']
1653
+ @HasSlaveZone = params['HasSlaveZone']
1654
+ @IsFreeze = params['IsFreeze']
1655
+ unless params['Tasks'].nil?
1656
+ @Tasks = []
1657
+ params['Tasks'].each do |i|
1658
+ objecttask_tmp = ObjectTask.new
1659
+ objecttask_tmp.deserialize(i)
1660
+ @Tasks << objecttask_tmp
1661
+ end
1662
+ end
1663
+ @MasterZone = params['MasterZone']
1664
+ @SlaveZones = params['SlaveZones']
1665
+ @ProxyStatus = params['ProxyStatus']
1666
+ @IsSkipTrade = params['IsSkipTrade']
1667
+ @IsOpenPasswordComplexity = params['IsOpenPasswordComplexity']
1668
+ @NetworkStatus = params['NetworkStatus']
1431
1669
  end
1432
1670
  end
1433
1671
 
@@ -1983,19 +2221,23 @@ module TencentCloud
1983
2221
  class DeleteBackupRequest < TencentCloud::Common::AbstractModel
1984
2222
  # @param ClusterId: 集群ID
1985
2223
  # @type ClusterId: String
1986
- # @param SnapshotIdList: 备份文件ID
2224
+ # @param SnapshotIdList: 备份文件ID,旧版本使用的字段,不推荐使用
1987
2225
  # @type SnapshotIdList: Array
2226
+ # @param BackupIds: 备份文件ID,推荐使用
2227
+ # @type BackupIds: Array
1988
2228
 
1989
- attr_accessor :ClusterId, :SnapshotIdList
2229
+ attr_accessor :ClusterId, :SnapshotIdList, :BackupIds
1990
2230
 
1991
- def initialize(clusterid=nil, snapshotidlist=nil)
2231
+ def initialize(clusterid=nil, snapshotidlist=nil, backupids=nil)
1992
2232
  @ClusterId = clusterid
1993
2233
  @SnapshotIdList = snapshotidlist
2234
+ @BackupIds = backupids
1994
2235
  end
1995
2236
 
1996
2237
  def deserialize(params)
1997
2238
  @ClusterId = params['ClusterId']
1998
2239
  @SnapshotIdList = params['SnapshotIdList']
2240
+ @BackupIds = params['BackupIds']
1999
2241
  end
2000
2242
  end
2001
2243
 
@@ -4538,6 +4780,31 @@ module TencentCloud
4538
4780
  end
4539
4781
  end
4540
4782
 
4783
+ # 修改的实例参数信息
4784
+ class ModifyParamItem < TencentCloud::Common::AbstractModel
4785
+ # @param ParamName: 参数名
4786
+ # @type ParamName: String
4787
+ # @param CurrentValue: 参数当前值
4788
+ # @type CurrentValue: String
4789
+ # @param OldValue: 参数旧值(只在出参时有用)
4790
+ # 注意:此字段可能返回 null,表示取不到有效值。
4791
+ # @type OldValue: String
4792
+
4793
+ attr_accessor :ParamName, :CurrentValue, :OldValue
4794
+
4795
+ def initialize(paramname=nil, currentvalue=nil, oldvalue=nil)
4796
+ @ParamName = paramname
4797
+ @CurrentValue = currentvalue
4798
+ @OldValue = oldvalue
4799
+ end
4800
+
4801
+ def deserialize(params)
4802
+ @ParamName = params['ParamName']
4803
+ @CurrentValue = params['CurrentValue']
4804
+ @OldValue = params['OldValue']
4805
+ end
4806
+ end
4807
+
4541
4808
  # 网络信息
4542
4809
  class NetAddr < TencentCloud::Common::AbstractModel
4543
4810
  # @param Vip: 内网ip
@@ -4564,10 +4831,16 @@ module TencentCloud
4564
4831
  # @param Description: 描述信息
4565
4832
  # 注意:此字段可能返回 null,表示取不到有效值。
4566
4833
  # @type Description: String
4834
+ # @param WanIP: 外网IP
4835
+ # 注意:此字段可能返回 null,表示取不到有效值。
4836
+ # @type WanIP: String
4837
+ # @param WanStatus: 外网状态
4838
+ # 注意:此字段可能返回 null,表示取不到有效值。
4839
+ # @type WanStatus: String
4567
4840
 
4568
- attr_accessor :Vip, :Vport, :WanDomain, :WanPort, :NetType, :UniqSubnetId, :UniqVpcId, :Description
4841
+ attr_accessor :Vip, :Vport, :WanDomain, :WanPort, :NetType, :UniqSubnetId, :UniqVpcId, :Description, :WanIP, :WanStatus
4569
4842
 
4570
- def initialize(vip=nil, vport=nil, wandomain=nil, wanport=nil, nettype=nil, uniqsubnetid=nil, uniqvpcid=nil, description=nil)
4843
+ def initialize(vip=nil, vport=nil, wandomain=nil, wanport=nil, nettype=nil, uniqsubnetid=nil, uniqvpcid=nil, description=nil, wanip=nil, wanstatus=nil)
4571
4844
  @Vip = vip
4572
4845
  @Vport = vport
4573
4846
  @WanDomain = wandomain
@@ -4576,6 +4849,8 @@ module TencentCloud
4576
4849
  @UniqSubnetId = uniqsubnetid
4577
4850
  @UniqVpcId = uniqvpcid
4578
4851
  @Description = description
4852
+ @WanIP = wanip
4853
+ @WanStatus = wanstatus
4579
4854
  end
4580
4855
 
4581
4856
  def deserialize(params)
@@ -4587,27 +4862,32 @@ module TencentCloud
4587
4862
  @UniqSubnetId = params['UniqSubnetId']
4588
4863
  @UniqVpcId = params['UniqVpcId']
4589
4864
  @Description = params['Description']
4865
+ @WanIP = params['WanIP']
4866
+ @WanStatus = params['WanStatus']
4590
4867
  end
4591
4868
  end
4592
4869
 
4593
- # 新创建的账号
4870
+ # x08新创建的账号
4594
4871
  class NewAccount < TencentCloud::Common::AbstractModel
4595
- # @param AccountName: 账户名
4872
+ # @param AccountName: 账户名,包含字母数字_,以字母开头,字母或数字结尾,长度1-16
4596
4873
  # @type AccountName: String
4597
- # @param AccountPassword: 密码
4874
+ # @param AccountPassword: 密码,密码长度范围为8到64个字符
4598
4875
  # @type AccountPassword: String
4599
4876
  # @param Host: 主机
4600
4877
  # @type Host: String
4601
4878
  # @param Description: 描述
4602
4879
  # @type Description: String
4880
+ # @param MaxUserConnections: 用户最大连接数,不能大于10240
4881
+ # @type MaxUserConnections: Integer
4603
4882
 
4604
- attr_accessor :AccountName, :AccountPassword, :Host, :Description
4883
+ attr_accessor :AccountName, :AccountPassword, :Host, :Description, :MaxUserConnections
4605
4884
 
4606
- def initialize(accountname=nil, accountpassword=nil, host=nil, description=nil)
4885
+ def initialize(accountname=nil, accountpassword=nil, host=nil, description=nil, maxuserconnections=nil)
4607
4886
  @AccountName = accountname
4608
4887
  @AccountPassword = accountpassword
4609
4888
  @Host = host
4610
4889
  @Description = description
4890
+ @MaxUserConnections = maxuserconnections
4611
4891
  end
4612
4892
 
4613
4893
  def deserialize(params)
@@ -4615,6 +4895,7 @@ module TencentCloud
4615
4895
  @AccountPassword = params['AccountPassword']
4616
4896
  @Host = params['Host']
4617
4897
  @Description = params['Description']
4898
+ @MaxUserConnections = params['MaxUserConnections']
4618
4899
  end
4619
4900
  end
4620
4901
 
@@ -5185,10 +5466,12 @@ module TencentCloud
5185
5466
  # @type RollbackDatabases: Array
5186
5467
  # @param RollbackTables: 回档数据库表列表
5187
5468
  # @type RollbackTables: Array
5469
+ # @param RollbackMode: 按时间点回档模式,full: 普通; db: 快速; table: 极速 (默认是普通)
5470
+ # @type RollbackMode: String
5188
5471
 
5189
- attr_accessor :ClusterId, :RollbackStrategy, :RollbackId, :ExpectTime, :ExpectTimeThresh, :RollbackDatabases, :RollbackTables
5472
+ attr_accessor :ClusterId, :RollbackStrategy, :RollbackId, :ExpectTime, :ExpectTimeThresh, :RollbackDatabases, :RollbackTables, :RollbackMode
5190
5473
 
5191
- def initialize(clusterid=nil, rollbackstrategy=nil, rollbackid=nil, expecttime=nil, expecttimethresh=nil, rollbackdatabases=nil, rollbacktables=nil)
5474
+ def initialize(clusterid=nil, rollbackstrategy=nil, rollbackid=nil, expecttime=nil, expecttimethresh=nil, rollbackdatabases=nil, rollbacktables=nil, rollbackmode=nil)
5192
5475
  @ClusterId = clusterid
5193
5476
  @RollbackStrategy = rollbackstrategy
5194
5477
  @RollbackId = rollbackid
@@ -5196,6 +5479,7 @@ module TencentCloud
5196
5479
  @ExpectTimeThresh = expecttimethresh
5197
5480
  @RollbackDatabases = rollbackdatabases
5198
5481
  @RollbackTables = rollbacktables
5482
+ @RollbackMode = rollbackmode
5199
5483
  end
5200
5484
 
5201
5485
  def deserialize(params)
@@ -5220,6 +5504,7 @@ module TencentCloud
5220
5504
  @RollbackTables << rollbacktable_tmp
5221
5505
  end
5222
5506
  end
5507
+ @RollbackMode = params['RollbackMode']
5223
5508
  end
5224
5509
  end
5225
5510
 
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.482
4
+ version: 3.0.484
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-28 00:00:00.000000000 Z
11
+ date: 2022-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common