tencentcloud-sdk-thpc 3.0.572 → 3.0.573
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/v20230321/models.rb +28 -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: 0c870f4c0bce681c69ac7a3f57f9a147d02658d2
|
4
|
+
data.tar.gz: f007de89dad4ddba530a7a157859a2d51ad9b5e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55275e5842634db56b506e1e06928552bf63edf44019209115d4fb689b8d0f6e352d78d2ba2c7bb8f456975c50826b317c65c51d6fe0fc61a62f3c1d1f12a551
|
7
|
+
data.tar.gz: 22f5fe031bdf902755b9937d0c5860ef56288f9695981bd5007ba884d848a18390ac283536aac21071d7436b9e35a624d14398b1693f8599a94985cbbda54f91
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.573
|
data/lib/v20230321/models.rb
CHANGED
@@ -1845,10 +1845,17 @@ module TencentCloud
|
|
1845
1845
|
# @type ExpansionNodeConfigs: Array
|
1846
1846
|
# @param DesiredIdleNodeCapacity: 队列中期望的空闲节点数量(包含弹性节点和静态节点)。默认值:0。队列中,处于空闲状态的节点小于此值,集群会扩容弹性节点;处于空闲状态的节点大于此值,集群会缩容弹性节点。
|
1847
1847
|
# @type DesiredIdleNodeCapacity: Integer
|
1848
|
+
# @param ScaleOutRatio: 扩容比例。默认值:100。取值范围:1~100。
|
1849
|
+
# 如果扩容比例为50,那么每轮只会扩容当前作业负载所需的50%数量的节点。
|
1850
|
+
# @type ScaleOutRatio: Integer
|
1851
|
+
# @param ScaleOutNodeThreshold: 比例扩容阈值。默认值:0。取值范围:0~200。
|
1852
|
+
# 当作业负载需要扩容节点数量大于此值,当前扩容轮次按照ScaleOutRatio配置的的比例进行扩容。当作业负载需要扩容节点数量小于此值,当前扩容轮次扩容当前作业负载所需数量的节点。
|
1853
|
+
# 此参数配合ScaleOutRatio参数进行使用,用于比例扩容场景下,在作业负载所需节点数量较小时,加快收敛速度。
|
1854
|
+
# @type ScaleOutNodeThreshold: Integer
|
1848
1855
|
|
1849
|
-
attr_accessor :QueueName, :MinSize, :MaxSize, :EnableAutoExpansion, :EnableAutoShrink, :ImageId, :SystemDisk, :DataDisks, :InternetAccessible, :ExpansionNodeConfigs, :DesiredIdleNodeCapacity
|
1856
|
+
attr_accessor :QueueName, :MinSize, :MaxSize, :EnableAutoExpansion, :EnableAutoShrink, :ImageId, :SystemDisk, :DataDisks, :InternetAccessible, :ExpansionNodeConfigs, :DesiredIdleNodeCapacity, :ScaleOutRatio, :ScaleOutNodeThreshold
|
1850
1857
|
|
1851
|
-
def initialize(queuename=nil, minsize=nil, maxsize=nil, enableautoexpansion=nil, enableautoshrink=nil, imageid=nil, systemdisk=nil, datadisks=nil, internetaccessible=nil, expansionnodeconfigs=nil, desiredidlenodecapacity=nil)
|
1858
|
+
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)
|
1852
1859
|
@QueueName = queuename
|
1853
1860
|
@MinSize = minsize
|
1854
1861
|
@MaxSize = maxsize
|
@@ -1860,6 +1867,8 @@ module TencentCloud
|
|
1860
1867
|
@InternetAccessible = internetaccessible
|
1861
1868
|
@ExpansionNodeConfigs = expansionnodeconfigs
|
1862
1869
|
@DesiredIdleNodeCapacity = desiredidlenodecapacity
|
1870
|
+
@ScaleOutRatio = scaleoutratio
|
1871
|
+
@ScaleOutNodeThreshold = scaleoutnodethreshold
|
1863
1872
|
end
|
1864
1873
|
|
1865
1874
|
def deserialize(params)
|
@@ -1894,6 +1903,8 @@ module TencentCloud
|
|
1894
1903
|
end
|
1895
1904
|
end
|
1896
1905
|
@DesiredIdleNodeCapacity = params['DesiredIdleNodeCapacity']
|
1906
|
+
@ScaleOutRatio = params['ScaleOutRatio']
|
1907
|
+
@ScaleOutNodeThreshold = params['ScaleOutNodeThreshold']
|
1897
1908
|
end
|
1898
1909
|
end
|
1899
1910
|
|
@@ -1914,10 +1925,19 @@ module TencentCloud
|
|
1914
1925
|
# @param DesiredIdleNodeCapacity: 队列中期望的空闲节点数量(包含弹性节点和静态节点)。默认值:0。队列中,处于空闲状态的节点小于此值,集群会扩容弹性节点;处于空闲状态的节点大于此值,集群会缩容弹性节点。
|
1915
1926
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1916
1927
|
# @type DesiredIdleNodeCapacity: Integer
|
1928
|
+
# @param ScaleOutRatio: 扩容比例。默认值:100。取值范围:1~100。
|
1929
|
+
# 如果扩容比例为50,那么每轮只会扩容当前作业负载所需的50%数量的节点。
|
1930
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1931
|
+
# @type ScaleOutRatio: Integer
|
1932
|
+
# @param ScaleOutNodeThreshold: 比例扩容阈值。默认值:0。取值范围:0~200。
|
1933
|
+
# 当作业负载需要扩容节点数量大于此值,当前扩容轮次按照ScaleOutRatio配置的的比例进行扩容。当作业负载需要扩容节点数量小于此值,当前扩容轮次扩容当前作业负载所需数量的节点。
|
1934
|
+
# 此参数配合ScaleOutRatio参数进行使用,用于比例扩容场景下,在作业负载所需节点数量较小时,加快收敛速度。
|
1935
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1936
|
+
# @type ScaleOutNodeThreshold: Integer
|
1917
1937
|
|
1918
|
-
attr_accessor :QueueName, :MinSize, :MaxSize, :EnableAutoExpansion, :EnableAutoShrink, :ExpansionNodeConfigs, :DesiredIdleNodeCapacity
|
1938
|
+
attr_accessor :QueueName, :MinSize, :MaxSize, :EnableAutoExpansion, :EnableAutoShrink, :ExpansionNodeConfigs, :DesiredIdleNodeCapacity, :ScaleOutRatio, :ScaleOutNodeThreshold
|
1919
1939
|
|
1920
|
-
def initialize(queuename=nil, minsize=nil, maxsize=nil, enableautoexpansion=nil, enableautoshrink=nil, expansionnodeconfigs=nil, desiredidlenodecapacity=nil)
|
1940
|
+
def initialize(queuename=nil, minsize=nil, maxsize=nil, enableautoexpansion=nil, enableautoshrink=nil, expansionnodeconfigs=nil, desiredidlenodecapacity=nil, scaleoutratio=nil, scaleoutnodethreshold=nil)
|
1921
1941
|
@QueueName = queuename
|
1922
1942
|
@MinSize = minsize
|
1923
1943
|
@MaxSize = maxsize
|
@@ -1925,6 +1945,8 @@ module TencentCloud
|
|
1925
1945
|
@EnableAutoShrink = enableautoshrink
|
1926
1946
|
@ExpansionNodeConfigs = expansionnodeconfigs
|
1927
1947
|
@DesiredIdleNodeCapacity = desiredidlenodecapacity
|
1948
|
+
@ScaleOutRatio = scaleoutratio
|
1949
|
+
@ScaleOutNodeThreshold = scaleoutnodethreshold
|
1928
1950
|
end
|
1929
1951
|
|
1930
1952
|
def deserialize(params)
|
@@ -1942,6 +1964,8 @@ module TencentCloud
|
|
1942
1964
|
end
|
1943
1965
|
end
|
1944
1966
|
@DesiredIdleNodeCapacity = params['DesiredIdleNodeCapacity']
|
1967
|
+
@ScaleOutRatio = params['ScaleOutRatio']
|
1968
|
+
@ScaleOutNodeThreshold = params['ScaleOutNodeThreshold']
|
1945
1969
|
end
|
1946
1970
|
end
|
1947
1971
|
|
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.573
|
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-05-
|
11
|
+
date: 2023-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|