tencentcloud-sdk-mariadb 3.0.456 → 3.0.458

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20170312/models.rb +76 -3
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: acdca0beb3c03ce84c7a2e9d7d7e17484d8c8975
4
- data.tar.gz: 7ac1920232394b2d9703d5e79ed647886afa7a1e
3
+ metadata.gz: 5a7f6cce5764d9f217cac71bbbef094c8acdb065
4
+ data.tar.gz: dd056251db738ea758a9daad1876d8291c859c11
5
5
  SHA512:
6
- metadata.gz: f38ce285672b137c552380cc6755244a412a2e3c93686facc1e5a0193716ebb1dc4086334c075325e3b75fc6a91ffbe6923003b237aeb091f7798f0f02094781
7
- data.tar.gz: 54d608f6e93540f22800dc961cd5b30eed0c6ba54f19edb6555dce6a7c9798f3f280b9b5198efeeb741b7926103634ac4541e8857c9ab35dda080324fdbd0b0e
6
+ metadata.gz: c5f789643b7c661b8dd0faeabc172b0300e0f8f2c7a766fbe4d8d8678c53c040f4cbd2586c5bcd5eec6efacfa824c420c59ba1d16c5d64e2f51c1c9b33e21314
7
+ data.tar.gz: bb9492173042545f16208ab41cc96c7e387087ad651d822531bf1ba28635d1f7022a6b17f791ae331500a02cda1cc87739556455a23abd450f93c104446c41e5
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.456
1
+ 3.0.458
@@ -1222,6 +1222,59 @@ module TencentCloud
1222
1222
  end
1223
1223
  end
1224
1224
 
1225
+ # dcn 配置情况
1226
+ class DCNReplicaConfig < TencentCloud::Common::AbstractModel
1227
+ # @param RoReplicationMode: DCN 运行状态,START为正常运行,STOP为暂停
1228
+ # 注意:此字段可能返回 null,表示取不到有效值。
1229
+ # @type RoReplicationMode: String
1230
+ # @param DelayReplicationType: 延迟复制的类型,DEFAULT为正常,DUE_TIME为指定时间
1231
+ # 注意:此字段可能返回 null,表示取不到有效值。
1232
+ # @type DelayReplicationType: String
1233
+ # @param DueTime: 延迟复制的指定时间
1234
+ # 注意:此字段可能返回 null,表示取不到有效值。
1235
+ # @type DueTime: String
1236
+ # @param ReplicationDelay: 延迟复制时的延迟秒数
1237
+ # 注意:此字段可能返回 null,表示取不到有效值。
1238
+ # @type ReplicationDelay: Integer
1239
+
1240
+ attr_accessor :RoReplicationMode, :DelayReplicationType, :DueTime, :ReplicationDelay
1241
+
1242
+ def initialize(roreplicationmode=nil, delayreplicationtype=nil, duetime=nil, replicationdelay=nil)
1243
+ @RoReplicationMode = roreplicationmode
1244
+ @DelayReplicationType = delayreplicationtype
1245
+ @DueTime = duetime
1246
+ @ReplicationDelay = replicationdelay
1247
+ end
1248
+
1249
+ def deserialize(params)
1250
+ @RoReplicationMode = params['RoReplicationMode']
1251
+ @DelayReplicationType = params['DelayReplicationType']
1252
+ @DueTime = params['DueTime']
1253
+ @ReplicationDelay = params['ReplicationDelay']
1254
+ end
1255
+ end
1256
+
1257
+ # DCN的状态信息
1258
+ class DCNReplicaStatus < TencentCloud::Common::AbstractModel
1259
+ # @param Status: DCN 的运行状态,START为正常运行,STOP为暂停,
1260
+ # 注意:此字段可能返回 null,表示取不到有效值。
1261
+ # @type Status: String
1262
+ # @param Delay: 当前延迟情况,取备实例的 master 节点的 delay 值
1263
+ # @type Delay: Integer
1264
+
1265
+ attr_accessor :Status, :Delay
1266
+
1267
+ def initialize(status=nil, delay=nil)
1268
+ @Status = status
1269
+ @Delay = delay
1270
+ end
1271
+
1272
+ def deserialize(params)
1273
+ @Status = params['Status']
1274
+ @Delay = params['Delay']
1275
+ end
1276
+ end
1277
+
1225
1278
  # 数据库信息
1226
1279
  class Database < TencentCloud::Common::AbstractModel
1227
1280
  # @param DbName: 数据库名称
@@ -1360,10 +1413,18 @@ module TencentCloud
1360
1413
  # @type PeriodEndTime: String
