tencentcloud-sdk-dcdb 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/v20180411/models.rb +64 -12
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 417950df3fef0cac230e2052e5833a7dcc40f068
4
- data.tar.gz: 7c6130b11f130cb84a19e7cd8efc71c19045e657
3
+ metadata.gz: 912c22b4e17570e5e0fb37041c8addaef446a788
4
+ data.tar.gz: dcfd061868727902f250f54f9da78e05d6591919
5
5
  SHA512:
6
- metadata.gz: 381c6be3b975081c932e8186c8e71cf993ce60e1edd59480d8e610c2e5868766b0688677387e86a31ab6e4e89ddb1ff3cb7a563b17479c92150245e1a52e53fe
7
- data.tar.gz: c8c6e9c1fdc321a9f89ecea2f287dc59233e534f5c1a7f7a23ef3283182b73db3be26ac16bf7760c7ebf359b542542a68698fce5f56fd94f82d04a94e3319c70
6
+ metadata.gz: 08985bba45190043c49a57b2e790f5ae16a03e1a31e5646cd72337f08f78f7fd89b4bba269ebb64dcd35ca46b2693d53a20fc6c0388e11522b2e1c057078c831
7
+ data.tar.gz: 91376854a153f32b443b3997c236ed4173910eac7b81b077c91f7ceeec057bd1de20b645606a75a83f6d61b9121d08a0ae66aa793871d96b618d6ef33ba3b528
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.685
1
+ 3.0.687
@@ -504,7 +504,7 @@ module TencentCloud
504
504
 
505
505
  # CreateDCDBInstance请求参数结构体
506
506
  class CreateDCDBInstanceRequest < TencentCloud::Common::AbstractModel
507
- # @param Zones: 分片节点可用区分布,最多可填两个可用区。当分片规格为一主两从时,其中两个节点在第一个可用区。
507
+ # @param Zones: 分片节点可用区分布,可填写多个可用区。
508
508
  # 注意当前可售卖的可用区需要通过DescribeDCDBSaleInfo接口拉取。
509
509
  # @type Zones: Array
510
510
  # @param Period: 欲购买的时长,单位:月。
@@ -552,10 +552,12 @@ module TencentCloud
552
552
  # @type AutoRenewFlag: Integer
553
553
  # @param SecurityGroupIds: 安全组ids,安全组可以传数组形式,兼容之前SecurityGroupId参数
554
554
  # @type SecurityGroupIds: Array
555
+ # @param DcnSyncMode: DCN同步模式,0:异步, 1:强同步
556
+ # @type DcnSyncMode: Integer
555
557
 
556
- attr_accessor :Zones, :Period, :ShardMemory, :ShardStorage, :ShardNodeCount, :ShardCount, :Count, :ProjectId, :VpcId, :SubnetId, :DbVersionId, :AutoVoucher, :VoucherIds, :SecurityGroupId, :InstanceName, :Ipv6Flag, :ResourceTags, :InitParams, :DcnRegion, :DcnInstanceId, :AutoRenewFlag, :SecurityGroupIds
558
+ attr_accessor :Zones, :Period, :ShardMemory, :ShardStorage, :ShardNodeCount, :ShardCount, :Count, :ProjectId, :VpcId, :SubnetId, :DbVersionId, :AutoVoucher, :VoucherIds, :SecurityGroupId, :InstanceName, :Ipv6Flag, :ResourceTags, :InitParams, :DcnRegion, :DcnInstanceId, :AutoRenewFlag, :SecurityGroupIds, :DcnSyncMode
557
559
 
558
- def initialize(zones=nil, period=nil, shardmemory=nil, shardstorage=nil, shardnodecount=nil, shardcount=nil, count=nil, projectid=nil, vpcid=nil, subnetid=nil, dbversionid=nil, autovoucher=nil, voucherids=nil, securitygroupid=nil, instancename=nil, ipv6flag=nil, resourcetags=nil, initparams=nil, dcnregion=nil, dcninstanceid=nil, autorenewflag=nil, securitygroupids=nil)
560
+ def initialize(zones=nil, period=nil, shardmemory=nil, shardstorage=nil, shardnodecount=nil, shardcount=nil, count=nil, projectid=nil, vpcid=nil, subnetid=nil, dbversionid=nil, autovoucher=nil, voucherids=nil, securitygroupid=nil, instancename=nil, ipv6flag=nil, resourcetags=nil, initparams=nil, dcnregion=nil, dcninstanceid=nil, autorenewflag=nil, securitygroupids=nil, dcnsyncmode=nil)
559
561
  @Zones = zones
