tencentcloud-sdk-python-tke 3.1.68__tar.gz → 3.1.70__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_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.70}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.70}/setup.py +1 -1
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.70}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.70}/tencentcloud/tke/v20180525/models.py +4 -4
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.70}/tencentcloud/tke/v20220501/models.py +94 -0
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.70}/tencentcloud/tke/v20220501/tke_client.py +23 -0
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.70}/tencentcloud/tke/v20220501/tke_client_async.py +18 -0
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.70}/tencentcloud_sdk_python_tke.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tke-3.1.70/tencentcloud_sdk_python_tke.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tke-3.1.68/tencentcloud_sdk_python_tke.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.70}/README.rst +0 -0
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.70}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.70}/tencentcloud/tke/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.70}/tencentcloud/tke/v20180525/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.70}/tencentcloud/tke/v20180525/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.70}/tencentcloud/tke/v20180525/tke_client.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.70}/tencentcloud/tke/v20180525/tke_client_async.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.70}/tencentcloud/tke/v20220501/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.70}/tencentcloud/tke/v20220501/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.70}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.70}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.70}/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.70
|
|
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.70
|
|
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.70,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tke SDK for Python',
|
|
@@ -35165,7 +35165,7 @@ class InstallAddonRequest(AbstractModel):
|
|
|
35165
35165
|
:type AddonName: str
|
|
35166
35166
|
:param _AddonVersion: addon版本(不传默认安装最新版本)
|
|
35167
35167
|
:type AddonVersion: str
|
|
35168
|
-
:param _RawValues: addon的参数,是一个json格式的base64转码后的字符串(addon参数由DescribeAddonValues
|
|
35168
|
+
:param _RawValues: addon的参数,是一个json格式的base64转码后的字符串(addon参数由DescribeAddonValues获取)。不同的addon组件支持的RawValues参数参考文档:https://cloud.tencent.com/document/product/457/39048。
|
|
35169
35169
|
:type RawValues: str
|
|
35170
35170
|
:param _DryRun: 是否仅做安装检查,设置为true时仅做检查,不会安装组件。默认值为 false。
|
|
35171
35171
|
:type DryRun: bool
|
|
@@ -35211,7 +35211,7 @@ class InstallAddonRequest(AbstractModel):
|
|
|
35211
35211
|
|
|
35212
35212
|
@property
|
|
35213
35213
|
def RawValues(self):
|
|
35214
|
-
r"""addon的参数,是一个json格式的base64转码后的字符串(addon参数由DescribeAddonValues
|
|
35214
|
+
r"""addon的参数,是一个json格式的base64转码后的字符串(addon参数由DescribeAddonValues获取)。不同的addon组件支持的RawValues参数参考文档:https://cloud.tencent.com/document/product/457/39048。
|
|
35215
35215
|
:rtype: str
|
|
35216
35216
|
"""
|
|
35217
35217
|
return self._RawValues
|
|
@@ -52856,7 +52856,7 @@ class UpdateAddonRequest(AbstractModel):
|
|
|
52856
52856
|
:type AddonName: str
|
|
52857
52857
|
:param _AddonVersion: addon版本(不传默认不更新,不传AddonVersion时RawValues必传)
|
|
52858
52858
|
:type AddonVersion: str
|
|
52859
|
-
:param _RawValues: addon的参数,是一个json格式的base64转码后的字符串(addon参数由DescribeAddonValues获取,不传RawValues时AddonVersion
|
|
52859
|
+
:param _RawValues: addon的参数,是一个json格式的base64转码后的字符串(addon参数由DescribeAddonValues获取,不传RawValues时AddonVersion必传)。不同的addon组件支持的RawValues参数参考文档:https://cloud.tencent.com/document/product/457/39048。
|
|
52860
52860
|
:type RawValues: str
|
|
52861
52861
|
:param _UpdateStrategy: addon参数的更新策略,支持replace和merge两种策略,默认值为merge,兼容旧版本API。replace:使用新RawValues全量替换addon原RawValues,merge:根据新RawValues新增或更新addon原RawValues中对应参数。
|
|
52862
52862
|
:type UpdateStrategy: str
|
|
@@ -52905,7 +52905,7 @@ class UpdateAddonRequest(AbstractModel):
|
|
|
52905
52905
|
|
|
52906
52906
|
@property
|
|
52907
52907
|
def RawValues(self):
|
|
52908
|
-
r"""addon的参数,是一个json格式的base64转码后的字符串(addon参数由DescribeAddonValues获取,不传RawValues时AddonVersion
|
|
52908
|
+
r"""addon的参数,是一个json格式的base64转码后的字符串(addon参数由DescribeAddonValues获取,不传RawValues时AddonVersion必传)。不同的addon组件支持的RawValues参数参考文档:https://cloud.tencent.com/document/product/457/39048。
|
|
52909
52909
|
:rtype: str
|
|
52910
52910
|
"""
|
|
52911
52911
|
return self._RawValues
|
|
@@ -7252,6 +7252,100 @@ class RuntimeConfig(AbstractModel):
|
|
|
7252
7252
|
|
|
7253
7253
|
|
|
7254
7254
|
|
|
7255
|
+
class ScaleNodePoolRequest(AbstractModel):
|
|
7256
|
+
r"""ScaleNodePool请求参数结构体
|
|
7257
|
+
|
|
7258
|
+
"""
|
|
7259
|
+
|
|
7260
|
+
def __init__(self):
|
|
7261
|
+
r"""
|
|
7262
|
+
:param _ClusterId: <p>集群 ID</p>
|
|
7263
|
+
:type ClusterId: str
|
|
7264
|
+
:param _NodePoolId: <p>节点池 ID</p>
|
|
7265
|
+
:type NodePoolId: str
|
|
7266
|
+
:param _Replicas: <p>期望节点数</p>
|
|
7267
|
+
:type Replicas: int
|
|
7268
|
+
"""
|
|
7269
|
+
self._ClusterId = None
|
|
7270
|
+
self._NodePoolId = None
|
|
7271
|
+
self._Replicas = None
|
|
7272
|
+
|
|
7273
|
+
@property
|
|
7274
|
+
def ClusterId(self):
|
|
7275
|
+
r"""<p>集群 ID</p>
|
|
7276
|
+
:rtype: str
|
|
7277
|
+
"""
|
|
7278
|
+
return self._ClusterId
|
|
7279
|
+
|
|
7280
|
+
@ClusterId.setter
|
|
7281
|
+
def ClusterId(self, ClusterId):
|
|
7282
|
+
self._ClusterId = ClusterId
|
|
7283
|
+
|
|
7284
|
+
@property
|
|
7285
|
+
def NodePoolId(self):
|
|
7286
|
+
r"""<p>节点池 ID</p>
|
|
7287
|
+
:rtype: str
|
|
7288
|
+
"""
|
|
7289
|
+
return self._NodePoolId
|
|
7290
|
+
|
|
7291
|
+
@NodePoolId.setter
|
|
7292
|
+
def NodePoolId(self, NodePoolId):
|
|
7293
|
+
self._NodePoolId = NodePoolId
|
|
7294
|
+
|
|
7295
|
+
@property
|
|
7296
|
+
def Replicas(self):
|
|
7297
|
+
r"""<p>期望节点数</p>
|
|
7298
|
+
:rtype: int
|
|
7299
|
+
"""
|
|
7300
|
+
return self._Replicas
|
|
7301
|
+
|
|
7302
|
+
@Replicas.setter
|
|
7303
|
+
def Replicas(self, Replicas):
|
|
7304
|
+
self._Replicas = Replicas
|
|
7305
|
+
|
|
7306
|
+
|
|
7307
|
+
def _deserialize(self, params):
|
|
7308
|
+
self._ClusterId = params.get("ClusterId")
|
|
7309
|
+
self._NodePoolId = params.get("NodePoolId")
|
|
7310
|
+
self._Replicas = params.get("Replicas")
|
|
7311
|
+
memeber_set = set(params.keys())
|
|
7312
|
+
for name, value in vars(self).items():
|
|
7313
|
+
property_name = name[1:]
|
|
7314
|
+
if property_name in memeber_set:
|
|
7315
|
+
memeber_set.remove(property_name)
|
|
7316
|
+
if len(memeber_set) > 0:
|
|
7317
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7318
|
+
|
|
7319
|
+
|
|
7320
|
+
|
|
7321
|
+
class ScaleNodePoolResponse(AbstractModel):
|
|
7322
|
+
r"""ScaleNodePool返回参数结构体
|
|
7323
|
+
|
|
7324
|
+
"""
|
|
7325
|
+
|
|
7326
|
+
def __init__(self):
|
|
7327
|
+
r"""
|
|
7328
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7329
|
+
:type RequestId: str
|
|
7330
|
+
"""
|
|
7331
|
+
self._RequestId = None
|
|
7332
|
+
|
|
7333
|
+
@property
|
|
7334
|
+
def RequestId(self):
|
|
7335
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7336
|
+
:rtype: str
|
|
7337
|
+
"""
|
|
7338
|
+
return self._RequestId
|
|
7339
|
+
|
|
7340
|
+
@RequestId.setter
|
|
7341
|
+
def RequestId(self, RequestId):
|
|
7342
|
+
self._RequestId = RequestId
|
|
7343
|
+
|
|
7344
|
+
|
|
7345
|
+
def _deserialize(self, params):
|
|
7346
|
+
self._RequestId = params.get("RequestId")
|
|
7347
|
+
|
|
7348
|
+
|
|
7255
7349
|
class SetMachineLoginRequest(AbstractModel):
|
|
7256
7350
|
r"""SetMachineLogin请求参数结构体
|
|
7257
7351
|
|
|
@@ -440,6 +440,29 @@ class TkeClient(AbstractClient):
|
|
|
440
440
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
441
441
|
|
|
442
442
|
|
|
443
|
+
def ScaleNodePool(self, request):
|
|
444
|
+
r"""设置 TKE 节点池期望节点数
|
|
445
|
+
|
|
446
|
+
:param request: Request instance for ScaleNodePool.
|
|
447
|
+
:type request: :class:`tencentcloud.tke.v20220501.models.ScaleNodePoolRequest`
|
|
448
|
+
:rtype: :class:`tencentcloud.tke.v20220501.models.ScaleNodePoolResponse`
|
|
449
|
+
|
|
450
|
+
"""
|
|
451
|
+
try:
|
|
452
|
+
params = request._serialize()
|
|
453
|
+
headers = request.headers
|
|
454
|
+
body = self.call("ScaleNodePool", params, headers=headers)
|
|
455
|
+
response = json.loads(body)
|
|
456
|
+
model = models.ScaleNodePoolResponse()
|
|
457
|
+
model._deserialize(response["Response"])
|
|
458
|
+
return model
|
|
459
|
+
except Exception as e:
|
|
460
|
+
if isinstance(e, TencentCloudSDKException):
|
|
461
|
+
raise
|
|
462
|
+
else:
|
|
463
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
464
|
+
|
|
465
|
+
|
|
443
466
|
def SetMachineLogin(self, request):
|
|
444
467
|
r"""设置是否开启节点登录
|
|
445
468
|
|
|
@@ -349,6 +349,24 @@ class TkeClient(AbstractClient):
|
|
|
349
349
|
|
|
350
350
|
return await self.call_and_deserialize(**kwargs)
|
|
351
351
|
|
|
352
|
+
async def ScaleNodePool(
|
|
353
|
+
self,
|
|
354
|
+
request: models.ScaleNodePoolRequest,
|
|
355
|
+
opts: Dict = None,
|
|
356
|
+
) -> models.ScaleNodePoolResponse:
|
|
357
|
+
"""
|
|
358
|
+
设置 TKE 节点池期望节点数
|
|
359
|
+
"""
|
|
360
|
+
|
|
361
|
+
kwargs = {}
|
|
362
|
+
kwargs["action"] = "ScaleNodePool"
|
|
363
|
+
kwargs["params"] = request._serialize()
|
|
364
|
+
kwargs["resp_cls"] = models.ScaleNodePoolResponse
|
|
365
|
+
kwargs["headers"] = request.headers
|
|
366
|
+
kwargs["opts"] = opts or {}
|
|
367
|
+
|
|
368
|
+
return await self.call_and_deserialize(**kwargs)
|
|
369
|
+
|
|
352
370
|
async def SetMachineLogin(
|
|
353
371
|
self,
|
|
354
372
|
request: models.SetMachineLoginRequest,
|
|
@@ -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.70
|
|
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.70
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.70
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.68
|
|
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
|