tencentcloud-sdk-python-tke 3.1.115__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.115 → tencentcloud_sdk_python_tke-3.1.123}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tke-3.1.115 → tencentcloud_sdk_python_tke-3.1.123}/setup.py +1 -1
- {tencentcloud_sdk_python_tke-3.1.115 → tencentcloud_sdk_python_tke-3.1.123}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tke-3.1.115 → tencentcloud_sdk_python_tke-3.1.123}/tencentcloud/tke/v20180525/models.py +23 -10
- {tencentcloud_sdk_python_tke-3.1.115 → tencentcloud_sdk_python_tke-3.1.123}/tencentcloud/tke/v20220501/models.py +54 -0
- {tencentcloud_sdk_python_tke-3.1.115 → tencentcloud_sdk_python_tke-3.1.123}/tencentcloud/tke/v20220501/tke_client.py +23 -0
- {tencentcloud_sdk_python_tke-3.1.115 → tencentcloud_sdk_python_tke-3.1.123}/tencentcloud/tke/v20220501/tke_client_async.py +18 -0
- {tencentcloud_sdk_python_tke-3.1.115 → 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.115/tencentcloud_sdk_python_tke.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tke-3.1.115 → tencentcloud_sdk_python_tke-3.1.123}/README.rst +0 -0
- {tencentcloud_sdk_python_tke-3.1.115 → tencentcloud_sdk_python_tke-3.1.123}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tke-3.1.115 → tencentcloud_sdk_python_tke-3.1.123}/tencentcloud/tke/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.115 → tencentcloud_sdk_python_tke-3.1.123}/tencentcloud/tke/v20180525/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.115 → tencentcloud_sdk_python_tke-3.1.123}/tencentcloud/tke/v20180525/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.115 → tencentcloud_sdk_python_tke-3.1.123}/tencentcloud/tke/v20180525/tke_client.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.115 → tencentcloud_sdk_python_tke-3.1.123}/tencentcloud/tke/v20180525/tke_client_async.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.115 → tencentcloud_sdk_python_tke-3.1.123}/tencentcloud/tke/v20220501/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.115 → tencentcloud_sdk_python_tke-3.1.123}/tencentcloud/tke/v20220501/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.115 → tencentcloud_sdk_python_tke-3.1.123}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tke-3.1.115 → tencentcloud_sdk_python_tke-3.1.123}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tke-3.1.115 → 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',
|
|
@@ -40512,21 +40512,23 @@ class ModifyClusterTagsRequest(AbstractModel):
|
|
|
40512
40512
|
|
|
40513
40513
|
def __init__(self):
|
|
40514
40514
|
r"""
|
|
40515
|
-
:param _ClusterId:
|
|
40515
|
+
:param _ClusterId: <p>集群ID</p>
|
|
40516
40516
|
:type ClusterId: str
|
|
40517
|
-
:param _Tags:
|
|
40518
|
-
[{"TagKey":"env","TagValue":"dev"}]}]
|
|
40517
|
+
:param _Tags: <p>集群标签:<br>[{"TagKey":"env","TagValue":"dev"}]}]</p>
|
|
40519
40518
|
:type Tags: list of Tag
|
|
40520
|
-
:param _SyncSubresource:
|
|
40519
|
+
:param _SyncSubresource: <p>是否同步集群内子资源标签</p>
|
|
40521
40520
|
:type SyncSubresource: bool
|
|
40521
|
+
:param _SyncNodePoolTags: <p>是否同步节点池标签</p>
|
|
40522
|
+
:type SyncNodePoolTags: bool
|
|
40522
40523
|
"""
|
|
40523
40524
|
self._ClusterId = None
|
|
40524
40525
|
self._Tags = None
|
|
40525
40526
|
self._SyncSubresource = None
|
|
40527
|
+
self._SyncNodePoolTags = None
|
|
40526
40528
|
|
|
40527
40529
|
@property
|
|
40528
40530
|
def ClusterId(self):
|
|
40529
|
-
r"""
|
|
40531
|
+
r"""<p>集群ID</p>
|
|
40530
40532
|
:rtype: str
|
|
40531
40533
|
"""
|
|
40532
40534
|
return self._ClusterId
|
|
@@ -40537,8 +40539,7 @@ class ModifyClusterTagsRequest(AbstractModel):
|
|
|
40537
40539
|
|
|
40538
40540
|
@property
|
|
40539
40541
|
def Tags(self):
|
|
40540
|
-
r"""
|
|
40541
|
-
[{"TagKey":"env","TagValue":"dev"}]}]
|
|
40542
|
+
r"""<p>集群标签:<br>[{"TagKey":"env","TagValue":"dev"}]}]</p>
|
|
40542
40543
|
:rtype: list of Tag
|
|
40543
40544
|
"""
|
|
40544
40545
|
return self._Tags
|
|
@@ -40549,7 +40550,7 @@ class ModifyClusterTagsRequest(AbstractModel):
|
|
|
40549
40550
|
|
|
40550
40551
|
@property
|
|
40551
40552
|
def SyncSubresource(self):
|
|
40552
|
-
r"""
|
|
40553
|
+
r"""<p>是否同步集群内子资源标签</p>
|
|
40553
40554
|
:rtype: bool
|
|
40554
40555
|
"""
|
|
40555
40556
|
return self._SyncSubresource
|
|
@@ -40558,6 +40559,17 @@ class ModifyClusterTagsRequest(AbstractModel):
|
|
|
40558
40559
|
def SyncSubresource(self, SyncSubresource):
|
|
40559
40560
|
self._SyncSubresource = SyncSubresource
|
|
40560
40561
|
|
|
40562
|
+
@property
|
|
40563
|
+
def SyncNodePoolTags(self):
|
|
40564
|
+
r"""<p>是否同步节点池标签</p>
|
|
40565
|
+
:rtype: bool
|
|
40566
|
+
"""
|
|
40567
|
+
return self._SyncNodePoolTags
|
|
40568
|
+
|
|
40569
|
+
@SyncNodePoolTags.setter
|
|
40570
|
+
def SyncNodePoolTags(self, SyncNodePoolTags):
|
|
40571
|
+
self._SyncNodePoolTags = SyncNodePoolTags
|
|
40572
|
+
|
|
40561
40573
|
|
|
40562
40574
|
def _deserialize(self, params):
|
|
40563
40575
|
self._ClusterId = params.get("ClusterId")
|
|
@@ -40568,6 +40580,7 @@ class ModifyClusterTagsRequest(AbstractModel):
|
|
|
40568
40580
|
obj._deserialize(item)
|
|
40569
40581
|
self._Tags.append(obj)
|
|
40570
40582
|
self._SyncSubresource = params.get("SyncSubresource")
|
|
40583
|
+
self._SyncNodePoolTags = params.get("SyncNodePoolTags")
|
|
40571
40584
|
memeber_set = set(params.keys())
|
|
40572
40585
|
for name, value in vars(self).items():
|
|
40573
40586
|
property_name = name[1:]
|
|
@@ -40585,7 +40598,7 @@ class ModifyClusterTagsResponse(AbstractModel):
|
|
|
40585
40598
|
|
|
40586
40599
|
def __init__(self):
|
|
40587
40600
|
r"""
|
|
40588
|
-
:param _Tags:
|
|
40601
|
+
:param _Tags: <p>集群标签</p>
|
|
40589
40602
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
40590
40603
|
:type Tags: list of Tag
|
|
40591
40604
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -40596,7 +40609,7 @@ class ModifyClusterTagsResponse(AbstractModel):
|
|
|
40596
40609
|
|
|
40597
40610
|
@property
|
|
40598
40611
|
def Tags(self):
|
|
40599
|
-
r"""
|
|
40612
|
+
r"""<p>集群标签</p>
|
|
40600
40613
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
40601
40614
|
:rtype: list of Tag
|
|
40602
40615
|
"""
|
|
@@ -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.115
|
|
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
|