tencentcloud-sdk-dcdb 1.0.345 → 1.0.348
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/v20180411/models.rb +16 -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: eaae51000edf6ec5423162a4379c875074d7ee9a
|
4
|
+
data.tar.gz: ffc8663d09cf28cb878fb27765504ea95f486d7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dec556455c9ea624bc3eb6d85f6d45f44552d4fabc52c0b9dacfda23c5d2bd45e17a8d5d29a81767cfdf139ef5487e825771a9084dc6d35fb60a19057297745a
|
7
|
+
data.tar.gz: 0933e5767b4fe5e8bd4ce68441f970462b4458684b44ca486fc5a6e92061f62a4befe091e15760276940c1ea903c36eee90330ef96f8d85403f514cc0145f3f5
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.348
|
data/lib/v20180411/models.rb
CHANGED
@@ -370,10 +370,14 @@ module TencentCloud
|
|
370
370
|
# @param DelayThresh: 如果备机延迟超过本参数设置值,系统将认为备机发生故障
|
371
371
|
# 建议该参数值大于10。当ReadOnly选择1、2时该参数生效。
|
372
372
|
# @type DelayThresh: Integer
|
373
|
+
# @param SlaveConst: 针对只读账号,设置策略是否固定备机,0:不固定备机,即备机不满足条件与客户端不断开连接,Proxy选择其他可用备机,1:备机不满足条件断开连接,确保一个连接固定备机。
|
374
|
+
# @type SlaveConst: Integer
|
375
|
+
# @param MaxUserConnections: 用户最大连接数限制参数。不传或者传0表示为不限制,对应max_user_connections参数,目前10.1内核版本不支持设置。
|
376
|
+
# @type MaxUserConnections: Integer
|
373
377
|
|
374
|
-
attr_accessor :InstanceId, :UserName, :Host, :Password, :ReadOnly, :Description, :DelayThresh
|
378
|
+
attr_accessor :InstanceId, :UserName, :Host, :Password, :ReadOnly, :Description, :DelayThresh, :SlaveConst, :MaxUserConnections
|
375
379
|
|
376
|
-
def initialize(instanceid=nil, username=nil, host=nil, password=nil, readonly=nil, description=nil, delaythresh=nil)
|
380
|
+
def initialize(instanceid=nil, username=nil, host=nil, password=nil, readonly=nil, description=nil, delaythresh=nil, slaveconst=nil, maxuserconnections=nil)
|
377
381
|
@InstanceId = instanceid
|
378
382
|
@UserName = username
|
379
383
|
@Host = host
|
@@ -381,6 +385,8 @@ module TencentCloud
|
|
381
385
|
@ReadOnly = readonly
|
382
386
|
@Description = description
|
383
387
|
@DelayThresh = delaythresh
|
388
|
+
@SlaveConst = slaveconst
|
389
|
+
@MaxUserConnections = maxuserconnections
|
384
390
|
end
|
385
391
|
|
386
392
|
def deserialize(params)
|
@@ -391,6 +397,8 @@ module TencentCloud
|
|
391
397
|
@ReadOnly = params['ReadOnly']
|
392
398
|
@Description = params['Description']
|
393
399
|
@DelayThresh = params['DelayThresh']
|
400
|
+
@SlaveConst = params['SlaveConst']
|
401
|
+
@MaxUserConnections = params['MaxUserConnections']
|
394
402
|
end
|
395
403
|
end
|
396
404
|
|
@@ -880,10 +888,12 @@ module TencentCloud
|
|
880
888
|
# @param DelayThresh: 如果备机延迟超过本参数设置值,系统将认为备机发生故障
|
881
889
|
# 建议该参数值大于10。当ReadOnly选择1、2时该参数生效。
|
882
890
|
# @type DelayThresh: Integer
|
891
|
+
# @param SlaveConst: 针对只读账号,设置策略是否固定备机,0:不固定备机,即备机不满足条件与客户端不断开连接,Proxy选择其他可用备机,1:备机不满足条件断开连接,确保一个连接固定备机。
|
892
|
+
# @type SlaveConst: Integer
|
883
893
|
|
884
|
-
attr_accessor :UserName, :Host, :Description, :CreateTime, :UpdateTime, :ReadOnly, :DelayThresh
|
894
|
+
attr_accessor :UserName, :Host, :Description, :CreateTime, :UpdateTime, :ReadOnly, :DelayThresh, :SlaveConst
|
885
895
|
|
886
|
-
def initialize(username=nil, host=nil, description=nil, createtime=nil, updatetime=nil, readonly=nil, delaythresh=nil)
|
896
|
+
def initialize(username=nil, host=nil, description=nil, createtime=nil, updatetime=nil, readonly=nil, delaythresh=nil, slaveconst=nil)
|
887
897
|
@UserName = username
|
888
898
|
@Host = host
|
889
899
|
@Description = description
|
@@ -891,6 +901,7 @@ module TencentCloud
|
|
891
901
|
@UpdateTime = updatetime
|
892
902
|
@ReadOnly = readonly
|
893
903
|
@DelayThresh = delaythresh
|
904
|
+
@SlaveConst = slaveconst
|
894
905
|
end
|
895
906
|
|
896
907
|
def deserialize(params)
|
@@ -901,6 +912,7 @@ module TencentCloud
|
|
901
912
|
@UpdateTime = params['UpdateTime']
|
902
913
|
@ReadOnly = params['ReadOnly']
|
903
914
|
@DelayThresh = params['DelayThresh']
|
915
|
+
@SlaveConst = params['SlaveConst']
|
904
916
|
end
|
905
917
|
end
|
906
918
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-dcdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.348
|
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-
|
11
|
+
date: 2022-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|