tencentcloud-sdk-python-thpc 3.1.47__py2.py3-none-any.whl → 3.1.54__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 +27 -16
- {tencentcloud_sdk_python_thpc-3.1.47.dist-info → tencentcloud_sdk_python_thpc-3.1.54.dist-info}/METADATA +2 -2
- {tencentcloud_sdk_python_thpc-3.1.47.dist-info → tencentcloud_sdk_python_thpc-3.1.54.dist-info}/RECORD +6 -6
- {tencentcloud_sdk_python_thpc-3.1.47.dist-info → tencentcloud_sdk_python_thpc-3.1.54.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_thpc-3.1.47.dist-info → tencentcloud_sdk_python_thpc-3.1.54.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:]
|
|
@@ -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.54
|
|
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.54
|
|
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=uxz0M4m5Zg19yRdjpHMKspM7cHNKZrQK7mPlCTykIpg,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=zFAH3SWNTCEaTao8ygIR6bymTPNTnUokhyxbOvK_RkM,350963
|
|
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.54.dist-info/METADATA,sha256=ZcZB85PC6sEfRX7jGfYhb7PmJUyz-IRlqSqE6QmoQbQ,1500
|
|
19
|
+
tencentcloud_sdk_python_thpc-3.1.54.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
20
|
+
tencentcloud_sdk_python_thpc-3.1.54.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
21
|
+
tencentcloud_sdk_python_thpc-3.1.54.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|