tencentcloud-sdk-thpc 3.0.652 → 3.0.654
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/tencentcloud-sdk-thpc.rb +4 -4
 - data/lib/v20230321/models.rb +21 -4
 - metadata +6 -6
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 5255f7d20c0903a41aa38b28d7312d73a5a77033
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 4d2f84cb6f7fe5006b7966b2154069d89cbee4f3
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 43522fe83023fa2174dfa84a6eb88be121f432325cbc7b9b9f1763b30650860d839cbead022a2a4dc4dca2ba96270bd5dc800ca0ce71ab81aa83f0a176865278
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 224438760ffa64fbd8ca384313bfa33ae4e346b0916b83f549470c89fe49774fb893ea1aff050bf4eaf3a928ac673e7156e48b8619ad69f2a0eb3607a0ec910b
         
     | 
    
        data/lib/VERSION
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            3.0. 
     | 
| 
      
 1 
     | 
    
         
            +
            3.0.654
         
     | 
| 
         @@ -2,14 +2,14 @@ 
     | 
|
| 
       2 
2 
     | 
    
         | 
| 
       3 
3 
     | 
    
         
             
            require 'tencentcloud-sdk-common'
         
     | 
| 
       4 
4 
     | 
    
         | 
| 
       5 
     | 
    
         
            -
            require_relative ' 
     | 
| 
       6 
     | 
    
         
            -
            require_relative ' 
     | 
| 
      
 5 
     | 
    
         
            +
            require_relative 'v20230321/client'
         
     | 
| 
      
 6 
     | 
    
         
            +
            require_relative 'v20230321/models'
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
8 
     | 
    
         
             
            require_relative 'v20211109/client'
         
     | 
| 
       9 
9 
     | 
    
         
             
            require_relative 'v20211109/models'
         
     | 
| 
       10 
10 
     | 
    
         | 
| 
       11 
     | 
    
         
            -
            require_relative ' 
     | 
| 
       12 
     | 
    
         
            -
            require_relative ' 
     | 
| 
      
 11 
     | 
    
         
            +
            require_relative 'v20220401/client'
         
     | 
| 
      
 12 
     | 
    
         
            +
            require_relative 'v20220401/models'
         
     | 
| 
       13 
13 
     | 
    
         | 
| 
       14 
14 
     | 
    
         
             
            module TencentCloud
         
     | 
| 
       15 
15 
     | 
    
         
             
              module Thpc
         
     | 
    
        data/lib/v20230321/models.rb
    CHANGED
    
    | 
         @@ -1890,10 +1890,16 @@ module TencentCloud 
     | 
|
| 
       1890 
1890 
     | 
    
         
             
                    # @type ScaleOutNodeThreshold: Integer
         
     | 
| 
       1891 
1891 
     | 
    
         
             
                    # @param MaxNodesPerCycle: 每轮扩容最大节点个数。默认值:100。取值范围:1~100。
         
     | 
| 
       1892 
1892 
     | 
    
         
             
                    # @type MaxNodesPerCycle: Integer
         
     | 
| 
      
 1893 
     | 
    
         
            +
                    # @param ScaleUpMemRatio: 扩容过程中,作业的内存在匹配实例机型时增大比例(不会影响作业提交的内存大小,只影响匹配计算过程)。<br/>
         
     | 
| 
      
 1894 
     | 
    
         
            +
                    # 针对场景:由于实例机型的总内存会大于实例内部的可用内存,16GB内存规格的实例,实例操作系统内的可用内存只有约14.9GB内存。假设此时提交一个需要15GB内存的作业,
         
     | 
| 
       1893 
1895 
     | 
    
         | 
| 
       1894 
     | 
    
         
            -
                     
     | 
| 
      
 1896 
     | 
    
         
            +
                    # - 当ScaleUpMemRatio=0时,会匹配到16GB内存规格的实例,但是由于操作系统内的可用内存为14.9GB小于作业所需的15GB,扩容出来的实例作业无法运行起来。
         
     | 
| 
      
 1897 
     | 
    
         
            +
                    # - 当ScaleUpMemRatio=10时,匹配实例规格会按照15*(1+10%)=16.5GB来进行实例规格匹配,则不会匹配到16GB的实例,而是更大内存规格的实例来保证作业能够被运行起来。
         
     | 
| 
      
 1898 
     | 
    
         
            +
                    # @type ScaleUpMemRatio: Integer
         
     | 
| 
       1895 
1899 
     | 
    
         | 
| 
       1896 
     | 
    
         
            -
                     
     | 
| 
      
 1900 
     | 
    
         
            +
                    attr_accessor :QueueName, :MinSize, :MaxSize, :EnableAutoExpansion, :EnableAutoShrink, :ImageId, :SystemDisk, :DataDisks, :InternetAccessible, :ExpansionNodeConfigs, :DesiredIdleNodeCapacity, :ScaleOutRatio, :ScaleOutNodeThreshold, :MaxNodesPerCycle, :ScaleUpMemRatio
         
     | 
