tencentcloud-sdk-cynosdb 3.0.828 → 3.0.830

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/v20190107/models.rb +101 -45
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 652941915bd3d3c2eeab17a2d54bf5bbc29f6829
4
- data.tar.gz: 43daa06c138318f4d2a937f04aad99d24ffa3efb
3
+ metadata.gz: cb57743ee61d6f83d81f9c6e3151052089890369
4
+ data.tar.gz: e232e901ef5126c3d844456edf3c8e5e427839e9
5
5
  SHA512:
6
- metadata.gz: 266532ca51ee1186d82529d77855f09ef4711dd34b1310549669b96a69ac6e63761ea4d4ccb462c4ab6c4dec598963e1ea3ebb76b2314b16791b173e1ed50dea
7
- data.tar.gz: c02b5d8084aa19b9acbdefacb41cbf4bcffe20a87266a068edcded8376c00bfa195f8d32efbc91291d92269033247787c4427ade75dd87cfafa7fed0d08e8f57
6
+ metadata.gz: ada0419f4be8e035c079d1daa4c468531a91b302e2ff3238e5e87f1636a0b5594cf393bc3d6f944aba4feb73a6dd06ee3b2ac5b8782bbbaa4110391a87071274
7
+ data.tar.gz: 53fe649934d67ceebbcece8792bf5acf33af96057c123b81d2d83f9c63e468d03d423e6a67dad855d363c6d07828dfd5c21a0a624ea320d570f4c00a81a58025
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.828
1
+ 3.0.830
@@ -202,6 +202,8 @@ module TencentCloud
202
202
  # @type Memory: Integer
203
203
  # @param ReadOnlyCount: 新增只读实例数,取值范围为(0,15]
204
204
  # @type ReadOnlyCount: Integer
205
+ # @param DeviceType: 实例机器类型
206
+ # @type DeviceType: String
205
207
  # @param InstanceGrpId: 实例组ID,在已有RO组中新增实例时使用,不传则新增RO组。当前版本不建议传输该值。
206
208
  # @type InstanceGrpId: String
207
209
  # @param VpcId: 所属VPC网络ID。
@@ -230,16 +232,17 @@ module TencentCloud
230
232
  # @param UpgradeProxy: proxy同步升级
231
233
  # @type UpgradeProxy: :class:`Tencentcloud::Cynosdb.v20190107.models.UpgradeProxy`
232
234
 
233
- attr_accessor :ClusterId, :Cpu, :Memory, :ReadOnlyCount, :InstanceGrpId, :VpcId, :SubnetId, :Port, :InstanceName, :AutoVoucher, :DbType, :OrderSource, :DealMode, :ParamTemplateId, :InstanceParams, :SecurityGroupIds, :UpgradeProxy
235
+ attr_accessor :ClusterId, :Cpu, :Memory, :ReadOnlyCount, :DeviceType, :InstanceGrpId, :VpcId, :SubnetId, :Port, :InstanceName, :AutoVoucher, :DbType, :OrderSource, :DealMode, :ParamTemplateId, :InstanceParams, :SecurityGroupIds, :UpgradeProxy
234
236
  extend Gem::Deprecate
235
237
  deprecate :InstanceGrpId, :none, 2024, 5
236
238
  deprecate :InstanceGrpId=, :none, 2024, 5
237
239
 
238
- def initialize(clusterid=nil, cpu=nil, memory=nil, readonlycount=nil, instancegrpid=nil, vpcid=nil, subnetid=nil, port=nil, instancename=nil, autovoucher=nil, dbtype=nil, ordersource=nil, dealmode=nil, paramtemplateid=nil, instanceparams=nil, securitygroupids=nil, upgradeproxy=nil)
240
+ def initialize(clusterid=nil, cpu=nil, memory=nil, readonlycount=nil, devicetype=nil, instancegrpid=nil, vpcid=nil, subnetid=nil, port=nil, instancename=nil, autovoucher=nil, dbtype=nil, ordersource=nil, dealmode=nil, paramtemplateid=nil, instanceparams=nil, securitygroupids=nil, upgradeproxy=nil)
239
241
  @ClusterId = clusterid
240
242
  @Cpu = cpu
241
243
  @Memory = memory
242
244
  @ReadOnlyCount = readonlycount
