tencentcloud-sdk-mariadb 3.0.685 → 3.0.687

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 +64 -12
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 89ffeffa7044be75037b19ff3917ef6f59eb1197
4
- data.tar.gz: 764863c8d913a48ee039cf158256adc85d067dd1
3
+ metadata.gz: 425d6004af5b9c19e80f05f747cbd585faf0aa62
4
+ data.tar.gz: 4c2bd7e5e099fe8213cff5f5e98e1e6d7b321c74
5
5
  SHA512:
6
- metadata.gz: e5d686907ae2c6d59221d7c9e9353448742e6b0ca1291a8e35397cd60faef1e75c5f9439969b90b25d0cc9d905cf613fa780114982cb9ca11e50745e0de635fa
7
- data.tar.gz: abcdfae1e20b9d19a27e4c2b501c7b694be77481db812b7b0d15970135b6c0b6fe1676b713fa4c830b4e31da87c9b0aee5fa190e7b67ece949be91dba318ed22
6
+ metadata.gz: b64b28da4e73ab3a9b4f8312f021d0521fee6dc95e7ff8b52b97989e1b97a6492cc89bfd7ea5222adab6bc56af5d7bb4e6617b527fada70f4a313c47ae102f92
7
+ data.tar.gz: 3872674b15023decbd6d86e17e073139eac52e23d926910b664aa8d4e6b1ed787029b7eb653e94c96a0d83e8a99824ae37f8d4dfe879f277fb69570bd924954a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.685
1
+ 3.0.687
@@ -435,7 +435,7 @@ module TencentCloud
435
435
 
436
436
  # CreateDBInstance请求参数结构体
437
437
  class CreateDBInstanceRequest < TencentCloud::Common::AbstractModel
438
- # @param Zones: 实例节点可用区分布,最多可填两个可用区。当分片规格为一主两从时,其中两个节点在第一个可用区。
438
+ # @param Zones: 实例节点可用区分布,可填写多个可用区。
439
439
  # @type Zones: Array
440
440
  # @param NodeCount: 节点个数大小,可以通过 DescribeDBInstanceSpecs
441
441
  # 查询实例规格获得。
@@ -478,10 +478,12 @@ module TencentCloud
478
478
  # @type DcnRegion: String
479
479
  # @param DcnInstanceId: DCN源实例ID
480
480
  # @type DcnInstanceId: String
481
+ # @param DcnSyncMode: DCN同步模式,0:异步, 1:强同步
482
+ # @type DcnSyncMode: Integer
481
483
 
482
- attr_accessor :Zones, :NodeCount, :Memory, :Storage, :Period, :Count, :AutoVoucher, :VoucherIds, :VpcId, :SubnetId, :ProjectId, :DbVersionId, :InstanceName, :SecurityGroupIds, :AutoRenewFlag, :Ipv6Flag, :ResourceTags, :InitParams, :DcnRegion, :DcnInstanceId
484
+ attr_accessor :Zones, :NodeCount, :Memory, :Storage, :Period, :Count, :AutoVoucher, :VoucherIds, :VpcId, :SubnetId, :ProjectId, :DbVersionId, :InstanceName, :SecurityGroupIds, :AutoRenewFlag, :Ipv6Flag, :ResourceTags, :InitParams, :DcnRegion, :DcnInstanceId, :DcnSyncMode
483
485
 
484
- def initialize(zones=nil, nodecount=nil, memory=nil, storage=nil, period=nil, count=nil, autovoucher=nil, voucherids=nil, vpcid=nil, subnetid=nil, projectid=nil, dbversionid=nil, instancename=nil, securitygroupids=nil, autorenewflag=nil, ipv6flag=nil, resourcetags=nil, initparams=nil, dcnregion=nil, dcninstanceid=nil)
486
+ def initialize(zones=nil, nodecount=nil, memory=nil, storage=nil, period=nil, count=nil, autovoucher=nil, voucherids=nil, vpcid=nil, subnetid=nil, projectid=nil, dbversionid=nil, instancename=nil, securitygroupids=nil, autorenewflag=nil, ipv6flag=nil, resourcetags=nil, initparams=nil, dcnregion=nil, dcninstanceid=nil, dcnsyncmode=nil)
485
487
  @Zones = zones
