tencentcloud-sdk-python-tke 3.1.4__tar.gz → 3.1.7__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.4 → tencentcloud_sdk_python_tke-3.1.7}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tke-3.1.4 → tencentcloud_sdk_python_tke-3.1.7}/setup.py +1 -1
- {tencentcloud_sdk_python_tke-3.1.4 → tencentcloud_sdk_python_tke-3.1.7}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tke-3.1.4 → tencentcloud_sdk_python_tke-3.1.7}/tencentcloud/tke/v20220501/errorcodes.py +3 -0
- {tencentcloud_sdk_python_tke-3.1.4 → tencentcloud_sdk_python_tke-3.1.7}/tencentcloud/tke/v20220501/models.py +111 -0
- {tencentcloud_sdk_python_tke-3.1.4 → tencentcloud_sdk_python_tke-3.1.7}/tencentcloud/tke/v20220501/tke_client.py +23 -0
- {tencentcloud_sdk_python_tke-3.1.4 → tencentcloud_sdk_python_tke-3.1.7}/tencentcloud/tke/v20220501/tke_client_async.py +18 -0
- {tencentcloud_sdk_python_tke-3.1.4 → tencentcloud_sdk_python_tke-3.1.7}/tencentcloud_sdk_python_tke.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tke-3.1.7/tencentcloud_sdk_python_tke.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tke-3.1.4/tencentcloud_sdk_python_tke.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tke-3.1.4 → tencentcloud_sdk_python_tke-3.1.7}/README.rst +0 -0
- {tencentcloud_sdk_python_tke-3.1.4 → tencentcloud_sdk_python_tke-3.1.7}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tke-3.1.4 → tencentcloud_sdk_python_tke-3.1.7}/tencentcloud/tke/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.4 → tencentcloud_sdk_python_tke-3.1.7}/tencentcloud/tke/v20180525/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.4 → tencentcloud_sdk_python_tke-3.1.7}/tencentcloud/tke/v20180525/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.4 → tencentcloud_sdk_python_tke-3.1.7}/tencentcloud/tke/v20180525/models.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.4 → tencentcloud_sdk_python_tke-3.1.7}/tencentcloud/tke/v20180525/tke_client.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.4 → tencentcloud_sdk_python_tke-3.1.7}/tencentcloud/tke/v20180525/tke_client_async.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.4 → tencentcloud_sdk_python_tke-3.1.7}/tencentcloud/tke/v20220501/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.4 → tencentcloud_sdk_python_tke-3.1.7}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tke-3.1.4 → tencentcloud_sdk_python_tke-3.1.7}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tke-3.1.4 → tencentcloud_sdk_python_tke-3.1.7}/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.7
|
|
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.7
|
|
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.7,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tke SDK for Python',
|
|
@@ -86,5 +86,8 @@ RESOURCEUNAVAILABLE_CLUSTERSTATE = 'ResourceUnavailable.ClusterState'
|
|
|
86
86
|
# 无该接口CAM权限。
|
|
87
87
|
UNAUTHORIZEDOPERATION_CAMNOAUTH = 'UnauthorizedOperation.CamNoAuth'
|
|
88
88
|
|
|
89
|
+
# 未知参数错误。
|
|
90
|
+
UNKNOWNPARAMETER = 'UnknownParameter'
|
|
91
|
+
|
|
89
92
|
# 操作不支持。
|
|
90
93
|
UNSUPPORTEDOPERATION = 'UnsupportedOperation'
|
|
@@ -4423,6 +4423,117 @@ class ManuallyAdded(AbstractModel):
|
|
|
4423
4423
|
|
|
4424
4424
|
|
|
4425
4425
|
|
|
4426
|
+
class ModifyClusterMachineRequest(AbstractModel):
|
|
4427
|
+
r"""ModifyClusterMachine请求参数结构体
|
|
4428
|
+
|
|
4429
|
+
"""
|
|
4430
|
+
|
|
4431
|
+
def __init__(self):
|
|
4432
|
+
r"""
|
|
4433
|
+
:param _ClusterId: 集群 ID
|
|
4434
|
+
:type ClusterId: str
|
|
4435
|
+
:param _MachineNames: 节点名列表
|
|
4436
|
+
:type MachineNames: list of str
|
|
4437
|
+
:param _DisplayName: machine的display name
|
|
4438
|
+
:type DisplayName: str
|
|
4439
|
+
:param _InstanceChargePrepaid: 节点预付费信息
|
|
4440
|
+
:type InstanceChargePrepaid: :class:`tencentcloud.tke.v20220501.models.InstanceChargePrepaid`
|
|
4441
|
+
"""
|
|
4442
|
+
self._ClusterId = None
|
|
4443
|
+
self._MachineNames = None
|
|
4444
|
+
self._DisplayName = None
|
|
4445
|
+
self._InstanceChargePrepaid = None
|
|
4446
|
+
|
|
4447
|
+
@property
|
|
4448
|
+
def ClusterId(self):
|
|
4449
|
+
r"""集群 ID
|
|
4450
|
+
:rtype: str
|
|
4451
|
+
"""
|
|
4452
|
+
return self._ClusterId
|
|
4453
|
+
|
|
4454
|
+
@ClusterId.setter
|
|
4455
|
+
def ClusterId(self, ClusterId):
|
|
4456
|
+
self._ClusterId = ClusterId
|
|
4457
|
+
|
|
4458
|
+
@property
|
|
4459
|
+
def MachineNames(self):
|
|
4460
|
+
r"""节点名列表
|
|
4461
|
+
:rtype: list of str
|
|
4462
|
+
"""
|
|
4463
|
+
return self._MachineNames
|
|
4464
|
+
|
|
4465
|
+
@MachineNames.setter
|
|
4466
|
+
def MachineNames(self, MachineNames):
|
|
4467
|
+
self._MachineNames = MachineNames
|
|
4468
|
+
|
|
4469
|
+
@property
|
|
4470
|
+
def DisplayName(self):
|
|
4471
|
+
r"""machine的display name
|
|
4472
|
+
:rtype: str
|
|
4473
|
+
"""
|
|
4474
|
+
return self._DisplayName
|
|
4475
|
+
|
|
4476
|
+
@DisplayName.setter
|
|
4477
|
+
def DisplayName(self, DisplayName):
|
|
4478
|
+
self._DisplayName = DisplayName
|
|
4479
|
+
|
|
4480
|
+
@property
|
|
4481
|
+
def InstanceChargePrepaid(self):
|
|
4482
|
+
r"""节点预付费信息
|
|
4483
|
+
:rtype: :class:`tencentcloud.tke.v20220501.models.InstanceChargePrepaid`
|
|
4484
|
+
"""
|
|
4485
|
+
return self._InstanceChargePrepaid
|
|
4486
|
+
|
|
4487
|
+
@InstanceChargePrepaid.setter
|
|
4488
|
+
def InstanceChargePrepaid(self, InstanceChargePrepaid):
|
|
4489
|
+
self._InstanceChargePrepaid = InstanceChargePrepaid
|
|
4490
|
+
|
|
4491
|
+
|
|
4492
|
+
def _deserialize(self, params):
|
|
4493
|
+
self._ClusterId = params.get("ClusterId")
|
|
4494
|
+
self._MachineNames = params.get("MachineNames")
|
|
4495
|
+
self._DisplayName = params.get("DisplayName")
|
|
4496
|
+
if params.get("InstanceChargePrepaid") is not None:
|
|
4497
|
+
self._InstanceChargePrepaid = InstanceChargePrepaid()
|
|
4498
|
+
self._InstanceChargePrepaid._deserialize(params.get("InstanceChargePrepaid"))
|
|
4499
|
+
memeber_set = set(params.keys())
|
|
4500
|
+
for name, value in vars(self).items():
|
|
4501
|
+
property_name = name[1:]
|
|
4502
|
+
if property_name in memeber_set:
|
|
4503
|
+
memeber_set.remove(property_name)
|
|
4504
|
+
if len(memeber_set) > 0:
|
|
4505
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4506
|
+
|
|
4507
|
+
|
|
4508
|
+
|
|
4509
|
+
class ModifyClusterMachineResponse(AbstractModel):
|
|
4510
|
+
r"""ModifyClusterMachine返回参数结构体
|
|
4511
|
+
|
|
4512
|
+
"""
|
|
4513
|
+
|
|
4514
|
+
def __init__(self):
|
|
4515
|
+
r"""
|
|
4516
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4517
|
+
:type RequestId: str
|
|
4518
|
+
"""
|
|
4519
|
+
self._RequestId = None
|
|
4520
|
+
|
|
4521
|
+
@property
|
|
4522
|
+
def RequestId(self):
|
|
4523
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4524
|
+
:rtype: str
|
|
4525
|
+
"""
|
|
4526
|
+
return self._RequestId
|
|
4527
|
+
|
|
4528
|
+
@RequestId.setter
|
|
4529
|
+
def RequestId(self, RequestId):
|
|
4530
|
+
self._RequestId = RequestId
|
|
4531
|
+
|
|
4532
|
+
|
|
4533
|
+
def _deserialize(self, params):
|
|
4534
|
+
self._RequestId = params.get("RequestId")
|
|
4535
|
+
|
|
4536
|
+
|
|
4426
4537
|
class ModifyHealthCheckPolicyRequest(AbstractModel):
|
|
4427
4538
|
r"""ModifyHealthCheckPolicy请求参数结构体
|
|
4428
4539
|
|
|
@@ -279,6 +279,29 @@ class TkeClient(AbstractClient):
|
|
|
279
279
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
280
280
|
|
|
281
281
|
|
|
282
|
+
def ModifyClusterMachine(self, request):
|
|
283
|
+
r"""修改原生节点
|
|
284
|
+
|
|
285
|
+
:param request: Request instance for ModifyClusterMachine.
|
|
286
|
+
:type request: :class:`tencentcloud.tke.v20220501.models.ModifyClusterMachineRequest`
|
|
287
|
+
:rtype: :class:`tencentcloud.tke.v20220501.models.ModifyClusterMachineResponse`
|
|
288
|
+
|
|
289
|
+
"""
|
|
290
|
+
try:
|
|
291
|
+
params = request._serialize()
|
|
292
|
+
headers = request.headers
|
|
293
|
+
body = self.call("ModifyClusterMachine", params, headers=headers)
|
|
294
|
+
response = json.loads(body)
|
|
295
|
+
model = models.ModifyClusterMachineResponse()
|
|
296
|
+
model._deserialize(response["Response"])
|
|
297
|
+
return model
|
|
298
|
+
except Exception as e:
|
|
299
|
+
if isinstance(e, TencentCloudSDKException):
|
|
300
|
+
raise
|
|
301
|
+
else:
|
|
302
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
303
|
+
|
|
304
|
+
|
|
282
305
|
def ModifyHealthCheckPolicy(self, request):
|
|
283
306
|
r"""修改健康检测策略
|
|
284
307
|
|
|
@@ -223,6 +223,24 @@ class TkeClient(AbstractClient):
|
|
|
223
223
|
|
|
224
224
|
return await self.call_and_deserialize(**kwargs)
|
|
225
225
|
|
|
226
|
+
async def ModifyClusterMachine(
|
|
227
|
+
self,
|
|
228
|
+
request: models.ModifyClusterMachineRequest,
|
|
229
|
+
opts: Dict = None,
|
|
230
|
+
) -> models.ModifyClusterMachineResponse:
|
|
231
|
+
"""
|
|
232
|
+
修改原生节点
|
|
233
|
+
"""
|
|
234
|
+
|
|
235
|
+
kwargs = {}
|
|
236
|
+
kwargs["action"] = "ModifyClusterMachine"
|
|
237
|
+
kwargs["params"] = request._serialize()
|
|
238
|
+
kwargs["resp_cls"] = models.ModifyClusterMachineResponse
|
|
239
|
+
kwargs["headers"] = request.headers
|
|
240
|
+
kwargs["opts"] = opts or {}
|
|
241
|
+
|
|
242
|
+
return await self.call_and_deserialize(**kwargs)
|
|
243
|
+
|
|
226
244
|
async def ModifyHealthCheckPolicy(
|
|
227
245
|
self,
|
|
228
246
|
request: models.ModifyHealthCheckPolicyRequest,
|
|
@@ -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.7
|
|
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.7
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.7
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.4
|
|
File without changes
|
|
File without changes
|
{tencentcloud_sdk_python_tke-3.1.4 → tencentcloud_sdk_python_tke-3.1.7}/tencentcloud/tke/__init__.py
RENAMED
|
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
|