245
+ @DeviceType = devicetype
243
246
  @InstanceGrpId = instancegrpid
244
247
  @VpcId = vpcid
245
248
  @SubnetId = subnetid
@@ -260,6 +263,7 @@ module TencentCloud
260
263
  @Cpu = params['Cpu']
261
264
  @Memory = params['Memory']
262
265
  @ReadOnlyCount = params['ReadOnlyCount']
266
+ @DeviceType = params['DeviceType']
263
267
  @InstanceGrpId = params['InstanceGrpId']
264
268
  @VpcId = params['VpcId']
265
269
  @SubnetId = params['SubnetId']
@@ -1433,10 +1437,16 @@ module TencentCloud
1433
1437
  # @param ServerlessStatus: serverless实例子状态
1434
1438
  # 注意:此字段可能返回 null,表示取不到有效值。
1435
1439
  # @type ServerlessStatus: String
1440
+ # @param InstanceTasks: 实例任务信息
1441
+ # 注意:此字段可能返回 null,表示取不到有效值。
1442
+ # @type InstanceTasks: Array
1443
+ # @param InstanceDeviceType: 实例机器类型
1444
+ # 注意:此字段可能返回 null,表示取不到有效值。
1445
+ # @type InstanceDeviceType: String
1436
1446
 
1437
- attr_accessor :InstanceId, :InstanceName, :InstanceType, :InstanceStatus, :InstanceStatusDesc, :InstanceCpu, :InstanceMemory, :InstanceStorage, :InstanceRole, :MaintainStartTime, :MaintainDuration, :MaintainWeekDays, :ServerlessStatus
1447
+ attr_accessor :InstanceId, :InstanceName, :InstanceType, :InstanceStatus, :InstanceStatusDesc, :InstanceCpu, :InstanceMemory, :InstanceStorage, :InstanceRole, :MaintainStartTime, :MaintainDuration, :MaintainWeekDays, :ServerlessStatus, :InstanceTasks, :InstanceDeviceType
1438
1448
 
1439
- def initialize(instanceid=nil, instancename=nil, instancetype=nil, instancestatus=nil, instancestatusdesc=nil, instancecpu=nil, instancememory=nil, instancestorage=nil, instancerole=nil, maintainstarttime=nil, maintainduration=nil, maintainweekdays=nil, serverlessstatus=nil)
1449
+ def initialize(instanceid=nil, instancename=nil, instancetype=nil, instancestatus=nil, instancestatusdesc=nil, instancecpu=nil, instancememory=nil, instancestorage=nil, instancerole=nil, maintainstarttime=nil, maintainduration=nil, maintainweekdays=nil, serverlessstatus=nil, instancetasks=nil, instancedevicetype=nil)
1440
1450
  @InstanceId = instanceid
1441
1451
  @InstanceName = instancename
1442
1452
  @InstanceType = instancetype
@@ -1450,6 +1460,8 @@ module TencentCloud
1450
1460
  @MaintainDuration = maintainduration
1451
1461
  @MaintainWeekDays = maintainweekdays
1452
1462
  @ServerlessStatus = serverlessstatus
1463
+ @InstanceTasks = instancetasks
1464
+ @InstanceDeviceType = instancedevicetype
1453
1465
  end
1454
1466
 
1455
1467
  def deserialize(params)
@@ -1466,6 +1478,15 @@ module TencentCloud
1466
1478
  @MaintainDuration = params['MaintainDuration']
1467
1479
  @MaintainWeekDays = params['MaintainWeekDays']
1468
1480
  @ServerlessStatus = params['ServerlessStatus']
1481
+ unless params['InstanceTasks'].nil?
1482
+ @InstanceTasks = []
1483
+ params['InstanceTasks'].each do |i|
1484
+ objecttask_tmp = ObjectTask.new
1485
+ objecttask_tmp.deserialize(i)
1486
+ @InstanceTasks << objecttask_tmp
1487
+ end
1488
+ end
1489
+ @InstanceDeviceType = params['InstanceDeviceType']
1469
1490
  end
1470
1491
  end
1471
1492
 
@@ -3286,10 +3307,13 @@ module TencentCloud
3286
3307
  # @param InstanceAbility: 当前实例支持的能力
