tencentcloud-sdk-dcdb 1.0.347 → 1.0.350
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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: e9366362f67b9ff2269534836d697ddfb193f40c
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 599a17f7a0bc6eed89b352a6b01fe9ea75f6d7ef
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 8705cd6aaf32af7648930e66dfd759fe16243e528493f5422aafb8118ee250123dfe53c1dd4e1c0d23168c501423781dff1035eae10aa1d5e742eebf4045cd9c
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: e37f213b0a500b7bac374357e65713903678101aa1b9bc63b5ac8e801da9b28438f74107312dc5584a8130a32164b7002198d41bac7748cc1e7bfca2592e5487
         
     | 
    
        data/lib/VERSION
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            1.0. 
     | 
| 
      
 1 
     | 
    
         
            +
            1.0.350
         
     | 
    
        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.350
         
     | 
| 
       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-06 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: tencentcloud-sdk-common
         
     |