tencentcloud-sdk-cynosdb 3.0.478 → 3.0.480
Sign up to get free protection for your applications and to get access to all the features.
- 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: 73541870a451beefd67f7f1cb65672d0ea677731
|
4
|
+
data.tar.gz: 8dc94a5fa727e447d242c52f2e2173e8c90322fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 530de4b0290e1bbb4da7edd43ca2970b2123c5f1309035bee6c9246cb465a59aad236b4fef6d5edc93d0fec40886232ddf0a4a65a8143d3d7f24c3c46e74cc34
|
7
|
+
data.tar.gz: aed03cb5c63bd5a76e8eeb1c76052eae8237beb4a6d8758a141849973e6f70f9ce9961be128c6bba5b56a0a14b0fc4b06063fe0e6801a92c1d705f01613abf12
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.480
|
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.480
|
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-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|