1361
1414
  # @param InstanceType: 1: 主实例(独享型), 2: 主实例, 3: 灾备实例, 4: 灾备实例(独享型)
1362
1415
  # @type InstanceType: Integer
1416
+ # @param ReplicaConfig: DCN复制的配置信息;对于主实例,此字段为null
1417
+ # 注意:此字段可能返回 null,表示取不到有效值。
1418
+ # @type ReplicaConfig: :class:`Tencentcloud::Mariadb.v20170312.models.DCNReplicaConfig`
1419
+ # @param ReplicaStatus: DCN复制的状态;对于主实例,此字段为null
1420
+ # 注意:此字段可能返回 null,表示取不到有效值。
1421
+ # @type ReplicaStatus: :class:`Tencentcloud::Mariadb.v20170312.models.DCNReplicaStatus`
1422
+ # @param EncryptStatus: 是否开启了 kms
1423
+ # @type EncryptStatus: Integer
1363
1424
 
1364
- attr_accessor :InstanceId, :InstanceName, :Region, :Zone, :Vip, :Vipv6, :Vport, :Status, :StatusDesc, :DcnFlag, :DcnStatus, :Cpu, :Memory, :Storage, :PayMode, :CreateTime, :PeriodEndTime, :InstanceType
1425
+ attr_accessor :InstanceId, :InstanceName, :Region, :Zone, :Vip, :Vipv6, :Vport, :Status, :StatusDesc, :DcnFlag, :DcnStatus, :Cpu, :Memory, :Storage, :PayMode, :CreateTime, :PeriodEndTime, :InstanceType, :ReplicaConfig, :ReplicaStatus, :EncryptStatus
1365
1426
 
1366
- def initialize(instanceid=nil, instancename=nil, region=nil, zone=nil, vip=nil, vipv6=nil, vport=nil, status=nil, statusdesc=nil, dcnflag=nil, dcnstatus=nil, cpu=nil, memory=nil, storage=nil, paymode=nil, createtime=nil, periodendtime=nil, instancetype=nil)
1427
+ def initialize(instanceid=nil, instancename=nil, region=nil, zone=nil, vip=nil, vipv6=nil, vport=nil, status=nil, statusdesc=nil, dcnflag=nil, dcnstatus=nil, cpu=nil, memory=nil, storage=nil, paymode=nil, createtime=nil, periodendtime=nil, instancetype=nil, replicaconfig=nil, replicastatus=nil, encryptstatus=nil)
1367
1428
  @InstanceId = instanceid
1368
1429
  @InstanceName = instancename
1369
1430
  @Region = region
@@ -1382,6 +1443,9 @@ module TencentCloud
1382
1443
  @CreateTime = createtime
1383
1444
  @PeriodEndTime = periodendtime
1384
1445
  @InstanceType = instancetype
1446
+ @ReplicaConfig = replicaconfig
1447
+ @ReplicaStatus = replicastatus
1448
+ @EncryptStatus = encryptstatus
1385
1449
  end
1386
1450
 
1387
1451
  def deserialize(params)
@@ -1403,6 +1467,15 @@ module TencentCloud
1403
1467
  @CreateTime = params['CreateTime']
1404
1468
  @PeriodEndTime = params['PeriodEndTime']
1405
1469
  @InstanceType = params['InstanceType']
1470
+ unless params['ReplicaConfig'].nil?
1471
+ @ReplicaConfig = DCNReplicaConfig.new
1472
+ @ReplicaConfig.deserialize(params['ReplicaConfig'])
1473
+ end
1474
+ unless params['ReplicaStatus'].nil?
1475
+ @ReplicaStatus = DCNReplicaStatus.new
1476
+ @ReplicaStatus.deserialize(params['ReplicaStatus'])
1477
+ end
1478
+ @EncryptStatus = params['EncryptStatus']
1406
1479
  end
1407
1480
  end
1408
1481
 
@@ -1416,7 +1489,7 @@ module TencentCloud
1416
1489
  # @type Count: Integer
1417
1490
  # @param FlowId: 关联的流程 Id,可用于查询流程执行状态
1418
1491
  # @type FlowId: Integer
1419
- # @param InstanceIds: 只有创建实例的订单会填充该字段,表示该订单创建的实例的 ID
1492
+ # @param InstanceIds: 只有创建实例且已完成发货的订单会填充该字段,表示该订单创建的实例的 ID
1420
1493
  # 注意:此字段可能返回 null,表示取不到有效值。
1421
1494
  # @type InstanceIds: Array
1422
1495
  # @param PayMode: 付费模式,0后付费/1预付费
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mariadb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.456
4
+ version: 3.0.458
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-11-22 00:00:00.000000000 Z
11
+ date: 2022-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common