tencentcloud-sdk-cynosdb 3.0.782 → 3.0.784
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 +53 -4
- 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: 256e8ab5b68e13a5ce3385d49420ea0933dec17c
|
4
|
+
data.tar.gz: b2322fa1b399a2acffebc95cdc5318117b370f8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21949f45d2bc24a4b4ab88ec75260ca18d61fffd6d073449a9740b745316284d37170e929b711de4dfb9d1df9c7a578e5ed10ebcbe78bb54c244a4b5fa0ecced
|
7
|
+
data.tar.gz: c40681d6407df3064933ed8946a175a506c8a8bf9d40f2412a5978c0e1db684d7cc061c08bd1ef36dc36867a04c264b8eecd9901d79f0db6d854aea07b54e07f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.784
|
data/lib/v20190107/models.rb
CHANGED
@@ -223,13 +223,15 @@ module TencentCloud
|
|
223
223
|
# @type InstanceParams: Array
|
224
224
|
# @param SecurityGroupIds: 安全组ID,新建只读实例时可以指定安全组。
|
225
225
|
# @type SecurityGroupIds: Array
|
226
|
+
# @param UpgradeProxy: proxy同步升级
|
227
|
+
# @type UpgradeProxy: :class:`Tencentcloud::Cynosdb.v20190107.models.UpgradeProxy`
|
226
228
|
|
227
|
-
attr_accessor :ClusterId, :Cpu, :Memory, :ReadOnlyCount, :InstanceGrpId, :VpcId, :SubnetId, :Port, :InstanceName, :AutoVoucher, :DbType, :OrderSource, :DealMode, :ParamTemplateId, :InstanceParams, :SecurityGroupIds
|
229
|
+
attr_accessor :ClusterId, :Cpu, :Memory, :ReadOnlyCount, :InstanceGrpId, :VpcId, :SubnetId, :Port, :InstanceName, :AutoVoucher, :DbType, :OrderSource, :DealMode, :ParamTemplateId, :InstanceParams, :SecurityGroupIds, :UpgradeProxy
|
228
230
|
extend Gem::Deprecate
|
229
231
|
deprecate :InstanceGrpId, :none, 2024, 3
|
230
232
|
deprecate :InstanceGrpId=, :none, 2024, 3
|
231
233
|
|
232
|
-
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)
|
234
|
+
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)
|
233
235
|
@ClusterId = clusterid
|
234
236
|
@Cpu = cpu
|
235
237
|
@Memory = memory
|
@@ -246,6 +248,7 @@ module TencentCloud
|
|
246
248
|
@ParamTemplateId = paramtemplateid
|
247
249
|
@InstanceParams = instanceparams
|
248
250
|
@SecurityGroupIds = securitygroupids
|
251
|
+
@UpgradeProxy = upgradeproxy
|
249
252
|
end
|
250
253
|
|
251
254
|
def deserialize(params)
|
@@ -272,6 +275,10 @@ module TencentCloud
|
|
272
275
|
end
|
273
276
|
end
|
274
277
|
@SecurityGroupIds = params['SecurityGroupIds']
|
278
|
+
unless params['UpgradeProxy'].nil?
|
279
|
+
@UpgradeProxy = UpgradeProxy.new
|
280
|
+
@UpgradeProxy.deserialize(params['UpgradeProxy'])
|
281
|
+
end
|
275
282
|
end
|
276
283
|
end
|
277
284
|
|
@@ -12345,10 +12352,12 @@ module TencentCloud
|
|
12345
12352
|
# @type DealMode: Integer
|
12346
12353
|
# @param UpgradeMode: NormalUpgrade:普通变配,FastUpgrade:极速变配,若变配过程判断会造成闪断,变配流程会终止。
|
12347
12354
|
# @type UpgradeMode: String
|
12355
|
+
# @param UpgradeProxy: proxy同步升级
|
12356
|
+
# @type UpgradeProxy: :class:`Tencentcloud::Cynosdb.v20190107.models.UpgradeProxy`
|
12348
12357
|
|
12349
|
-
attr_accessor :InstanceId, :Cpu, :Memory, :UpgradeType, :StorageLimit, :AutoVoucher, :DbType, :DealMode, :UpgradeMode
|
12358
|
+
attr_accessor :InstanceId, :Cpu, :Memory, :UpgradeType, :StorageLimit, :AutoVoucher, :DbType, :DealMode, :UpgradeMode, :UpgradeProxy
|
12350
12359
|
|
12351
|
-
def initialize(instanceid=nil, cpu=nil, memory=nil, upgradetype=nil, storagelimit=nil, autovoucher=nil, dbtype=nil, dealmode=nil, upgrademode=nil)
|
12360
|
+
def initialize(instanceid=nil, cpu=nil, memory=nil, upgradetype=nil, storagelimit=nil, autovoucher=nil, dbtype=nil, dealmode=nil, upgrademode=nil, upgradeproxy=nil)
|
12352
12361
|
@InstanceId = instanceid
|
12353
12362
|
@Cpu = cpu
|
12354
12363
|
@Memory = memory
|
@@ -12358,6 +12367,7 @@ module TencentCloud
|
|
12358
12367
|
@DbType = dbtype
|
12359
12368
|
@DealMode = dealmode
|
12360
12369
|
@UpgradeMode = upgrademode
|
12370
|
+
@UpgradeProxy = upgradeproxy
|
12361
12371
|
end
|
12362
12372
|
|
12363
12373
|
def deserialize(params)
|
@@ -12370,6 +12380,10 @@ module TencentCloud
|
|
12370
12380
|
@DbType = params['DbType']
|
12371
12381
|
@DealMode = params['DealMode']
|
12372
12382
|
@UpgradeMode = params['UpgradeMode']
|
12383
|
+
unless params['UpgradeProxy'].nil?
|
12384
|
+
@UpgradeProxy = UpgradeProxy.new
|
12385
|
+
@UpgradeProxy.deserialize(params['UpgradeProxy'])
|
12386
|
+
end
|
12373
12387
|
end
|
12374
12388
|
end
|
12375
12389
|
|
@@ -12403,6 +12417,41 @@ module TencentCloud
|
|
12403
12417
|
end
|
12404
12418
|
end
|
12405
12419
|
|
12420
|
+
# 添加实例或者变配实例时同步升级proxy.
|
12421
|
+
class UpgradeProxy < TencentCloud::Common::AbstractModel
|
12422
|
+
# @param Cpu: cpu
|
12423
|
+
# @type Cpu: Integer
|
12424
|
+
# @param Mem: memory
|
12425
|
+
# @type Mem: Integer
|
12426
|
+
# @param ProxyZones: 代理节点信息
|
12427
|
+
# @type ProxyZones: Array
|
12428
|
+
# @param ReloadBalance: 重新负载均衡
|
12429
|
+
# @type ReloadBalance: String
|
12430
|
+
|
12431
|
+
attr_accessor :Cpu, :Mem, :ProxyZones, :ReloadBalance
|
12432
|
+
|
12433
|
+
def initialize(cpu=nil, mem=nil, proxyzones=nil, reloadbalance=nil)
|
12434
|
+
@Cpu = cpu
|
12435
|
+
@Mem = mem
|
12436
|
+
@ProxyZones = proxyzones
|
12437
|
+
@ReloadBalance = reloadbalance
|
12438
|
+
end
|
12439
|
+
|
12440
|
+
def deserialize(params)
|
12441
|
+
@Cpu = params['Cpu']
|
12442
|
+
@Mem = params['Mem']
|
12443
|
+
unless params['ProxyZones'].nil?
|
12444
|
+
@ProxyZones = []
|
12445
|
+
params['ProxyZones'].each do |i|
|
12446
|
+
proxyzone_tmp = ProxyZone.new
|
12447
|
+
proxyzone_tmp.deserialize(i)
|
12448
|
+
@ProxyZones << proxyzone_tmp
|
12449
|
+
end
|
12450
|
+
end
|
12451
|
+
@ReloadBalance = params['ReloadBalance']
|
12452
|
+
end
|
12453
|
+
end
|
12454
|
+
|
12406
12455
|
# UpgradeProxy请求参数结构体
|
12407
12456
|
class UpgradeProxyRequest < TencentCloud::Common::AbstractModel
|
12408
12457
|
# @param ClusterId: 集群ID
|
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.784
|
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-03-
|
11
|
+
date: 2024-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|