tencentcloud-sdk-dcdb 3.0.1031 → 3.0.1032
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/v20180411/models.rb +63 -18
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f19a08d184d72edae368a3588b6ff6971ea53810
|
4
|
+
data.tar.gz: 8eadeb3816e6fa6bb65bb46edc5a9b7e825d36d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6636e43fe91882e60ca24b2a764a1bdb3f936919ddb77dae75c8b05dfc553e5abc5bdd6b2afe49ff3f566d1eed1a6180e4cce85bbeb658f5e4dde29c6f0ff5d7
|
7
|
+
data.tar.gz: 2519216a6479f6d37b5dbcdabc8385eaf726262f7ad9880c63e1fb46f59ebfbadfb675bc262e603c30df63058b8136d9b042af6d394cea5ca92779843c1505a0
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1032
|
data/lib/v20180411/models.rb
CHANGED
@@ -198,19 +198,23 @@ module TencentCloud
|
|
198
198
|
# @type Role: String
|
199
199
|
# @param ShardId: 节点所属分片的分片ID
|
200
200
|
# @type ShardId: String
|
201
|
+
# @param Zone: 节点所在可用区
|
202
|
+
# @type Zone: String
|
201
203
|
|
202
|
-
attr_accessor :NodeId, :Role, :ShardId
|
204
|
+
attr_accessor :NodeId, :Role, :ShardId, :Zone
|
203
205
|
|
204
|
-
def initialize(nodeid=nil, role=nil, shardid=nil)
|
206
|
+
def initialize(nodeid=nil, role=nil, shardid=nil, zone=nil)
|
205
207
|
@NodeId = nodeid
|
206
208
|
@Role = role
|
207
209
|
@ShardId = shardid
|
210
|
+
@Zone = zone
|
208
211
|
end
|
209
212
|
|
210
213
|
def deserialize(params)
|
211
214
|
@NodeId = params['NodeId']
|
212
215
|
@Role = params['Role']
|
213
216
|
@ShardId = params['ShardId']
|
217
|
+
@Zone = params['Zone']
|
214
218
|
end
|
215
219
|
end
|
216
220
|
|
@@ -643,10 +647,12 @@ module TencentCloud
|
|
643
647
|
# @type SecurityGroupIds: Array
|
644
648
|
# @param DcnSyncMode: DCN同步模式,0:异步, 1:强同步
|
645
649
|
# @type DcnSyncMode: Integer
|
650
|
+
# @param CpuType: Cpu类型,如:英特尔:Intel/AMD,海光:Hygon,默认Intel/AMD
|
651
|
+
# @type CpuType: String
|
646
652
|
|
647
|
-
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
|
653
|
+
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, :CpuType
|
648
654
|
|
649
|
-
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)
|
655
|
+
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, cputype=nil)
|
650
656
|
@Zones = zones
|
651
657
|
@Period = period
|
652
658
|
@ShardMemory = shardmemory
|
@@ -670,6 +676,7 @@ module TencentCloud
|
|
670
676
|
@AutoRenewFlag = autorenewflag
|
671
677
|
@SecurityGroupIds = securitygroupids
|
672
678
|
@DcnSyncMode = dcnsyncmode
|
679
|
+
@CpuType = cputype
|
673
680
|
end
|
674
681
|
|
675
682
|
def deserialize(params)
|
@@ -710,6 +717,7 @@ module TencentCloud
|
|
710
717
|
@AutoRenewFlag = params['AutoRenewFlag']
|
711
718
|
@SecurityGroupIds = params['SecurityGroupIds']
|
712
719
|
@DcnSyncMode = params['DcnSyncMode']
|
720
|
+
@CpuType = params['CpuType']
|
713
721
|
end
|
714
722
|
end
|
715
723
|
|
@@ -958,10 +966,12 @@ module TencentCloud
|
|
958
966
|
# @type SecurityGroupIds: Array
|
959
967
|
# @param DcnSyncMode: DCN同步模式,0:异步, 1:强同步
|
960
968
|
# @type DcnSyncMode: Integer
|
969
|
+
# @param CpuType: Cpu类型,如:英特尔:Intel/AMD,海光:Hygon,默认Intel/AMD
|
970
|
+
# @type CpuType: String
|
961
971
|
|
962
|
-
attr_accessor :ShardMemory, :ShardStorage, :ShardNodeCount, :ShardCount, :Count, :ProjectId, :VpcId, :SubnetId, :ShardCpu, :DbVersionId, :Zones, :SecurityGroupId, :InstanceName, :Ipv6Flag, :ResourceTags, :DcnRegion, :DcnInstanceId, :InitParams, :RollbackInstanceId, :RollbackTime, :SecurityGroupIds, :DcnSyncMode
|
972
|
+
attr_accessor :ShardMemory, :ShardStorage, :ShardNodeCount, :ShardCount, :Count, :ProjectId, :VpcId, :SubnetId, :ShardCpu, :DbVersionId, :Zones, :SecurityGroupId, :InstanceName, :Ipv6Flag, :ResourceTags, :DcnRegion, :DcnInstanceId, :InitParams, :RollbackInstanceId, :RollbackTime, :SecurityGroupIds, :DcnSyncMode, :CpuType
|
963
973
|
|
964
|
-
def initialize(shardmemory=nil, shardstorage=nil, shardnodecount=nil, shardcount=nil, count=nil, projectid=nil, vpcid=nil, subnetid=nil, shardcpu=nil, dbversionid=nil, zones=nil, securitygroupid=nil, instancename=nil, ipv6flag=nil, resourcetags=nil, dcnregion=nil, dcninstanceid=nil, initparams=nil, rollbackinstanceid=nil, rollbacktime=nil, securitygroupids=nil, dcnsyncmode=nil)
|
974
|
+
def initialize(shardmemory=nil, shardstorage=nil, shardnodecount=nil, shardcount=nil, count=nil, projectid=nil, vpcid=nil, subnetid=nil, shardcpu=nil, dbversionid=nil, zones=nil, securitygroupid=nil, instancename=nil, ipv6flag=nil, resourcetags=nil, dcnregion=nil, dcninstanceid=nil, initparams=nil, rollbackinstanceid=nil, rollbacktime=nil, securitygroupids=nil, dcnsyncmode=nil, cputype=nil)
|
965
975
|
@ShardMemory = shardmemory
|
966
976
|
@ShardStorage = shardstorage
|
967
977
|
@ShardNodeCount = shardnodecount
|
@@ -984,6 +994,7 @@ module TencentCloud
|
|
984
994
|
@RollbackTime = rollbacktime
|
985
995
|
@SecurityGroupIds = securitygroupids
|
986
996
|
@DcnSyncMode = dcnsyncmode
|
997
|
+
@CpuType = cputype
|
987
998
|
end
|
988
999
|
|
989
1000
|
def deserialize(params)
|
@@ -1023,6 +1034,7 @@ module TencentCloud
|
|
1023
1034
|
@RollbackTime = params['RollbackTime']
|
1024
1035
|
@SecurityGroupIds = params['SecurityGroupIds']
|
1025
1036
|
@DcnSyncMode = params['DcnSyncMode']
|
1037
|
+
@CpuType = params['CpuType']
|
1026
1038
|
end
|
1027
1039
|
end
|
1028
1040
|
|
@@ -2765,12 +2777,14 @@ module TencentCloud
|
|
2765
2777
|
# @type IsDcnStrongSyncSupported: Integer
|
2766
2778
|
# @param IsDcnSwitchSupported: 是否支持DCN切换
|
2767
2779
|
# @type IsDcnSwitchSupported: Integer
|
2780
|
+
# @param CpuType: cpu类型,英特尔:Intel/AMD,海光:Hygon,默认Intel/AMD
|
2781
|
+
# @type CpuType: String
|
2768
2782
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2769
2783
|
# @type RequestId: String
|
2770
2784
|
|
2771
|
-
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
|
2785
|
+
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, :CpuType, :RequestId
|
2772
2786
|
|
2773
|
-
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)
|
2787
|
+
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, cputype=nil, requestid=nil)
|
2774
2788
|
@InstanceId = instanceid
|
2775
2789
|
@InstanceName = instancename
|
2776
2790
|
@Status = status
|
@@ -2825,6 +2839,7 @@ module TencentCloud
|
|
2825
2839
|
@IsPhysicalReplicationSupported = isphysicalreplicationsupported
|
2826
2840
|
@IsDcnStrongSyncSupported = isdcnstrongsyncsupported
|
2827
2841
|
@IsDcnSwitchSupported = isdcnswitchsupported
|
2842
|
+
@CpuType = cputype
|
2828
2843
|
@RequestId = requestid
|
2829
2844
|
end
|
2830
2845
|
|
@@ -2904,6 +2919,7 @@ module TencentCloud
|
|
2904
2919
|
@IsPhysicalReplicationSupported = params['IsPhysicalReplicationSupported']
|
2905
2920
|
@IsDcnStrongSyncSupported = params['IsDcnStrongSyncSupported']
|
2906
2921
|
@IsDcnSwitchSupported = params['IsDcnSwitchSupported']
|
2922
|
+
@CpuType = params['CpuType']
|
2907
2923
|
@RequestId = params['RequestId']
|
2908
2924
|
end
|
2909
2925
|
end
|
@@ -3114,10 +3130,12 @@ module TencentCloud
|
|
3114
3130
|
# * pent:分
|
3115
3131
|
# * microPent:微分
|
3116
3132
|
# @type AmountUnit: String
|
3133
|
+
# @param CpuType: Cpu类型,如:英特尔:Intel/AMD,海光:Hygon,默认Intel/AMD
|
3134
|
+
# @type CpuType: String
|
3117
3135
|
|
3118
|
-
attr_accessor :Zone, :Count, :Period, :ShardNodeCount, :ShardMemory, :ShardStorage, :ShardCount, :Paymode, :AmountUnit
|
3136
|
+
attr_accessor :Zone, :Count, :Period, :ShardNodeCount, :ShardMemory, :ShardStorage, :ShardCount, :Paymode, :AmountUnit, :CpuType
|
3119
3137
|
|
3120
|
-
def initialize(zone=nil, count=nil, period=nil, shardnodecount=nil, shardmemory=nil, shardstorage=nil, shardcount=nil, paymode=nil, amountunit=nil)
|
3138
|
+
def initialize(zone=nil, count=nil, period=nil, shardnodecount=nil, shardmemory=nil, shardstorage=nil, shardcount=nil, paymode=nil, amountunit=nil, cputype=nil)
|
3121
3139
|
@Zone = zone
|
3122
3140
|
@Count = count
|
3123
3141
|
@Period = period
|
@@ -3127,6 +3145,7 @@ module TencentCloud
|
|
3127
3145
|
@ShardCount = shardcount
|
3128
3146
|
@Paymode = paymode
|
3129
3147
|
@AmountUnit = amountunit
|
3148
|
+
@CpuType = cputype
|
3130
3149
|
end
|
3131
3150
|
|
3132
3151
|
def deserialize(params)
|
@@ -3139,6 +3158,7 @@ module TencentCloud
|
|
3139
3158
|
@ShardCount = params['ShardCount']
|
3140
3159
|
@Paymode = params['Paymode']
|
3141
3160
|
@AmountUnit = params['AmountUnit']
|
3161
|
+
@CpuType = params['CpuType']
|
3142
3162
|
end
|
3143
3163
|
end
|
3144
3164
|
|
@@ -3973,12 +3993,17 @@ module TencentCloud
|
|
3973
3993
|
|
3974
3994
|
# DescribeShardSpec请求参数结构体
|
3975
3995
|
class DescribeShardSpecRequest < TencentCloud::Common::AbstractModel
|
3996
|
+
# @param CpuType: Cpu类型,如:英特尔:Intel/AMD,海光:Hygon,默认Intel/AMD
|
3997
|
+
# @type CpuType: String
|
3976
3998
|
|
3999
|
+
attr_accessor :CpuType
|
3977
4000
|
|
3978
|
-
def initialize()
|
4001
|
+
def initialize(cputype=nil)
|
4002
|
+
@CpuType = cputype
|
3979
4003
|
end
|
3980
4004
|
|
3981
4005
|
def deserialize(params)
|
4006
|
+
@CpuType = params['CpuType']
|
3982
4007
|
end
|
3983
4008
|
end
|
3984
4009
|
|
@@ -5365,17 +5390,21 @@ module TencentCloud
|
|
5365
5390
|
# @type NodeId: String
|
5366
5391
|
# @param Role: DB节点角色,取值为master或者slave
|
5367
5392
|
# @type Role: String
|
5393
|
+
# @param Zone: 节点所在的可用区
|
5394
|
+
# @type Zone: String
|
5368
5395
|
|
5369
|
-
attr_accessor :NodeId, :Role
|
5396
|
+
attr_accessor :NodeId, :Role, :Zone
|
5370
5397
|
|
5371
|
-
def initialize(nodeid=nil, role=nil)
|
5398
|
+
def initialize(nodeid=nil, role=nil, zone=nil)
|
5372
5399
|
@NodeId = nodeid
|
5373
5400
|
@Role = role
|
5401
|
+
@Zone = zone
|
5374
5402
|
end
|
5375
5403
|
|
5376
5404
|
def deserialize(params)
|
5377
5405
|
@NodeId = params['NodeId']
|
5378
5406
|
@Role = params['Role']
|
5407
|
+
@Zone = params['Zone']
|
5379
5408
|
end
|
5380
5409
|
end
|
5381
5410
|
|
@@ -5583,15 +5612,21 @@ module TencentCloud
|
|
5583
5612
|
# @type ZoneList: Array
|
5584
5613
|
# @param AvailableChoice: 可选择的主可用区和从可用区
|
5585
5614
|
# @type AvailableChoice: Array
|
5615
|
+
# @param HostType: 主机类型,如:物理机:Machine,容器:Container。
|
5616
|
+
# @type HostType: String
|
5617
|
+
# @param CpuType: Cpu类型,如:英特尔:Intel/AMD,海光:Hygon
|
5618
|
+
# @type CpuType: String
|
5586
5619
|
|
5587
|
-
attr_accessor :Region, :RegionId, :RegionName, :ZoneList, :AvailableChoice
|
5620
|
+
attr_accessor :Region, :RegionId, :RegionName, :ZoneList, :AvailableChoice, :HostType, :CpuType
|
5588
5621
|
|
5589
|
-
def initialize(region=nil, regionid=nil, regionname=nil, zonelist=nil, availablechoice=nil)
|
5622
|
+
def initialize(region=nil, regionid=nil, regionname=nil, zonelist=nil, availablechoice=nil, hosttype=nil, cputype=nil)
|
5590
5623
|
@Region = region
|
5591
5624
|
@RegionId = regionid
|
5592
5625
|
@RegionName = regionname
|
5593
5626
|
@ZoneList = zonelist
|
5594
5627
|
@AvailableChoice = availablechoice
|
5628
|
+
@HostType = hosttype
|
5629
|
+
@CpuType = cputype
|
5595
5630
|
end
|
5596
5631
|
|
5597
5632
|
def deserialize(params)
|
@@ -5614,6 +5649,8 @@ module TencentCloud
|
|
5614
5649
|
@AvailableChoice << shardzonechooseinfo_tmp
|
5615
5650
|
end
|
5616
5651
|
end
|
5652
|
+
@HostType = params['HostType']
|
5653
|
+
@CpuType = params['CpuType']
|
5617
5654
|
end
|
5618
5655
|
end
|
5619
5656
|
|
@@ -6200,23 +6237,31 @@ module TencentCloud
|
|
6200
6237
|
class SwitchDBInstanceHARequest < TencentCloud::Common::AbstractModel
|
6201
6238
|
# @param InstanceId: 实例Id,形如 tdsql-ow728lmc。
|
6202
6239
|
# @type InstanceId: String
|
6203
|
-
# @param Zone:
|
6240
|
+
# @param Zone: 指定可用区标识符,具体含义由zoneMode参数决定。
|
6241
|
+
|
6242
|
+
# - 当zoneMode为target时表示目标可用区
|
6243
|
+
|
6244
|
+
# - 当zoneMode为avoid时表示需避开的故障可用区
|
6204
6245
|
# @type Zone: String
|
6205
6246
|
# @param ShardInstanceIds: 指定分片实例id进行切换
|
6206
6247
|
# @type ShardInstanceIds: Array
|
6248
|
+
# @param ZoneMode: 可用区模式选择器,定义zone参数的语义类型。 - 默认值:target - 可选值:target, avoid
|
6249
|
+
# @type ZoneMode: String
|
6207
6250
|
|
6208
|
-
attr_accessor :InstanceId, :Zone, :ShardInstanceIds
|
6251
|
+
attr_accessor :InstanceId, :Zone, :ShardInstanceIds, :ZoneMode
|
6209
6252
|
|
6210
|
-
def initialize(instanceid=nil, zone=nil, shardinstanceids=nil)
|
6253
|
+
def initialize(instanceid=nil, zone=nil, shardinstanceids=nil, zonemode=nil)
|
6211
6254
|
@InstanceId = instanceid
|
6212
6255
|
@Zone = zone
|
6213
6256
|
@ShardInstanceIds = shardinstanceids
|
6257
|
+
@ZoneMode = zonemode
|
6214
6258
|
end
|
6215
6259
|
|
6216
6260
|
def deserialize(params)
|
6217
6261
|
@InstanceId = params['InstanceId']
|
6218
6262
|
@Zone = params['Zone']
|
6219
6263
|
@ShardInstanceIds = params['ShardInstanceIds']
|
6264
|
+
@ZoneMode = params['ZoneMode']
|
6220
6265
|
end
|
6221
6266
|
end
|
6222
6267
|
|