3287
3308
  # 注意:此字段可能返回 null,表示取不到有效值。
3288
3309
  # @type InstanceAbility: :class:`Tencentcloud::Cynosdb.v20190107.models.InstanceAbility`
3310
+ # @param DeviceType: 实例机器类型
3311
+ # 注意:此字段可能返回 null,表示取不到有效值。
3312
+ # @type DeviceType: String
3289
3313
 
3290
- attr_accessor :Uin, :AppId, :ClusterId, :ClusterName, :InstanceId, :InstanceName, :ProjectId, :Region, :Zone, :Status, :StatusDesc, :DbMode, :DbType, :DbVersion, :Cpu, :Memory, :Storage, :InstanceType, :InstanceRole, :UpdateTime, :CreateTime, :VpcId, :SubnetId, :Vip, :Vport, :PayMode, :PeriodEndTime, :DestroyDeadlineText, :IsolateTime, :NetType, :WanDomain, :WanIP, :WanPort, :WanStatus, :DestroyTime, :CynosVersion, :ProcessingTask, :RenewFlag, :MinCpu, :MaxCpu, :ServerlessStatus, :StorageId, :StoragePayMode, :PhysicalZone, :BusinessType, :Tasks, :IsFreeze, :ResourceTags, :MasterZone, :SlaveZones, :InstanceNetInfo, :ResourcePackages, :InstanceIndexMode, :InstanceAbility
3314
+ attr_accessor :Uin, :AppId, :ClusterId, :ClusterName, :InstanceId, :InstanceName, :ProjectId, :Region, :Zone, :Status, :StatusDesc, :DbMode, :DbType, :DbVersion, :Cpu, :Memory, :Storage, :InstanceType, :InstanceRole, :UpdateTime, :CreateTime, :VpcId, :SubnetId, :Vip, :Vport, :PayMode, :PeriodEndTime, :DestroyDeadlineText, :IsolateTime, :NetType, :WanDomain, :WanIP, :WanPort, :WanStatus, :DestroyTime, :CynosVersion, :ProcessingTask, :RenewFlag, :MinCpu, :MaxCpu, :ServerlessStatus, :StorageId, :StoragePayMode, :PhysicalZone, :BusinessType, :Tasks, :IsFreeze, :ResourceTags, :MasterZone, :SlaveZones, :InstanceNetInfo, :ResourcePackages, :InstanceIndexMode, :InstanceAbility, :DeviceType
3291
3315
 
3292
- def initialize(uin=nil, appid=nil, clusterid=nil, clustername=nil, instanceid=nil, instancename=nil, projectid=nil, region=nil, zone=nil, status=nil, statusdesc=nil, dbmode=nil, dbtype=nil, dbversion=nil, cpu=nil, memory=nil, storage=nil, instancetype=nil, instancerole=nil, updatetime=nil, createtime=nil, vpcid=nil, subnetid=nil, vip=nil, vport=nil, paymode=nil, periodendtime=nil, destroydeadlinetext=nil, isolatetime=nil, nettype=nil, wandomain=nil, wanip=nil, wanport=nil, wanstatus=nil, destroytime=nil, cynosversion=nil, processingtask=nil, renewflag=nil, mincpu=nil, maxcpu=nil, serverlessstatus=nil, storageid=nil, storagepaymode=nil, physicalzone=nil, businesstype=nil, tasks=nil, isfreeze=nil, resourcetags=nil, masterzone=nil, slavezones=nil, instancenetinfo=nil, resourcepackages=nil, instanceindexmode=nil, instanceability=nil)
3316
+ def initialize(uin=nil, appid=nil, clusterid=nil, clustername=nil, instanceid=nil, instancename=nil, projectid=nil, region=nil, zone=nil, status=nil, statusdesc=nil, dbmode=nil, dbtype=nil, dbversion=nil, cpu=nil, memory=nil, storage=nil, instancetype=nil, instancerole=nil, updatetime=nil, createtime=nil, vpcid=nil, subnetid=nil, vip=nil, vport=nil, paymode=nil, periodendtime=nil, destroydeadlinetext=nil, isolatetime=nil, nettype=nil, wandomain=nil, wanip=nil, wanport=nil, wanstatus=nil, destroytime=nil, cynosversion=nil, processingtask=nil, renewflag=nil, mincpu=nil, maxcpu=nil, serverlessstatus=nil, storageid=nil, storagepaymode=nil, physicalzone=nil, businesstype=nil, tasks=nil, isfreeze=nil, resourcetags=nil, masterzone=nil, slavezones=nil, instancenetinfo=nil, resourcepackages=nil, instanceindexmode=nil, instanceability=nil, devicetype=nil)
3293
3317
  @Uin = uin
