tencentcloud-sdk-python-thpc 3.0.1346__tar.gz → 3.0.1353__tar.gz
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.
- {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1353}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1353}/setup.py +1 -1
- {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1353}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1353}/tencentcloud/thpc/v20220401/models.py +0 -2
- {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1353}/tencentcloud/thpc/v20230321/models.py +64 -32
- {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1353}/tencentcloud_sdk_python_thpc.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-thpc-3.0.1353/tencentcloud_sdk_python_thpc.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-thpc-3.0.1346/tencentcloud_sdk_python_thpc.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1353}/README.rst +0 -0
- {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1353}/setup.cfg +0 -0
- {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1353}/tencentcloud/thpc/__init__.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1353}/tencentcloud/thpc/v20211109/__init__.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1353}/tencentcloud/thpc/v20211109/errorcodes.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1353}/tencentcloud/thpc/v20211109/models.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1353}/tencentcloud/thpc/v20211109/thpc_client.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1353}/tencentcloud/thpc/v20220401/__init__.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1353}/tencentcloud/thpc/v20220401/errorcodes.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1353}/tencentcloud/thpc/v20220401/thpc_client.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1353}/tencentcloud/thpc/v20230321/__init__.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1353}/tencentcloud/thpc/v20230321/errorcodes.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1353}/tencentcloud/thpc/v20230321/thpc_client.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1353}/tencentcloud_sdk_python_thpc.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1353}/tencentcloud_sdk_python_thpc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1353}/tencentcloud_sdk_python_thpc.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-thpc',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1353"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Thpc SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -4547,7 +4547,6 @@ class QueueOverview(AbstractModel):
|
|
|
4547
4547
|
def __init__(self):
|
|
4548
4548
|
r"""
|
|
4549
4549
|
:param _QueueName: 队列名称。
|
|
4550
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4551
4550
|
:type QueueName: str
|
|
4552
4551
|
"""
|
|
4553
4552
|
self._QueueName = None
|
|
@@ -4555,7 +4554,6 @@ class QueueOverview(AbstractModel):
|
|
|
4555
4554
|
@property
|
|
4556
4555
|
def QueueName(self):
|
|
4557
4556
|
"""队列名称。
|
|
4558
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4559
4557
|
:rtype: str
|
|
4560
4558
|
"""
|
|
4561
4559
|
return self._QueueName
|
|
@@ -1143,6 +1143,8 @@ class ClusterOverview(AbstractModel):
|
|
|
1143
1143
|
:type AutoScalingType: str
|
|
1144
1144
|
:param _VpcId: 集群所属私有网络ID。
|
|
1145
1145
|
:type VpcId: str
|
|
1146
|
+
:param _ClusterType: 集群类型
|
|
1147
|
+
:type ClusterType: str
|
|
1146
1148
|
"""
|
|
1147
1149
|
self._ClusterId = None
|
|
1148
1150
|
self._ClusterStatus = None
|
|
@@ -1159,6 +1161,7 @@ class ClusterOverview(AbstractModel):
|
|
|
1159
1161
|
self._LoginNodeCount = None
|
|
1160
1162
|
self._AutoScalingType = None
|
|
1161
1163
|
self._VpcId = None
|
|
1164
|
+
self._ClusterType = None
|
|
1162
1165
|
|
|
1163
1166
|
@property
|
|
1164
1167
|
def ClusterId(self):
|
|
@@ -1325,6 +1328,17 @@ class ClusterOverview(AbstractModel):
|
|
|
1325
1328
|
def VpcId(self, VpcId):
|
|
1326
1329
|
self._VpcId = VpcId
|
|
1327
1330
|
|
|
1331
|
+
@property
|
|
1332
|
+
def ClusterType(self):
|
|
1333
|
+
"""集群类型
|
|
1334
|
+
:rtype: str
|
|
1335
|
+
"""
|
|
1336
|
+
return self._ClusterType
|
|
1337
|
+
|
|
1338
|
+
@ClusterType.setter
|
|
1339
|
+
def ClusterType(self, ClusterType):
|
|
1340
|
+
self._ClusterType = ClusterType
|
|
1341
|
+
|
|
1328
1342
|
|
|
1329
1343
|
def _deserialize(self, params):
|
|
1330
1344
|
self._ClusterId = params.get("ClusterId")
|
|
@@ -1359,6 +1373,7 @@ class ClusterOverview(AbstractModel):
|
|
|
1359
1373
|
self._LoginNodeCount = params.get("LoginNodeCount")
|
|
1360
1374
|
self._AutoScalingType = params.get("AutoScalingType")
|
|
1361
1375
|
self._VpcId = params.get("VpcId")
|
|
1376
|
+
self._ClusterType = params.get("ClusterType")
|
|
1362
1377
|
memeber_set = set(params.keys())
|
|
1363
1378
|
for name, value in vars(self).items():
|
|
1364
1379
|
property_name = name[1:]
|
|
@@ -3134,10 +3149,20 @@ class DescribeClustersRequest(AbstractModel):
|
|
|
3134
3149
|
:type Offset: int
|
|
3135
3150
|
:param _Limit: 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
|
3136
3151
|
:type Limit: int
|
|
3152
|
+
:param _Filters: <ul>
|
|
3153
|
+
<li><strong>cluster-type</strong>
|
|
3154
|
+
<p style="padding-left: 30px;">按照【<strong>集群类型</strong>】进行过滤</p>
|
|
3155
|
+
<p style="padding-left: 30px;">类型:String</p>
|
|
3156
|
+
<p style="padding-left: 30px;">必选:否</p>
|
|
3157
|
+
</li>
|
|
3158
|
+
</ul>
|
|
3159
|
+
<p style="padding-left: 30px;">每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。</p>
|
|
3160
|
+
:type Filters: list of Filter
|
|
3137
3161
|
"""
|
|
3138
3162
|
self._ClusterIds = None
|
|
3139
3163
|
self._Offset = None
|
|
3140
3164
|
self._Limit = None
|
|
3165
|
+
self._Filters = None
|
|
3141
3166
|
|
|
3142
3167
|
@property
|
|
3143
3168
|
def ClusterIds(self):
|
|
@@ -3172,11 +3197,35 @@ class DescribeClustersRequest(AbstractModel):
|
|
|
3172
3197
|
def Limit(self, Limit):
|
|
3173
3198
|
self._Limit = Limit
|
|
3174
3199
|
|
|
3200
|
+
@property
|
|
3201
|
+
def Filters(self):
|
|
3202
|
+
"""<ul>
|
|
3203
|
+
<li><strong>cluster-type</strong>
|
|
3204
|
+
<p style="padding-left: 30px;">按照【<strong>集群类型</strong>】进行过滤</p>
|
|
3205
|
+
<p style="padding-left: 30px;">类型:String</p>
|
|
3206
|
+
<p style="padding-left: 30px;">必选:否</p>
|
|
3207
|
+
</li>
|
|
3208
|
+
</ul>
|
|
3209
|
+
<p style="padding-left: 30px;">每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。</p>
|
|
3210
|
+
:rtype: list of Filter
|
|
3211
|
+
"""
|
|
3212
|
+
return self._Filters
|
|
3213
|
+
|
|
3214
|
+
@Filters.setter
|
|
3215
|
+
def Filters(self, Filters):
|
|
3216
|
+
self._Filters = Filters
|
|
3217
|
+
|
|
3175
3218
|
|
|
3176
3219
|
def _deserialize(self, params):
|
|
3177
3220
|
self._ClusterIds = params.get("ClusterIds")
|
|
3178
3221
|
self._Offset = params.get("Offset")
|
|
3179
3222
|
self._Limit = params.get("Limit")
|
|
3223
|
+
if params.get("Filters") is not None:
|
|
3224
|
+
self._Filters = []
|
|
3225
|
+
for item in params.get("Filters"):
|
|
3226
|
+
obj = Filter()
|
|
3227
|
+
obj._deserialize(item)
|
|
3228
|
+
self._Filters.append(obj)
|
|
3180
3229
|
memeber_set = set(params.keys())
|
|
3181
3230
|
for name, value in vars(self).items():
|
|
3182
3231
|
property_name = name[1:]
|
|
@@ -3882,13 +3931,10 @@ class EnhancedService(AbstractModel):
|
|
|
3882
3931
|
def __init__(self):
|
|
3883
3932
|
r"""
|
|
3884
3933
|
:param _SecurityService: 开启云安全服务。若不指定该参数,则默认开启云安全服务。
|
|
3885
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3886
3934
|
:type SecurityService: :class:`tencentcloud.thpc.v20230321.models.RunSecurityServiceEnabled`
|
|
3887
3935
|
:param _MonitorService: 开启腾讯云可观测平台服务。若不指定该参数,则默认开启腾讯云可观测平台服务。
|
|
3888
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3889
3936
|
:type MonitorService: :class:`tencentcloud.thpc.v20230321.models.RunMonitorServiceEnabled`
|
|
3890
3937
|
:param _AutomationService: 开启云自动化助手服务(TencentCloud Automation Tools,TAT)。若不指定该参数,默认开启云自动化助手服务。
|
|
3891
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3892
3938
|
:type AutomationService: :class:`tencentcloud.thpc.v20230321.models.RunAutomationServiceEnabled`
|
|
3893
3939
|
"""
|
|
3894
3940
|
self._SecurityService = None
|
|
@@ -3898,7 +3944,6 @@ class EnhancedService(AbstractModel):
|
|
|
3898
3944
|
@property
|
|
3899
3945
|
def SecurityService(self):
|
|
3900
3946
|
"""开启云安全服务。若不指定该参数,则默认开启云安全服务。
|
|
3901
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3902
3947
|
:rtype: :class:`tencentcloud.thpc.v20230321.models.RunSecurityServiceEnabled`
|
|
3903
3948
|
"""
|
|
3904
3949
|
return self._SecurityService
|
|
@@ -3910,7 +3955,6 @@ class EnhancedService(AbstractModel):
|
|
|
3910
3955
|
@property
|
|
3911
3956
|
def MonitorService(self):
|
|
3912
3957
|
"""开启腾讯云可观测平台服务。若不指定该参数,则默认开启腾讯云可观测平台服务。
|
|
3913
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3914
3958
|
:rtype: :class:`tencentcloud.thpc.v20230321.models.RunMonitorServiceEnabled`
|
|
3915
3959
|
"""
|
|
3916
3960
|
return self._MonitorService
|
|
@@ -3922,7 +3966,6 @@ class EnhancedService(AbstractModel):
|
|
|
3922
3966
|
@property
|
|
3923
3967
|
def AutomationService(self):
|
|
3924
3968
|
"""开启云自动化助手服务(TencentCloud Automation Tools,TAT)。若不指定该参数,默认开启云自动化助手服务。
|
|
3925
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3926
3969
|
:rtype: :class:`tencentcloud.thpc.v20230321.models.RunAutomationServiceEnabled`
|
|
3927
3970
|
"""
|
|
3928
3971
|
return self._AutomationService
|
|
@@ -5408,6 +5451,8 @@ class NodeOverview(AbstractModel):
|
|
|
5408
5451
|
:param _NodeId: thpc集群节点id
|
|
5409
5452
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5410
5453
|
:type NodeId: str
|
|
5454
|
+
:param _NodeAllocateState: 节点的工作状态
|
|
5455
|
+
:type NodeAllocateState: str
|
|
5411
5456
|
"""
|
|
5412
5457
|
self._InstanceId = None
|
|
5413
5458
|
self._Zone = None
|
|
@@ -5417,6 +5462,7 @@ class NodeOverview(AbstractModel):
|
|
|
5417
5462
|
self._NodeRole = None
|
|
5418
5463
|
self._NodeType = None
|
|
5419
5464
|
self._NodeId = None
|
|
5465
|
+
self._NodeAllocateState = None
|
|
5420
5466
|
|
|
5421
5467
|
@property
|
|
5422
5468
|
def InstanceId(self):
|
|
@@ -5514,6 +5560,17 @@ class NodeOverview(AbstractModel):
|
|
|
5514
5560
|
def NodeId(self, NodeId):
|
|
5515
5561
|
self._NodeId = NodeId
|
|
5516
5562
|
|
|
5563
|
+
@property
|
|
5564
|
+
def NodeAllocateState(self):
|
|
5565
|
+
"""节点的工作状态
|
|
5566
|
+
:rtype: str
|
|
5567
|
+
"""
|
|
5568
|
+
return self._NodeAllocateState
|
|
5569
|
+
|
|
5570
|
+
@NodeAllocateState.setter
|
|
5571
|
+
def NodeAllocateState(self, NodeAllocateState):
|
|
5572
|
+
self._NodeAllocateState = NodeAllocateState
|
|
5573
|
+
|
|
5517
5574
|
|
|
5518
5575
|
def _deserialize(self, params):
|
|
5519
5576
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -5524,6 +5581,7 @@ class NodeOverview(AbstractModel):
|
|
|
5524
5581
|
self._NodeRole = params.get("NodeRole")
|
|
5525
5582
|
self._NodeType = params.get("NodeType")
|
|
5526
5583
|
self._NodeId = params.get("NodeId")
|
|
5584
|
+
self._NodeAllocateState = params.get("NodeAllocateState")
|
|
5527
5585
|
memeber_set = set(params.keys())
|
|
5528
5586
|
for name, value in vars(self).items():
|
|
5529
5587
|
property_name = name[1:]
|
|
@@ -5543,10 +5601,8 @@ class NodeScript(AbstractModel):
|
|
|
5543
5601
|
r"""
|
|
5544
5602
|
:param _ScriptPath: 节点执行脚本获取地址。
|
|
5545
5603
|
目前仅支持cos地址。地址最大长度:255。
|
|
5546
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5547
5604
|
:type ScriptPath: str
|
|
5548
5605
|
:param _Timeout: 脚本执行超时时间(包含拉取脚本的时间)。单位秒,默认值:30。取值范围:10~1200。
|
|
5549
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5550
5606
|
:type Timeout: int
|
|
5551
5607
|
"""
|
|
5552
5608
|
self._ScriptPath = None
|
|
@@ -5556,7 +5612,6 @@ class NodeScript(AbstractModel):
|
|
|
5556
5612
|
def ScriptPath(self):
|
|
5557
5613
|
"""节点执行脚本获取地址。
|
|
5558
5614
|
目前仅支持cos地址。地址最大长度:255。
|
|
5559
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5560
5615
|
:rtype: str
|
|
5561
5616
|
"""
|
|
5562
5617
|
return self._ScriptPath
|
|
@@ -5568,7 +5623,6 @@ class NodeScript(AbstractModel):
|
|
|
5568
5623
|
@property
|
|
5569
5624
|
def Timeout(self):
|
|
5570
5625
|
"""脚本执行超时时间(包含拉取脚本的时间)。单位秒,默认值:30。取值范围:10~1200。
|
|
5571
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5572
5626
|
:rtype: int
|
|
5573
5627
|
"""
|
|
5574
5628
|
return self._Timeout
|
|
@@ -5955,28 +6009,23 @@ class QueueConfigOverview(AbstractModel):
|
|
|
5955
6009
|
:param _ExpansionNodeConfigs: 扩容节点配置信息。
|
|
5956
6010
|
:type ExpansionNodeConfigs: list of ExpansionNodeConfigOverview
|
|
5957
6011
|
:param _DesiredIdleNodeCapacity: 队列中期望的空闲节点数量(包含弹性节点和静态节点)。默认值:0。队列中,处于空闲状态的节点小于此值,集群会扩容弹性节点;处于空闲状态的节点大于此值,集群会缩容弹性节点。
|
|
5958
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5959
6012
|
:type DesiredIdleNodeCapacity: int
|
|
5960
6013
|
:param _DesiredNodeCount: 队列中期望的总节点数。
|
|
5961
6014
|
:type DesiredNodeCount: int
|
|
5962
6015
|
:param _ScaleOutRatio: 扩容比例。默认值:100。取值范围:1~100。
|
|
5963
6016
|
如果扩容比例为50,那么每轮只会扩容当前作业负载所需的50%数量的节点。
|
|
5964
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5965
6017
|
:type ScaleOutRatio: int
|
|
5966
6018
|
:param _ScaleOutNodeThreshold: 比例扩容阈值。默认值:0。取值范围:0~200。
|
|
5967
6019
|
当作业负载需要扩容节点数量大于此值,当前扩容轮次按照ScaleOutRatio配置的的比例进行扩容。当作业负载需要扩容节点数量小于此值,当前扩容轮次扩容当前作业负载所需数量的节点。
|
|
5968
6020
|
此参数配合ScaleOutRatio参数进行使用,用于比例扩容场景下,在作业负载所需节点数量较小时,加快收敛速度。
|
|
5969
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5970
6021
|
:type ScaleOutNodeThreshold: int
|
|
5971
6022
|
:param _MaxNodesPerCycle: 每轮扩容最大节点个数。
|
|
5972
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5973
6023
|
:type MaxNodesPerCycle: int
|
|
5974
6024
|
:param _ScaleUpMemRatio: 扩容过程中,作业的内存在匹配实例机型时增大比例(不会影响作业提交的内存大小,只影响匹配计算过程)。<br/>
|
|
5975
6025
|
针对场景:由于实例机型的总内存会大于实例内部的可用内存,16GB内存规格的实例,实例操作系统内的可用内存只有约14.9GB内存。假设此时提交一个需要15GB内存的作业,
|
|
5976
6026
|
|
|
5977
6027
|
- 当ScaleUpMemRatio=0时,会匹配到16GB内存规格的实例,但是由于操作系统内的可用内存为14.9GB小于作业所需的15GB,扩容出来的实例作业无法运行起来。
|
|
5978
6028
|
- 当ScaleUpMemRatio=10时,匹配实例规格会按照15*(1+10%)=16.5GB来进行实例规格匹配,则不会匹配到16GB的实例,而是更大内存规格的实例来保证作业能够被运行起来。
|
|
5979
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5980
6029
|
:type ScaleUpMemRatio: int
|
|
5981
6030
|
"""
|
|
5982
6031
|
self._QueueName = None
|
|
@@ -6061,7 +6110,6 @@ class QueueConfigOverview(AbstractModel):
|
|
|
6061
6110
|
@property
|
|
6062
6111
|
def DesiredIdleNodeCapacity(self):
|
|
6063
6112
|
"""队列中期望的空闲节点数量(包含弹性节点和静态节点)。默认值:0。队列中,处于空闲状态的节点小于此值,集群会扩容弹性节点;处于空闲状态的节点大于此值,集群会缩容弹性节点。
|
|
6064
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6065
6113
|
:rtype: int
|
|
6066
6114
|
"""
|
|
6067
6115
|
return self._DesiredIdleNodeCapacity
|
|
@@ -6085,7 +6133,6 @@ class QueueConfigOverview(AbstractModel):
|
|
|
6085
6133
|
def ScaleOutRatio(self):
|
|
6086
6134
|
"""扩容比例。默认值:100。取值范围:1~100。
|
|
6087
6135
|
如果扩容比例为50,那么每轮只会扩容当前作业负载所需的50%数量的节点。
|
|
6088
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6089
6136
|
:rtype: int
|
|
6090
6137
|
"""
|
|
6091
6138
|
return self._ScaleOutRatio
|
|
@@ -6099,7 +6146,6 @@ class QueueConfigOverview(AbstractModel):
|
|
|
6099
6146
|
"""比例扩容阈值。默认值:0。取值范围:0~200。
|
|
6100
6147
|
当作业负载需要扩容节点数量大于此值,当前扩容轮次按照ScaleOutRatio配置的的比例进行扩容。当作业负载需要扩容节点数量小于此值,当前扩容轮次扩容当前作业负载所需数量的节点。
|
|
6101
6148
|
此参数配合ScaleOutRatio参数进行使用,用于比例扩容场景下,在作业负载所需节点数量较小时,加快收敛速度。
|
|
6102
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6103
6149
|
:rtype: int
|
|
6104
6150
|
"""
|
|
6105
6151
|
return self._ScaleOutNodeThreshold
|
|
@@ -6111,7 +6157,6 @@ class QueueConfigOverview(AbstractModel):
|
|
|
6111
6157
|
@property
|
|
6112
6158
|
def MaxNodesPerCycle(self):
|
|
6113
6159
|
"""每轮扩容最大节点个数。
|
|
6114
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6115
6160
|
:rtype: int
|
|
6116
6161
|
"""
|
|
6117
6162
|
return self._MaxNodesPerCycle
|
|
@@ -6127,7 +6172,6 @@ class QueueConfigOverview(AbstractModel):
|
|
|
6127
6172
|
|
|
6128
6173
|
- 当ScaleUpMemRatio=0时,会匹配到16GB内存规格的实例,但是由于操作系统内的可用内存为14.9GB小于作业所需的15GB,扩容出来的实例作业无法运行起来。
|
|
6129
6174
|
- 当ScaleUpMemRatio=10时,匹配实例规格会按照15*(1+10%)=16.5GB来进行实例规格匹配,则不会匹配到16GB的实例,而是更大内存规格的实例来保证作业能够被运行起来。
|
|
6130
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6131
6175
|
:rtype: int
|
|
6132
6176
|
"""
|
|
6133
6177
|
return self._ScaleUpMemRatio
|
|
@@ -6173,7 +6217,6 @@ class QueueOverview(AbstractModel):
|
|
|
6173
6217
|
def __init__(self):
|
|
6174
6218
|
r"""
|
|
6175
6219
|
:param _QueueName: 队列名称。
|
|
6176
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6177
6220
|
:type QueueName: str
|
|
6178
6221
|
"""
|
|
6179
6222
|
self._QueueName = None
|
|
@@ -6181,7 +6224,6 @@ class QueueOverview(AbstractModel):
|
|
|
6181
6224
|
@property
|
|
6182
6225
|
def QueueName(self):
|
|
6183
6226
|
"""队列名称。
|
|
6184
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6185
6227
|
:rtype: str
|
|
6186
6228
|
"""
|
|
6187
6229
|
return self._QueueName
|
|
@@ -6247,7 +6289,6 @@ class RunMonitorServiceEnabled(AbstractModel):
|
|
|
6247
6289
|
def __init__(self):
|
|
6248
6290
|
r"""
|
|
6249
6291
|
:param _Enabled: 是否开启[腾讯云可观测平台](/document/product/248)服务。取值范围:<br><li>TRUE:表示开启腾讯云可观测平台服务</li><br><li>FALSE:表示不开启腾讯云可观测平台服务</li><br><br>默认取值:TRUE。
|
|
6250
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6251
6292
|
:type Enabled: bool
|
|
6252
6293
|
"""
|
|
6253
6294
|
self._Enabled = None
|
|
@@ -6255,7 +6296,6 @@ class RunMonitorServiceEnabled(AbstractModel):
|
|
|
6255
6296
|
@property
|
|
6256
6297
|
def Enabled(self):
|
|
6257
6298
|
"""是否开启[腾讯云可观测平台](/document/product/248)服务。取值范围:<br><li>TRUE:表示开启腾讯云可观测平台服务</li><br><li>FALSE:表示不开启腾讯云可观测平台服务</li><br><br>默认取值:TRUE。
|
|
6258
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6259
6299
|
:rtype: bool
|
|
6260
6300
|
"""
|
|
6261
6301
|
return self._Enabled
|
|
@@ -7124,10 +7164,8 @@ class SpacePlacement(AbstractModel):
|
|
|
7124
7164
|
def __init__(self):
|
|
7125
7165
|
r"""
|
|
7126
7166
|
:param _Zone: 可用区
|
|
7127
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7128
7167
|
:type Zone: str
|
|
7129
7168
|
:param _ProjectId: 项目,默认是0
|
|
7130
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7131
7169
|
:type ProjectId: int
|
|
7132
7170
|
"""
|
|
7133
7171
|
self._Zone = None
|
|
@@ -7136,7 +7174,6 @@ class SpacePlacement(AbstractModel):
|
|
|
7136
7174
|
@property
|
|
7137
7175
|
def Zone(self):
|
|
7138
7176
|
"""可用区
|
|
7139
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7140
7177
|
:rtype: str
|
|
7141
7178
|
"""
|
|
7142
7179
|
return self._Zone
|
|
@@ -7148,7 +7185,6 @@ class SpacePlacement(AbstractModel):
|
|
|
7148
7185
|
@property
|
|
7149
7186
|
def ProjectId(self):
|
|
7150
7187
|
"""项目,默认是0
|
|
7151
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7152
7188
|
:rtype: int
|
|
7153
7189
|
"""
|
|
7154
7190
|
return self._ProjectId
|
|
@@ -7608,10 +7644,8 @@ class TagSpecification(AbstractModel):
|
|
|
7608
7644
|
def __init__(self):
|
|
7609
7645
|
r"""
|
|
7610
7646
|
:param _ResourceType: 标签绑定的资源类型
|
|
7611
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7612
7647
|
:type ResourceType: str
|
|
7613
7648
|
:param _Tags: 标签对列表
|
|
7614
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7615
7649
|
:type Tags: list of Tag
|
|
7616
7650
|
"""
|
|
7617
7651
|
self._ResourceType = None
|
|
@@ -7620,7 +7654,6 @@ class TagSpecification(AbstractModel):
|
|
|
7620
7654
|
@property
|
|
7621
7655
|
def ResourceType(self):
|
|
7622
7656
|
"""标签绑定的资源类型
|
|
7623
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7624
7657
|
:rtype: str
|
|
7625
7658
|
"""
|
|
7626
7659
|
return self._ResourceType
|
|
@@ -7632,7 +7665,6 @@ class TagSpecification(AbstractModel):
|
|
|
7632
7665
|
@property
|
|
7633
7666
|
def Tags(self):
|
|
7634
7667
|
"""标签对列表
|
|
7635
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7636
7668
|
:rtype: list of Tag
|
|
7637
7669
|
"""
|
|
7638
7670
|
return self._Tags
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1353
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1346
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|