tencentcloud-sdk-python-tke 3.1.121__tar.gz → 3.1.123__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.
Potentially problematic release.
This version of tencentcloud-sdk-python-tke might be problematic. Click here for more details.
- {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.123}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.123}/setup.py +1 -1
- {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.123}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.123}/tencentcloud/tke/v20220501/models.py +54 -0
- {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.123}/tencentcloud/tke/v20220501/tke_client.py +23 -0
- {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.123}/tencentcloud/tke/v20220501/tke_client_async.py +18 -0
- {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.123}/tencentcloud_sdk_python_tke.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tke-3.1.123/tencentcloud_sdk_python_tke.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tke-3.1.121/tencentcloud_sdk_python_tke.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.123}/README.rst +0 -0
- {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.123}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.123}/tencentcloud/tke/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.123}/tencentcloud/tke/v20180525/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.123}/tencentcloud/tke/v20180525/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.123}/tencentcloud/tke/v20180525/models.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.123}/tencentcloud/tke/v20180525/tke_client.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.123}/tencentcloud/tke/v20180525/tke_client_async.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.123}/tencentcloud/tke/v20220501/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.123}/tencentcloud/tke/v20220501/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.123}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.123}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.123}/tencentcloud_sdk_python_tke.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tke
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.123
|
|
4
4
|
Summary: Tencent Cloud Tke 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.123
|
|
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-tke',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.123,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tke SDK for Python',
|
|
@@ -545,6 +545,8 @@ class CreateNativeNodePoolParam(AbstractModel):
|
|
|
545
545
|
:type EnableAutoscaling: bool
|
|
546
546
|
:param _Replicas: <p>期望节点数</p>
|
|
547
547
|
:type Replicas: int
|
|
548
|
+
:param _GPUConfigs: <p>机型和GPU配置相关信息</p>
|
|
549
|
+
:type GPUConfigs: list of GPUConfig
|
|
548
550
|
:param _InternetAccessible: <p>公网带宽设置</p>
|
|
549
551
|
:type InternetAccessible: :class:`tencentcloud.tke.v20220501.models.InternetAccessible`
|
|
550
552
|
:param _DataDisks: <p>原生节点池数据盘列表</p>
|
|
@@ -577,6 +579,7 @@ class CreateNativeNodePoolParam(AbstractModel):
|
|
|
577
579
|
self._RuntimeRootDir = None
|
|
578
580
|
self._EnableAutoscaling = None
|
|
579
581
|
self._Replicas = None
|
|
582
|
+
self._GPUConfigs = None
|
|
580
583
|
self._InternetAccessible = None
|
|
581
584
|
self._DataDisks = None
|
|
582
585
|
self._QGPUEnable = None
|
|
@@ -772,6 +775,17 @@ class CreateNativeNodePoolParam(AbstractModel):
|
|
|
772
775
|
def Replicas(self, Replicas):
|
|
773
776
|
self._Replicas = Replicas
|
|
774
777
|
|
|
778
|
+
@property
|
|
779
|
+
def GPUConfigs(self):
|
|
780
|
+
r"""<p>机型和GPU配置相关信息</p>
|
|
781
|
+
:rtype: list of GPUConfig
|
|
782
|
+
"""
|
|
783
|
+
return self._GPUConfigs
|
|
784
|
+
|
|
785
|
+
@GPUConfigs.setter
|
|
786
|
+
def GPUConfigs(self, GPUConfigs):
|
|
787
|
+
self._GPUConfigs = GPUConfigs
|
|
788
|
+
|
|
775
789
|
@property
|
|
776
790
|
def InternetAccessible(self):
|
|
777
791
|
r"""<p>公网带宽设置</p>
|
|
@@ -880,6 +894,12 @@ class CreateNativeNodePoolParam(AbstractModel):
|
|
|
880
894
|
self._RuntimeRootDir = params.get("RuntimeRootDir")
|
|
881
895
|
self._EnableAutoscaling = params.get("EnableAutoscaling")
|
|
882
896
|
self._Replicas = params.get("Replicas")
|
|
897
|
+
if params.get("GPUConfigs") is not None:
|
|
898
|
+
self._GPUConfigs = []
|
|
899
|
+
for item in params.get("GPUConfigs"):
|
|
900
|
+
obj = GPUConfig()
|
|
901
|
+
obj._deserialize(item)
|
|
902
|
+
self._GPUConfigs.append(obj)
|
|
883
903
|
if params.get("InternetAccessible") is not None:
|
|
884
904
|
self._InternetAccessible = InternetAccessible()
|
|
885
905
|
self._InternetAccessible._deserialize(params.get("InternetAccessible"))
|
|
@@ -2708,6 +2728,40 @@ class DescribeHealthCheckTemplateResponse(AbstractModel):
|
|
|
2708
2728
|
self._RequestId = params.get("RequestId")
|
|
2709
2729
|
|
|
2710
2730
|
|
|
2731
|
+
class DescribeNodePoolsElasticityStrengthRequest(AbstractModel):
|
|
2732
|
+
r"""DescribeNodePoolsElasticityStrength请求参数结构体
|
|
2733
|
+
|
|
2734
|
+
"""
|
|
2735
|
+
|
|
2736
|
+
|
|
2737
|
+
class DescribeNodePoolsElasticityStrengthResponse(AbstractModel):
|
|
2738
|
+
r"""DescribeNodePoolsElasticityStrength返回参数结构体
|
|
2739
|
+
|
|
2740
|
+
"""
|
|
2741
|
+
|
|
2742
|
+
def __init__(self):
|
|
2743
|
+
r"""
|
|
2744
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2745
|
+
:type RequestId: str
|
|
2746
|
+
"""
|
|
2747
|
+
self._RequestId = None
|
|
2748
|
+
|
|
2749
|
+
@property
|
|
2750
|
+
def RequestId(self):
|
|
2751
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2752
|
+
:rtype: str
|
|
2753
|
+
"""
|
|
2754
|
+
return self._RequestId
|
|
2755
|
+
|
|
2756
|
+
@RequestId.setter
|
|
2757
|
+
def RequestId(self, RequestId):
|
|
2758
|
+
self._RequestId = RequestId
|
|
2759
|
+
|
|
2760
|
+
|
|
2761
|
+
def _deserialize(self, params):
|
|
2762
|
+
self._RequestId = params.get("RequestId")
|
|
2763
|
+
|
|
2764
|
+
|
|
2711
2765
|
class DescribeNodePoolsRequest(AbstractModel):
|
|
2712
2766
|
r"""DescribeNodePools请求参数结构体
|
|
2713
2767
|
|
|
@@ -325,6 +325,29 @@ class TkeClient(AbstractClient):
|
|
|
325
325
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
326
326
|
|
|
327
327
|
|
|
328
|
+
def DescribeNodePoolsElasticityStrength(self, request):
|
|
329
|
+
r"""查询节点池健康度相关信息
|
|
330
|
+
|
|
331
|
+
:param request: Request instance for DescribeNodePoolsElasticityStrength.
|
|
332
|
+
:type request: :class:`tencentcloud.tke.v20220501.models.DescribeNodePoolsElasticityStrengthRequest`
|
|
333
|
+
:rtype: :class:`tencentcloud.tke.v20220501.models.DescribeNodePoolsElasticityStrengthResponse`
|
|
334
|
+
|
|
335
|
+
"""
|
|
336
|
+
try:
|
|
337
|
+
params = request._serialize()
|
|
338
|
+
headers = request.headers
|
|
339
|
+
body = self.call("DescribeNodePoolsElasticityStrength", params, headers=headers)
|
|
340
|
+
response = json.loads(body)
|
|
341
|
+
model = models.DescribeNodePoolsElasticityStrengthResponse()
|
|
342
|
+
model._deserialize(response["Response"])
|
|
343
|
+
return model
|
|
344
|
+
except Exception as e:
|
|
345
|
+
if isinstance(e, TencentCloudSDKException):
|
|
346
|
+
raise
|
|
347
|
+
else:
|
|
348
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
349
|
+
|
|
350
|
+
|
|
328
351
|
def DescribeZoneInstanceConfigInfos(self, request):
|
|
329
352
|
r"""查询原生节点机型配置
|
|
330
353
|
|
|
@@ -259,6 +259,24 @@ class TkeClient(AbstractClient):
|
|
|
259
259
|
|
|
260
260
|
return await self.call_and_deserialize(**kwargs)
|
|
261
261
|
|
|
262
|
+
async def DescribeNodePoolsElasticityStrength(
|
|
263
|
+
self,
|
|
264
|
+
request: models.DescribeNodePoolsElasticityStrengthRequest,
|
|
265
|
+
opts: Dict = None,
|
|
266
|
+
) -> models.DescribeNodePoolsElasticityStrengthResponse:
|
|
267
|
+
"""
|
|
268
|
+
查询节点池健康度相关信息
|
|
269
|
+
"""
|
|
270
|
+
|
|
271
|
+
kwargs = {}
|
|
272
|
+
kwargs["action"] = "DescribeNodePoolsElasticityStrength"
|
|
273
|
+
kwargs["params"] = request._serialize()
|
|
274
|
+
kwargs["resp_cls"] = models.DescribeNodePoolsElasticityStrengthResponse
|
|
275
|
+
kwargs["headers"] = request.headers
|
|
276
|
+
kwargs["opts"] = opts or {}
|
|
277
|
+
|
|
278
|
+
return await self.call_and_deserialize(**kwargs)
|
|
279
|
+
|
|
262
280
|
async def DescribeZoneInstanceConfigInfos(
|
|
263
281
|
self,
|
|
264
282
|
request: models.DescribeZoneInstanceConfigInfosRequest,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tke
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.123
|
|
4
4
|
Summary: Tencent Cloud Tke 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.123
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.123
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.121
|
|
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
|