486
488
  @NodeCount = nodecount
487
489
  @Memory = memory
@@ -502,6 +504,7 @@ module TencentCloud
502
504
  @InitParams = initparams
503
505
  @DcnRegion = dcnregion
504
506
  @DcnInstanceId = dcninstanceid
507
+ @DcnSyncMode = dcnsyncmode
505
508
  end
506
509
 
507
510
  def deserialize(params)
@@ -539,6 +542,7 @@ module TencentCloud
539
542
  end
540
543
  @DcnRegion = params['DcnRegion']
541
544
  @DcnInstanceId = params['DcnInstanceId']
545
+ @DcnSyncMode = params['DcnSyncMode']
542
546
  end
543
547
  end
544
548
 
@@ -620,10 +624,12 @@ module TencentCloud
620
624
  # @type RollbackInstanceId: String
621
625
  # @param RollbackTime: 回档时间
622
626
  # @type RollbackTime: String
627
+ # @param DcnSyncMode: DCN同步模式,0:异步, 1:强同步
628
+ # @type DcnSyncMode: Integer
623
629
 
624
- attr_accessor :GoodsNum, :Memory, :Storage, :ClusterId, :Zone, :ProjectId, :Pid, :Machine, :VpcId, :SubnetId, :DbVersionId, :Manual, :DeviceNo, :SecurityGroupIds, :DcnInstanceId, :DcnRegion, :InstanceName, :ResourceTags, :Ipv6Flag, :InitParams, :NodeNum, :MasterHostId, :SlaveHostIds, :RollbackInstanceId, :RollbackTime
630
+ attr_accessor :GoodsNum, :Memory, :Storage, :ClusterId, :Zone, :ProjectId, :Pid, :Machine, :VpcId, :SubnetId, :DbVersionId, :Manual, :DeviceNo, :SecurityGroupIds, :DcnInstanceId, :DcnRegion, :InstanceName, :ResourceTags, :Ipv6Flag, :InitParams, :NodeNum, :MasterHostId, :SlaveHostIds, :RollbackInstanceId, :RollbackTime, :DcnSyncMode
625
631
 
626
- def initialize(goodsnum=nil, memory=nil, storage=nil, clusterid=nil, zone=nil, projectid=nil, pid=nil, machine=nil, vpcid=nil, subnetid=nil, dbversionid=nil, manual=nil, deviceno=nil, securitygroupids=nil, dcninstanceid=nil, dcnregion=nil, instancename=nil, resourcetags=nil, ipv6flag=nil, initparams=nil, nodenum=nil, masterhostid=nil, slavehostids=nil, rollbackinstanceid=nil, rollbacktime=nil)
632
+ def initialize(goodsnum=nil, memory=nil, storage=nil, clusterid=nil, zone=nil, projectid=nil, pid=nil, machine=nil, vpcid=nil, subnetid=nil, dbversionid=nil, manual=nil, deviceno=nil, securitygroupids=nil, dcninstanceid=nil, dcnregion=nil, instancename=nil, resourcetags=nil, ipv6flag=nil, initparams=nil, nodenum=nil, masterhostid=nil, slavehostids=nil, rollbackinstanceid=nil, rollbacktime=nil, dcnsyncmode=nil)
627
633
  @GoodsNum = goodsnum
628
634
  @Memory = memory
629
635
  @Storage = storage
@@ -649,6 +655,7 @@ module TencentCloud
649
655
  @SlaveHostIds = slavehostids
650
656
  @RollbackInstanceId = rollbackinstanceid
651
657
  @RollbackTime = rollbacktime
658
+ @DcnSyncMode = dcnsyncmode
652
659
  end
653
660
 
654
661
  def deserialize(params)
@@ -691,6 +698,7 @@ module TencentCloud
691
698
  @SlaveHostIds = params['SlaveHostIds']
692
699
  @RollbackInstanceId = params['RollbackInstanceId']
693
700
  @RollbackTime = params['RollbackTime']
701
+ @DcnSyncMode = params['DcnSyncMode']
694
702
  end
695
703
  end
696
704
 
@@ -758,7 +766,7 @@ module TencentCloud
758
766
  # @type RollbackInstanceId: String
759
767
  # @param RollbackTime: 回档时间
760
768
  # @type RollbackTime: String
