tencentcloud-sdk-python-thpc 3.1.180__py2.py3-none-any.whl → 3.1.219__py2.py3-none-any.whl
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/__init__.py +1 -1
- tencentcloud/thpc/v20230321/models.py +51 -0
- {tencentcloud_sdk_python_thpc-3.1.180.dist-info → tencentcloud_sdk_python_thpc-3.1.219.dist-info}/METADATA +2 -2
- {tencentcloud_sdk_python_thpc-3.1.180.dist-info → tencentcloud_sdk_python_thpc-3.1.219.dist-info}/RECORD +6 -6
- {tencentcloud_sdk_python_thpc-3.1.180.dist-info → tencentcloud_sdk_python_thpc-3.1.219.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_thpc-3.1.180.dist-info → tencentcloud_sdk_python_thpc-3.1.219.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -9835,12 +9835,18 @@ class NodeOverview(AbstractModel):
|
|
|
9835
9835
|
:param _InstanceId: 节点实例ID。
|
|
9836
9836
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9837
9837
|
:type InstanceId: str
|
|
9838
|
+
:param _PrivateIp: 节点内网IP。
|
|
9839
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9840
|
+
:type PrivateIp: str
|
|
9838
9841
|
:param _Zone: 节点所在可用区信息。
|
|
9839
9842
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9840
9843
|
:type Zone: str
|
|
9841
9844
|
:param _NodeState: 节点状态。<li>SUBMITTED:已完成提交。</li><li>CREATING:创建中。</li><li>CREATED:完成创建。</li><li>INITING:初始化中。</li><li>INIT_FAILED:初始化失败。</li><li>RUNNING:运行中。</li><li>DELETING:销毁中。</li>
|
|
9842
9845
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9843
9846
|
:type NodeState: str
|
|
9847
|
+
:param _HealthStatus: 节点巡检健康态(集群一致性巡检落库核销, 独立于 NodeState 生命周期态)。<li>HEALTHY:健康。</li><li>ABNORMAL:异常。</li><li>UNKNOWN:未知(从未被巡检覆盖/新加入节点)。</li>
|
|
9848
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9849
|
+
:type HealthStatus: str
|
|
9844
9850
|
:param _ImageId: 镜像ID。
|
|
9845
9851
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9846
9852
|
:type ImageId: str
|
|
@@ -9865,8 +9871,10 @@ class NodeOverview(AbstractModel):
|
|
|
9865
9871
|
"""
|
|
9866
9872
|
self._ClusterId = None
|
|
9867
9873
|
self._InstanceId = None
|
|
9874
|
+
self._PrivateIp = None
|
|
9868
9875
|
self._Zone = None
|
|
9869
9876
|
self._NodeState = None
|
|
9877
|
+
self._HealthStatus = None
|
|
9870
9878
|
self._ImageId = None
|
|
9871
9879
|
self._QueueName = None
|
|
9872
9880
|
self._NodeRole = None
|
|
@@ -9899,6 +9907,18 @@ class NodeOverview(AbstractModel):
|
|
|
9899
9907
|
def InstanceId(self, InstanceId):
|
|
9900
9908
|
self._InstanceId = InstanceId
|
|
9901
9909
|
|
|
9910
|
+
@property
|
|
9911
|
+
def PrivateIp(self):
|
|
9912
|
+
r"""节点内网IP。
|
|
9913
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9914
|
+
:rtype: str
|
|
9915
|
+
"""
|
|
9916
|
+
return self._PrivateIp
|
|
9917
|
+
|
|
9918
|
+
@PrivateIp.setter
|
|
9919
|
+
def PrivateIp(self, PrivateIp):
|
|
9920
|
+
self._PrivateIp = PrivateIp
|
|
9921
|
+
|
|
9902
9922
|
@property
|
|
9903
9923
|
def Zone(self):
|
|
9904
9924
|
r"""节点所在可用区信息。
|
|
@@ -9923,6 +9943,18 @@ class NodeOverview(AbstractModel):
|
|
|
9923
9943
|
def NodeState(self, NodeState):
|
|
9924
9944
|
self._NodeState = NodeState
|
|
9925
9945
|
|
|
9946
|
+
@property
|
|
9947
|
+
def HealthStatus(self):
|
|
9948
|
+
r"""节点巡检健康态(集群一致性巡检落库核销, 独立于 NodeState 生命周期态)。<li>HEALTHY:健康。</li><li>ABNORMAL:异常。</li><li>UNKNOWN:未知(从未被巡检覆盖/新加入节点)。</li>
|
|
9949
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9950
|
+
:rtype: str
|
|
9951
|
+
"""
|
|
9952
|
+
return self._HealthStatus
|
|
9953
|
+
|
|
9954
|
+
@HealthStatus.setter
|
|
9955
|
+
def HealthStatus(self, HealthStatus):
|
|
9956
|
+
self._HealthStatus = HealthStatus
|
|
9957
|
+
|
|
9926
9958
|
@property
|
|
9927
9959
|
def ImageId(self):
|
|
9928
9960
|
r"""镜像ID。
|
|
@@ -10020,8 +10052,10 @@ class NodeOverview(AbstractModel):
|
|
|
10020
10052
|
def _deserialize(self, params):
|
|
10021
10053
|
self._ClusterId = params.get("ClusterId")
|
|
10022
10054
|
self._InstanceId = params.get("InstanceId")
|
|
10055
|
+
self._PrivateIp = params.get("PrivateIp")
|
|
10023
10056
|
self._Zone = params.get("Zone")
|
|
10024
10057
|
self._NodeState = params.get("NodeState")
|
|
10058
|
+
self._HealthStatus = params.get("HealthStatus")
|
|
10025
10059
|
self._ImageId = params.get("ImageId")
|
|
10026
10060
|
self._QueueName = params.get("QueueName")
|
|
10027
10061
|
self._NodeRole = params.get("NodeRole")
|
|
@@ -12811,11 +12845,15 @@ class TemplateOverrides(AbstractModel):
|
|
|
12811
12845
|
:param _EnableMultiZone: <p>是否启用多可用区扩容。未传时保持已持久化的分区策略,局部更新不得覆盖。</p>
|
|
12812
12846
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12813
12847
|
:type EnableMultiZone: bool
|
|
12848
|
+
:param _EnableJobLoadAutoscaling: <p>是否开启按作业负载自动伸缩。开启后扩容数量由队列中排队作业的实际资源需求(节点数 / GPU 卡数)决定;关闭(默认)时按 DesiredCapacity 配额收敛。仅支持 Slurm 集群与同构队列,由服务端校验。</p>
|
|
12849
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12850
|
+
:type EnableJobLoadAutoscaling: bool
|
|
12814
12851
|
"""
|
|
12815
12852
|
self._InstanceFamilies = None
|
|
12816
12853
|
self._GpuCountPerNode = None
|
|
12817
12854
|
self._EnableMixedGpuCount = None
|
|
12818
12855
|
self._EnableMultiZone = None
|
|
12856
|
+
self._EnableJobLoadAutoscaling = None
|
|
12819
12857
|
|
|
12820
12858
|
@property
|
|
12821
12859
|
def InstanceFamilies(self):
|
|
@@ -12865,12 +12903,25 @@ class TemplateOverrides(AbstractModel):
|
|
|
12865
12903
|
def EnableMultiZone(self, EnableMultiZone):
|
|
12866
12904
|
self._EnableMultiZone = EnableMultiZone
|
|
12867
12905
|
|
|
12906
|
+
@property
|
|
12907
|
+
def EnableJobLoadAutoscaling(self):
|
|
12908
|
+
r"""<p>是否开启按作业负载自动伸缩。开启后扩容数量由队列中排队作业的实际资源需求(节点数 / GPU 卡数)决定;关闭(默认)时按 DesiredCapacity 配额收敛。仅支持 Slurm 集群与同构队列,由服务端校验。</p>
|
|
12909
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12910
|
+
:rtype: bool
|
|
12911
|
+
"""
|
|
12912
|
+
return self._EnableJobLoadAutoscaling
|
|
12913
|
+
|
|
12914
|
+
@EnableJobLoadAutoscaling.setter
|
|
12915
|
+
def EnableJobLoadAutoscaling(self, EnableJobLoadAutoscaling):
|
|
12916
|
+
self._EnableJobLoadAutoscaling = EnableJobLoadAutoscaling
|
|
12917
|
+
|
|
12868
12918
|
|
|
12869
12919
|
def _deserialize(self, params):
|
|
12870
12920
|
self._InstanceFamilies = params.get("InstanceFamilies")
|
|
12871
12921
|
self._GpuCountPerNode = params.get("GpuCountPerNode")
|
|
12872
12922
|
self._EnableMixedGpuCount = params.get("EnableMixedGpuCount")
|
|
12873
12923
|
self._EnableMultiZone = params.get("EnableMultiZone")
|
|
12924
|
+
self._EnableJobLoadAutoscaling = params.get("EnableJobLoadAutoscaling")
|
|
12874
12925
|
memeber_set = set(params.keys())
|
|
12875
12926
|
for name, value in vars(self).items():
|
|
12876
12927
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-thpc
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.219
|
|
4
4
|
Summary: Tencent Cloud Thpc SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.219
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=PFZe1QCQHcRw_lztaiA9gmz9T6p71nG7usVdpyyayps,630
|
|
2
2
|
tencentcloud/thpc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
tencentcloud/thpc/v20211109/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
tencentcloud/thpc/v20211109/errorcodes.py,sha256=vwK0Sl3PK8krfQTSMd11VbM3Zd3CYX10xdEH9HdadJ0,2008
|
|
@@ -12,10 +12,10 @@ tencentcloud/thpc/v20220401/thpc_client.py,sha256=0fW2BTAtXOwSUoluvSoyaIBubz3h0u
|
|
|
12
12
|
tencentcloud/thpc/v20220401/thpc_client_async.py,sha256=LINqME6SCHKz4KWuf9-MKFrPMmG7RmyEDR1hudF7D4U,11870
|
|
13
13
|
tencentcloud/thpc/v20230321/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
14
|
tencentcloud/thpc/v20230321/errorcodes.py,sha256=qXveX57dYiKs0Qjs6imRGjvoFQnCcQkttBscGV3oqdE,8733
|
|
15
|
-
tencentcloud/thpc/v20230321/models.py,sha256=
|
|
15
|
+
tencentcloud/thpc/v20230321/models.py,sha256=nVRRzv43puoYMZaOH83N1i59NcOJj9XCXv3lUptTRiw,477557
|
|
16
16
|
tencentcloud/thpc/v20230321/thpc_client.py,sha256=ip6DV99CWw9OuOB-dpLzFu8F4v0397Pjod9CS1_ma6c,53421
|
|
17
17
|
tencentcloud/thpc/v20230321/thpc_client_async.py,sha256=uHqdZP9CCzgSxLLImhAu1jUwXGfSzfdwp2znd0d_CbE,37511
|
|
18
|
-
tencentcloud_sdk_python_thpc-3.1.
|
|
19
|
-
tencentcloud_sdk_python_thpc-3.1.
|
|
20
|
-
tencentcloud_sdk_python_thpc-3.1.
|
|
21
|
-
tencentcloud_sdk_python_thpc-3.1.
|
|
18
|
+
tencentcloud_sdk_python_thpc-3.1.219.dist-info/METADATA,sha256=qLb4r6L0w5bOckltuV4B8v-H14oGYUuZ1CBG8UA6GTs,1502
|
|
19
|
+
tencentcloud_sdk_python_thpc-3.1.219.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
20
|
+
tencentcloud_sdk_python_thpc-3.1.219.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
21
|
+
tencentcloud_sdk_python_thpc-3.1.219.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|