tencentcloud-sdk-cynosdb 3.0.478 → 3.0.479
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/v20190107/models.rb +41 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75bee288ffbf09a73d0ed2820bf8e1b4103e9eff
|
4
|
+
data.tar.gz: 1f759b4a28d4351a392bbdbb317184ca011f050f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 839ef2d23f0960c5e24c09059b45702c7b4f9c3db9c03c02839d70741c38a49f05b038e48006dab457ddd6e4dbcedf74f07e8d634a5b53bb5cf4094063e2876e
|
7
|
+
data.tar.gz: 735af8426fccf9b87e52fc39b8d83f90d5d255e00339ab91bf49b156664b58714dcf68fe01b81d25d09d3bddd32e1f6bdb7215c89ae1683d5ee8f7bb6a751846
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.479
|
data/lib/v20190107/models.rb
CHANGED
@@ -962,10 +962,12 @@ module TencentCloud
|
|
962
962
|
# @type ParamTemplateId: Integer
|
963
963
|
# @param SlaveZone: 多可用区地址
|
964
964
|
# @type SlaveZone: String
|
965
|
+
# @param InstanceInitInfos: 实例初始化配置信息,主要用于购买集群时选不同规格实例
|
966
|
+
# @type InstanceInitInfos: Array
|
965
967
|
|
966
|
-
attr_accessor :Zone, :VpcId, :SubnetId, :DbType, :DbVersion, :ProjectId, :Cpu, :Memory, :Storage, :ClusterName, :AdminPassword, :Port, :PayMode, :Count, :RollbackStrategy, :RollbackId, :OriginalClusterId, :ExpectTime, :ExpectTimeThresh, :StorageLimit, :InstanceCount, :TimeSpan, :TimeUnit, :AutoRenewFlag, :AutoVoucher, :HaCount, :OrderSource, :ResourceTags, :DbMode, :MinCpu, :MaxCpu, :AutoPause, :AutoPauseDelay, :StoragePayMode, :SecurityGroupIds, :AlarmPolicyIds, :ClusterParams, :DealMode, :ParamTemplateId, :SlaveZone
|
968
|
+
attr_accessor :Zone, :VpcId, :SubnetId, :DbType, :DbVersion, :ProjectId, :Cpu, :Memory, :Storage, :ClusterName, :AdminPassword, :Port, :PayMode, :Count, :RollbackStrategy, :RollbackId, :OriginalClusterId, :ExpectTime, :ExpectTimeThresh, :StorageLimit, :InstanceCount, :TimeSpan, :TimeUnit, :AutoRenewFlag, :AutoVoucher, :HaCount, :OrderSource, :ResourceTags, :DbMode, :MinCpu, :MaxCpu, :AutoPause, :AutoPauseDelay, :StoragePayMode, :SecurityGroupIds, :AlarmPolicyIds, :ClusterParams, :DealMode, :ParamTemplateId, :SlaveZone, :InstanceInitInfos
|
967
969
|
|
968
|
-
def initialize(zone=nil, vpcid=nil, subnetid=nil, dbtype=nil, dbversion=nil, projectid=nil, cpu=nil, memory=nil, storage=nil, clustername=nil, adminpassword=nil, port=nil, paymode=nil, count=nil, rollbackstrategy=nil, rollbackid=nil, originalclusterid=nil, expecttime=nil, expecttimethresh=nil, storagelimit=nil, instancecount=nil, timespan=nil, timeunit=nil, autorenewflag=nil, autovoucher=nil, hacount=nil, ordersource=nil, resourcetags=nil, dbmode=nil, mincpu=nil, maxcpu=nil, autopause=nil, autopausedelay=nil, storagepaymode=nil, securitygroupids=nil, alarmpolicyids=nil, clusterparams=nil, dealmode=nil, paramtemplateid=nil, slavezone=nil)
|
970
|
+
def initialize(zone=nil, vpcid=nil, subnetid=nil, dbtype=nil, dbversion=nil, projectid=nil, cpu=nil, memory=nil, storage=nil, clustername=nil, adminpassword=nil, port=nil, paymode=nil, count=nil, rollbackstrategy=nil, rollbackid=nil, originalclusterid=nil, expecttime=nil, expecttimethresh=nil, storagelimit=nil, instancecount=nil, timespan=nil, timeunit=nil, autorenewflag=nil, autovoucher=nil, hacount=nil, ordersource=nil, resourcetags=nil, dbmode=nil, mincpu=nil, maxcpu=nil, autopause=nil, autopausedelay=nil, storagepaymode=nil, securitygroupids=nil, alarmpolicyids=nil, clusterparams=nil, dealmode=nil, paramtemplateid=nil, slavezone=nil, instanceinitinfos=nil)
|
969
971
|
@Zone = zone
|
970
972
|
@VpcId = vpcid
|
971
973
|
@SubnetId = subnetid
|
@@ -1006,6 +1008,7 @@ module TencentCloud
|
|
1006
1008
|
@DealMode = dealmode
|
1007
1009
|
@ParamTemplateId = paramtemplateid
|
1008
1010
|
@SlaveZone = slavezone
|
1011
|
+
@InstanceInitInfos = instanceinitinfos
|
1009
1012
|
end
|
1010
1013
|
|
1011
1014
|
def deserialize(params)
|
@@ -1063,6 +1066,14 @@ module TencentCloud
|
|
1063
1066
|
@DealMode = params['DealMode']
|
1064
1067
|
@ParamTemplateId = params['ParamTemplateId']
|
1065
1068
|
@SlaveZone = params['SlaveZone']
|
1069
|
+
unless params['InstanceInitInfos'].nil?
|
1070
|
+
@InstanceInitInfos = []
|
1071
|
+
params['InstanceInitInfos'].each do |i|
|
1072
|
+
instanceinitinfo_tmp = InstanceInitInfo.new
|
1073
|
+
instanceinitinfo_tmp.deserialize(i)
|
1074
|
+
@InstanceInitInfos << instanceinitinfo_tmp
|
1075
|
+
end
|
1076
|
+
end
|
1066
1077
|
end
|
1067
1078
|
end
|
1068
1079
|
|
@@ -3885,6 +3896,34 @@ module TencentCloud
|
|
3885
3896
|
end
|
3886
3897
|
end
|
3887
3898
|
|
3899
|
+
# 实例初始化配置信息
|
3900
|
+
class InstanceInitInfo < TencentCloud::Common::AbstractModel
|
3901
|
+
# @param Cpu: 实例cpu
|
3902
|
+
# @type Cpu: Integer
|
3903
|
+
# @param Memory: 实例内存
|
3904
|
+
# @type Memory: Integer
|
3905
|
+
# @param InstanceType: 实例类型 rw/ro
|
3906
|
+
# @type InstanceType: String
|
3907
|
+
# @param InstanceCount: 实例个数,范围[1,15]
|
3908
|
+
# @type InstanceCount: Integer
|
3909
|
+
|
3910
|
+
attr_accessor :Cpu, :Memory, :InstanceType, :InstanceCount
|
3911
|
+
|
3912
|
+
def initialize(cpu=nil, memory=nil, instancetype=nil, instancecount=nil)
|
3913
|
+
@Cpu = cpu
|
3914
|
+
@Memory = memory
|
3915
|
+
@InstanceType = instancetype
|
3916
|
+
@InstanceCount = instancecount
|
3917
|
+
end
|
3918
|
+
|
3919
|
+
def deserialize(params)
|
3920
|
+
@Cpu = params['Cpu']
|
3921
|
+
@Memory = params['Memory']
|
3922
|
+
@InstanceType = params['InstanceType']
|
3923
|
+
@InstanceCount = params['InstanceCount']
|
3924
|
+
end
|
3925
|
+
end
|
3926
|
+
|
3888
3927
|
# 实例可售卖规格详细信息,创建实例时Cpu/Memory确定实例规格,存储可选大小为[MinStorageSize,MaxStorageSize]
|
3889
3928
|
class InstanceSpec < TencentCloud::Common::AbstractModel
|
3890
3929
|
# @param Cpu: 实例CPU,单位:核
|
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.
|
4
|
+
version: 3.0.479
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-12-
|
11
|
+
date: 2022-12-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|