761
- # @param DcnSyncMode: DCN同步模式,0:普通DCN同步,1:一致性同步
769
+ # @param DcnSyncMode: DCN同步模式,0:异步, 1:强同步
762
770
  # @type DcnSyncMode: Integer
763
771
 
764
772
  attr_accessor :Zones, :NodeCount, :Memory, :Storage, :Count, :ProjectId, :VpcId, :SubnetId, :DbVersionId, :InstanceName, :SecurityGroupIds, :Ipv6Flag, :ResourceTags, :DcnRegion, :DcnInstanceId, :InitParams, :RollbackInstanceId, :RollbackTime, :DcnSyncMode
@@ -1428,10 +1436,28 @@ module TencentCloud
1428
1436
  # @type ReplicaStatus: :class:`Tencentcloud::Mariadb.v20170312.models.DCNReplicaStatus`
1429
1437
  # @param EncryptStatus: 是否开启了 kms
1430
1438
  # @type EncryptStatus: Integer
1431
-
1432
- attr_accessor :InstanceId, :InstanceName, :Region, :Zone, :Vip, :Vipv6, :Vport, :Status, :StatusDesc, :DcnFlag, :DcnStatus, :Cpu, :Memory, :Storage, :PayMode, :CreateTime, :PeriodEndTime, :InstanceType, :ReplicaConfig, :ReplicaStatus, :EncryptStatus
1433
-
1434
- 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)
1439
+ # @param DcnStatusDesc: 实例DCN状态描述信息
1440
+ # @type DcnStatusDesc: String
1441
+ # @param PolarisInstanceId: DCN实例绑定的北极星服务所属的北极星实例Id,若未绑定则为空
1442
+ # @type PolarisInstanceId: String
1443
+ # @param PolarisInstanceName: DCN实例绑定的北极星服务所属的北极星实例名,若未绑定则为空
1444
+ # @type PolarisInstanceName: String
1445
+ # @param PolarisNamespace: DCN实例绑定的北极星服务所属的北极星命名空间,若未绑定则为空
1446
+ # @type PolarisNamespace: String
1447
+ # @param PolarisService: DCN实例绑定的北极星服务,若未绑定则为空
1448
+ # @type PolarisService: String
1449
+ # @param PolarisServiceStatus: DCN实例在北极星服务中的状态 0:未开启; 1:已开启; 2:已隔离; 3:切换中
1450
+ # @type PolarisServiceStatus: Integer
1451
+ # @param PolarisServiceStatusDesc: DCN实例在北极星服务中的状态的描述信息
1452
+ # @type PolarisServiceStatusDesc: String
1453
+ # @param PolarisRegion: 北极星管控地址
1454
+ # @type PolarisRegion: String
1455
+ # @param IsDcnSwitchSupported: 是否支持DCN切换
1456
+ # @type IsDcnSwitchSupported: Integer
1457
+
1458
+ attr_accessor :InstanceId, :InstanceName, :Region, :Zone, :Vip, :Vipv6, :Vport, :Status, :StatusDesc, :DcnFlag, :DcnStatus, :Cpu, :Memory, :Storage, :PayMode, :CreateTime, :PeriodEndTime, :InstanceType, :ReplicaConfig, :ReplicaStatus, :EncryptStatus, :DcnStatusDesc, :PolarisInstanceId, :PolarisInstanceName, :PolarisNamespace, :PolarisService, :PolarisServiceStatus, :PolarisServiceStatusDesc, :PolarisRegion, :IsDcnSwitchSupported
1459
+
1460
+ 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, dcnstatusdesc=nil, polarisinstanceid=nil, polarisinstancename=nil, polarisnamespace=nil, polarisservice=nil, polarisservicestatus=nil, polarisservicestatusdesc=nil, polarisregion=nil, isdcnswitchsupported=nil)
1435
1461
  @InstanceId = instanceid
1436
1462
  @InstanceName = instancename
1437
1463
  @Region = region
@@ -1453,6 +1479,15 @@ module TencentCloud
1453
1479
  @ReplicaConfig = replicaconfig
1454
1480
  @ReplicaStatus = replicastatus
1455
1481
  @EncryptStatus = encryptstatus