560
562
  @Period = period
561
563
  @ShardMemory = shardmemory
@@ -578,6 +580,7 @@ module TencentCloud
578
580
  @DcnInstanceId = dcninstanceid
579
581
  @AutoRenewFlag = autorenewflag
580
582
  @SecurityGroupIds = securitygroupids
583
+ @DcnSyncMode = dcnsyncmode
581
584
  end
582
585
 
583
586
  def deserialize(params)
@@ -617,6 +620,7 @@ module TencentCloud
617
620
  @DcnInstanceId = params['DcnInstanceId']
618
621
  @AutoRenewFlag = params['AutoRenewFlag']
619
622
  @SecurityGroupIds = params['SecurityGroupIds']
623
+ @DcnSyncMode = params['DcnSyncMode']
620
624
  end
621
625
  end
622
626
 
@@ -706,10 +710,12 @@ module TencentCloud
706
710
  # @type RollbackInstanceId: String
707
711
  # @param RollbackTime: 回档时间
708
712
  # @type RollbackTime: String
713
+ # @param DcnSyncMode: DCN同步模式,0:异步, 1:强同步
714
+ # @type DcnSyncMode: Integer
709
715
 
710
- attr_accessor :GoodsNum, :ShardNum, :ShardMemory, :ShardStorage, :ClusterId, :Zone, :ProjectId, :Cpu, :VpcId, :SubnetId, :ShardMachine, :ShardNodeNum, :ShardNodeCpu, :ShardNodeMemory, :ShardNodeStorage, :DbVersionId, :SecurityGroupId, :SecurityGroupIds, :DcnInstanceId, :DcnRegion, :InstanceName, :ResourceTags, :Ipv6Flag, :Pid, :InitParams, :MasterHostId, :SlaveHostIds, :RollbackInstanceId, :RollbackTime
716
+ attr_accessor :GoodsNum, :ShardNum, :ShardMemory, :ShardStorage, :ClusterId, :Zone, :ProjectId, :Cpu, :VpcId, :SubnetId, :ShardMachine, :ShardNodeNum, :ShardNodeCpu, :ShardNodeMemory, :ShardNodeStorage, :DbVersionId, :SecurityGroupId, :SecurityGroupIds, :DcnInstanceId, :DcnRegion, :InstanceName, :ResourceTags, :Ipv6Flag, :Pid, :InitParams, :MasterHostId, :SlaveHostIds, :RollbackInstanceId, :RollbackTime, :DcnSyncMode
711
717
 
712
- def initialize(goodsnum=nil, shardnum=nil, shardmemory=nil, shardstorage=nil, clusterid=nil, zone=nil, projectid=nil, cpu=nil, vpcid=nil, subnetid=nil, shardmachine=nil, shardnodenum=nil, shardnodecpu=nil, shardnodememory=nil, shardnodestorage=nil, dbversionid=nil, securitygroupid=nil, securitygroupids=nil, dcninstanceid=nil, dcnregion=nil, instancename=nil, resourcetags=nil, ipv6flag=nil, pid=nil, initparams=nil, masterhostid=nil, slavehostids=nil, rollbackinstanceid=nil, rollbacktime=nil)
718
+ def initialize(goodsnum=nil, shardnum=nil, shardmemory=nil, shardstorage=nil, clusterid=nil, zone=nil, projectid=nil, cpu=nil, vpcid=nil, subnetid=nil, shardmachine=nil, shardnodenum=nil, shardnodecpu=nil, shardnodememory=nil, shardnodestorage=nil, dbversionid=nil, securitygroupid=nil, securitygroupids=nil, dcninstanceid=nil, dcnregion=nil, instancename=nil, resourcetags=nil, ipv6flag=nil, pid=nil, initparams=nil, masterhostid=nil, slavehostids=nil, rollbackinstanceid=nil, rollbacktime=nil, dcnsyncmode=nil)
713
719
  @GoodsNum = goodsnum
714
720
  @ShardNum = shardnum
715
721
  @ShardMemory = shardmemory
@@ -739,6 +745,7 @@ module TencentCloud
739
745
  @SlaveHostIds = slavehostids
