tencentcloud-sdk-thpc 3.0.653 → 3.0.654

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c529d4184739bf83150c7e3cfcf3a0bc11a151cf
4
- data.tar.gz: 21d77d99881925dd0c41314154efc1dfce3c88ad
3
+ metadata.gz: 5255f7d20c0903a41aa38b28d7312d73a5a77033
4
+ data.tar.gz: 4d2f84cb6f7fe5006b7966b2154069d89cbee4f3
5
5
  SHA512:
6
- metadata.gz: d4c5fa8bd88ef36e4297099ad2ec31366137461af03bf908a9f555f0890dbb4f3c7299b2f7aba58a576350a0c9835d011618c5301622af2f05f922b769112fe2
7
- data.tar.gz: 07490a65533aa6666fca7d8489488fdc9f3fb725f89508c230a062dc06066262ecf605697a3b9b4e61fa32feadd1b7d7ee2b9ec11a896ac48a86508f04376252
6
+ metadata.gz: 43522fe83023fa2174dfa84a6eb88be121f432325cbc7b9b9f1763b30650860d839cbead022a2a4dc4dca2ba96270bd5dc800ca0ce71ab81aa83f0a176865278
7
+ data.tar.gz: 224438760ffa64fbd8ca384313bfa33ae4e346b0916b83f549470c89fe49774fb893ea1aff050bf4eaf3a928ac673e7156e48b8619ad69f2a0eb3607a0ec910b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.653
1
+ 3.0.654
@@ -2,14 +2,14 @@
2
2
 
3
3
  require 'tencentcloud-sdk-common'
4
4
 
5
- require_relative 'v20220401/client'
6
- require_relative 'v20220401/models'
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 'v20230321/client'
12
- require_relative 'v20230321/models'
11
+ require_relative 'v20220401/client'
12
+ require_relative 'v20220401/models'
13
13
 
14
14
  module TencentCloud
15
15
  module Thpc
@@ -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
- attr_accessor :QueueName, :MinSize, :MaxSize, :EnableAutoExpansion, :EnableAutoShrink, :ImageId, :SystemDisk, :DataDisks, :InternetAccessible, :ExpansionNodeConfigs, :DesiredIdleNodeCapacity, :ScaleOutRatio, :ScaleOutNodeThreshold, :MaxNodesPerCycle
1896
+ # - 当ScaleUpMemRatio=0时,会匹配到16GB内存规格的实例,但是由于操作系统内的可用内存为14.9GB小于作业所需的15GB,扩容出来的实例作业无法运行起来。
1897
+ # - 当ScaleUpMemRatio=10时,匹配实例规格会按照15*(1+10%)=16.5GB来进行实例规格匹配,则不会匹配到16GB的实例,而是更大内存规格的实例来保证作业能够被运行起来。
1898
+ # @type ScaleUpMemRatio: Integer
1895
1899
 
1896
- 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)
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.653
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-06 00:00:00.000000000 Z
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/v20230321/client.rb
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: