tencentcloud-sdk-thpc 3.0.1205 → 3.0.1206
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 +23 -26
- 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: a5a204b3c6e1cdf2f8e2b93f79b8e6b35888a833
|
|
4
|
+
data.tar.gz: 5d82df42d90794ef37791813f4febf68acfda560
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: acf9a20ed162804bccaa5e0e935592c369a57d888ea44dc3f6c3e62cdb8d3c30e873d3716a9b27897c254e9ceb5beaac8b472e3f0fd28b1fcfaa2e485dea5881
|
|
7
|
+
data.tar.gz: a4f2fac8c9a8bafda8ad22124a7817617071796ded9ce6193197a5d45b41517450ac4091f9ab7896eabed30fc73bb722f22274f341275cd545c2c97cff714706
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1206
|
data/lib/v20230321/models.rb
CHANGED
|
@@ -2858,51 +2858,46 @@ module TencentCloud
|
|
|
2858
2858
|
|
|
2859
2859
|
# 扩容队列配置。
|
|
2860
2860
|
class QueueConfig < TencentCloud::Common::AbstractModel
|
|
2861
|
-
# @param QueueName:
|
|
2861
|
+
# @param QueueName: <p>队列名称。</p>
|
|
2862
2862
|
# @type QueueName: String
|
|
2863
|
-
# @param MinSize:
|
|
2863
|
+
# @param MinSize: <p>队列中弹性节点数量最小值。默认值:0。取值范围:0~200。</p>
|
|
2864
2864
|
# @type MinSize: Integer
|
|
2865
|
-
# @param MaxSize:
|
|
2865
|
+
# @param MaxSize: <p>队列中弹性节点数量最大值。默认值:10。取值范围:0~200。</p>
|
|
2866
2866
|
# @type MaxSize: Integer
|
|
2867
|
-
# @param EnableAutoExpansion:
|
|
2867
|
+
# @param EnableAutoExpansion: <p>是否开启自动扩容。</p>
|
|
2868
2868
|
# @type EnableAutoExpansion: Boolean
|
|
2869
|
-
# @param EnableAutoShrink:
|
|
2869
|
+
# @param EnableAutoShrink: <p>是否开启自动缩容。</p>
|
|
2870
2870
|
# @type EnableAutoShrink: Boolean
|
|
2871
|
-
# @param ImageId:
|
|
2871
|
+
# @param ImageId: <p>指定有效的<a href="https://cloud.tencent.com/document/product/213/4940">镜像</a>ID,格式形如<code>img-xxx</code>。目前仅支持公有镜和特定自定义镜像。</p>
|
|
2872
2872
|
# @type ImageId: String
|
|
2873
|
-
# @param SystemDisk:
|
|
2873
|
+
# @param SystemDisk: <p>节点系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。</p>
|
|
2874
2874
|
# @type SystemDisk: :class:`Tencentcloud::Thpc.v20230321.models.SystemDisk`
|
|
2875
|
-
# @param DataDisks:
|
|
2875
|
+
# @param DataDisks: <p>节点数据盘配置信息。若不指定该参数,则默认不购买数据盘。支持购买的时候指定21块数据盘,其中最多包含1块LOCAL_BASIC数据盘或者LOCAL_SSD数据盘,最多包含20块CLOUD_BASIC数据盘、CLOUD_PREMIUM数据盘或者CLOUD_SSD数据盘。</p>
|
|
2876
2876
|
# @type DataDisks: Array
|
|
2877
|
-
# @param InternetAccessible:
|
|
2877
|
+
# @param InternetAccessible: <p>公网带宽相关信息设置。若不指定该参数,则默认公网带宽为0Mbps。</p>
|
|
2878
2878
|
# @type InternetAccessible: :class:`Tencentcloud::Thpc.v20230321.models.InternetAccessible`
|
|
2879
|
-
# @param ExpansionNodeConfigs:
|
|
2879
|
+
# @param ExpansionNodeConfigs: <p>扩容节点配置信息。</p>
|
|
2880
2880
|
# @type ExpansionNodeConfigs: Array
|
|
2881
|
-
# @param DesiredIdleNodeCapacity:
|
|
2881
|
+
# @param DesiredIdleNodeCapacity: <p>队列中期望的空闲节点数量(包含弹性节点和静态节点)。默认值:0。队列中,处于空闲状态的节点小于此值,集群会扩容弹性节点;处于空闲状态的节点大于此值,集群会缩容弹性节点。</p>
|
|
2882
2882
|
# @type DesiredIdleNodeCapacity: Integer
|
|
2883
|
-
# @param DesiredNodeCount:
|
|
2883
|
+
# @param DesiredNodeCount: <p>队列中期望的总节点数。</p>
|
|
2884
2884
|
# @type DesiredNodeCount: Integer
|
|
2885
|
-
# @param ScaleOutRatio:
|
|
2886
|
-
# 如果扩容比例为50,那么每轮只会扩容当前作业负载所需的50%数量的节点。
|
|
2885
|
+
# @param ScaleOutRatio: <p>扩容比例。默认值:100。取值范围:1~100。<br>如果扩容比例为50,那么每轮只会扩容当前作业负载所需的50%数量的节点。</p>
|
|
2887
2886
|
# @type ScaleOutRatio: Integer
|
|
2888
|
-
# @param ScaleOutNodeThreshold:
|
|
2889
|
-
# 当作业负载需要扩容节点数量大于此值,当前扩容轮次按照ScaleOutRatio配置的比例进行扩容。当作业负载需要扩容节点数量小于此值,当前扩容轮次扩容当前作业负载所需数量的节点。
|
|
2890
|
-
# 此参数配合ScaleOutRatio参数进行使用,用于比例扩容场景下,在作业负载所需节点数量较小时,加快收敛速度。
|
|
2887
|
+
# @param ScaleOutNodeThreshold: <p>比例扩容阈值。默认值:0。取值范围:0~200。<br>当作业负载需要扩容节点数量大于此值,当前扩容轮次按照ScaleOutRatio配置的比例进行扩容。当作业负载需要扩容节点数量小于此值,当前扩容轮次扩容当前作业负载所需数量的节点。<br>此参数配合ScaleOutRatio参数进行使用,用于比例扩容场景下,在作业负载所需节点数量较小时,加快收敛速度。</p>
|
|
2891
2888
|
# @type ScaleOutNodeThreshold: Integer
|
|
2892
|
-
# @param MaxNodesPerCycle:
|
|
2889
|
+
# @param MaxNodesPerCycle: <p>每轮扩容最大节点个数。默认值:100。取值范围:1~100。</p>
|
|
2893
2890
|
# @type MaxNodesPerCycle: Integer
|
|
2894
|
-
# @param ScaleUpMemRatio:
|
|
2895
|
-
# 针对场景:由于实例机型的总内存会大于实例内部的可用内存,16GB内存规格的实例,实例操作系统内的可用内存只有约14.9GB内存。假设此时提交一个需要15GB内存的作业,
|
|
2896
|
-
|
|
2897
|
-
# - 当ScaleUpMemRatio=0时,会匹配到16GB内存规格的实例,但是由于操作系统内的可用内存为14.9GB小于作业所需的15GB,扩容出来的实例作业无法运行起来。
|
|
2898
|
-
# - 当ScaleUpMemRatio=10时,匹配实例规格会按照15*(1+10%)=16.5GB来进行实例规格匹配,则不会匹配到16GB的实例,而是更大内存规格的实例来保证作业能够被运行起来。
|
|
2891
|
+
# @param ScaleUpMemRatio: <p>扩容过程中,作业的内存在匹配实例机型时增大比例(不会影响作业提交的内存大小,只影响匹配计算过程)。<br><br>针对场景:由于实例机型的总内存会大于实例内部的可用内存,16GB内存规格的实例,实例操作系统内的可用内存只有约14.9GB内存。假设此时提交一个需要15GB内存的作业,</p><ul><li>当ScaleUpMemRatio=0时,会匹配到16GB内存规格的实例,但是由于操作系统内的可用内存为14.9GB小于作业所需的15GB,扩容出来的实例作业无法运行起来。</li><li>当ScaleUpMemRatio=10时,匹配实例规格会按照15*(1+10%)=16.5GB来进行实例规格匹配,则不会匹配到16GB的实例,而是更大内存规格的实例来保证作业能够被运行起来。</li></ul>
|
|
2899
2892
|
# @type ScaleUpMemRatio: Integer
|
|
2900
|
-
# @param EnhancedService:
|
|
2893
|
+
# @param EnhancedService: <p>增强服务。通过该参数可以指定是否开启云安全、腾讯云可观测平台等服务。若不指定该参数,则默认开启腾讯云可观测平台、云安全服务、自动化助手服务。</p>
|
|
2901
2894
|
# @type EnhancedService: :class:`Tencentcloud::Thpc.v20230321.models.EnhancedService`
|
|
2895
|
+
# @param LaunchTemplateIds: <p>扩容实例模板,可以在cvm侧进行设置</p>
|
|
2896
|
+
# @type LaunchTemplateIds: Array
|
|
2902
2897
|
|
|
2903
|
-
attr_accessor :QueueName, :MinSize, :MaxSize, :EnableAutoExpansion, :EnableAutoShrink, :ImageId, :SystemDisk, :DataDisks, :InternetAccessible, :ExpansionNodeConfigs, :DesiredIdleNodeCapacity, :DesiredNodeCount, :ScaleOutRatio, :ScaleOutNodeThreshold, :MaxNodesPerCycle, :ScaleUpMemRatio, :EnhancedService
|
|
2898
|
+
attr_accessor :QueueName, :MinSize, :MaxSize, :EnableAutoExpansion, :EnableAutoShrink, :ImageId, :SystemDisk, :DataDisks, :InternetAccessible, :ExpansionNodeConfigs, :DesiredIdleNodeCapacity, :DesiredNodeCount, :ScaleOutRatio, :ScaleOutNodeThreshold, :MaxNodesPerCycle, :ScaleUpMemRatio, :EnhancedService, :LaunchTemplateIds
|
|
2904
2899
|
|
|
2905
|
-
def initialize(queuename=nil, minsize=nil, maxsize=nil, enableautoexpansion=nil, enableautoshrink=nil, imageid=nil, systemdisk=nil, datadisks=nil, internetaccessible=nil, expansionnodeconfigs=nil, desiredidlenodecapacity=nil, desirednodecount=nil, scaleoutratio=nil, scaleoutnodethreshold=nil, maxnodespercycle=nil, scaleupmemratio=nil, enhancedservice=nil)
|
|
2900
|
+
def initialize(queuename=nil, minsize=nil, maxsize=nil, enableautoexpansion=nil, enableautoshrink=nil, imageid=nil, systemdisk=nil, datadisks=nil, internetaccessible=nil, expansionnodeconfigs=nil, desiredidlenodecapacity=nil, desirednodecount=nil, scaleoutratio=nil, scaleoutnodethreshold=nil, maxnodespercycle=nil, scaleupmemratio=nil, enhancedservice=nil, launchtemplateids=nil)
|
|
2906
2901
|
@QueueName = queuename
|
|
2907
2902
|
@MinSize = minsize
|
|
2908
2903
|
@MaxSize = maxsize
|
|
@@ -2920,6 +2915,7 @@ module TencentCloud
|
|
|
2920
2915
|
@MaxNodesPerCycle = maxnodespercycle
|
|
2921
2916
|
@ScaleUpMemRatio = scaleupmemratio
|
|
2922
2917
|
@EnhancedService = enhancedservice
|
|
2918
|
+
@LaunchTemplateIds = launchtemplateids
|
|
2923
2919
|
end
|
|
2924
2920
|
|
|
2925
2921
|
def deserialize(params)
|
|
@@ -2963,6 +2959,7 @@ module TencentCloud
|
|
|
2963
2959
|
@EnhancedService = EnhancedService.new
|
|
2964
2960
|
@EnhancedService.deserialize(params['EnhancedService'])
|
|
2965
2961
|
end
|
|
2962
|
+
@LaunchTemplateIds = params['LaunchTemplateIds']
|
|
2966
2963
|
end
|
|
2967
2964
|
end
|
|
2968
2965
|
|
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.1206
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-01-
|
|
11
|
+
date: 2026-01-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|