3294
3318
  @AppId = appid
3295
3319
  @ClusterId = clusterid
@@ -3344,6 +3368,7 @@ module TencentCloud
3344
3368
  @ResourcePackages = resourcepackages
3345
3369
  @InstanceIndexMode = instanceindexmode
3346
3370
  @InstanceAbility = instanceability
3371
+ @DeviceType = devicetype
3347
3372
  end
3348
3373
 
3349
3374
  def deserialize(params)
@@ -3432,6 +3457,7 @@ module TencentCloud
3432
3457
  @InstanceAbility = InstanceAbility.new
3433
3458
  @InstanceAbility.deserialize(params['InstanceAbility'])
3434
3459
  end
3460
+ @DeviceType = params['DeviceType']
3435
3461
  end
3436
3462
  end
3437
3463
 
@@ -6099,17 +6125,21 @@ module TencentCloud
6099
6125
  # @type DbType: String
6100
6126
  # @param IncludeZoneStocks: 是否需要返回可用区信息
6101
6127
  # @type IncludeZoneStocks: Boolean
6128
+ # @param DeviceType: 实例机器类型
6129
+ # @type DeviceType: String
6102
6130
 
6103
- attr_accessor :DbType, :IncludeZoneStocks
6131
+ attr_accessor :DbType, :IncludeZoneStocks, :DeviceType
6104
6132
 
6105
- def initialize(dbtype=nil, includezonestocks=nil)
6133
+ def initialize(dbtype=nil, includezonestocks=nil, devicetype=nil)
6106
6134
  @DbType = dbtype
6107
6135
  @IncludeZoneStocks = includezonestocks
6136
+ @DeviceType = devicetype
6108
6137
  end
6109
6138
 
6110
6139
  def deserialize(params)
6111
6140
  @DbType = params['DbType']
6112
6141
  @IncludeZoneStocks = params['IncludeZoneStocks']
6142
+ @DeviceType = params['DeviceType']
6113
6143
  end
6114
6144
  end
6115
6145
 
@@ -7549,6 +7579,8 @@ module TencentCloud
7549
7579
  # @type InstancePayMode: String
7550
7580
  # @param StoragePayMode: 存储购买类型,可选值为:PREPAID, POSTPAID
7551
7581
  # @type StoragePayMode: String
7582
+ # @param DeviceType: 实例设备类型
7583
+ # @type DeviceType: String
7552
7584
  # @param Cpu: CPU核数,PREPAID与POSTPAID实例类型必传
7553
7585
  # @type Cpu: Integer
7554
7586
  # @param Memory: 内存大小,单位G,PREPAID与POSTPAID实例类型必传
@@ -7562,13 +7594,14 @@ module TencentCloud
7562
7594
  # @param TimeUnit: 时长单位,可选值为:m,d。PREPAID购买类型必传
7563
7595
  # @type TimeUnit: String
7564
7596
 
7565
- attr_accessor :Zone, :GoodsNum, :InstancePayMode, :StoragePayMode, :Cpu, :Memory, :Ccu, :StorageLimit, :TimeSpan, :TimeUnit
7597
+ attr_accessor :Zone, :GoodsNum, :InstancePayMode, :StoragePayMode, :DeviceType, :Cpu, :Memory, :Ccu, :StorageLimit, :TimeSpan, :TimeUnit
7566
7598
 
7567
- def initialize(zone=nil, goodsnum=nil, instancepaymode=nil, storagepaymode=nil, cpu=nil, memory=nil, ccu=nil, storagelimit=nil, timespan=nil, timeunit=nil)
7599
+ def initialize(zone=nil, goodsnum=nil, instancepaymode=nil, storagepaymode=nil, devicetype=nil, cpu=nil, memory=nil, ccu=nil, storagelimit=nil, timespan=nil, timeunit=nil)
7568
7600
  @Zone = zone