740
746
  @RollbackInstanceId = rollbackinstanceid
741
747
  @RollbackTime = rollbacktime
748
+ @DcnSyncMode = dcnsyncmode
742
749
  end
743
750
 
744
751
  def deserialize(params)
@@ -785,6 +792,7 @@ module TencentCloud
785
792
  @SlaveHostIds = params['SlaveHostIds']
786
793
  @RollbackInstanceId = params['RollbackInstanceId']
787
794
  @RollbackTime = params['RollbackTime']
795
+ @DcnSyncMode = params['DcnSyncMode']
788
796
  end
789
797
  end
790
798
 
@@ -860,7 +868,7 @@ module TencentCloud
860
868
  # @type RollbackTime: String
861
869
  # @param SecurityGroupIds: 安全组ids,安全组可以传数组形式,兼容之前SecurityGroupId参数
862
870
  # @type SecurityGroupIds: Array
863
- # @param DcnSyncMode: DCN同步模式,0:普通DCN同步,1:一致性同步
871
+ # @param DcnSyncMode: DCN同步模式,0:异步, 1:强同步
864
872
  # @type DcnSyncMode: Integer
865
873
 
866
874
  attr_accessor :ShardMemory, :ShardStorage, :ShardNodeCount, :ShardCount, :Count, :ProjectId, :VpcId, :SubnetId, :ShardCpu, :DbVersionId, :Zones, :SecurityGroupId, :InstanceName, :Ipv6Flag, :ResourceTags, :DcnRegion, :DcnInstanceId, :InitParams, :RollbackInstanceId, :RollbackTime, :SecurityGroupIds, :DcnSyncMode
@@ -1561,10 +1569,28 @@ module TencentCloud
1561
1569
  # @type InstanceType: Integer
1562
1570
  # @param EncryptStatus: 是否开启了 kms
1563
1571
  # @type EncryptStatus: Integer
1564
-
1565
- attr_accessor :InstanceId, :InstanceName, :Region, :Zone, :Vip, :Vipv6, :Vport, :Status, :StatusDesc, :DcnFlag, :DcnStatus, :Cpu, :Memory, :Storage, :PayMode, :CreateTime, :PeriodEndTime, :InstanceType, :EncryptStatus
1566
-
1567
- 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, encryptstatus=nil)
1572
+ # @param DcnStatusDesc: 实例DCN状态描述信息
1573
+ # @type DcnStatusDesc: String
1574
+ # @param PolarisInstanceId: DCN实例绑定的北极星服务所属的北极星实例Id,若未绑定则为空
1575
+ # @type PolarisInstanceId: String
1576
+ # @param PolarisInstanceName: DCN实例绑定的北极星服务所属的北极星实例名,若未绑定则为空
1577
+ # @type PolarisInstanceName: String
1578
+ # @param PolarisNamespace: DCN实例绑定的北极星服务所属的北极星命名空间,若未绑定则为空
1579
+ # @type PolarisNamespace: String
1580
+ # @param PolarisService: DCN实例绑定的北极星服务,若未绑定则为空
1581
+ # @type PolarisService: String
1582
+ # @param PolarisServiceStatus: DCN实例在北极星服务中的状态 0:未开启; 1:已开启; 2:已隔离; 3:切换中
1583
+ # @type PolarisServiceStatus: Integer
1584
+ # @param PolarisServiceStatusDesc: DCN实例在北极星服务中的状态的描述信息
1585
+ # @type PolarisServiceStatusDesc: String
1586
+ # @param PolarisRegion: 北极星管控地域
1587
+ # @type PolarisRegion: String
1588
+ # @param IsDcnSwitchSupported: 是否支持DCN切换
1589
+ # @type IsDcnSwitchSupported: Integer
1590
+
1591
+ attr_accessor :InstanceId, :InstanceName, :Region, :Zone, :Vip, :Vipv6, :Vport, :Status, :StatusDesc, :DcnFlag, :DcnStatus, :Cpu, :Memory, :Storage, :PayMode, :CreateTime, :PeriodEndTime, :InstanceType, :EncryptStatus, :DcnStatusDesc, :PolarisInstanceId, :PolarisInstanceName, :PolarisNamespace, :PolarisService, :PolarisServiceStatus, :PolarisServiceStatusDesc, :PolarisRegion, :IsDcnSwitchSupported
1592
+
1593
+ 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, encryptstatus=nil, dcnstatusdesc=nil, polarisinstanceid=nil, polarisinstancename=nil, polarisnamespace=nil, polarisservice=nil, polarisservicestatus=nil, polarisservicestatusdesc=nil, polarisregion=nil, isdcnswitchsupported=nil)
1568
1594
  @InstanceId = instanceid