| 
      
 1901 
     | 
    
         
            +
             
     | 
| 
      
 1902 
     | 
    
         
            +
                    def initialize(queuename=nil, minsize=nil, maxsize=nil, enableautoexpansion=nil, enableautoshrink=nil, imageid=nil, systemdisk=nil, datadisks=nil, internetaccessible=nil, expansionnodeconfigs=nil, desiredidlenodecapacity=nil, scaleoutratio=nil, scaleoutnodethreshold=nil, maxnodespercycle=nil, scaleupmemratio=nil)
         
     | 
| 
       1897 
1903 
     | 
    
         
             
                      @QueueName = queuename
         
     | 
| 
       1898 
1904 
     | 
    
         
             
                      @MinSize = minsize
         
     | 
| 
       1899 
1905 
     | 
    
         
             
                      @MaxSize = maxsize
         
     | 
| 
         @@ -1908,6 +1914,7 @@ module TencentCloud 
     | 
|
| 
       1908 
1914 
     | 
    
         
             
                      @ScaleOutRatio = scaleoutratio
         
     | 
| 
       1909 
1915 
     | 
    
         
             
                      @ScaleOutNodeThreshold = scaleoutnodethreshold
         
     | 
| 
       1910 
1916 
     | 
    
         
             
                      @MaxNodesPerCycle = maxnodespercycle
         
     | 
| 
      
 1917 
     | 
    
         
            +
                      @ScaleUpMemRatio = scaleupmemratio
         
     | 
| 
       1911 
1918 
     | 
    
         
             
                    end
         
     | 
| 
       1912 
1919 
     | 
    
         | 
| 
       1913 
1920 
     | 
    
         
             
                    def deserialize(params)
         
     | 
| 
         @@ -1945,6 +1952,7 @@ module TencentCloud 
     | 
|
| 
       1945 
1952 
     | 
    
         
             
                      @ScaleOutRatio = params['ScaleOutRatio']
         
     | 
| 
       1946 
1953 
     | 
    
         
             
                      @ScaleOutNodeThreshold = params['ScaleOutNodeThreshold']
         
     | 
| 
       1947 
1954 
     | 
    
         
             
                      @MaxNodesPerCycle = params['MaxNodesPerCycle']
         
     | 
| 
      
 1955 
     | 
    
         
            +
                      @ScaleUpMemRatio = params['ScaleUpMemRatio']
         
     | 
| 
       1948 
1956 
     | 
    
         
             
                    end
         
     | 
| 
       1949 
1957 
     | 
    
         
             
                  end
         
     | 
| 
       1950 
1958 
     | 
    
         | 
| 
         @@ -1977,10 +1985,17 @@ module TencentCloud 
     | 
|
| 
       1977 
1985 
     | 
    
         
             
                    # @param MaxNodesPerCycle: 每轮扩容最大节点个数。
         
     | 
| 
       1978 
1986 
     | 
    
         
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
       1979 
1987 
     | 
    
         
             
                    # @type MaxNodesPerCycle: Integer
         
     | 
| 
      
 1988 
     | 
    
         
            +
                    # @param ScaleUpMemRatio: 扩容过程中,作业的内存在匹配实例机型时增大比例(不会影响作业提交的内存大小,只影响匹配计算过程)。<br/>
         
     | 
| 
      
 1989 
     | 
    
         
            +
                    # 针对场景:由于实例机型的总内存会大于实例内部的可用内存,16GB内存规格的实例,实例操作系统内的可用内存只有约14.9GB内存。假设此时提交一个需要15GB内存的作业,
         
     | 
| 
      
 1990 
     | 
    
         
            +
             
     | 
| 
      
 1991 
     | 
    
         
            +
                    # - 当ScaleUpMemRatio=0时,会匹配到16GB内存规格的实例,但是由于操作系统内的可用内存为14.9GB小于作业所需的15GB,扩容出来的实例作业无法运行起来。
         
     | 
| 
      
 1992 
     | 
    
         
            +
                    # - 当ScaleUpMemRatio=10时,匹配实例规格会按照15*(1+10%)=16.5GB来进行实例规格匹配,则不会匹配到16GB的实例,而是更大内存规格的实例来保证作业能够被运行起来。
         
     | 
| 
      
 1993 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 1994 
     | 
    
         
            +
                    # @type ScaleUpMemRatio: Integer
         
     | 
| 
       1980 
1995 
     | 
    
         | 
| 
       1981 
     | 
    
         
            -
                    attr_accessor :QueueName, :MinSize, :MaxSize, :EnableAutoExpansion, :EnableAutoShrink, :ExpansionNodeConfigs, :DesiredIdleNodeCapacity, :ScaleOutRatio, :ScaleOutNodeThreshold, :MaxNodesPerCycle
         
     | 