1482
+ @DcnStatusDesc = dcnstatusdesc
1483
+ @PolarisInstanceId = polarisinstanceid
1484
+ @PolarisInstanceName = polarisinstancename
1485
+ @PolarisNamespace = polarisnamespace
1486
+ @PolarisService = polarisservice
1487
+ @PolarisServiceStatus = polarisservicestatus
1488
+ @PolarisServiceStatusDesc = polarisservicestatusdesc
1489
+ @PolarisRegion = polarisregion
1490
+ @IsDcnSwitchSupported = isdcnswitchsupported
1456
1491
  end
1457
1492
 
1458
1493
  def deserialize(params)
@@ -1483,6 +1518,15 @@ module TencentCloud
1483
1518
  @ReplicaStatus.deserialize(params['ReplicaStatus'])
1484
1519
  end
1485
1520
  @EncryptStatus = params['EncryptStatus']
1521
+ @DcnStatusDesc = params['DcnStatusDesc']
1522
+ @PolarisInstanceId = params['PolarisInstanceId']
1523
+ @PolarisInstanceName = params['PolarisInstanceName']
1524
+ @PolarisNamespace = params['PolarisNamespace']
1525
+ @PolarisService = params['PolarisService']
1526
+ @PolarisServiceStatus = params['PolarisServiceStatus']
1527
+ @PolarisServiceStatusDesc = params['PolarisServiceStatusDesc']
1528
+ @PolarisRegion = params['PolarisRegion']
1529
+ @IsDcnSwitchSupported = params['IsDcnSwitchSupported']
1486
1530
  end
1487
1531
  end
1488
1532
 
@@ -2000,12 +2044,16 @@ module TencentCloud
2000
2044
  # @type ReservedNetResources: Array
2001
2045
  # @param IsPhysicalReplicationSupported: 是否支持物理复制
2002
2046
  # @type IsPhysicalReplicationSupported: Boolean
2047
+ # @param IsDcnStrongSyncSupported: 是否支持强同步DCN
2048
+ # @type IsDcnStrongSyncSupported: Integer
2049
+ # @param IsDcnSwitchSupported: 是否支持DCN切换
2050
+ # @type IsDcnSwitchSupported: Integer
2003
2051
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2004
2052
  # @type RequestId: String
2005
2053
 
2006
- attr_accessor :InstanceId, :InstanceName, :Status, :StatusDesc, :Vip, :Vport, :IsTmp, :NodeCount, :Region, :Zone, :VpcId, :SubnetId, :WanStatus, :WanDomain, :WanVip, :WanPort, :ProjectId, :TdsqlVersion, :Memory, :Storage, :MasterZone, :SlaveZones, :AutoRenewFlag, :ExclusterId, :PayMode, :CreateTime, :IsAuditSupported, :PeriodEndTime, :Machine, :StorageUsage, :LogStorage, :IsEncryptSupported, :Vip6, :Cpu, :Pid, :Qps, :Ipv6Flag, :WanVipv6, :WanStatusIpv6, :WanPortIpv6, :DbEngine, :DbVersion, :ResourceTags, :DcnFlag, :DcnStatus, :DcnDstNum, :InstanceType, :NodesInfo, :IsMaxUserConnectionsSupported, :DbVersionId, :EncryptStatus, :ReplicaConfig, :ReplicaStatus, :ExclusterType, :RsAccessStrategy, :ReservedNetResources, :IsPhysicalReplicationSupported, :RequestId
2054
+ attr_accessor :InstanceId, :InstanceName, :Status, :StatusDesc, :Vip, :Vport, :IsTmp, :NodeCount, :Region, :Zone, :VpcId, :SubnetId, :WanStatus, :WanDomain, :WanVip, :WanPort, :ProjectId, :TdsqlVersion, :Memory, :Storage, :MasterZone, :SlaveZones, :AutoRenewFlag, :ExclusterId, :PayMode, :CreateTime, :IsAuditSupported, :PeriodEndTime, :Machine, :StorageUsage, :LogStorage, :IsEncryptSupported, :Vip6, :Cpu, :Pid, :Qps, :Ipv6Flag, :WanVipv6, :WanStatusIpv6, :WanPortIpv6, :DbEngine, :DbVersion, :ResourceTags, :DcnFlag, :DcnStatus, :DcnDstNum, :InstanceType, :NodesInfo, :IsMaxUserConnectionsSupported, :DbVersionId, :EncryptStatus, :ReplicaConfig, :ReplicaStatus, :ExclusterType, :RsAccessStrategy, :ReservedNetResources, :IsPhysicalReplicationSupported, :IsDcnStrongSyncSupported, :IsDcnSwitchSupported, :RequestId
2007
2055
 