7569
7601
  @GoodsNum = goodsnum
7570
7602
  @InstancePayMode = instancepaymode
7571
7603
  @StoragePayMode = storagepaymode
7604
+ @DeviceType = devicetype
7572
7605
  @Cpu = cpu
7573
7606
  @Memory = memory
7574
7607
  @Ccu = ccu
@@ -7582,6 +7615,7 @@ module TencentCloud
7582
7615
  @GoodsNum = params['GoodsNum']
7583
7616
  @InstancePayMode = params['InstancePayMode']
7584
7617
  @StoragePayMode = params['StoragePayMode']
7618
+ @DeviceType = params['DeviceType']
7585
7619
  @Cpu = params['Cpu']
7586
7620
  @Memory = params['Memory']
7587
7621
  @Ccu = params['Ccu']
@@ -7953,10 +7987,12 @@ module TencentCloud
7953
7987
  # @type MinRoCpu: Float
7954
7988
  # @param MaxRoCpu: Serverless实例最大规格
7955
7989
  # @type MaxRoCpu: Float
7990
+ # @param DeviceType: 实例机器类型
7991
+ # @type DeviceType: String
7956
7992
 
7957
- attr_accessor :Cpu, :Memory, :InstanceType, :InstanceCount, :MinRoCount, :MaxRoCount, :MinRoCpu, :MaxRoCpu
7993
+ attr_accessor :Cpu, :Memory, :InstanceType, :InstanceCount, :MinRoCount, :MaxRoCount, :MinRoCpu, :MaxRoCpu, :DeviceType
7958
7994
 
7959
- def initialize(cpu=nil, memory=nil, instancetype=nil, instancecount=nil, minrocount=nil, maxrocount=nil, minrocpu=nil, maxrocpu=nil)
7995
+ def initialize(cpu=nil, memory=nil, instancetype=nil, instancecount=nil, minrocount=nil, maxrocount=nil, minrocpu=nil, maxrocpu=nil, devicetype=nil)
7960
7996
  @Cpu = cpu
7961
7997
  @Memory = memory
7962
7998
  @InstanceType = instancetype
@@ -7965,6 +8001,7 @@ module TencentCloud
7965
8001
  @MaxRoCount = maxrocount
7966
8002
  @MinRoCpu = minrocpu
7967
8003
  @MaxRoCpu = maxrocpu
8004
+ @DeviceType = devicetype
7968
8005
  end
7969
8006
 
7970
8007
  def deserialize(params)
@@ -7976,6 +8013,7 @@ module TencentCloud
7976
8013
  @MaxRoCount = params['MaxRoCount']
7977
8014
  @MinRoCpu = params['MinRoCpu']
7978
8015
  @MaxRoCpu = params['MaxRoCpu']
8016
+ @DeviceType = params['DeviceType']
7979
8017
  end
7980
8018
  end
7981
8019
 
@@ -9212,18 +9250,26 @@ module TencentCloud
9212
9250
  # @type OldMemory: Integer
9213
9251
  # @param OldStorageLimit: 变配前存储上限
9214
9252
  # @type OldStorageLimit: Integer
9253
+ # @param OldDeviceType: 变配前实例机器类型
9254
+ # 注意:此字段可能返回 null,表示取不到有效值。
9255
+ # @type OldDeviceType: String
9256
+ # @param DeviceType: 变配后实例机器类型
9257
+ # 注意:此字段可能返回 null,表示取不到有效值。
9258
+ # @type DeviceType: String
9215
9259
  # @param UpgradeType: 升级方式。升级完成后切换或维护时间内切换
9216
9260
  # @type UpgradeType: String
9217
9261
 
9218
- attr_accessor :Cpu, :Memory, :StorageLimit, :OldCpu, :OldMemory, :OldStorageLimit, :UpgradeType
9262
+ attr_accessor :Cpu, :Memory, :StorageLimit, :OldCpu, :OldMemory, :OldStorageLimit, :OldDeviceType, :DeviceType, :UpgradeType
9219
9263
 
9220
- def initialize(cpu=nil, memory=nil, storagelimit=nil, oldcpu=nil, oldmemory=nil, oldstoragelimit=nil, upgradetype=nil)
9264
+ def initialize(cpu=nil, memory=nil, storagelimit=nil, oldcpu=nil, oldmemory=nil, oldstoragelimit=nil, olddevicetype=nil, devicetype=nil, upgradetype=nil)
9221
9265
  @Cpu = cpu
