tencentcloud-sdk-dcdb 1.0.346 → 1.0.349

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: 6397dc97d9baba25f6ff7a829251ab934dd40b4b
4
- data.tar.gz: e5fc3ea3ef06a0df81d3fa18b2f9f39b8a65ee6e
3
+ metadata.gz: 0b91bbe7c53a6ddfbf8d421d8ffdc46cf3905dfb
4
+ data.tar.gz: 7d9d22947057a522770ecf2cbfc2e76a4e30525e
5
5
  SHA512:
6
- metadata.gz: c2256c1015620a392e87cda79c1769cbb9e3d1cb6fb41ed32583af574911cda5fa54fde6f57212dab0b864d13be55588fe04bbcd03a702c6075c3bb5bd5e608d
7
- data.tar.gz: 8a9d7f250db4b80298b9512d37a64a0858232f43bfc5e5d77d46ffdbb72cbcfd307e1ace8ee7fb9a944587081f55af6a380f33aa1690260990c78ef64fa7166f
6
+ metadata.gz: f2dee0be32222b2914480f889ca48b6a828ab4b5c6f4a31a69f4af3415627706951c3822d7d0ebd139d85a90496302ad32c4af25b991a434241e6a735df45aa4
7
+ data.tar.gz: 9fa805c57ced14652d9590bce00d61e04d590e0f979c4b54c8b85ec18f865d577dd66272b0f5ec8ee33cdf82957fe885a7fb22f39ac0a4e96551ae664e75fd90
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.346
1
+ 1.0.349
@@ -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.346
4
+ version: 1.0.349
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-01 00:00:00.000000000 Z
11
+ date: 2022-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common