tencentcloud-sdk-python-thpc 3.1.160__tar.gz → 3.1.169__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.160 → tencentcloud_sdk_python_thpc-3.1.169}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_thpc-3.1.160 → tencentcloud_sdk_python_thpc-3.1.169}/setup.py +1 -1
- {tencentcloud_sdk_python_thpc-3.1.160 → tencentcloud_sdk_python_thpc-3.1.169}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_thpc-3.1.160 → tencentcloud_sdk_python_thpc-3.1.169}/tencentcloud/thpc/v20220401/models.py +37 -0
- {tencentcloud_sdk_python_thpc-3.1.160 → tencentcloud_sdk_python_thpc-3.1.169}/tencentcloud/thpc/v20230321/errorcodes.py +45 -0
- {tencentcloud_sdk_python_thpc-3.1.160 → tencentcloud_sdk_python_thpc-3.1.169}/tencentcloud/thpc/v20230321/models.py +2687 -135
- {tencentcloud_sdk_python_thpc-3.1.160 → tencentcloud_sdk_python_thpc-3.1.169}/tencentcloud/thpc/v20230321/thpc_client.py +367 -0
- {tencentcloud_sdk_python_thpc-3.1.160 → tencentcloud_sdk_python_thpc-3.1.169}/tencentcloud/thpc/v20230321/thpc_client_async.py +292 -0
- {tencentcloud_sdk_python_thpc-3.1.160 → tencentcloud_sdk_python_thpc-3.1.169}/tencentcloud_sdk_python_thpc.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_thpc-3.1.169/tencentcloud_sdk_python_thpc.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_thpc-3.1.160/tencentcloud_sdk_python_thpc.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_thpc-3.1.160 → tencentcloud_sdk_python_thpc-3.1.169}/README.rst +0 -0
- {tencentcloud_sdk_python_thpc-3.1.160 → tencentcloud_sdk_python_thpc-3.1.169}/setup.cfg +0 -0
- {tencentcloud_sdk_python_thpc-3.1.160 → tencentcloud_sdk_python_thpc-3.1.169}/tencentcloud/thpc/__init__.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.160 → tencentcloud_sdk_python_thpc-3.1.169}/tencentcloud/thpc/v20211109/__init__.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.160 → tencentcloud_sdk_python_thpc-3.1.169}/tencentcloud/thpc/v20211109/errorcodes.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.160 → tencentcloud_sdk_python_thpc-3.1.169}/tencentcloud/thpc/v20211109/models.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.160 → tencentcloud_sdk_python_thpc-3.1.169}/tencentcloud/thpc/v20211109/thpc_client.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.160 → tencentcloud_sdk_python_thpc-3.1.169}/tencentcloud/thpc/v20211109/thpc_client_async.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.160 → tencentcloud_sdk_python_thpc-3.1.169}/tencentcloud/thpc/v20220401/__init__.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.160 → tencentcloud_sdk_python_thpc-3.1.169}/tencentcloud/thpc/v20220401/errorcodes.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.160 → tencentcloud_sdk_python_thpc-3.1.169}/tencentcloud/thpc/v20220401/thpc_client.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.160 → tencentcloud_sdk_python_thpc-3.1.169}/tencentcloud/thpc/v20220401/thpc_client_async.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.160 → tencentcloud_sdk_python_thpc-3.1.169}/tencentcloud/thpc/v20230321/__init__.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.160 → tencentcloud_sdk_python_thpc-3.1.169}/tencentcloud_sdk_python_thpc.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_thpc-3.1.160 → tencentcloud_sdk_python_thpc-3.1.169}/tencentcloud_sdk_python_thpc.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_thpc-3.1.160 → tencentcloud_sdk_python_thpc-3.1.169}/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.169
|
|
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.169
|
|
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.169,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Thpc SDK for Python',
|
|
@@ -920,6 +920,9 @@ class ClusterActivity(AbstractModel):
|
|
|
920
920
|
:type ResultDetail: str
|
|
921
921
|
:param _Cause: 集群活动起因。
|
|
922
922
|
:type Cause: str
|
|
923
|
+
:param _QueueName: 队列名称。集群级活动(如创建/删除集群)此字段为空,队列级活动(如扩容/缩容)为对应队列名。
|
|
924
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
925
|
+
:type QueueName: str
|
|
923
926
|
:param _Description: 集群活动描述。
|
|
924
927
|
:type Description: str
|
|
925
928
|
:param _RelatedNodeActivitySet: 集群活动相关节点活动集合。
|
|
@@ -936,6 +939,7 @@ class ClusterActivity(AbstractModel):
|
|
|
936
939
|
self._ActivityStatusCode = None
|
|
937
940
|
self._ResultDetail = None
|
|
938
941
|
self._Cause = None
|
|
942
|
+
self._QueueName = None
|
|
939
943
|
self._Description = None
|
|
940
944
|
self._RelatedNodeActivitySet = None
|
|
941
945
|
self._StartTime = None
|
|
@@ -1019,6 +1023,18 @@ class ClusterActivity(AbstractModel):
|
|
|
1019
1023
|
def Cause(self, Cause):
|
|
1020
1024
|
self._Cause = Cause
|
|
1021
1025
|
|
|
1026
|
+
@property
|
|
1027
|
+
def QueueName(self):
|
|
1028
|
+
r"""队列名称。集群级活动(如创建/删除集群)此字段为空,队列级活动(如扩容/缩容)为对应队列名。
|
|
1029
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1030
|
+
:rtype: str
|
|
1031
|
+
"""
|
|
1032
|
+
return self._QueueName
|
|
1033
|
+
|
|
1034
|
+
@QueueName.setter
|
|
1035
|
+
def QueueName(self, QueueName):
|
|
1036
|
+
self._QueueName = QueueName
|
|
1037
|
+
|
|
1022
1038
|
@property
|
|
1023
1039
|
def Description(self):
|
|
1024
1040
|
r"""集群活动描述。
|
|
@@ -1072,6 +1088,7 @@ class ClusterActivity(AbstractModel):
|
|
|
1072
1088
|
self._ActivityStatusCode = params.get("ActivityStatusCode")
|
|
1073
1089
|
self._ResultDetail = params.get("ResultDetail")
|
|
1074
1090
|
self._Cause = params.get("Cause")
|
|
1091
|
+
self._QueueName = params.get("QueueName")
|
|
1075
1092
|
self._Description = params.get("Description")
|
|
1076
1093
|
if params.get("RelatedNodeActivitySet") is not None:
|
|
1077
1094
|
self._RelatedNodeActivitySet = []
|
|
@@ -2365,10 +2382,13 @@ class DescribeClusterActivitiesRequest(AbstractModel):
|
|
|
2365
2382
|
:type Offset: int
|
|
2366
2383
|
:param _Limit: <p>返回数量,默认为20,最大值为100。关于<code>Limit</code>的更进一步介绍请参考 API <a href="https://cloud.tencent.com/document/api/213/15688">简介</a>中的相关小节。</p>
|
|
2367
2384
|
:type Limit: int
|
|
2385
|
+
:param _Filters: <li><strong>queue-name</strong></li> <p style="padding-left: 30px;">按照【<strong>队列名称</strong>】进行过滤。队列名称形如:compute。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">每次请求的<code>Filters</code>的上限为10,<code>Filter.Values</code>的上限为5。</p>
|
|
2386
|
+
:type Filters: list of Filter
|
|
2368
2387
|
"""
|
|
2369
2388
|
self._ClusterId = None
|
|
2370
2389
|
self._Offset = None
|
|
2371
2390
|
self._Limit = None
|
|
2391
|
+
self._Filters = None
|
|
2372
2392
|
|
|
2373
2393
|
@property
|
|
2374
2394
|
def ClusterId(self):
|
|
@@ -2403,11 +2423,28 @@ class DescribeClusterActivitiesRequest(AbstractModel):
|
|
|
2403
2423
|
def Limit(self, Limit):
|
|
2404
2424
|
self._Limit = Limit
|
|
2405
2425
|
|
|
2426
|
+
@property
|
|
2427
|
+
def Filters(self):
|
|
2428
|
+
r"""<li><strong>queue-name</strong></li> <p style="padding-left: 30px;">按照【<strong>队列名称</strong>】进行过滤。队列名称形如:compute。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">每次请求的<code>Filters</code>的上限为10,<code>Filter.Values</code>的上限为5。</p>
|
|
2429
|
+
:rtype: list of Filter
|
|
2430
|
+
"""
|
|
2431
|
+
return self._Filters
|
|
2432
|
+
|
|
2433
|
+
@Filters.setter
|
|
2434
|
+
def Filters(self, Filters):
|
|
2435
|
+
self._Filters = Filters
|
|
2436
|
+
|
|
2406
2437
|
|
|
2407
2438
|
def _deserialize(self, params):
|
|
2408
2439
|
self._ClusterId = params.get("ClusterId")
|
|
2409
2440
|
self._Offset = params.get("Offset")
|
|
2410
2441
|
self._Limit = params.get("Limit")
|
|
2442
|
+
if params.get("Filters") is not None:
|
|
2443
|
+
self._Filters = []
|
|
2444
|
+
for item in params.get("Filters"):
|
|
2445
|
+
obj = Filter()
|
|
2446
|
+
obj._deserialize(item)
|
|
2447
|
+
self._Filters.append(obj)
|
|
2411
2448
|
memeber_set = set(params.keys())
|
|
2412
2449
|
for name, value in vars(self).items():
|
|
2413
2450
|
property_name = name[1:]
|
|
@@ -23,6 +23,9 @@ DRYRUNOPERATION = 'DryRunOperation'
|
|
|
23
23
|
# 操作失败。
|
|
24
24
|
FAILEDOPERATION = 'FailedOperation'
|
|
25
25
|
|
|
26
|
+
# FailedOperation.ProxyNotReady
|
|
27
|
+
FAILEDOPERATION_PROXYNOTREADY = 'FailedOperation.ProxyNotReady'
|
|
28
|
+
|
|
26
29
|
# 内部错误。
|
|
27
30
|
INTERNALERROR = 'InternalError'
|
|
28
31
|
|
|
@@ -35,15 +38,30 @@ INTERNALERROR_CALLBATCH = 'InternalError.CallBatch'
|
|
|
35
38
|
# CAM服务调用失败。
|
|
36
39
|
INTERNALERROR_CALLCAM = 'InternalError.CallCAM'
|
|
37
40
|
|
|
41
|
+
# 内部错误
|
|
42
|
+
INTERNALERROR_CALLCLOUDSDKEXCEPTION = 'InternalError.CallCloudSdkException'
|
|
43
|
+
|
|
38
44
|
# cvm调用失败。
|
|
39
45
|
INTERNALERROR_CALLCVM = 'InternalError.CallCvm'
|
|
40
46
|
|
|
47
|
+
# InternalError.CreateEndpointFailed
|
|
48
|
+
INTERNALERROR_CREATEENDPOINTFAILED = 'InternalError.CreateEndpointFailed'
|
|
49
|
+
|
|
50
|
+
# InternalError.DeleteEndpointFailed
|
|
51
|
+
INTERNALERROR_DELETEENDPOINTFAILED = 'InternalError.DeleteEndpointFailed'
|
|
52
|
+
|
|
53
|
+
# InternalError.EndpointServiceWhitelistFailed
|
|
54
|
+
INTERNALERROR_ENDPOINTSERVICEWHITELISTFAILED = 'InternalError.EndpointServiceWhitelistFailed'
|
|
55
|
+
|
|
41
56
|
# 参数错误。
|
|
42
57
|
INVALIDPARAMETER = 'InvalidParameter'
|
|
43
58
|
|
|
44
59
|
# 参数互斥,最多只能传入一个参数
|
|
45
60
|
INVALIDPARAMETER_ATMOSTONE = 'InvalidParameter.AtMostOne'
|
|
46
61
|
|
|
62
|
+
# 参数组合冲突。
|
|
63
|
+
INVALIDPARAMETER_COMBINATION = 'InvalidParameter.Combination'
|
|
64
|
+
|
|
47
65
|
# 参数格式有误。
|
|
48
66
|
INVALIDPARAMETER_MALFORMED = 'InvalidParameter.Malformed'
|
|
49
67
|
|
|
@@ -134,6 +152,9 @@ RESOURCEINSUFFICIENT = 'ResourceInsufficient'
|
|
|
134
152
|
# 资源不存在。
|
|
135
153
|
RESOURCENOTFOUND = 'ResourceNotFound'
|
|
136
154
|
|
|
155
|
+
# ResourceNotFound.Cluster
|
|
156
|
+
RESOURCENOTFOUND_CLUSTER = 'ResourceNotFound.Cluster'
|
|
157
|
+
|
|
137
158
|
# 集群不存在。
|
|
138
159
|
RESOURCENOTFOUND_CLUSTERID = 'ResourceNotFound.ClusterId'
|
|
139
160
|
|
|
@@ -152,9 +173,15 @@ RESOURCENOTFOUND_NODEID = 'ResourceNotFound.NodeId'
|
|
|
152
173
|
# 无法找到指定队列。
|
|
153
174
|
RESOURCENOTFOUND_QUEUE = 'ResourceNotFound.Queue'
|
|
154
175
|
|
|
176
|
+
# ResourceNotFound.VpcResource
|
|
177
|
+
RESOURCENOTFOUND_VPCRESOURCE = 'ResourceNotFound.VpcResource'
|
|
178
|
+
|
|
155
179
|
# 未授权操作。
|
|
156
180
|
UNAUTHORIZEDOPERATION = 'UnauthorizedOperation'
|
|
157
181
|
|
|
182
|
+
# 账号没有操作公网网络的权限,需要升级到标准网络账号。
|
|
183
|
+
UNAUTHORIZEDOPERATION_UNAUTHORIZEDNETWORKUSER = 'UnauthorizedOperation.UnauthorizedNetworkUser'
|
|
184
|
+
|
|
158
185
|
# 未知参数错误。
|
|
159
186
|
UNKNOWNPARAMETER = 'UnknownParameter'
|
|
160
187
|
|
|
@@ -170,6 +197,9 @@ UNSUPPORTEDOPERATION_CLUSTERACCEPTOTHERREQUEST = 'UnsupportedOperation.ClusterAc
|
|
|
170
197
|
# 该集群当前状态不支持该操作。
|
|
171
198
|
UNSUPPORTEDOPERATION_CLUSTERSTATUSNOTSUPPORT = 'UnsupportedOperation.ClusterStatusNotSupport'
|
|
172
199
|
|
|
200
|
+
# UnsupportedOperation.HasManagedNodes
|
|
201
|
+
UNSUPPORTEDOPERATION_HASMANAGEDNODES = 'UnsupportedOperation.HasManagedNodes'
|
|
202
|
+
|
|
173
203
|
# 类型节点不支持当前操作。
|
|
174
204
|
UNSUPPORTEDOPERATION_INVALIDNODEROLE = 'UnsupportedOperation.InvalidNodeRole'
|
|
175
205
|
|
|
@@ -185,12 +215,27 @@ UNSUPPORTEDOPERATION_PARAMETERTOOLARGE = 'UnsupportedOperation.ParameterTooLarge
|
|
|
185
215
|
# 参数值过小,不支持此操作。
|
|
186
216
|
UNSUPPORTEDOPERATION_PARAMETERTOOSMALL = 'UnsupportedOperation.ParameterTooSmall'
|
|
187
217
|
|
|
218
|
+
# UnsupportedOperation.ProxyEnabled
|
|
219
|
+
UNSUPPORTEDOPERATION_PROXYENABLED = 'UnsupportedOperation.ProxyEnabled'
|
|
220
|
+
|
|
221
|
+
# UnsupportedOperation.ProxyNotEnabled
|
|
222
|
+
UNSUPPORTEDOPERATION_PROXYNOTENABLED = 'UnsupportedOperation.ProxyNotEnabled'
|
|
223
|
+
|
|
188
224
|
# 队列内存在节点,不支持此操作。
|
|
189
225
|
UNSUPPORTEDOPERATION_QUEUENOTEMPTY = 'UnsupportedOperation.QueueNotEmpty'
|
|
190
226
|
|
|
227
|
+
# UnsupportedOperation.RegionDedicatedProxyDisabled
|
|
228
|
+
UNSUPPORTEDOPERATION_REGIONDEDICATEDPROXYDISABLED = 'UnsupportedOperation.RegionDedicatedProxyDisabled'
|
|
229
|
+
|
|
230
|
+
# UnsupportedOperation.RegionNotSupportDedicatedProxy
|
|
231
|
+
UNSUPPORTEDOPERATION_REGIONNOTSUPPORTDEDICATEDPROXY = 'UnsupportedOperation.RegionNotSupportDedicatedProxy'
|
|
232
|
+
|
|
191
233
|
# 实例的付费模式不支持当前操作。
|
|
192
234
|
UNSUPPORTEDOPERATION_SPACECHARGETYPE = 'UnsupportedOperation.SpaceChargeType'
|
|
193
235
|
|
|
236
|
+
# UnsupportedOperation.VpcAlreadyBound
|
|
237
|
+
UNSUPPORTEDOPERATION_VPCALREADYBOUND = 'UnsupportedOperation.VpcAlreadyBound'
|
|
238
|
+
|
|
194
239
|
# vpc冲突,不支持当前操作。
|
|
195
240
|
UNSUPPORTEDOPERATION_VPCIDCONFLICT = 'UnsupportedOperation.VpcIdConflict'
|
|
196
241
|
|