9222
9266
  @Memory = memory
9223
9267
  @StorageLimit = storagelimit
9224
9268
  @OldCpu = oldcpu
9225
9269
  @OldMemory = oldmemory
9226
9270
  @OldStorageLimit = oldstoragelimit
9271
+ @OldDeviceType = olddevicetype
9272
+ @DeviceType = devicetype
9227
9273
  @UpgradeType = upgradetype
9228
9274
  end
9229
9275
 
@@ -9234,6 +9280,8 @@ module TencentCloud
9234
9280
  @OldCpu = params['OldCpu']
9235
9281
  @OldMemory = params['OldMemory']
9236
9282
  @OldStorageLimit = params['OldStorageLimit']
9283
+ @OldDeviceType = params['OldDeviceType']
9284
+ @DeviceType = params['DeviceType']
9237
9285
  @UpgradeType = params['UpgradeType']
9238
9286
  end
9239
9287
  end
@@ -11846,14 +11894,20 @@ module TencentCloud
11846
11894
  # @type Zone: String
11847
11895
  # @param OriginalClusterId: 回档时,传入源集群ID,用于查找源poolId
11848
11896
  # @type OriginalClusterId: String
11849
- # @param ClusterName: 集群名称,长度小于64个字符,每个字符取值范围:大/小写字母,数字,特殊符号('-','_','.')
11850
- # @type ClusterName: String
11851
11897
  # @param UniqVpcId: 所属VPC网络ID
11852
11898
  # @type UniqVpcId: String
11853
11899
  # @param UniqSubnetId: 所属子网ID
11854
11900
  # @type UniqSubnetId: String
11901
+ # @param ClusterName: 集群名称,长度小于64个字符,每个字符取值范围:大/小写字母,数字,特殊符号('-','_','.')
11902
+ # @type ClusterName: String
11903
+ # @param RollbackId: 快照回档,表示snapshotId;时间点回档,表示queryId,为0,表示需要判断时间点是否有效
11904
+ # @type RollbackId: Integer
11905
+ # @param ExpectTime: 时间点回档,指定时间;快照回档,快照时间
11906
+ # @type ExpectTime: String
11855
11907
  # @param AutoVoucher: 是否自动选择代金券 1是 0否 默认为0
11856
11908
  # @type AutoVoucher: Integer
11909
+ # @param ResourceTags: 集群创建需要绑定的tag数组信息
11910
+ # @type ResourceTags: Array
11857
11911
  # @param DbMode: Db类型
11858
11912
  # 当DbType为MYSQL时可选(默认NORMAL):
11859
11913
  # <li>NORMAL</li>
@@ -11879,28 +11933,27 @@ module TencentCloud
11879
11933
  # @type AlarmPolicyIds: Array
11880
11934
  # @param ClusterParams: 参数数组,暂时支持character_set_server (utf8|latin1|gbk|utf8mb4) ,lower_case_table_names,1-大小写不敏感,0-大小写敏感
11881
11935
  # @type ClusterParams: Array
11882
- # @param DealMode: 0-下单并支付 1-下单
11883
- # @type DealMode: Integer
11884
11936
  # @param ParamTemplateId: 参数模板ID,可以通过查询参数模板信息DescribeParamTemplates获得参数模板ID
11885
11937
  # @type ParamTemplateId: Integer
11886
- # @param ResourceTags: 集群创建需要绑定的tag数组信息
11887
- # @type ResourceTags: Array
11888
11938
  # @param InstanceInitInfos: 实例初始化配置信息,主要用于购买集群时选不同规格实例
11889
11939
  # @type InstanceInitInfos: Array
11890
- # @param RollbackId: 快照回档,表示snapshotId;时间点回档,表示queryId,为0,表示需要判断时间点是否有效
11891
- # @type RollbackId: Integer
11892
- # @param ExpectTime: 时间点回档,指定时间;快照回档,快照时间
11893
- # @type ExpectTime: String
11940
+ # @param DealMode: 0-下单并支付 1-下单
11941
+ # @type DealMode: Integer
11942
+ # @param PayMode: 计算节点付费模式:0-按量计费,1-预付费
11943
+ # @type PayMode: Integer
11894
11944
 
