tencentcloud-sdk-python-tke 3.1.68__tar.gz → 3.1.69__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.69}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.69}/setup.py +1 -1
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.69}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.69}/tencentcloud/tke/v20220501/models.py +94 -0
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.69}/tencentcloud/tke/v20220501/tke_client.py +23 -0
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.69}/tencentcloud/tke/v20220501/tke_client_async.py +18 -0
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.69}/tencentcloud_sdk_python_tke.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tke-3.1.69/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.69}/README.rst +0 -0
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.69}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.69}/tencentcloud/tke/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.69}/tencentcloud/tke/v20180525/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.69}/tencentcloud/tke/v20180525/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.69}/tencentcloud/tke/v20180525/models.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.69}/tencentcloud/tke/v20180525/tke_client.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.69}/tencentcloud/tke/v20180525/tke_client_async.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.69}/tencentcloud/tke/v20220501/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.69}/tencentcloud/tke/v20220501/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.69}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.69}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tke-3.1.68 → tencentcloud_sdk_python_tke-3.1.69}/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.69
|
|
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.69
|
|
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.69,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tke SDK for Python',
|
|
@@ -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.69
|
|
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.69
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.69
|
|
@@ -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
|
|
File without changes
|