| 
      
 1996 
     | 
    
         
            +
                    attr_accessor :QueueName, :MinSize, :MaxSize, :EnableAutoExpansion, :EnableAutoShrink, :ExpansionNodeConfigs, :DesiredIdleNodeCapacity, :ScaleOutRatio, :ScaleOutNodeThreshold, :MaxNodesPerCycle, :ScaleUpMemRatio
         
     | 
| 
       1982 
1997 
     | 
    
         | 
| 
       1983 
     | 
    
         
            -
                    def initialize(queuename=nil, minsize=nil, maxsize=nil, enableautoexpansion=nil, enableautoshrink=nil, expansionnodeconfigs=nil, desiredidlenodecapacity=nil, scaleoutratio=nil, scaleoutnodethreshold=nil, maxnodespercycle=nil)
         
     | 
| 
      
 1998 
     | 
    
         
            +
                    def initialize(queuename=nil, minsize=nil, maxsize=nil, enableautoexpansion=nil, enableautoshrink=nil, expansionnodeconfigs=nil, desiredidlenodecapacity=nil, scaleoutratio=nil, scaleoutnodethreshold=nil, maxnodespercycle=nil, scaleupmemratio=nil)
         
     | 
| 
       1984 
1999 
     | 
    
         
             
                      @QueueName = queuename
         
     | 
| 
       1985 
2000 
     | 
    
         
             
                      @MinSize = minsize
         
     | 
| 
       1986 
2001 
     | 
    
         
             
                      @MaxSize = maxsize
         
     | 
| 
         @@ -1991,6 +2006,7 @@ module TencentCloud 
     | 
|
| 
       1991 
2006 
     | 
    
         
             
                      @ScaleOutRatio = scaleoutratio
         
     | 
| 
       1992 
2007 
     | 
    
         
             
                      @ScaleOutNodeThreshold = scaleoutnodethreshold
         
     | 
| 
       1993 
2008 
     | 
    
         
             
                      @MaxNodesPerCycle = maxnodespercycle
         
     | 
| 
      
 2009 
     | 
    
         
            +
                      @ScaleUpMemRatio = scaleupmemratio
         
     | 
| 
       1994 
2010 
     | 
    
         
             
                    end
         
     | 
| 
       1995 
2011 
     | 
    
         | 
| 
       1996 
2012 
     | 
    
         
             
                    def deserialize(params)
         
     | 
| 
         @@ -2011,6 +2027,7 @@ module TencentCloud 
     | 
|
| 
       2011 
2027 
     | 
    
         
             
                      @ScaleOutRatio = params['ScaleOutRatio']
         
     | 
| 
       2012 
2028 
     | 
    
         
             
                      @ScaleOutNodeThreshold = params['ScaleOutNodeThreshold']
         
     | 
| 
       2013 
2029 
     | 
    
         
             
                      @MaxNodesPerCycle = params['MaxNodesPerCycle']
         
     | 
| 
      
 2030 
     | 
    
         
            +
                      @ScaleUpMemRatio = params['ScaleUpMemRatio']
         
     | 
| 
       2014 
2031 
     | 
    
         
             
                    end
         
     | 
| 
       2015 
2032 
     | 
    
         
             
                  end
         
     | 
| 
       2016 
2033 
     | 
    
         | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: tencentcloud-sdk-thpc
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 3.0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 3.0.654
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Tencent Cloud
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2023-09- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2023-09-07 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: tencentcloud-sdk-common
         
     | 
| 
         @@ -33,13 +33,13 @@ executables: [] 
     | 
|
| 
       33 
33 
     | 
    
         
             
            extensions: []
         
     | 
| 
       34 
34 
     | 
    
         
             
            extra_rdoc_files: []
         
     | 
| 
       35 
35 
     | 
    
         
             
            files:
         
     | 
| 
       36 
     | 
    
         
            -
            - lib/ 
     | 
| 
      
 36 
     | 
    
         
            +
            - lib/v20220401/models.rb
         
     | 
| 
      
 37 
     | 
    
         
            +
            - lib/v20220401/client.rb
         
     | 
| 
       37 
38 
     | 
    
         
             
            - lib/v20230321/models.rb
         
     | 
| 
      
 39 
     | 
    
         
            +
            - lib/v20230321/client.rb
         
     | 
| 
       38 
40 
     | 
    
         
             
            - lib/tencentcloud-sdk-thpc.rb
         
     | 
| 
       39 
     | 
    
         
            -
            - lib/v20220401/client.rb
         
     | 
| 
       40 
     | 
    
         
            -
            - lib/v20220401/models.rb
         
     | 
| 
       41 
     | 
    
         
            -
            - lib/v20211109/client.rb
         
     | 
| 
       42 
41 
     | 
    
         
             
            - lib/v20211109/models.rb
         
     | 
| 
      
 42 
     | 
    
         
            +
            - lib/v20211109/client.rb
         
     | 
| 
       43 
43 
     | 
    
         
             
            - lib/VERSION
         
     | 
| 
       44 
44 
     | 
    
         
             
            homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
         
     | 
| 
       45 
45 
     | 
    
         
             
            licenses:
         
     |