tencentcloud-sdk-python-thpc 3.1.36__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 +52 -26
- {tencentcloud_sdk_python_thpc-3.1.36.dist-info → tencentcloud_sdk_python_thpc-3.1.54.dist-info}/METADATA +2 -2
- {tencentcloud_sdk_python_thpc-3.1.36.dist-info → tencentcloud_sdk_python_thpc-3.1.54.dist-info}/RECORD +6 -6
- {tencentcloud_sdk_python_thpc-3.1.36.dist-info → tencentcloud_sdk_python_thpc-3.1.54.dist-info}/WHEEL +1 -1
- {tencentcloud_sdk_python_thpc-3.1.36.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:]
|
|
@@ -3092,14 +3103,17 @@ class DescribeAutoScalingConfigurationRequest(AbstractModel):
|
|
|
3092
3103
|
|
|
3093
3104
|
def __init__(self):
|
|
3094
3105
|
r"""
|
|
3095
|
-
:param _ClusterId:
|
|
3106
|
+
:param _ClusterId: <p>集群ID。</p>
|
|
3096
3107
|
:type ClusterId: str
|
|
3108
|
+
:param _QueueName: <p>队列名称</p>
|
|
3109
|
+
:type QueueName: str
|
|
3097
3110
|
"""
|
|
3098
3111
|
self._ClusterId = None
|
|
3112
|
+
self._QueueName = None
|
|
3099
3113
|
|
|
3100
3114
|
@property
|
|
3101
3115
|
def ClusterId(self):
|
|
3102
|
-
r"""
|
|
3116
|
+
r"""<p>集群ID。</p>
|
|
3103
3117
|
:rtype: str
|
|
3104
3118
|
"""
|
|
3105
3119
|
return self._ClusterId
|
|
@@ -3108,9 +3122,21 @@ class DescribeAutoScalingConfigurationRequest(AbstractModel):
|
|
|
3108
3122
|
def ClusterId(self, ClusterId):
|
|
3109
3123
|
self._ClusterId = ClusterId
|
|
3110
3124
|
|
|
3125
|
+
@property
|
|
3126
|
+
def QueueName(self):
|
|
3127
|
+
r"""<p>队列名称</p>
|
|
3128
|
+
:rtype: str
|
|
3129
|
+
"""
|
|
3130
|
+
return self._QueueName
|
|
3131
|
+
|
|
3132
|
+
@QueueName.setter
|
|
3133
|
+
def QueueName(self, QueueName):
|
|
3134
|
+
self._QueueName = QueueName
|
|
3135
|
+
|
|
3111
3136
|
|
|
3112
3137
|
def _deserialize(self, params):
|
|
3113
3138
|
self._ClusterId = params.get("ClusterId")
|
|
3139
|
+
self._QueueName = params.get("QueueName")
|
|
3114
3140
|
memeber_set = set(params.keys())
|
|
3115
3141
|
for name, value in vars(self).items():
|
|
3116
3142
|
property_name = name[1:]
|
|
@@ -3128,13 +3154,13 @@ class DescribeAutoScalingConfigurationResponse(AbstractModel):
|
|
|
3128
3154
|
|
|
3129
3155
|
def __init__(self):
|
|
3130
3156
|
r"""
|
|
3131
|
-
:param _ClusterId:
|
|
3157
|
+
:param _ClusterId: <p>集群ID。</p>
|
|
3132
3158
|
:type ClusterId: str
|
|
3133
|
-
:param _ExpansionBusyTime:
|
|
3159
|
+
:param _ExpansionBusyTime: <p>任务连续等待时间,队列的任务处于连续等待的时间。单位秒。</p>
|
|
3134
3160
|
:type ExpansionBusyTime: int
|
|
3135
|
-
:param _ShrinkIdleTime:
|
|
3161
|
+
:param _ShrinkIdleTime: <p>节点连续空闲(未运行作业)时间,一个节点连续处于空闲状态时间。</p>
|
|
3136
3162
|
:type ShrinkIdleTime: int
|
|
3137
|
-
:param _QueueConfigs:
|
|
3163
|
+
:param _QueueConfigs: <p>扩容队列配置概览列表。</p>
|
|
3138
3164
|
:type QueueConfigs: list of QueueConfigOverview
|
|
3139
3165
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3140
3166
|
:type RequestId: str
|
|
@@ -3147,7 +3173,7 @@ class DescribeAutoScalingConfigurationResponse(AbstractModel):
|
|
|
3147
3173
|
|
|
3148
3174
|
@property
|
|
3149
3175
|
def ClusterId(self):
|
|
3150
|
-
r"""
|
|
3176
|
+
r"""<p>集群ID。</p>
|
|
3151
3177
|
:rtype: str
|
|
3152
3178
|
"""
|
|
3153
3179
|
return self._ClusterId
|
|
@@ -3158,7 +3184,7 @@ class DescribeAutoScalingConfigurationResponse(AbstractModel):
|
|
|
3158
3184
|
|
|
3159
3185
|
@property
|
|
3160
3186
|
def ExpansionBusyTime(self):
|
|
3161
|
-
r"""
|
|
3187
|
+
r"""<p>任务连续等待时间,队列的任务处于连续等待的时间。单位秒。</p>
|
|
3162
3188
|
:rtype: int
|
|
3163
3189
|
"""
|
|
3164
3190
|
return self._ExpansionBusyTime
|
|
@@ -3169,7 +3195,7 @@ class DescribeAutoScalingConfigurationResponse(AbstractModel):
|
|
|
3169
3195
|
|
|
3170
3196
|
@property
|
|
3171
3197
|
def ShrinkIdleTime(self):
|
|
3172
|
-
r"""
|
|
3198
|
+
r"""<p>节点连续空闲(未运行作业)时间,一个节点连续处于空闲状态时间。</p>
|
|
3173
3199
|
:rtype: int
|
|
3174
3200
|
"""
|
|
3175
3201
|
return self._ShrinkIdleTime
|
|
@@ -3180,7 +3206,7 @@ class DescribeAutoScalingConfigurationResponse(AbstractModel):
|
|
|
3180
3206
|
|
|
3181
3207
|
@property
|
|
3182
3208
|
def QueueConfigs(self):
|
|
3183
|
-
r"""
|
|
3209
|
+
r"""<p>扩容队列配置概览列表。</p>
|
|
3184
3210
|
:rtype: list of QueueConfigOverview
|
|
3185
3211
|
"""
|
|
3186
3212
|
return self._QueueConfigs
|
|
@@ -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
|