tencentcloud-sdk-mariadb 1.0.347 → 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/v20170312/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: 49fe70abf587653fe6e886a4002921df7c120716
|
4
|
+
data.tar.gz: 96961abde368b7e14f9f670f0b05e3a381e8568f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 019a1050f04d5212626c561e183a38da26e35738eb5d2c663368086bd9a18049e337bcdc030e0bdffdf875622d164123d1417a2016fe5ef5c00f3884e468eeda
|
7
|
+
data.tar.gz: 2b57dcef8842b1da3a53af13889203f5da4420ef3eabcaa22e04f8d39d1ad1b4be278b2425d4658f9468ad24e25b39f23b7e03e39590b04868737ce8be4870df
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.348
|
data/lib/v20170312/models.rb
CHANGED
@@ -369,10 +369,14 @@ module TencentCloud
|
|
369
369
|
# @type Description: String
|
370
370
|
# @param DelayThresh: 根据传入时间判断备机不可用
|
371
371
|
# @type DelayThresh: Integer
|
372
|
+
# @param SlaveConst: 针对只读账号,设置策略是否固定备机,0:不固定备机,即备机不满足条件与客户端不断开连接,Proxy选择其他可用备机,1:备机不满足条件断开连接,确保一个连接固定备机。
|
373
|
+
# @type SlaveConst: Integer
|
374
|
+
# @param MaxUserConnections: 用户最大连接数限制参数。不传或者传0表示为不限制,对应max_user_connections参数,目前10.1内核版本不支持设置。
|
375
|
+
# @type MaxUserConnections: Integer
|
372
376
|
|
373
|
-
attr_accessor :InstanceId, :UserName, :Host, :Password, :ReadOnly, :Description, :DelayThresh
|
377
|
+
attr_accessor :InstanceId, :UserName, :Host, :Password, :ReadOnly, :Description, :DelayThresh, :SlaveConst, :MaxUserConnections
|
374
378
|
|
375
|
-
def initialize(instanceid=nil, username=nil, host=nil, password=nil, readonly=nil, description=nil, delaythresh=nil)
|
379
|
+
def initialize(instanceid=nil, username=nil, host=nil, password=nil, readonly=nil, description=nil, delaythresh=nil, slaveconst=nil, maxuserconnections=nil)
|
376
380
|
@InstanceId = instanceid
|
377
381
|
@UserName = username
|
378
382
|
@Host = host
|
@@ -380,6 +384,8 @@ module TencentCloud
|
|
380
384
|
@ReadOnly = readonly
|
381
385
|
@Description = description
|
382
386
|
@DelayThresh = delaythresh
|
387
|
+
@SlaveConst = slaveconst
|
388
|
+
@MaxUserConnections = maxuserconnections
|
383
389
|
end
|
384
390
|
|
385
391
|
def deserialize(params)
|
@@ -390,6 +396,8 @@ module TencentCloud
|
|
390
396
|
@ReadOnly = params['ReadOnly']
|
391
397
|
@Description = params['Description']
|
392
398
|
@DelayThresh = params['DelayThresh']
|
399
|
+
@SlaveConst = params['SlaveConst']
|
400
|
+
@MaxUserConnections = params['MaxUserConnections']
|
393
401
|
end
|
394
402
|
end
|
395
403
|
|
@@ -886,10 +894,12 @@ module TencentCloud
|
|
886
894
|
# @param DelayThresh: 该字段对只读帐号有意义,表示选择主备延迟小于该值的备机
|
887
895
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
888
896
|
# @type DelayThresh: Integer
|
897
|
+
# @param SlaveConst: 针对只读账号,设置策略是否固定备机,0:不固定备机,即备机不满足条件与客户端不断开连接,Proxy选择其他可用备机,1:备机不满足条件断开连接,确保一个连接固定备机。
|
898
|
+
# @type SlaveConst: Integer
|
889
899
|
|
890
|
-
attr_accessor :UserName, :Host, :Description, :CreateTime, :UpdateTime, :ReadOnly, :DelayThresh
|
900
|
+
attr_accessor :UserName, :Host, :Description, :CreateTime, :UpdateTime, :ReadOnly, :DelayThresh, :SlaveConst
|
891
901
|
|
892
|
-
def initialize(username=nil, host=nil, description=nil, createtime=nil, updatetime=nil, readonly=nil, delaythresh=nil)
|
902
|
+
def initialize(username=nil, host=nil, description=nil, createtime=nil, updatetime=nil, readonly=nil, delaythresh=nil, slaveconst=nil)
|
893
903
|
@UserName = username
|
894
904
|
@Host = host
|
895
905
|
@Description = description
|
@@ -897,6 +907,7 @@ module TencentCloud
|
|
897
907
|
@UpdateTime = updatetime
|
898
908
|
@ReadOnly = readonly
|
899
909
|
@DelayThresh = delaythresh
|
910
|
+
@SlaveConst = slaveconst
|
900
911
|
end
|
901
912
|
|
902
913
|
def deserialize(params)
|
@@ -907,6 +918,7 @@ module TencentCloud
|
|
907
918
|
@UpdateTime = params['UpdateTime']
|
908
919
|
@ReadOnly = params['ReadOnly']
|
909
920
|
@DelayThresh = params['DelayThresh']
|
921
|
+
@SlaveConst = params['SlaveConst']
|
910
922
|
end
|
911
923
|
end
|
912
924
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-mariadb
|
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-07-
|
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
|