1569
1595
  @InstanceName = instancename
1570
1596
  @Region = region
@@ -1584,6 +1610,15 @@ module TencentCloud
1584
1610
  @PeriodEndTime = periodendtime
1585
1611
  @InstanceType = instancetype
1586
1612
  @EncryptStatus = encryptstatus
1613
+ @DcnStatusDesc = dcnstatusdesc
1614
+ @PolarisInstanceId = polarisinstanceid
1615
+ @PolarisInstanceName = polarisinstancename
1616
+ @PolarisNamespace = polarisnamespace
1617
+ @PolarisService = polarisservice
1618
+ @PolarisServiceStatus = polarisservicestatus
1619
+ @PolarisServiceStatusDesc = polarisservicestatusdesc
1620
+ @PolarisRegion = polarisregion
1621
+ @IsDcnSwitchSupported = isdcnswitchsupported
1587
1622
  end
1588
1623
 
1589
1624
  def deserialize(params)
@@ -1606,6 +1641,15 @@ module TencentCloud
1606
1641
  @PeriodEndTime = params['PeriodEndTime']
1607
1642
  @InstanceType = params['InstanceType']
1608
1643
  @EncryptStatus = params['EncryptStatus']
1644
+ @DcnStatusDesc = params['DcnStatusDesc']
1645
+ @PolarisInstanceId = params['PolarisInstanceId']
1646
+ @PolarisInstanceName = params['PolarisInstanceName']
1647
+ @PolarisNamespace = params['PolarisNamespace']
1648
+ @PolarisService = params['PolarisService']
1649
+ @PolarisServiceStatus = params['PolarisServiceStatus']
1650
+ @PolarisServiceStatusDesc = params['PolarisServiceStatusDesc']
1651
+ @PolarisRegion = params['PolarisRegion']
1652
+ @IsDcnSwitchSupported = params['IsDcnSwitchSupported']
1609
1653
  end
1610
1654
  end
1611
1655
 
@@ -2429,12 +2473,16 @@ module TencentCloud
2429
2473
  # @type ReservedNetResources: Array
2430
2474
  # @param IsPhysicalReplicationSupported: 是否支持物理复制
2431
2475
  # @type IsPhysicalReplicationSupported: Boolean
2476
+ # @param IsDcnStrongSyncSupported: 是否支持强同步DCN
2477
+ # @type IsDcnStrongSyncSupported: Integer
2478
+ # @param IsDcnSwitchSupported: 是否支持DCN切换
2479
+ # @type IsDcnSwitchSupported: Integer
2432
2480
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2433
2481
  # @type RequestId: String
2434
2482
 
2435
- attr_accessor :InstanceId, :InstanceName, :Status, :StatusDesc, :Vip, :Vport, :NodeCount, :Region, :VpcId, :SubnetId, :WanStatus, :WanDomain, :WanVip, :WanPort, :ProjectId, :AutoRenewFlag, :ExclusterId, :PayMode, :CreateTime, :PeriodEndTime, :DbVersion, :IsAuditSupported, :IsEncryptSupported, :Machine, :Memory, :Storage, :StorageUsage, :LogStorage, :Pid, :MasterZone, :SlaveZones, :Shards, :Vip6, :Cpu, :Qps, :DbEngine, :Ipv6Flag, :WanVipv6, :WanStatusIpv6, :WanPortIpv6, :ResourceTags, :DcnFlag, :DcnStatus, :DcnDstNum, :InstanceType, :IsMaxUserConnectionsSupported, :DbVersionId, :EncryptStatus, :ExclusterType, :RsAccessStrategy, :ReservedNetResources, :IsPhysicalReplicationSupported, :RequestId
2483
+ attr_accessor :InstanceId, :InstanceName, :Status, :StatusDesc, :Vip, :Vport, :NodeCount, :Region, :VpcId, :SubnetId, :WanStatus, :WanDomain, :WanVip, :WanPort, :ProjectId, :AutoRenewFlag, :ExclusterId, :PayMode, :CreateTime, :PeriodEndTime, :DbVersion, :IsAuditSupported, :IsEncryptSupported, :Machine, :Memory, :Storage, :StorageUsage, :LogStorage, :Pid, :MasterZone, :SlaveZones, :Shards, :Vip6, :Cpu, :Qps, :DbEngine, :Ipv6Flag, :WanVipv6, :WanStatusIpv6, :WanPortIpv6, :ResourceTags, :DcnFlag, :DcnStatus, :DcnDstNum, :InstanceType, :IsMaxUserConnectionsSupported, :DbVersionId, :EncryptStatus, :ExclusterType, :RsAccessStrategy, :ReservedNetResources, :IsPhysicalReplicationSupported, :IsDcnStrongSyncSupported, :IsDcnSwitchSupported, :RequestId
2436
2484
 