11895
- attr_accessor :Zone, :OriginalClusterId, :ClusterName, :UniqVpcId, :UniqSubnetId, :AutoVoucher, :DbMode, :MinCpu, :MaxCpu, :AutoPause, :AutoPauseDelay, :SecurityGroupIds, :AlarmPolicyIds, :ClusterParams, :DealMode, :ParamTemplateId, :ResourceTags, :InstanceInitInfos, :RollbackId, :ExpectTime
11945
+ attr_accessor :Zone, :OriginalClusterId, :UniqVpcId, :UniqSubnetId, :ClusterName, :RollbackId, :ExpectTime, :AutoVoucher, :ResourceTags, :DbMode, :MinCpu, :MaxCpu, :AutoPause, :AutoPauseDelay, :SecurityGroupIds, :AlarmPolicyIds, :ClusterParams, :ParamTemplateId, :InstanceInitInfos, :DealMode, :PayMode
11896
11946
 
11897
- def initialize(zone=nil, originalclusterid=nil, clustername=nil, uniqvpcid=nil, uniqsubnetid=nil, autovoucher=nil, dbmode=nil, mincpu=nil, maxcpu=nil, autopause=nil, autopausedelay=nil, securitygroupids=nil, alarmpolicyids=nil, clusterparams=nil, dealmode=nil, paramtemplateid=nil, resourcetags=nil, instanceinitinfos=nil, rollbackid=nil, expecttime=nil)
11947
+ def initialize(zone=nil, originalclusterid=nil, uniqvpcid=nil, uniqsubnetid=nil, clustername=nil, rollbackid=nil, expecttime=nil, autovoucher=nil, resourcetags=nil, dbmode=nil, mincpu=nil, maxcpu=nil, autopause=nil, autopausedelay=nil, securitygroupids=nil, alarmpolicyids=nil, clusterparams=nil, paramtemplateid=nil, instanceinitinfos=nil, dealmode=nil, paymode=nil)
11898
11948
  @Zone = zone
11899
11949
  @OriginalClusterId = originalclusterid
11900
- @ClusterName = clustername
11901
11950
  @UniqVpcId = uniqvpcid
11902
11951
  @UniqSubnetId = uniqsubnetid
11952
+ @ClusterName = clustername
11953
+ @RollbackId = rollbackid
11954
+ @ExpectTime = expecttime
11903
11955
  @AutoVoucher = autovoucher
11956
+ @ResourceTags = resourcetags
11904
11957
  @DbMode = dbmode
11905
11958
  @MinCpu = mincpu
11906
11959
  @MaxCpu = maxcpu
@@ -11909,21 +11962,29 @@ module TencentCloud
11909
11962
  @SecurityGroupIds = securitygroupids
11910
11963
  @AlarmPolicyIds = alarmpolicyids
11911
11964
  @ClusterParams = clusterparams
11912
- @DealMode = dealmode
11913
11965
  @ParamTemplateId = paramtemplateid
11914
- @ResourceTags = resourcetags
11915
11966
  @InstanceInitInfos = instanceinitinfos
11916
- @RollbackId = rollbackid
11917
- @ExpectTime = expecttime
11967
+ @DealMode = dealmode
11968
+ @PayMode = paymode
11918
11969
  end
11919
11970
 
11920
11971
  def deserialize(params)
11921
11972
  @Zone = params['Zone']
11922
11973
  @OriginalClusterId = params['OriginalClusterId']
11923
- @ClusterName = params['ClusterName']
11924
11974
  @UniqVpcId = params['UniqVpcId']
11925
11975
  @UniqSubnetId = params['UniqSubnetId']
11976
+ @ClusterName = params['ClusterName']
11977
+ @RollbackId = params['RollbackId']
11978
+ @ExpectTime = params['ExpectTime']
11926
11979
  @AutoVoucher = params['AutoVoucher']
11980
+ unless params['ResourceTags'].nil?
11981
+ @ResourceTags = []
11982
+ params['ResourceTags'].each do |i|
11983
+ tag_tmp = Tag.new
11984
+ tag_tmp.deserialize(i)
11985
+ @ResourceTags << tag_tmp
11986
+ end
11987
+ end
11927
11988
  @DbMode = params['DbMode']