2008
- def initialize(instanceid=nil, instancename=nil, status=nil, statusdesc=nil, vip=nil, vport=nil, istmp=nil, nodecount=nil, region=nil, zone=nil, vpcid=nil, subnetid=nil, wanstatus=nil, wandomain=nil, wanvip=nil, wanport=nil, projectid=nil, tdsqlversion=nil, memory=nil, storage=nil, masterzone=nil, slavezones=nil, autorenewflag=nil, exclusterid=nil, paymode=nil, createtime=nil, isauditsupported=nil, periodendtime=nil, machine=nil, storageusage=nil, logstorage=nil, isencryptsupported=nil, vip6=nil, cpu=nil, pid=nil, qps=nil, ipv6flag=nil, wanvipv6=nil, wanstatusipv6=nil, wanportipv6=nil, dbengine=nil, dbversion=nil, resourcetags=nil, dcnflag=nil, dcnstatus=nil, dcndstnum=nil, instancetype=nil, nodesinfo=nil, ismaxuserconnectionssupported=nil, dbversionid=nil, encryptstatus=nil, replicaconfig=nil, replicastatus=nil, exclustertype=nil, rsaccessstrategy=nil, reservednetresources=nil, isphysicalreplicationsupported=nil, requestid=nil)
2056
+ def initialize(instanceid=nil, instancename=nil, status=nil, statusdesc=nil, vip=nil, vport=nil, istmp=nil, nodecount=nil, region=nil, zone=nil, vpcid=nil, subnetid=nil, wanstatus=nil, wandomain=nil, wanvip=nil, wanport=nil, projectid=nil, tdsqlversion=nil, memory=nil, storage=nil, masterzone=nil, slavezones=nil, autorenewflag=nil, exclusterid=nil, paymode=nil, createtime=nil, isauditsupported=nil, periodendtime=nil, machine=nil, storageusage=nil, logstorage=nil, isencryptsupported=nil, vip6=nil, cpu=nil, pid=nil, qps=nil, ipv6flag=nil, wanvipv6=nil, wanstatusipv6=nil, wanportipv6=nil, dbengine=nil, dbversion=nil, resourcetags=nil, dcnflag=nil, dcnstatus=nil, dcndstnum=nil, instancetype=nil, nodesinfo=nil, ismaxuserconnectionssupported=nil, dbversionid=nil, encryptstatus=nil, replicaconfig=nil, replicastatus=nil, exclustertype=nil, rsaccessstrategy=nil, reservednetresources=nil, isphysicalreplicationsupported=nil, isdcnstrongsyncsupported=nil, isdcnswitchsupported=nil, requestid=nil)
2009
2057
  @InstanceId = instanceid
2010
2058
  @InstanceName = instancename
2011
2059
  @Status = status
@@ -2063,6 +2111,8 @@ module TencentCloud
2063
2111
  @RsAccessStrategy = rsaccessstrategy
2064
2112
  @ReservedNetResources = reservednetresources
2065
2113
  @IsPhysicalReplicationSupported = isphysicalreplicationsupported
2114
+ @IsDcnStrongSyncSupported = isdcnstrongsyncsupported
2115
+ @IsDcnSwitchSupported = isdcnswitchsupported
2066
2116
  @RequestId = requestid
2067
2117
  end
2068
2118
 
@@ -2151,6 +2201,8 @@ module TencentCloud
2151
2201
  end
2152
2202
  end
2153
2203
  @IsPhysicalReplicationSupported = params['IsPhysicalReplicationSupported']
2204
+ @IsDcnStrongSyncSupported = params['IsDcnStrongSyncSupported']
2205
+ @IsDcnSwitchSupported = params['IsDcnSwitchSupported']
2154
2206
  @RequestId = params['RequestId']
2155
2207
  end
2156
2208
  end
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.685
4
+ version: 3.0.687
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-26 00:00:00.000000000 Z
11
+ date: 2023-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common