2437
- def initialize(instanceid=nil, instancename=nil, status=nil, statusdesc=nil, vip=nil, vport=nil, nodecount=nil, region=nil, vpcid=nil, subnetid=nil, wanstatus=nil, wandomain=nil, wanvip=nil, wanport=nil, projectid=nil, autorenewflag=nil, exclusterid=nil, paymode=nil, createtime=nil, periodendtime=nil, dbversion=nil, isauditsupported=nil, isencryptsupported=nil, machine=nil, memory=nil, storage=nil, storageusage=nil, logstorage=nil, pid=nil, masterzone=nil, slavezones=nil, shards=nil, vip6=nil, cpu=nil, qps=nil, dbengine=nil, ipv6flag=nil, wanvipv6=nil, wanstatusipv6=nil, wanportipv6=nil, resourcetags=nil, dcnflag=nil, dcnstatus=nil, dcndstnum=nil, instancetype=nil, ismaxuserconnectionssupported=nil, dbversionid=nil, encryptstatus=nil, exclustertype=nil, rsaccessstrategy=nil, reservednetresources=nil, isphysicalreplicationsupported=nil, requestid=nil)
2485
+ def initialize(instanceid=nil, instancename=nil, status=nil, statusdesc=nil, vip=nil, vport=nil, nodecount=nil, region=nil, vpcid=nil, subnetid=nil, wanstatus=nil, wandomain=nil, wanvip=nil, wanport=nil, projectid=nil, autorenewflag=nil, exclusterid=nil, paymode=nil, createtime=nil, periodendtime=nil, dbversion=nil, isauditsupported=nil, isencryptsupported=nil, machine=nil, memory=nil, storage=nil, storageusage=nil, logstorage=nil, pid=nil, masterzone=nil, slavezones=nil, shards=nil, vip6=nil, cpu=nil, qps=nil, dbengine=nil, ipv6flag=nil, wanvipv6=nil, wanstatusipv6=nil, wanportipv6=nil, resourcetags=nil, dcnflag=nil, dcnstatus=nil, dcndstnum=nil, instancetype=nil, ismaxuserconnectionssupported=nil, dbversionid=nil, encryptstatus=nil, exclustertype=nil, rsaccessstrategy=nil, reservednetresources=nil, isphysicalreplicationsupported=nil, isdcnstrongsyncsupported=nil, isdcnswitchsupported=nil, requestid=nil)
2438
2486
  @InstanceId = instanceid
2439
2487
  @InstanceName = instancename
2440
2488
  @Status = status
@@ -2487,6 +2535,8 @@ module TencentCloud
2487
2535
  @RsAccessStrategy = rsaccessstrategy
2488
2536
  @ReservedNetResources = reservednetresources
2489
2537
  @IsPhysicalReplicationSupported = isphysicalreplicationsupported
2538
+ @IsDcnStrongSyncSupported = isdcnstrongsyncsupported
2539
+ @IsDcnSwitchSupported = isdcnswitchsupported
2490
2540
  @RequestId = requestid
2491
2541
  end
2492
2542
 
@@ -2564,6 +2614,8 @@ module TencentCloud
2564
2614
  end
2565
2615
  end
2566
2616
  @IsPhysicalReplicationSupported = params['IsPhysicalReplicationSupported']
2617
+ @IsDcnStrongSyncSupported = params['IsDcnStrongSyncSupported']
2618
+ @IsDcnSwitchSupported = params['IsDcnSwitchSupported']
2567
2619
  @RequestId = params['RequestId']
2568
2620
  end
2569
2621
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dcdb
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