tencentcloud-sdk-mariadb 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/v20170312/models.rb +56 -16
- 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: 14adac1b82ab71333b1b8b6f8056f4beeec1a2cc
|
4
|
+
data.tar.gz: 657cc2b9c3e4c6c3bd79a4cdaf65b5b4884c044a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b637f2f16161db491e9dac55f3a24df3cdb040eeea559b9f7436bdca32a75f85aef7ea661a8950c7d579d0208715307baf5e7cf51e466f475d55146fee2e607c
|
7
|
+
data.tar.gz: e04dd7a5b315ffb2df5ef74565124fd721d3f87b0cfdafc8beaa7e4875cde03e369154b65852bff8e93a1225ac89f940d2be3fe405536690dc841981e9c9d203
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1032
|
data/lib/v20170312/models.rb
CHANGED
@@ -533,10 +533,12 @@ module TencentCloud
|
|
533
533
|
# @type DcnInstanceId: String
|
534
534
|
# @param DcnSyncMode: DCN同步模式,0:异步, 1:强同步
|
535
535
|
# @type DcnSyncMode: Integer
|
536
|
+
# @param CpuType: cpu类型,英特尔:Intel/AMD,海光:Hygon,默认Intel/AMD
|
537
|
+
# @type CpuType: String
|
536
538
|
|
537
|
-
attr_accessor :Zones, :NodeCount, :Memory, :Storage, :Period, :Count, :AutoVoucher, :VoucherIds, :VpcId, :SubnetId, :ProjectId, :DbVersionId, :InstanceName, :SecurityGroupIds, :AutoRenewFlag, :Ipv6Flag, :ResourceTags, :InitParams, :DcnRegion, :DcnInstanceId, :DcnSyncMode
|
539
|
+
attr_accessor :Zones, :NodeCount, :Memory, :Storage, :Period, :Count, :AutoVoucher, :VoucherIds, :VpcId, :SubnetId, :ProjectId, :DbVersionId, :InstanceName, :SecurityGroupIds, :AutoRenewFlag, :Ipv6Flag, :ResourceTags, :InitParams, :DcnRegion, :DcnInstanceId, :DcnSyncMode, :CpuType
|
538
540
|
|
539
|
-
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)
|
541
|
+
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, cputype=nil)
|
540
542
|
@Zones = zones
|
541
543
|
@NodeCount = nodecount
|
542
544
|
@Memory = memory
|
@@ -558,6 +560,7 @@ module TencentCloud
|
|
558
560
|
@DcnRegion = dcnregion
|
559
561
|
@DcnInstanceId = dcninstanceid
|
560
562
|
@DcnSyncMode = dcnsyncmode
|
563
|
+
@CpuType = cputype
|
561
564
|
end
|
562
565
|
|
563
566
|
def deserialize(params)
|
@@ -596,6 +599,7 @@ module TencentCloud
|
|
596
599
|
@DcnRegion = params['DcnRegion']
|
597
600
|
@DcnInstanceId = params['DcnInstanceId']
|
598
601
|
@DcnSyncMode = params['DcnSyncMode']
|
602
|
+
@CpuType = params['CpuType']
|
599
603
|
end
|
600
604
|
end
|
601
605
|
|
@@ -820,10 +824,12 @@ module TencentCloud
|
|
820
824
|
# @type RollbackTime: String
|
821
825
|
# @param DcnSyncMode: DCN同步模式,0:异步, 1:强同步
|
822
826
|
# @type DcnSyncMode: Integer
|
827
|
+
# @param CpuType: cpu类型,英特尔:Intel/AMD,海光:Hygon,默认Intel/AMD
|
828
|
+
# @type CpuType: String
|
823
829
|
|
824
|
-
attr_accessor :Zones, :NodeCount, :Memory, :Storage, :Count, :ProjectId, :VpcId, :SubnetId, :DbVersionId, :InstanceName, :SecurityGroupIds, :Ipv6Flag, :ResourceTags, :DcnRegion, :DcnInstanceId, :InitParams, :RollbackInstanceId, :RollbackTime, :DcnSyncMode
|
830
|
+
attr_accessor :Zones, :NodeCount, :Memory, :Storage, :Count, :ProjectId, :VpcId, :SubnetId, :DbVersionId, :InstanceName, :SecurityGroupIds, :Ipv6Flag, :ResourceTags, :DcnRegion, :DcnInstanceId, :InitParams, :RollbackInstanceId, :RollbackTime, :DcnSyncMode, :CpuType
|
825
831
|
|
826
|
-
def initialize(zones=nil, nodecount=nil, memory=nil, storage=nil, count=nil, projectid=nil, vpcid=nil, subnetid=nil, dbversionid=nil, instancename=nil, securitygroupids=nil, ipv6flag=nil, resourcetags=nil, dcnregion=nil, dcninstanceid=nil, initparams=nil, rollbackinstanceid=nil, rollbacktime=nil, dcnsyncmode=nil)
|
832
|
+
def initialize(zones=nil, nodecount=nil, memory=nil, storage=nil, count=nil, projectid=nil, vpcid=nil, subnetid=nil, dbversionid=nil, instancename=nil, securitygroupids=nil, ipv6flag=nil, resourcetags=nil, dcnregion=nil, dcninstanceid=nil, initparams=nil, rollbackinstanceid=nil, rollbacktime=nil, dcnsyncmode=nil, cputype=nil)
|
827
833
|
@Zones = zones
|
828
834
|
@NodeCount = nodecount
|
829
835
|
@Memory = memory
|
@@ -843,6 +849,7 @@ module TencentCloud
|
|
843
849
|
@RollbackInstanceId = rollbackinstanceid
|
844
850
|
@RollbackTime = rollbacktime
|
845
851
|
@DcnSyncMode = dcnsyncmode
|
852
|
+
@CpuType = cputype
|
846
853
|
end
|
847
854
|
|
848
855
|
def deserialize(params)
|
@@ -879,6 +886,7 @@ module TencentCloud
|
|
879
886
|
@RollbackInstanceId = params['RollbackInstanceId']
|
880
887
|
@RollbackTime = params['RollbackTime']
|
881
888
|
@DcnSyncMode = params['DcnSyncMode']
|
889
|
+
@CpuType = params['CpuType']
|
882
890
|
end
|
883
891
|
end
|
884
892
|
|
@@ -2171,12 +2179,14 @@ module TencentCloud
|
|
2171
2179
|
# @type IsDcnSwitchSupported: Integer
|
2172
2180
|
# @param ProxyVersion: proxy版本号
|
2173
2181
|
# @type ProxyVersion: String
|
2182
|
+
# @param CpuType: Cpu类型,如:英特尔:Intel/AMD,海光:Hygon
|
2183
|
+
# @type CpuType: String
|
2174
2184
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2175
2185
|
# @type RequestId: String
|
2176
2186
|
|
2177
|
-
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, :ProxyVersion, :RequestId
|
2187
|
+
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, :ProxyVersion, :CpuType, :RequestId
|
2178
2188
|
|
2179
|
-
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, proxyversion=nil, requestid=nil)
|
2189
|
+
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, proxyversion=nil, cputype=nil, requestid=nil)
|
2180
2190
|
@InstanceId = instanceid
|
2181
2191
|
@InstanceName = instancename
|
2182
2192
|
@Status = status
|
@@ -2237,6 +2247,7 @@ module TencentCloud
|
|
2237
2247
|
@IsDcnStrongSyncSupported = isdcnstrongsyncsupported
|
2238
2248
|
@IsDcnSwitchSupported = isdcnswitchsupported
|
2239
2249
|
@ProxyVersion = proxyversion
|
2250
|
+
@CpuType = cputype
|
2240
2251
|
@RequestId = requestid
|
2241
2252
|
end
|
2242
2253
|
|
@@ -2328,18 +2339,24 @@ module TencentCloud
|
|
2328
2339
|
@IsDcnStrongSyncSupported = params['IsDcnStrongSyncSupported']
|
2329
2340
|
@IsDcnSwitchSupported = params['IsDcnSwitchSupported']
|
2330
2341
|
@ProxyVersion = params['ProxyVersion']
|
2342
|
+
@CpuType = params['CpuType']
|
2331
2343
|
@RequestId = params['RequestId']
|
2332
2344
|
end
|
2333
2345
|
end
|
2334
2346
|
|
2335
2347
|
# DescribeDBInstanceSpecs请求参数结构体
|
2336
2348
|
class DescribeDBInstanceSpecsRequest < TencentCloud::Common::AbstractModel
|
2349
|
+
# @param CpuType: Cpu类型,如:英特尔:Intel/AMD,海光:Hygon,默认Intel/AMD
|
2350
|
+
# @type CpuType: String
|
2337
2351
|
|
2352
|
+
attr_accessor :CpuType
|
2338
2353
|
|
2339
|
-
def initialize()
|
2354
|
+
def initialize(cputype=nil)
|
2355
|
+
@CpuType = cputype
|
2340
2356
|
end
|
2341
2357
|
|
2342
2358
|
def deserialize(params)
|
2359
|
+
@CpuType = params['CpuType']
|
2343
2360
|
end
|
2344
2361
|
end
|
2345
2362
|
|
@@ -3329,10 +3346,12 @@ module TencentCloud
|
|
3329
3346
|
# * pent:分
|
3330
3347
|
# * microPent:微分
|
3331
3348
|
# @type AmountUnit: String
|
3349
|
+
# @param CpuType: Cpu类型,如:英特尔:Intel/AMD,海光:Hygon,默认Intel/AMD
|
3350
|
+
# @type CpuType: String
|
3332
3351
|
|
3333
|
-
attr_accessor :Zone, :NodeCount, :Memory, :Storage, :Period, :Count, :Paymode, :AmountUnit
|
3352
|
+
attr_accessor :Zone, :NodeCount, :Memory, :Storage, :Period, :Count, :Paymode, :AmountUnit, :CpuType
|
3334
3353
|
|
3335
|
-
def initialize(zone=nil, nodecount=nil, memory=nil, storage=nil, period=nil, count=nil, paymode=nil, amountunit=nil)
|
3354
|
+
def initialize(zone=nil, nodecount=nil, memory=nil, storage=nil, period=nil, count=nil, paymode=nil, amountunit=nil, cputype=nil)
|
3336
3355
|
@Zone = zone
|
3337
3356
|
@NodeCount = nodecount
|
3338
3357
|
@Memory = memory
|
@@ -3341,6 +3360,7 @@ module TencentCloud
|
|
3341
3360
|
@Count = count
|
3342
3361
|
@Paymode = paymode
|
3343
3362
|
@AmountUnit = amountunit
|
3363
|
+
@CpuType = cputype
|
3344
3364
|
end
|
3345
3365
|
|
3346
3366
|
def deserialize(params)
|
@@ -3352,6 +3372,7 @@ module TencentCloud
|
|
3352
3372
|
@Count = params['Count']
|
3353
3373
|
@Paymode = params['Paymode']
|
3354
3374
|
@AmountUnit = params['AmountUnit']
|
3375
|
+
@CpuType = params['CpuType']
|
3355
3376
|
end
|
3356
3377
|
end
|
3357
3378
|
|
@@ -4984,17 +5005,21 @@ module TencentCloud
|
|
4984
5005
|
# @type NodeId: String
|
4985
5006
|
# @param Role: DB节点角色,取值为master或者slave
|
4986
5007
|
# @type Role: String
|
5008
|
+
# @param Zone: 节点所在可用区
|
5009
|
+
# @type Zone: String
|
4987
5010
|
|
4988
|
-
attr_accessor :NodeId, :Role
|
5011
|
+
attr_accessor :NodeId, :Role, :Zone
|
4989
5012
|
|
4990
|
-
def initialize(nodeid=nil, role=nil)
|
5013
|
+
def initialize(nodeid=nil, role=nil, zone=nil)
|
4991
5014
|
@NodeId = nodeid
|
4992
5015
|
@Role = role
|
5016
|
+
@Zone = zone
|
4993
5017
|
end
|
4994
5018
|
|
4995
5019
|
def deserialize(params)
|
4996
5020
|
@NodeId = params['NodeId']
|
4997
5021
|
@Role = params['Role']
|
5022
|
+
@Zone = params['Zone']
|
4998
5023
|
end
|
4999
5024
|
end
|
5000
5025
|
|
@@ -5170,15 +5195,18 @@ module TencentCloud
|
|
5170
5195
|
# @type ZoneList: Array
|
5171
5196
|
# @param AvailableChoice: 可选择的主可用区和从可用区
|
5172
5197
|
# @type AvailableChoice: Array
|
5198
|
+
# @param CpuType: Cpu类型,如:英特尔:Intel/AMD,海光:Hygon
|
5199
|
+
# @type CpuType: String
|
5173
5200
|
|
5174
|
-
attr_accessor :Region, :RegionId, :RegionName, :ZoneList, :AvailableChoice
|
5201
|
+
attr_accessor :Region, :RegionId, :RegionName, :ZoneList, :AvailableChoice, :CpuType
|
5175
5202
|
|
5176
|
-
def initialize(region=nil, regionid=nil, regionname=nil, zonelist=nil, availablechoice=nil)
|
5203
|
+
def initialize(region=nil, regionid=nil, regionname=nil, zonelist=nil, availablechoice=nil, cputype=nil)
|
5177
5204
|
@Region = region
|
5178
5205
|
@RegionId = regionid
|
5179
5206
|
@RegionName = regionname
|
5180
5207
|
@ZoneList = zonelist
|
5181
5208
|
@AvailableChoice = availablechoice
|
5209
|
+
@CpuType = cputype
|
5182
5210
|
end
|
5183
5211
|
|
5184
5212
|
def deserialize(params)
|
@@ -5201,6 +5229,7 @@ module TencentCloud
|
|
5201
5229
|
@AvailableChoice << zonechooseinfo_tmp
|
5202
5230
|
end
|
5203
5231
|
end
|
5232
|
+
@CpuType = params['CpuType']
|
5204
5233
|
end
|
5205
5234
|
end
|
5206
5235
|
|
@@ -5615,19 +5644,30 @@ module TencentCloud
|
|
5615
5644
|
class SwitchDBInstanceHARequest < TencentCloud::Common::AbstractModel
|
5616
5645
|
# @param InstanceId: 实例Id,形如 tdsql-ow728lmc
|
5617
5646
|
# @type InstanceId: String
|
5618
|
-
# @param Zone:
|
5647
|
+
# @param Zone: 指定可用区标识符,具体含义由zoneMode参数决定。
|
5648
|
+
|
5649
|
+
# - 当zoneMode为target时表示目标可用区
|
5650
|
+
|
5651
|
+
# - 当zoneMode为avoid时表示需避开的故障可用区
|
5619
5652
|
# @type Zone: String
|
5653
|
+
# @param ZoneMode: 可用区模式选择器,定义zone参数的语义类型。
|
5654
|
+
# - 默认值:target
|
5655
|
+
|
5656
|
+
# - 可选值:target, avoid
|
5657
|
+
# @type ZoneMode: String
|
5620
5658
|
|
5621
|
-
attr_accessor :InstanceId, :Zone
|
5659
|
+
attr_accessor :InstanceId, :Zone, :ZoneMode
|
5622
5660
|
|
5623
|
-
def initialize(instanceid=nil, zone=nil)
|
5661
|
+
def initialize(instanceid=nil, zone=nil, zonemode=nil)
|
5624
5662
|
@InstanceId = instanceid
|
5625
5663
|
@Zone = zone
|
5664
|
+
@ZoneMode = zonemode
|
5626
5665
|
end
|
5627
5666
|
|
5628
5667
|
def deserialize(params)
|
5629
5668
|
@InstanceId = params['InstanceId']
|
5630
5669
|
@Zone = params['Zone']
|
5670
|
+
@ZoneMode = params['ZoneMode']
|
5631
5671
|
end
|
5632
5672
|
end
|
5633
5673
|
|