tencentcloud-sdk-cynosdb 3.0.482 → 3.0.483
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190107/models.rb +250 -13
- 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: 8af9a3845b22d2fdbbe631246bb2069762c06f32
|
4
|
+
data.tar.gz: 2afe6998a3bfccf78b8c007e3b17438133584c82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 081a1fe4be9f2f890809d422783fcec5d0e868d49f457a28d84391e929565aebb779627dca3c966e42a0c0f5ef3b767f9e6b1bb4a04213d458c9c7a5c98283db
|
7
|
+
data.tar.gz: 98600f231b4a704fa2f3b79158d12ab0e4888b648a5b9e105aef7882ad167cf4282ecd8b455c42d4b0ca559c5924d9ea98c1f31aafb706f342b3c440ce7a51c0
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.483
|
data/lib/v20190107/models.rb
CHANGED
@@ -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: 数据库账号名
|
@@ -625,10 +655,12 @@ module TencentCloud
|
|
625
655
|
# @type InstanceMemory: Integer
|
626
656
|
# @param InstanceStorage: 硬盘
|
627
657
|
# @type InstanceStorage: Integer
|
658
|
+
# @param InstanceRole: 实例角色
|
659
|
+
# @type InstanceRole: String
|
628
660
|
|
629
|
-
attr_accessor :InstanceId, :InstanceName, :InstanceType, :InstanceStatus, :InstanceStatusDesc, :InstanceCpu, :InstanceMemory, :InstanceStorage
|
661
|
+
attr_accessor :InstanceId, :InstanceName, :InstanceType, :InstanceStatus, :InstanceStatusDesc, :InstanceCpu, :InstanceMemory, :InstanceStorage, :InstanceRole
|
630
662
|
|
631
|
-
def initialize(instanceid=nil, instancename=nil, instancetype=nil, instancestatus=nil, instancestatusdesc=nil, instancecpu=nil, instancememory=nil, instancestorage=nil)
|
663
|
+
def initialize(instanceid=nil, instancename=nil, instancetype=nil, instancestatus=nil, instancestatusdesc=nil, instancecpu=nil, instancememory=nil, instancestorage=nil, instancerole=nil)
|
632
664
|
@InstanceId = instanceid
|
633
665
|
@InstanceName = instancename
|
634
666
|
@InstanceType = instancetype
|
@@ -637,6 +669,7 @@ module TencentCloud
|
|
637
669
|
@InstanceCpu = instancecpu
|
638
670
|
@InstanceMemory = instancememory
|
639
671
|
@InstanceStorage = instancestorage
|
672
|
+
@InstanceRole = instancerole
|
640
673
|
end
|
641
674
|
|
642
675
|
def deserialize(params)
|
@@ -648,6 +681,7 @@ module TencentCloud
|
|
648
681
|
@InstanceCpu = params['InstanceCpu']
|
649
682
|
@InstanceMemory = params['InstanceMemory']
|
650
683
|
@InstanceStorage = params['InstanceStorage']
|
684
|
+
@InstanceRole = params['InstanceRole']
|
651
685
|
end
|
652
686
|
end
|
653
687
|
|
@@ -1146,63 +1180,113 @@ module TencentCloud
|
|
1146
1180
|
# @param InstanceNum: 实例数
|
1147
1181
|
# @type InstanceNum: Integer
|
1148
1182
|
# @param Uin: 用户uin
|
1183
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1149
1184
|
# @type Uin: String
|
1150
1185
|
# @param DbType: 引擎类型
|
1186
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1151
1187
|
# @type DbType: String
|
1152
1188
|
# @param AppId: 用户appid
|
1189
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1153
1190
|
# @type AppId: Integer
|
1154
1191
|
# @param StatusDesc: 集群状态描述
|
1192
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1155
1193
|
# @type StatusDesc: String
|
1156
1194
|
# @param CreateTime: 集群创建时间
|
1195
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1157
1196
|
# @type CreateTime: String
|
1158
1197
|
# @param PayMode: 付费模式。0-按量计费,1-包年包月
|
1198
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1159
1199
|
# @type PayMode: Integer
|
1160
1200
|
# @param PeriodEndTime: 截止时间
|
1201
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1161
1202
|
# @type PeriodEndTime: String
|
1162
1203
|
# @param Vip: 集群读写vip
|
1204
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1163
1205
|
# @type Vip: String
|
1164
1206
|
# @param Vport: 集群读写vport
|
1207
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1165
1208
|
# @type Vport: Integer
|
1166
1209
|
# @param ProjectID: 项目id
|
1210
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1167
1211
|
# @type ProjectID: Integer
|
1168
1212
|
# @param VpcId: 私有网络ID
|
1213
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1169
1214
|
# @type VpcId: String
|
1170
1215
|
# @param SubnetId: 子网ID
|
1216
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1171
1217
|
# @type SubnetId: String
|
1172
1218
|
# @param CynosVersion: cynos内核版本
|
1219
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1173
1220
|
# @type CynosVersion: String
|
1174
1221
|
# @param StorageLimit: 存储容量
|
1222
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1175
1223
|
# @type StorageLimit: Integer
|
1176
1224
|
# @param RenewFlag: 续费标志
|
1225
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1177
1226
|
# @type RenewFlag: Integer
|
1178
1227
|
# @param ProcessingTask: 正在处理的任务
|
1228
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1179
1229
|
# @type ProcessingTask: String
|
1180
1230
|
# @param Tasks: 集群的任务数组
|
1231
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1181
1232
|
# @type Tasks: Array
|
1182
1233
|
# @param ResourceTags: 集群绑定的tag数组
|
1234
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1183
1235
|
# @type ResourceTags: Array
|
1184
1236
|
# @param DbMode: Db类型(NORMAL, SERVERLESS)
|
1237
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1185
1238
|
# @type DbMode: String
|
1186
1239
|
# @param ServerlessStatus: 当Db类型为SERVERLESS时,serverless集群状态,可选值:
|
1187
1240
|
# resume
|
1188
1241
|
# pause
|
1242
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1189
1243
|
# @type ServerlessStatus: String
|
1190
1244
|
# @param Storage: 集群预付费存储值大小
|
1245
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1191
1246
|
# @type Storage: Integer
|
1192
1247
|
# @param StorageId: 集群存储为预付费时的存储ID,用于预付费存储变配
|
1248
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1193
1249
|
# @type StorageId: String
|
1194
1250
|
# @param StoragePayMode: 集群存储付费模式。0-按量计费,1-包年包月
|
1251
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1195
1252
|
# @type StoragePayMode: Integer
|
1196
1253
|
# @param MinStorageSize: 集群计算规格对应的最小存储值
|
1254
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1197
1255
|
# @type MinStorageSize: Integer
|
1198
1256
|
# @param MaxStorageSize: 集群计算规格对应的最大存储值
|
1257
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1199
1258
|
# @type MaxStorageSize: Integer
|
1200
1259
|
# @param NetAddrs: 集群网络信息
|
1260
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1201
1261
|
# @type NetAddrs: Array
|
1262
|
+
# @param PhysicalZone: 物理可用区
|
1263
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1264
|
+
# @type PhysicalZone: String
|
1265
|
+
# @param MasterZone: 主可用区
|
1266
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1267
|
+
# @type MasterZone: String
|
1268
|
+
# @param HasSlaveZone: 是否有从可用区
|
1269
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1270
|
+
# @type HasSlaveZone: String
|
1271
|
+
# @param SlaveZones: 从可用区
|
1272
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1273
|
+
# @type SlaveZones: Array
|
1274
|
+
# @param BusinessType: 商业类型
|
1275
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1276
|
+
# @type BusinessType: String
|
1277
|
+
# @param IsFreeze: 是否冻结
|
1278
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1279
|
+
# @type IsFreeze: String
|
1280
|
+
# @param OrderSource: 订单来源
|
1281
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1282
|
+
# @type OrderSource: String
|
1283
|
+
# @param Ability: 能力
|
1284
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1285
|
+
# @type Ability: :class:`Tencentcloud::Cynosdb.v20190107.models.Ability`
|
1202
1286
|
|
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
|
1287
|
+
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
1288
|
|
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)
|
1289
|
+
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
1290
|
@Status = status
|
1207
1291
|
@UpdateTime = updatetime
|
1208
1292
|
@Zone = zone
|
@@ -1237,6 +1321,14 @@ module TencentCloud
|
|
1237
1321
|
@MinStorageSize = minstoragesize
|
1238
1322
|
@MaxStorageSize = maxstoragesize
|
1239
1323
|
@NetAddrs = netaddrs
|
1324
|
+
@PhysicalZone = physicalzone
|
1325
|
+
@MasterZone = masterzone
|
1326
|
+
@HasSlaveZone = hasslavezone
|
1327
|
+
@SlaveZones = slavezones
|
1328
|
+
@BusinessType = businesstype
|
1329
|
+
@IsFreeze = isfreeze
|
1330
|
+
@OrderSource = ordersource
|
1331
|
+
@Ability = ability
|
1240
1332
|
end
|
1241
1333
|
|
1242
1334
|
def deserialize(params)
|
@@ -1295,6 +1387,17 @@ module TencentCloud
|
|
1295
1387
|
@NetAddrs << netaddr_tmp
|
1296
1388
|
end
|
1297
1389
|
end
|
1390
|
+
@PhysicalZone = params['PhysicalZone']
|
1391
|
+
@MasterZone = params['MasterZone']
|
1392
|
+
@HasSlaveZone = params['HasSlaveZone']
|
1393
|
+
@SlaveZones = params['SlaveZones']
|
1394
|
+
@BusinessType = params['BusinessType']
|
1395
|
+
@IsFreeze = params['IsFreeze']
|
1396
|
+
@OrderSource = params['OrderSource']
|
1397
|
+
unless params['Ability'].nil?
|
1398
|
+
@Ability = Ability.new
|
1399
|
+
@Ability.deserialize(params['Ability'])
|
1400
|
+
end
|
1298
1401
|
end
|
1299
1402
|
end
|
1300
1403
|
|
@@ -1352,10 +1455,76 @@ module TencentCloud
|
|
1352
1455
|
# pause
|
1353
1456
|
# pausing
|
1354
1457
|
# @type ServerlessStatus: String
|
1458
|
+
# @param LogBin: binlog开关,可选值:ON, OFF
|
1459
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1460
|
+
# @type LogBin: String
|
1461
|
+
# @param PitrType: pitr类型,可选值:normal, redo_pitr
|
1462
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1463
|
+
# @type PitrType: String
|
1464
|
+
# @param PhysicalZone: 物理可用区
|
1465
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1466
|
+
# @type PhysicalZone: String
|
1467
|
+
# @param StorageId: 存储Id
|
1468
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1469
|
+
# @type StorageId: String
|
1470
|
+
# @param Storage: 存储大小,单位为G
|
1471
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1472
|
+
# @type Storage: Integer
|
1473
|
+
# @param MaxStorageSize: 最大存储规格,单位为G
|
1474
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1475
|
+
# @type MaxStorageSize: Integer
|
1476
|
+
# @param MinStorageSize: 最小存储规格,单位为G
|
1477
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1478
|
+
# @type MinStorageSize: Integer
|
1479
|
+
# @param StoragePayMode: 存储付费类型,1为包年包月,0为按量计费
|
1480
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1481
|
+
# @type StoragePayMode: Integer
|
1482
|
+
# @param DbMode: 数据库类型,normal,serverless
|
1483
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1484
|
+
# @type DbMode: String
|
1485
|
+
# @param StorageLimit: 存储空间上限
|
1486
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1487
|
+
# @type StorageLimit: Integer
|
1488
|
+
# @param Ability: 集群支持的功能
|
1489
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1490
|
+
# @type Ability: :class:`Tencentcloud::Cynosdb.v20190107.models.Ability`
|
1491
|
+
# @param CynosVersion: cynos版本
|
1492
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1493
|
+
# @type CynosVersion: String
|
1494
|
+
# @param BusinessType: 商业类型
|
1495
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1496
|
+
# @type BusinessType: String
|
1497
|
+
# @param HasSlaveZone: 是否有从可用区
|
1498
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1499
|
+
# @type HasSlaveZone: String
|
1500
|
+
# @param IsFreeze: 是否冻结
|
1501
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1502
|
+
# @type IsFreeze: String
|
1503
|
+
# @param Tasks: 任务列表
|
1504
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1505
|
+
# @type Tasks: Array
|
1506
|
+
# @param MasterZone: 主可用区
|
1507
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1508
|
+
# @type MasterZone: String
|
1509
|
+
# @param SlaveZones: 从可用区列表
|
1510
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1511
|
+
# @type SlaveZones: Array
|
1512
|
+
# @param ProxyStatus: Proxy状态
|
1513
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1514
|
+
# @type ProxyStatus: String
|
1515
|
+
# @param IsSkipTrade: 是否跳过交易
|
1516
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1517
|
+
# @type IsSkipTrade: String
|
1518
|
+
# @param IsOpenPasswordComplexity: 是否打开密码复杂度
|
1519
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1520
|
+
# @type IsOpenPasswordComplexity: String
|
1521
|
+
# @param NetworkStatus: 网络类型
|
1522
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1523
|
+
# @type NetworkStatus: String
|
1355
1524
|
|
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
|
1525
|
+
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
1526
|
|
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)
|
1527
|
+
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
1528
|
@ClusterId = clusterid
|
1360
1529
|
@ClusterName = clustername
|
1361
1530
|
@Region = region
|
@@ -1380,6 +1549,28 @@ module TencentCloud
|
|
1380
1549
|
@Zone = zone
|
1381
1550
|
@ResourceTags = resourcetags
|
1382
1551
|
@ServerlessStatus = serverlessstatus
|
1552
|
+
@LogBin = logbin
|
1553
|
+
@PitrType = pitrtype
|
1554
|
+
@PhysicalZone = physicalzone
|
1555
|
+
@StorageId = storageid
|
1556
|
+
@Storage = storage
|
1557
|
+
@MaxStorageSize = maxstoragesize
|
1558
|
+
@MinStorageSize = minstoragesize
|
1559
|
+
@StoragePayMode = storagepaymode
|
1560
|
+
@DbMode = dbmode
|
1561
|
+
@StorageLimit = storagelimit
|
1562
|
+
@Ability = ability
|
1563
|
+
@CynosVersion = cynosversion
|
1564
|
+
@BusinessType = businesstype
|
1565
|
+
@HasSlaveZone = hasslavezone
|
1566
|
+
@IsFreeze = isfreeze
|
1567
|
+
@Tasks = tasks
|
1568
|
+
@MasterZone = masterzone
|
1569
|
+
@SlaveZones = slavezones
|
1570
|
+
@ProxyStatus = proxystatus
|
1571
|
+
@IsSkipTrade = isskiptrade
|
1572
|
+
@IsOpenPasswordComplexity = isopenpasswordcomplexity
|
1573
|
+
@NetworkStatus = networkstatus
|
1383
1574
|
end
|
1384
1575
|
|
1385
1576
|
def deserialize(params)
|
@@ -1428,6 +1619,38 @@ module TencentCloud
|
|
1428
1619
|
end
|
1429
1620
|
end
|
1430
1621
|
@ServerlessStatus = params['ServerlessStatus']
|
1622
|
+
@LogBin = params['LogBin']
|
1623
|
+
@PitrType = params['PitrType']
|
1624
|
+
@PhysicalZone = params['PhysicalZone']
|
1625
|
+
@StorageId = params['StorageId']
|
1626
|
+
@Storage = params['Storage']
|
1627
|
+
@MaxStorageSize = params['MaxStorageSize']
|
1628
|
+
@MinStorageSize = params['MinStorageSize']
|
1629
|
+
@StoragePayMode = params['StoragePayMode']
|
1630
|
+
@DbMode = params['DbMode']
|
1631
|
+
@StorageLimit = params['StorageLimit']
|
1632
|
+
unless params['Ability'].nil?
|
1633
|
+
@Ability = Ability.new
|
1634
|
+
@Ability.deserialize(params['Ability'])
|
1635
|
+
end
|
1636
|
+
@CynosVersion = params['CynosVersion']
|
1637
|
+
@BusinessType = params['BusinessType']
|
1638
|
+
@HasSlaveZone = params['HasSlaveZone']
|
1639
|
+
@IsFreeze = params['IsFreeze']
|
1640
|
+
unless params['Tasks'].nil?
|
1641
|
+
@Tasks = []
|
1642
|
+
params['Tasks'].each do |i|
|
1643
|
+
objecttask_tmp = ObjectTask.new
|
1644
|
+
objecttask_tmp.deserialize(i)
|
1645
|
+
@Tasks << objecttask_tmp
|
1646
|
+
end
|
1647
|
+
end
|
1648
|
+
@MasterZone = params['MasterZone']
|
1649
|
+
@SlaveZones = params['SlaveZones']
|
1650
|
+
@ProxyStatus = params['ProxyStatus']
|
1651
|
+
@IsSkipTrade = params['IsSkipTrade']
|
1652
|
+
@IsOpenPasswordComplexity = params['IsOpenPasswordComplexity']
|
1653
|
+
@NetworkStatus = params['NetworkStatus']
|
1431
1654
|
end
|
1432
1655
|
end
|
1433
1656
|
|
@@ -4564,10 +4787,16 @@ module TencentCloud
|
|
4564
4787
|
# @param Description: 描述信息
|
4565
4788
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4566
4789
|
# @type Description: String
|
4790
|
+
# @param WanIP: 外网IP
|
4791
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4792
|
+
# @type WanIP: String
|
4793
|
+
# @param WanStatus: 外网状态
|
4794
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4795
|
+
# @type WanStatus: String
|
4567
4796
|
|
4568
|
-
attr_accessor :Vip, :Vport, :WanDomain, :WanPort, :NetType, :UniqSubnetId, :UniqVpcId, :Description
|
4797
|
+
attr_accessor :Vip, :Vport, :WanDomain, :WanPort, :NetType, :UniqSubnetId, :UniqVpcId, :Description, :WanIP, :WanStatus
|
4569
4798
|
|
4570
|
-
def initialize(vip=nil, vport=nil, wandomain=nil, wanport=nil, nettype=nil, uniqsubnetid=nil, uniqvpcid=nil, description=nil)
|
4799
|
+
def initialize(vip=nil, vport=nil, wandomain=nil, wanport=nil, nettype=nil, uniqsubnetid=nil, uniqvpcid=nil, description=nil, wanip=nil, wanstatus=nil)
|
4571
4800
|
@Vip = vip
|
4572
4801
|
@Vport = vport
|
4573
4802
|
@WanDomain = wandomain
|
@@ -4576,6 +4805,8 @@ module TencentCloud
|
|
4576
4805
|
@UniqSubnetId = uniqsubnetid
|
4577
4806
|
@UniqVpcId = uniqvpcid
|
4578
4807
|
@Description = description
|
4808
|
+
@WanIP = wanip
|
4809
|
+
@WanStatus = wanstatus
|
4579
4810
|
end
|
4580
4811
|
|
4581
4812
|
def deserialize(params)
|
@@ -4587,27 +4818,32 @@ module TencentCloud
|
|
4587
4818
|
@UniqSubnetId = params['UniqSubnetId']
|
4588
4819
|
@UniqVpcId = params['UniqVpcId']
|
4589
4820
|
@Description = params['Description']
|
4821
|
+
@WanIP = params['WanIP']
|
4822
|
+
@WanStatus = params['WanStatus']
|
4590
4823
|
end
|
4591
4824
|
end
|
4592
4825
|
|
4593
|
-
#
|
4826
|
+
# x08新创建的账号
|
4594
4827
|
class NewAccount < TencentCloud::Common::AbstractModel
|
4595
|
-
# @param AccountName:
|
4828
|
+
# @param AccountName: 账户名,包含字母数字_,以字母开头,字母或数字结尾,长度1-16
|
4596
4829
|
# @type AccountName: String
|
4597
|
-
# @param AccountPassword:
|
4830
|
+
# @param AccountPassword: 密码,密码长度范围为8到64个字符
|
4598
4831
|
# @type AccountPassword: String
|
4599
4832
|
# @param Host: 主机
|
4600
4833
|
# @type Host: String
|
4601
4834
|
# @param Description: 描述
|
4602
4835
|
# @type Description: String
|
4836
|
+
# @param MaxUserConnections: 用户最大连接数,不能大于10240
|
4837
|
+
# @type MaxUserConnections: Integer
|
4603
4838
|
|
4604
|
-
attr_accessor :AccountName, :AccountPassword, :Host, :Description
|
4839
|
+
attr_accessor :AccountName, :AccountPassword, :Host, :Description, :MaxUserConnections
|
4605
4840
|
|
4606
|
-
def initialize(accountname=nil, accountpassword=nil, host=nil, description=nil)
|
4841
|
+
def initialize(accountname=nil, accountpassword=nil, host=nil, description=nil, maxuserconnections=nil)
|
4607
4842
|
@AccountName = accountname
|
4608
4843
|
@AccountPassword = accountpassword
|
4609
4844
|
@Host = host
|
4610
4845
|
@Description = description
|
4846
|
+
@MaxUserConnections = maxuserconnections
|
4611
4847
|
end
|
4612
4848
|
|
4613
4849
|
def deserialize(params)
|
@@ -4615,6 +4851,7 @@ module TencentCloud
|
|
4615
4851
|
@AccountPassword = params['AccountPassword']
|
4616
4852
|
@Host = params['Host']
|
4617
4853
|
@Description = params['Description']
|
4854
|
+
@MaxUserConnections = params['MaxUserConnections']
|
4618
4855
|
end
|
4619
4856
|
end
|
4620
4857
|
|
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.483
|
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-
|
11
|
+
date: 2022-12-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|