tencentcloud-sdk-python-thpc 3.0.1175__tar.gz → 3.0.1178__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.1175 → tencentcloud-sdk-python-thpc-3.0.1178}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-thpc-3.0.1175 → tencentcloud-sdk-python-thpc-3.0.1178}/setup.py +1 -1
- {tencentcloud-sdk-python-thpc-3.0.1175 → tencentcloud-sdk-python-thpc-3.0.1178}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-thpc-3.0.1175 → tencentcloud-sdk-python-thpc-3.0.1178}/tencentcloud/thpc/v20230321/models.py +33 -5
- {tencentcloud-sdk-python-thpc-3.0.1175 → tencentcloud-sdk-python-thpc-3.0.1178}/tencentcloud_sdk_python_thpc.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-thpc-3.0.1178/tencentcloud_sdk_python_thpc.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-thpc-3.0.1175/tencentcloud_sdk_python_thpc.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-thpc-3.0.1175 → tencentcloud-sdk-python-thpc-3.0.1178}/README.rst +0 -0
- {tencentcloud-sdk-python-thpc-3.0.1175 → tencentcloud-sdk-python-thpc-3.0.1178}/setup.cfg +0 -0
- {tencentcloud-sdk-python-thpc-3.0.1175 → tencentcloud-sdk-python-thpc-3.0.1178}/tencentcloud/thpc/__init__.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.1175 → tencentcloud-sdk-python-thpc-3.0.1178}/tencentcloud/thpc/v20211109/__init__.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.1175 → tencentcloud-sdk-python-thpc-3.0.1178}/tencentcloud/thpc/v20211109/errorcodes.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.1175 → tencentcloud-sdk-python-thpc-3.0.1178}/tencentcloud/thpc/v20211109/models.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.1175 → tencentcloud-sdk-python-thpc-3.0.1178}/tencentcloud/thpc/v20211109/thpc_client.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.1175 → tencentcloud-sdk-python-thpc-3.0.1178}/tencentcloud/thpc/v20220401/__init__.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.1175 → tencentcloud-sdk-python-thpc-3.0.1178}/tencentcloud/thpc/v20220401/errorcodes.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.1175 → tencentcloud-sdk-python-thpc-3.0.1178}/tencentcloud/thpc/v20220401/models.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.1175 → tencentcloud-sdk-python-thpc-3.0.1178}/tencentcloud/thpc/v20220401/thpc_client.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.1175 → tencentcloud-sdk-python-thpc-3.0.1178}/tencentcloud/thpc/v20230321/__init__.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.1175 → tencentcloud-sdk-python-thpc-3.0.1178}/tencentcloud/thpc/v20230321/errorcodes.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.1175 → tencentcloud-sdk-python-thpc-3.0.1178}/tencentcloud/thpc/v20230321/thpc_client.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.1175 → tencentcloud-sdk-python-thpc-3.0.1178}/tencentcloud_sdk_python_thpc.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-thpc-3.0.1175 → tencentcloud-sdk-python-thpc-3.0.1178}/tencentcloud_sdk_python_thpc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-thpc-3.0.1175 → tencentcloud-sdk-python-thpc-3.0.1178}/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.1178"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Thpc SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -814,7 +814,7 @@ class ClusterOverview(AbstractModel):
|
|
|
814
814
|
r"""
|
|
815
815
|
:param _ClusterId: 集群ID。
|
|
816
816
|
:type ClusterId: str
|
|
817
|
-
:param _ClusterStatus: 集群状态。取值范围:<
|
|
817
|
+
:param _ClusterStatus: 集群状态。取值范围:<li>PENDING:创建中</li><li>INITING:初始化中</li><li>INIT_FAILED:初始化失败</li><li>RUNNING:运行中</li><li>TERMINATING:销毁中</li>
|
|
818
818
|
:type ClusterStatus: str
|
|
819
819
|
:param _ClusterName: 集群名称。
|
|
820
820
|
:type ClusterName: str
|
|
@@ -824,6 +824,9 @@ class ClusterOverview(AbstractModel):
|
|
|
824
824
|
:type CreateTime: str
|
|
825
825
|
:param _SchedulerType: 集群调度器。
|
|
826
826
|
:type SchedulerType: str
|
|
827
|
+
:param _SchedulerVersion: 集群调度器版本。
|
|
828
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
829
|
+
:type SchedulerVersion: str
|
|
827
830
|
:param _ComputeNodeCount: 计算节点数量。
|
|
828
831
|
:type ComputeNodeCount: int
|
|
829
832
|
:param _ComputeNodeSet: 计算节点概览。
|
|
@@ -836,7 +839,7 @@ class ClusterOverview(AbstractModel):
|
|
|
836
839
|
:type LoginNodeSet: list of LoginNodeOverview
|
|
837
840
|
:param _LoginNodeCount: 登录节点数量。
|
|
838
841
|
:type LoginNodeCount: int
|
|
839
|
-
:param _AutoScalingType:
|
|
842
|
+
:param _AutoScalingType: 弹性伸缩类型。取值范围:<li>THPC_AS:集群自动扩缩容由THPC产品内部实现。</li><li>AS:集群自动扩缩容由[弹性伸缩](https://cloud.tencent.com/document/product/377/3154)产品实现。</li>
|
|
840
843
|
:type AutoScalingType: str
|
|
841
844
|
:param _VpcId: 集群所属私有网络ID。
|
|
842
845
|
:type VpcId: str
|
|
@@ -847,6 +850,7 @@ class ClusterOverview(AbstractModel):
|
|
|
847
850
|
self._Placement = None
|
|
848
851
|
self._CreateTime = None
|
|
849
852
|
self._SchedulerType = None
|
|
853
|
+
self._SchedulerVersion = None
|
|
850
854
|
self._ComputeNodeCount = None
|
|
851
855
|
self._ComputeNodeSet = None
|
|
852
856
|
self._ManagerNodeCount = None
|
|
@@ -904,6 +908,14 @@ class ClusterOverview(AbstractModel):
|
|
|
904
908
|
def SchedulerType(self, SchedulerType):
|
|
905
909
|
self._SchedulerType = SchedulerType
|
|
906
910
|
|
|
911
|
+
@property
|
|
912
|
+
def SchedulerVersion(self):
|
|
913
|
+
return self._SchedulerVersion
|
|
914
|
+
|
|
915
|
+
@SchedulerVersion.setter
|
|
916
|
+
def SchedulerVersion(self, SchedulerVersion):
|
|
917
|
+
self._SchedulerVersion = SchedulerVersion
|
|
918
|
+
|
|
907
919
|
@property
|
|
908
920
|
def ComputeNodeCount(self):
|
|
909
921
|
return self._ComputeNodeCount
|
|
@@ -978,6 +990,7 @@ class ClusterOverview(AbstractModel):
|
|
|
978
990
|
self._Placement._deserialize(params.get("Placement"))
|
|
979
991
|
self._CreateTime = params.get("CreateTime")
|
|
980
992
|
self._SchedulerType = params.get("SchedulerType")
|
|
993
|
+
self._SchedulerVersion = params.get("SchedulerVersion")
|
|
981
994
|
self._ComputeNodeCount = params.get("ComputeNodeCount")
|
|
982
995
|
if params.get("ComputeNodeSet") is not None:
|
|
983
996
|
self._ComputeNodeSet = []
|
|
@@ -1193,8 +1206,13 @@ class CreateClusterRequest(AbstractModel):
|
|
|
1193
1206
|
:type ComputeNode: :class:`tencentcloud.thpc.v20230321.models.ComputeNode`
|
|
1194
1207
|
:param _ComputeNodeCount: 指定计算节点的数量。默认取值:0。
|
|
1195
1208
|
:type ComputeNodeCount: int
|
|
1196
|
-
:param _SchedulerType: 调度器类型。默认取值:SLURM。<
|
|
1209
|
+
:param _SchedulerType: 调度器类型。默认取值:SLURM。<li>SGE:SGE调度器。</li><li>SLURM:SLURM调度器。</li>
|
|
1197
1210
|
:type SchedulerType: str
|
|
1211
|
+
:param _SchedulerVersion: 创建调度器的版本号,可填写版本号为“latest” 和 各调度器支持的版本号;如果是"latest", 则代表创建的是平台当前支持的该类型调度器最新版本。如果不填写,默认创建的是“latest”版本调度器
|
|
1212
|
+
各调度器支持的集群版本:
|
|
1213
|
+
<li>SLURM:21.08.8、23.11.7</li>
|
|
1214
|
+
<li>SGE: 8.1.9</li>
|
|
1215
|
+
:type SchedulerVersion: str
|
|
1198
1216
|
:param _ImageId: 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。目前支持部分公有镜像和自定义镜像。
|
|
1199
1217
|
:type ImageId: str
|
|
1200
1218
|
:param _VirtualPrivateCloud: 私有网络相关信息配置。
|
|
@@ -1212,7 +1230,7 @@ true:发送检查请求,不会创建实例。检查项包括是否填写了
|
|
|
1212
1230
|
false(默认):发送正常请求,通过检查后直接创建实例
|
|
1213
1231
|
:type DryRun: bool
|
|
1214
1232
|
:param _AccountType: 域名字服务类型。默认取值:NIS。
|
|
1215
|
-
<li>NIS:NIS
|
|
1233
|
+
<li>NIS:NIS域名字服务。</li>
|
|
1216
1234
|
:type AccountType: str
|
|
1217
1235
|
:param _ClusterName: 集群显示名称。
|
|
1218
1236
|
:type ClusterName: str
|
|
@@ -1224,7 +1242,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
|
1224
1242
|
:type LoginNodeCount: int
|
|
1225
1243
|
:param _Tags: 创建集群时同时绑定的标签对说明。
|
|
1226
1244
|
:type Tags: list of Tag
|
|
1227
|
-
:param _AutoScalingType: 弹性伸缩类型。默认值:THPC_AS<
|
|
1245
|
+
:param _AutoScalingType: 弹性伸缩类型。默认值:THPC_AS<li>THPC_AS:集群自动扩缩容由THPC产品内部实现。</li><li>AS:集群自动扩缩容由[弹性伸缩](https://cloud.tencent.com/document/product/377/3154)产品实现。</li>
|
|
1228
1246
|
:type AutoScalingType: str
|
|
1229
1247
|
:param _InitNodeScripts: 节点初始化脚本信息列表。
|
|
1230
1248
|
:type InitNodeScripts: list of NodeScript
|
|
@@ -1237,6 +1255,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
|
1237
1255
|
self._ComputeNode = None
|
|
1238
1256
|
self._ComputeNodeCount = None
|
|
1239
1257
|
self._SchedulerType = None
|
|
1258
|
+
self._SchedulerVersion = None
|
|
1240
1259
|
self._ImageId = None
|
|
1241
1260
|
self._VirtualPrivateCloud = None
|
|
1242
1261
|
self._LoginSettings = None
|
|
@@ -1301,6 +1320,14 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
|
1301
1320
|
def SchedulerType(self, SchedulerType):
|
|
1302
1321
|
self._SchedulerType = SchedulerType
|
|
1303
1322
|
|
|
1323
|
+
@property
|
|
1324
|
+
def SchedulerVersion(self):
|
|
1325
|
+
return self._SchedulerVersion
|
|
1326
|
+
|
|
1327
|
+
@SchedulerVersion.setter
|
|
1328
|
+
def SchedulerVersion(self, SchedulerVersion):
|
|
1329
|
+
self._SchedulerVersion = SchedulerVersion
|
|
1330
|
+
|
|
1304
1331
|
@property
|
|
1305
1332
|
def ImageId(self):
|
|
1306
1333
|
return self._ImageId
|
|
@@ -1435,6 +1462,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
|
1435
1462
|
self._ComputeNode._deserialize(params.get("ComputeNode"))
|
|
1436
1463
|
self._ComputeNodeCount = params.get("ComputeNodeCount")
|
|
1437
1464
|
self._SchedulerType = params.get("SchedulerType")
|
|
1465
|
+
self._SchedulerVersion = params.get("SchedulerVersion")
|
|
1438
1466
|
self._ImageId = params.get("ImageId")
|
|
1439
1467
|
if params.get("VirtualPrivateCloud") is not None:
|
|
1440
1468
|
self._VirtualPrivateCloud = VirtualPrivateCloud()
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1178
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1175
|
|
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
|
|
File without changes
|