tencentcloud-sdk-python-thpc 3.1.47__py2.py3-none-any.whl → 3.1.68__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 +31 -20
- {tencentcloud_sdk_python_thpc-3.1.47.dist-info → tencentcloud_sdk_python_thpc-3.1.68.dist-info}/METADATA +2 -2
- {tencentcloud_sdk_python_thpc-3.1.47.dist-info → tencentcloud_sdk_python_thpc-3.1.68.dist-info}/RECORD +6 -6
- {tencentcloud_sdk_python_thpc-3.1.47.dist-info → tencentcloud_sdk_python_thpc-3.1.68.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_thpc-3.1.47.dist-info → tencentcloud_sdk_python_thpc-3.1.68.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -735,20 +735,20 @@ class AttachNodesRequest(AbstractModel):
|
|
|
735
735
|
|
|
736
736
|
def __init__(self):
|
|
737
737
|
r"""
|
|
738
|
-
:param _ClusterId:
|
|
738
|
+
:param _ClusterId: <p>集群id</p>
|
|
739
739
|
:type ClusterId: str
|
|
740
|
-
:param _ResourceSet:
|
|
740
|
+
:param _ResourceSet: <p>节点的实例id列表</p>
|
|
741
741
|
:type ResourceSet: list of str
|
|
742
|
-
:param _QueueName:
|
|
743
|
-
SLURM默认队列为:compute。
|
|
744
|
-
|
|
742
|
+
:param _QueueName: <p>队列名称。不指定则为默认队列:<br>SLURM默认队列为:compute。</p>
|
|
745
743
|
:type QueueName: str
|
|
746
|
-
:param _ImageId:
|
|
744
|
+
:param _ImageId: <p>指定有效的镜像ID,格式形如img-xxx。目前仅支持公有镜像和特定自定义镜像。如不指定,则该字段是默认镜像。</p>
|
|
747
745
|
:type ImageId: str
|
|
748
|
-
:param _ResourceType:
|
|
746
|
+
:param _ResourceType: <p>要新增节点的资源类型。<li>CVM:CVM实例类型资源</li><li>WORKSPACE:工作空间类型实例资源</li>默认值:CVM。</p>
|
|
749
747
|
:type ResourceType: str
|
|
750
|
-
:param _UserData:
|
|
748
|
+
:param _UserData: <p>提供给实例使用的用户数据,需要以 base64 方式编码,支持的最大数据大小为 16KB。关于获取此参数的详细介绍,请参阅<a href="https://cloud.tencent.com/document/product/213/17526">Windows</a>和<a href="https://cloud.tencent.com/document/product/213/17525">Linux</a>启动时运行命令。</p>
|
|
751
749
|
:type UserData: str
|
|
750
|
+
:param _SkipResetInstance: <p>控制实例加入集群是否跳过重装系统</p><p>默认值:False</p>
|
|
751
|
+
:type SkipResetInstance: bool
|
|
752
752
|
"""
|
|
753
753
|
self._ClusterId = None
|
|
754
754
|
self._ResourceSet = None
|
|
@@ -756,10 +756,11 @@ SLURM默认队列为:compute。
|
|
|
756
756
|
self._ImageId = None
|
|
757
757
|
self._ResourceType = None
|
|
758
758
|
self._UserData = None
|
|
759
|
+
self._SkipResetInstance = None
|
|
759
760
|
|
|
760
761
|
@property
|
|
761
762
|
def ClusterId(self):
|
|
762
|
-
r"""
|
|
763
|
+
r"""<p>集群id</p>
|
|
763
764
|
:rtype: str
|
|
764
765
|
"""
|
|
765
766
|
return self._ClusterId
|
|
@@ -770,7 +771,7 @@ SLURM默认队列为:compute。
|
|
|
770
771
|
|
|
771
772
|
@property
|
|
772
773
|
def ResourceSet(self):
|
|
773
|
-
r"""
|
|
774
|
+
r"""<p>节点的实例id列表</p>
|
|
774
775
|
:rtype: list of str
|
|
775
776
|
"""
|
|
776
777
|
return self._ResourceSet
|
|
@@ -781,9 +782,7 @@ SLURM默认队列为:compute。
|
|
|
781
782
|
|
|
782
783
|
@property
|
|
783
784
|
def QueueName(self):
|
|
784
|
-
r"""
|
|
785
|
-
SLURM默认队列为:compute。
|
|
786
|
-
|
|
785
|
+
r"""<p>队列名称。不指定则为默认队列:<br>SLURM默认队列为:compute。</p>
|
|
787
786
|
:rtype: str
|
|
788
787
|
"""
|
|
789
788
|
return self._QueueName
|
|
@@ -794,7 +793,7 @@ SLURM默认队列为:compute。
|
|
|
794
793
|
|
|
795
794
|
@property
|
|
796
795
|
def ImageId(self):
|
|
797
|
-
r"""
|
|
796
|
+
r"""<p>指定有效的镜像ID,格式形如img-xxx。目前仅支持公有镜像和特定自定义镜像。如不指定,则该字段是默认镜像。</p>
|
|
798
797
|
:rtype: str
|
|
799
798
|
"""
|
|
800
799
|
return self._ImageId
|
|
@@ -805,7 +804,7 @@ SLURM默认队列为:compute。
|
|
|
805
804
|
|
|
806
805
|
@property
|
|
807
806
|
def ResourceType(self):
|
|
808
|
-
r"""
|
|
807
|
+
r"""<p>要新增节点的资源类型。<li>CVM:CVM实例类型资源</li><li>WORKSPACE:工作空间类型实例资源</li>默认值:CVM。</p>
|
|
809
808
|
:rtype: str
|
|
810
809
|
"""
|
|
811
810
|
return self._ResourceType
|
|
@@ -816,7 +815,7 @@ SLURM默认队列为:compute。
|
|
|
816
815
|
|
|
817
816
|
@property
|
|
818
817
|
def UserData(self):
|
|
819
|
-
r"""
|
|
818
|
+
r"""<p>提供给实例使用的用户数据,需要以 base64 方式编码,支持的最大数据大小为 16KB。关于获取此参数的详细介绍,请参阅<a href="https://cloud.tencent.com/document/product/213/17526">Windows</a>和<a href="https://cloud.tencent.com/document/product/213/17525">Linux</a>启动时运行命令。</p>
|
|
820
819
|
:rtype: str
|
|
821
820
|
"""
|
|
822
821
|
return self._UserData
|
|
@@ -825,6 +824,17 @@ SLURM默认队列为:compute。
|
|
|
825
824
|
def UserData(self, UserData):
|
|
826
825
|
self._UserData = UserData
|
|
827
826
|
|
|
827
|
+
@property
|
|
828
|
+
def SkipResetInstance(self):
|
|
829
|
+
r"""<p>控制实例加入集群是否跳过重装系统</p><p>默认值:False</p>
|
|
830
|
+
:rtype: bool
|
|
831
|
+
"""
|
|
832
|
+
return self._SkipResetInstance
|
|
833
|
+
|
|
834
|
+
@SkipResetInstance.setter
|
|
835
|
+
def SkipResetInstance(self, SkipResetInstance):
|
|
836
|
+
self._SkipResetInstance = SkipResetInstance
|
|
837
|
+
|
|
828
838
|
|
|
829
839
|
def _deserialize(self, params):
|
|
830
840
|
self._ClusterId = params.get("ClusterId")
|
|
@@ -833,6 +843,7 @@ SLURM默认队列为:compute。
|
|
|
833
843
|
self._ImageId = params.get("ImageId")
|
|
834
844
|
self._ResourceType = params.get("ResourceType")
|
|
835
845
|
self._UserData = params.get("UserData")
|
|
846
|
+
self._SkipResetInstance = params.get("SkipResetInstance")
|
|
836
847
|
memeber_set = set(params.keys())
|
|
837
848
|
for name, value in vars(self).items():
|
|
838
849
|
property_name = name[1:]
|
|
@@ -7002,9 +7013,9 @@ class OutputRedirect(AbstractModel):
|
|
|
7002
7013
|
|
|
7003
7014
|
def __init__(self):
|
|
7004
7015
|
r"""
|
|
7005
|
-
:param _Driver:
|
|
7016
|
+
:param _Driver: <p>输出driver类型</p><p>枚举值:</p><ul><li>local: 宿主机本地目录</li><li>cos: 远端cos存储</li></ul><p>默认值:local</p>
|
|
7006
7017
|
:type Driver: str
|
|
7007
|
-
:param _Options:
|
|
7018
|
+
:param _Options: <p>重定向配置参数</p><p>日志重定向路径,用于指定任务日志的输出目标。取值格式与 Driver 类型关联:<br>当 Driver 为 local 时,格式为本地文件路径,如 stdout=/tmp/train_out.log;<br>当 Driver 为 cos 时,格式为 COS 存储桶路径,如 stdout=cos://test-123456.cos.ap-shanghai.myqcloud.com/test/.</p>
|
|
7008
7019
|
:type Options: list of str
|
|
7009
7020
|
"""
|
|
7010
7021
|
self._Driver = None
|
|
@@ -7012,7 +7023,7 @@ class OutputRedirect(AbstractModel):
|
|
|
7012
7023
|
|
|
7013
7024
|
@property
|
|
7014
7025
|
def Driver(self):
|
|
7015
|
-
r"""
|
|
7026
|
+
r"""<p>输出driver类型</p><p>枚举值:</p><ul><li>local: 宿主机本地目录</li><li>cos: 远端cos存储</li></ul><p>默认值:local</p>
|
|
7016
7027
|
:rtype: str
|
|
7017
7028
|
"""
|
|
7018
7029
|
return self._Driver
|
|
@@ -7023,7 +7034,7 @@ class OutputRedirect(AbstractModel):
|
|
|
7023
7034
|
|
|
7024
7035
|
@property
|
|
7025
7036
|
def Options(self):
|
|
7026
|
-
r"""
|
|
7037
|
+
r"""<p>重定向配置参数</p><p>日志重定向路径,用于指定任务日志的输出目标。取值格式与 Driver 类型关联:<br>当 Driver 为 local 时,格式为本地文件路径,如 stdout=/tmp/train_out.log;<br>当 Driver 为 cos 时,格式为 COS 存储桶路径,如 stdout=cos://test-123456.cos.ap-shanghai.myqcloud.com/test/.</p>
|
|
7027
7038
|
:rtype: list of str
|
|
7028
7039
|
"""
|
|
7029
7040
|
return self._Options
|
|
@@ -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.68
|
|
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.68
|
|
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=GkY7NdfyeIRpnEYkbzrY7UQd_T1T-906xbEj3hVP7Pg,629
|
|
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=TiPC9sJ9rkuThwPyW9aUhn6uVz7Kc7iLFE7WltdsuCw,6318
|
|
15
|
-
tencentcloud/thpc/v20230321/models.py,sha256=
|
|
15
|
+
tencentcloud/thpc/v20230321/models.py,sha256=ByuFqUnedOuxKr17UQZm2mbu1_9v9PTPOLUWKPRPj5o,351893
|
|
16
16
|
tencentcloud/thpc/v20230321/thpc_client.py,sha256=_d3PZ9ujEXBW0640ES1hhUd_3ozvZu_v1Ke00WDNI5k,31639
|
|
17
17
|
tencentcloud/thpc/v20230321/thpc_client_async.py,sha256=mR1RWWjhAnvlci0MWjbxk9pglq7Xbe3wTWMfqKR5ImI,21897
|
|
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.68.dist-info/METADATA,sha256=_MvKbxcZoQBDA-FOayzkA59MK605H33IJf7HHoTwSPk,1500
|
|
19
|
+
tencentcloud_sdk_python_thpc-3.1.68.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
20
|
+
tencentcloud_sdk_python_thpc-3.1.68.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
21
|
+
tencentcloud_sdk_python_thpc-3.1.68.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|