11928
11989
  @MinCpu = params['MinCpu']
11929
11990
  @MaxCpu = params['MaxCpu']
@@ -11939,16 +12000,7 @@ module TencentCloud
11939
12000
  @ClusterParams << paramitem_tmp
11940
12001
  end
11941
12002
  end
11942
- @DealMode = params['DealMode']
11943
12003
  @ParamTemplateId = params['ParamTemplateId']
11944
- unless params['ResourceTags'].nil?
11945
- @ResourceTags = []
11946
- params['ResourceTags'].each do |i|
11947
- tag_tmp = Tag.new
11948
- tag_tmp.deserialize(i)
11949
- @ResourceTags << tag_tmp
11950
- end
11951
- end
11952
12004
  unless params['InstanceInitInfos'].nil?
11953
12005
  @InstanceInitInfos = []
11954
12006
  params['InstanceInitInfos'].each do |i|
@@ -11957,8 +12009,8 @@ module TencentCloud
11957
12009
  @InstanceInitInfos << instanceinitinfo_tmp
11958
12010
  end
11959
12011
  end
11960
- @RollbackId = params['RollbackId']
11961
- @ExpectTime = params['ExpectTime']
12012
+ @DealMode = params['DealMode']
12013
+ @PayMode = params['PayMode']
11962
12014
  end
11963
12015
  end
11964
12016
 
@@ -13067,6 +13119,8 @@ module TencentCloud
13067
13119
  # @type Memory: Integer
13068
13120
  # @param UpgradeType: 升级类型:upgradeImmediate,upgradeInMaintain
13069
13121
  # @type UpgradeType: String
13122
+ # @param DeviceType: 实例机器类型
13123
+ # @type DeviceType: String
13070
13124
  # @param StorageLimit: 该参数已废弃
13071
13125
  # @type StorageLimit: Integer
13072
13126
  # @param AutoVoucher: 是否自动选择代金券 1是 0否 默认为0
@@ -13080,13 +13134,14 @@ module TencentCloud
13080
13134
  # @param UpgradeProxy: proxy同步升级
13081
13135
  # @type UpgradeProxy: :class:`Tencentcloud::Cynosdb.v20190107.models.UpgradeProxy`
13082
13136
 
13083
- attr_accessor :InstanceId, :Cpu, :Memory, :UpgradeType, :StorageLimit, :AutoVoucher, :DbType, :DealMode, :UpgradeMode, :UpgradeProxy
13137
+ attr_accessor :InstanceId, :Cpu, :Memory, :UpgradeType, :DeviceType, :StorageLimit, :AutoVoucher, :DbType, :DealMode, :UpgradeMode, :UpgradeProxy
13084
13138
 
13085
- def initialize(instanceid=nil, cpu=nil, memory=nil, upgradetype=nil, storagelimit=nil, autovoucher=nil, dbtype=nil, dealmode=nil, upgrademode=nil, upgradeproxy=nil)
13139
+ def initialize(instanceid=nil, cpu=nil, memory=nil, upgradetype=nil, devicetype=nil, storagelimit=nil, autovoucher=nil, dbtype=nil, dealmode=nil, upgrademode=nil, upgradeproxy=nil)
13086
13140
  @InstanceId = instanceid
13087
13141
  @Cpu = cpu
13088
13142
  @Memory = memory
13089
13143
  @UpgradeType = upgradetype
13144
+ @DeviceType = devicetype
13090
13145
  @StorageLimit = storagelimit
13091
13146
  @AutoVoucher = autovoucher
13092
13147
  @DbType = dbtype
@@ -13100,6 +13155,7 @@ module TencentCloud
13100
13155
  @Cpu = params['Cpu']
13101
13156
  @Memory = params['Memory']
13102
13157
  @UpgradeType = params['UpgradeType']
13158
+ @DeviceType = params['DeviceType']
13103
13159
  @StorageLimit = params['StorageLimit']
13104
13160
  @AutoVoucher = params['AutoVoucher']
13105
13161
  @DbType = params['DbType']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cynosdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.828
4
+ version: 3.0.830
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-22 00:00:00.000000000 Z
11
+ date: 2024-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common