tencentcloud-sdk-python-thpc 3.1.2__tar.gz → 3.1.15__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.1.2 → tencentcloud_sdk_python_thpc-3.1.15}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_thpc-3.1.2 → tencentcloud_sdk_python_thpc-3.1.15}/setup.py +1 -1
- {tencentcloud_sdk_python_thpc-3.1.2 → tencentcloud_sdk_python_thpc-3.1.15}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_thpc-3.1.2 → tencentcloud_sdk_python_thpc-3.1.15}/tencentcloud/thpc/v20230321/models.py +17 -36
- {tencentcloud_sdk_python_thpc-3.1.2 → tencentcloud_sdk_python_thpc-3.1.15}/tencentcloud_sdk_python_thpc.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_thpc-3.1.15/tencentcloud_sdk_python_thpc.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_thpc-3.1.2/tencentcloud_sdk_python_thpc.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_thpc-3.1.2 → tencentcloud_sdk_python_thpc-3.1.15}/README.rst +0 -0
- {tencentcloud_sdk_python_thpc-3.1.2 → tencentcloud_sdk_python_thpc-3.1.15}/setup.cfg +0 -0
- {tencentcloud_sdk_python_thpc-3.1.2 → tencentcloud_sdk_python_thpc-3.1.15}/tencentcloud/thpc/__init__.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.2 → tencentcloud_sdk_python_thpc-3.1.15}/tencentcloud/thpc/v20211109/__init__.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.2 → tencentcloud_sdk_python_thpc-3.1.15}/tencentcloud/thpc/v20211109/errorcodes.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.2 → tencentcloud_sdk_python_thpc-3.1.15}/tencentcloud/thpc/v20211109/models.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.2 → tencentcloud_sdk_python_thpc-3.1.15}/tencentcloud/thpc/v20211109/thpc_client.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.2 → tencentcloud_sdk_python_thpc-3.1.15}/tencentcloud/thpc/v20211109/thpc_client_async.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.2 → tencentcloud_sdk_python_thpc-3.1.15}/tencentcloud/thpc/v20220401/__init__.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.2 → tencentcloud_sdk_python_thpc-3.1.15}/tencentcloud/thpc/v20220401/errorcodes.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.2 → tencentcloud_sdk_python_thpc-3.1.15}/tencentcloud/thpc/v20220401/models.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.2 → tencentcloud_sdk_python_thpc-3.1.15}/tencentcloud/thpc/v20220401/thpc_client.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.2 → tencentcloud_sdk_python_thpc-3.1.15}/tencentcloud/thpc/v20220401/thpc_client_async.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.2 → tencentcloud_sdk_python_thpc-3.1.15}/tencentcloud/thpc/v20230321/__init__.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.2 → tencentcloud_sdk_python_thpc-3.1.15}/tencentcloud/thpc/v20230321/errorcodes.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.2 → tencentcloud_sdk_python_thpc-3.1.15}/tencentcloud/thpc/v20230321/thpc_client.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.2 → tencentcloud_sdk_python_thpc-3.1.15}/tencentcloud/thpc/v20230321/thpc_client_async.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.2 → tencentcloud_sdk_python_thpc-3.1.15}/tencentcloud_sdk_python_thpc.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_thpc-3.1.2 → tencentcloud_sdk_python_thpc-3.1.15}/tencentcloud_sdk_python_thpc.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_thpc-3.1.2 → tencentcloud_sdk_python_thpc-3.1.15}/tencentcloud_sdk_python_thpc.egg-info/top_level.txt +0 -0
|
@@ -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.15
|
|
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.15
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -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.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.15,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Thpc SDK for Python',
|
|
@@ -761,12 +761,15 @@ SLURM默认队列为:compute。
|
|
|
761
761
|
:type ImageId: str
|
|
762
762
|
:param _ResourceType: 要新增节点的资源类型。<li>CVM:CVM实例类型资源</li><li>WORKSPACE:工作空间类型实例资源</li>默认值:CVM。
|
|
763
763
|
:type ResourceType: str
|
|
764
|
+
:param _UserData: 提供给实例使用的用户数据,需要以 base64 方式编码,支持的最大数据大小为 16KB。关于获取此参数的详细介绍,请参阅[Windows](https://cloud.tencent.com/document/product/213/17526)和[Linux](https://cloud.tencent.com/document/product/213/17525)启动时运行命令。
|
|
765
|
+
:type UserData: str
|
|
764
766
|
"""
|
|
765
767
|
self._ClusterId = None
|
|
766
768
|
self._ResourceSet = None
|
|
767
769
|
self._QueueName = None
|
|
768
770
|
self._ImageId = None
|
|
769
771
|
self._ResourceType = None
|
|
772
|
+
self._UserData = None
|
|
770
773
|
|
|
771
774
|
@property
|
|
772
775
|
def ClusterId(self):
|
|
@@ -825,6 +828,17 @@ SLURM默认队列为:compute。
|
|
|
825
828
|
def ResourceType(self, ResourceType):
|
|
826
829
|
self._ResourceType = ResourceType
|
|
827
830
|
|
|
831
|
+
@property
|
|
832
|
+
def UserData(self):
|
|
833
|
+
r"""提供给实例使用的用户数据,需要以 base64 方式编码,支持的最大数据大小为 16KB。关于获取此参数的详细介绍,请参阅[Windows](https://cloud.tencent.com/document/product/213/17526)和[Linux](https://cloud.tencent.com/document/product/213/17525)启动时运行命令。
|
|
834
|
+
:rtype: str
|
|
835
|
+
"""
|
|
836
|
+
return self._UserData
|
|
837
|
+
|
|
838
|
+
@UserData.setter
|
|
839
|
+
def UserData(self, UserData):
|
|
840
|
+
self._UserData = UserData
|
|
841
|
+
|
|
828
842
|
|
|
829
843
|
def _deserialize(self, params):
|
|
830
844
|
self._ClusterId = params.get("ClusterId")
|
|
@@ -832,6 +846,7 @@ SLURM默认队列为:compute。
|
|
|
832
846
|
self._QueueName = params.get("QueueName")
|
|
833
847
|
self._ImageId = params.get("ImageId")
|
|
834
848
|
self._ResourceType = params.get("ResourceType")
|
|
849
|
+
self._UserData = params.get("UserData")
|
|
835
850
|
memeber_set = set(params.keys())
|
|
836
851
|
for name, value in vars(self).items():
|
|
837
852
|
property_name = name[1:]
|
|
@@ -4062,24 +4077,7 @@ class DescribeNodesRequest(AbstractModel):
|
|
|
4062
4077
|
r"""
|
|
4063
4078
|
:param _ClusterId: 集群ID。
|
|
4064
4079
|
:type ClusterId: str
|
|
4065
|
-
:param _Filters: <ul>
|
|
4066
|
-
<li><strong>queue-name</strong>
|
|
4067
|
-
<p style="padding-left: 30px;">按照【<strong>队列名称</strong>】进行过滤。队列名称形如:compute。</p>
|
|
4068
|
-
<p style="padding-left: 30px;">类型:String</p>
|
|
4069
|
-
<p style="padding-left: 30px;">必选:否</p>
|
|
4070
|
-
</li>
|
|
4071
|
-
<li><strong>node-role</strong>
|
|
4072
|
-
<p style="padding-left: 30px;">按照【<strong>节点角色</strong>】进行过滤。节点角色形如:Manager。(Manager:管控节点。Compute:计算节点。Login:登录节点。ManagerBackup:备用管控节点。)</p>
|
|
4073
|
-
<p style="padding-left: 30px;">类型:String</p>
|
|
4074
|
-
<p style="padding-left: 30px;">必选:否</p>
|
|
4075
|
-
</li>
|
|
4076
|
-
<li><strong>node-type</strong>
|
|
4077
|
-
<p style="padding-left: 30px;">按照【<strong>节点类型</strong>】进行过滤。节点类型形如:STATIC。(STATIC:静态节点。DYNAMIC:弹性节点。)</p>
|
|
4078
|
-
<p style="padding-left: 30px;">类型:String</p>
|
|
4079
|
-
<p style="padding-left: 30px;">必选:否</p>
|
|
4080
|
-
</li>
|
|
4081
|
-
</ul>
|
|
4082
|
-
<p style="padding-left: 30px;">每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。</p>
|
|
4080
|
+
:param _Filters: <ul> <li><strong>queue-name</strong> <p style="padding-left: 30px;">按照【<strong>队列名称</strong>】进行过滤。队列名称形如:compute。</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p> </li> <li><strong>node-role</strong> <p style="padding-left: 30px;">按照【<strong>节点角色</strong>】进行过滤。节点角色形如:Manager。(Manager:管控节点。Compute:计算节点。Login:登录节点。ManagerBackup:备用管控节点。)</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p> </li> <li><strong>node-type</strong> <p style="padding-left: 30px;">按照【<strong>节点类型</strong>】进行过滤。节点类型形如:STATIC。(STATIC:静态节点。DYNAMIC:弹性节点。)</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p> </li> <li><strong>instance-id</strong> <p style="padding-left: 30px;">按照【<strong>CVM实例资源ID</strong>】进行过滤。资源ID名称形如:ins-xxx。</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p> </li> </ul><p style="padding-left: 30px;">每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。</p>
|
|
4083
4081
|
:type Filters: list of Filter
|
|
4084
4082
|
:param _Offset: 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
|
4085
4083
|
:type Offset: int
|
|
@@ -4104,24 +4102,7 @@ class DescribeNodesRequest(AbstractModel):
|
|
|
4104
4102
|
|
|
4105
4103
|
@property
|
|
4106
4104
|
def Filters(self):
|
|
4107
|
-
r"""<ul>
|
|
4108
|
-
<li><strong>queue-name</strong>
|
|
4109
|
-
<p style="padding-left: 30px;">按照【<strong>队列名称</strong>】进行过滤。队列名称形如:compute。</p>
|
|
4110
|
-
<p style="padding-left: 30px;">类型:String</p>
|
|
4111
|
-
<p style="padding-left: 30px;">必选:否</p>
|
|
4112
|
-
</li>
|
|
4113
|
-
<li><strong>node-role</strong>
|
|
4114
|
-
<p style="padding-left: 30px;">按照【<strong>节点角色</strong>】进行过滤。节点角色形如:Manager。(Manager:管控节点。Compute:计算节点。Login:登录节点。ManagerBackup:备用管控节点。)</p>
|
|
4115
|
-
<p style="padding-left: 30px;">类型:String</p>
|
|
4116
|
-
<p style="padding-left: 30px;">必选:否</p>
|
|
4117
|
-
</li>
|
|
4118
|
-
<li><strong>node-type</strong>
|
|
4119
|
-
<p style="padding-left: 30px;">按照【<strong>节点类型</strong>】进行过滤。节点类型形如:STATIC。(STATIC:静态节点。DYNAMIC:弹性节点。)</p>
|
|
4120
|
-
<p style="padding-left: 30px;">类型:String</p>
|
|
4121
|
-
<p style="padding-left: 30px;">必选:否</p>
|
|
4122
|
-
</li>
|
|
4123
|
-
</ul>
|
|
4124
|
-
<p style="padding-left: 30px;">每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。</p>
|
|
4105
|
+
r"""<ul> <li><strong>queue-name</strong> <p style="padding-left: 30px;">按照【<strong>队列名称</strong>】进行过滤。队列名称形如:compute。</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p> </li> <li><strong>node-role</strong> <p style="padding-left: 30px;">按照【<strong>节点角色</strong>】进行过滤。节点角色形如:Manager。(Manager:管控节点。Compute:计算节点。Login:登录节点。ManagerBackup:备用管控节点。)</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p> </li> <li><strong>node-type</strong> <p style="padding-left: 30px;">按照【<strong>节点类型</strong>】进行过滤。节点类型形如:STATIC。(STATIC:静态节点。DYNAMIC:弹性节点。)</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p> </li> <li><strong>instance-id</strong> <p style="padding-left: 30px;">按照【<strong>CVM实例资源ID</strong>】进行过滤。资源ID名称形如:ins-xxx。</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p> </li> </ul><p style="padding-left: 30px;">每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。</p>
|
|
4125
4106
|
:rtype: list of Filter
|
|
4126
4107
|
"""
|
|
4127
4108
|
return self._Filters
|
|
@@ -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.15
|
|
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.15
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.15
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.2
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|