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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180411/models.rb +16 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b9d345b1e2e51cfcc3d297f17e2f3719a84b297a
4
- data.tar.gz: 0c76d907061173cfe788a81ad3028a7ca9253e26
3
+ metadata.gz: eaae51000edf6ec5423162a4379c875074d7ee9a
4
+ data.tar.gz: ffc8663d09cf28cb878fb27765504ea95f486d7f
5
5
  SHA512:
6
- metadata.gz: 22b456aff37f59fee7b5650d6a37ff27853157514515197bf751b1b2bbb09586b93ab00735fa4120007d09002b642aa9c496128c5760f468cfb52258bf96a5f4
7
- data.tar.gz: 7fab7d04777073a3603e6fdd9fe0aaae3309cfa0aaa179cf7a081daeff5c1f8fb0e23db616edb313ab218bffc438efb72282350ad5b27f376caac9f4507cab6e
6
+ metadata.gz: dec556455c9ea624bc3eb6d85f6d45f44552d4fabc52c0b9dacfda23c5d2bd45e17a8d5d29a81767cfdf139ef5487e825771a9084dc6d35fb60a19057297745a
7
+ data.tar.gz: 0933e5767b4fe5e8bd4ce68441f970462b4458684b44ca486fc5a6e92061f62a4befe091e15760276940c1ea903c36eee90330ef96f8d85403f514cc0145f3f5
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.345
1
+ 1.0.348
@@ -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.345
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-06-30 00:00:00.000000000 Z
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