tencentcloud-sdk-python-tke 3.1.35__tar.gz → 3.1.39__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.35 → tencentcloud_sdk_python_tke-3.1.39}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tke-3.1.35 → tencentcloud_sdk_python_tke-3.1.39}/setup.py +1 -1
- {tencentcloud_sdk_python_tke-3.1.35 → tencentcloud_sdk_python_tke-3.1.39}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tke-3.1.35 → tencentcloud_sdk_python_tke-3.1.39}/tencentcloud/tke/v20180525/models.py +113 -4
- {tencentcloud_sdk_python_tke-3.1.35 → tencentcloud_sdk_python_tke-3.1.39}/tencentcloud/tke/v20180525/tke_client.py +23 -0
- {tencentcloud_sdk_python_tke-3.1.35 → tencentcloud_sdk_python_tke-3.1.39}/tencentcloud/tke/v20180525/tke_client_async.py +18 -0
- {tencentcloud_sdk_python_tke-3.1.35 → tencentcloud_sdk_python_tke-3.1.39}/tencentcloud_sdk_python_tke.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tke-3.1.39/tencentcloud_sdk_python_tke.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tke-3.1.35/tencentcloud_sdk_python_tke.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tke-3.1.35 → tencentcloud_sdk_python_tke-3.1.39}/README.rst +0 -0
- {tencentcloud_sdk_python_tke-3.1.35 → tencentcloud_sdk_python_tke-3.1.39}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tke-3.1.35 → tencentcloud_sdk_python_tke-3.1.39}/tencentcloud/tke/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.35 → tencentcloud_sdk_python_tke-3.1.39}/tencentcloud/tke/v20180525/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.35 → tencentcloud_sdk_python_tke-3.1.39}/tencentcloud/tke/v20180525/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.35 → tencentcloud_sdk_python_tke-3.1.39}/tencentcloud/tke/v20220501/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.35 → tencentcloud_sdk_python_tke-3.1.39}/tencentcloud/tke/v20220501/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.35 → tencentcloud_sdk_python_tke-3.1.39}/tencentcloud/tke/v20220501/models.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.35 → tencentcloud_sdk_python_tke-3.1.39}/tencentcloud/tke/v20220501/tke_client.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.35 → tencentcloud_sdk_python_tke-3.1.39}/tencentcloud/tke/v20220501/tke_client_async.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.35 → tencentcloud_sdk_python_tke-3.1.39}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tke-3.1.35 → tencentcloud_sdk_python_tke-3.1.39}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tke-3.1.35 → tencentcloud_sdk_python_tke-3.1.39}/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.39
|
|
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.39
|
|
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.39,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tke SDK for Python',
|
|
@@ -30506,6 +30506,115 @@ class EnableControlPlaneLogsResponse(AbstractModel):
|
|
|
30506
30506
|
self._RequestId = params.get("RequestId")
|
|
30507
30507
|
|
|
30508
30508
|
|
|
30509
|
+
class EnableEksEventPersistenceRequest(AbstractModel):
|
|
30510
|
+
r"""EnableEksEventPersistence请求参数结构体
|
|
30511
|
+
|
|
30512
|
+
"""
|
|
30513
|
+
|
|
30514
|
+
def __init__(self):
|
|
30515
|
+
r"""
|
|
30516
|
+
:param _ClusterId: 集群ID
|
|
30517
|
+
:type ClusterId: str
|
|
30518
|
+
:param _LogsetId: cls服务的logsetID
|
|
30519
|
+
:type LogsetId: str
|
|
30520
|
+
:param _TopicId: cls服务的topicID
|
|
30521
|
+
:type TopicId: str
|
|
30522
|
+
:param _TopicRegion: topic所在region
|
|
30523
|
+
:type TopicRegion: str
|
|
30524
|
+
"""
|
|
30525
|
+
self._ClusterId = None
|
|
30526
|
+
self._LogsetId = None
|
|
30527
|
+
self._TopicId = None
|
|
30528
|
+
self._TopicRegion = None
|
|
30529
|
+
|
|
30530
|
+
@property
|
|
30531
|
+
def ClusterId(self):
|
|
30532
|
+
r"""集群ID
|
|
30533
|
+
:rtype: str
|
|
30534
|
+
"""
|
|
30535
|
+
return self._ClusterId
|
|
30536
|
+
|
|
30537
|
+
@ClusterId.setter
|
|
30538
|
+
def ClusterId(self, ClusterId):
|
|
30539
|
+
self._ClusterId = ClusterId
|
|
30540
|
+
|
|
30541
|
+
@property
|
|
30542
|
+
def LogsetId(self):
|
|
30543
|
+
r"""cls服务的logsetID
|
|
30544
|
+
:rtype: str
|
|
30545
|
+
"""
|
|
30546
|
+
return self._LogsetId
|
|
30547
|
+
|
|
30548
|
+
@LogsetId.setter
|
|
30549
|
+
def LogsetId(self, LogsetId):
|
|
30550
|
+
self._LogsetId = LogsetId
|
|
30551
|
+
|
|
30552
|
+
@property
|
|
30553
|
+
def TopicId(self):
|
|
30554
|
+
r"""cls服务的topicID
|
|
30555
|
+
:rtype: str
|
|
30556
|
+
"""
|
|
30557
|
+
return self._TopicId
|
|
30558
|
+
|
|
30559
|
+
@TopicId.setter
|
|
30560
|
+
def TopicId(self, TopicId):
|
|
30561
|
+
self._TopicId = TopicId
|
|
30562
|
+
|
|
30563
|
+
@property
|
|
30564
|
+
def TopicRegion(self):
|
|
30565
|
+
r"""topic所在region
|
|
30566
|
+
:rtype: str
|
|
30567
|
+
"""
|
|
30568
|
+
return self._TopicRegion
|
|
30569
|
+
|
|
30570
|
+
@TopicRegion.setter
|
|
30571
|
+
def TopicRegion(self, TopicRegion):
|
|
30572
|
+
self._TopicRegion = TopicRegion
|
|
30573
|
+
|
|
30574
|
+
|
|
30575
|
+
def _deserialize(self, params):
|
|
30576
|
+
self._ClusterId = params.get("ClusterId")
|
|
30577
|
+
self._LogsetId = params.get("LogsetId")
|
|
30578
|
+
self._TopicId = params.get("TopicId")
|
|
30579
|
+
self._TopicRegion = params.get("TopicRegion")
|
|
30580
|
+
memeber_set = set(params.keys())
|
|
30581
|
+
for name, value in vars(self).items():
|
|
30582
|
+
property_name = name[1:]
|
|
30583
|
+
if property_name in memeber_set:
|
|
30584
|
+
memeber_set.remove(property_name)
|
|
30585
|
+
if len(memeber_set) > 0:
|
|
30586
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
30587
|
+
|
|
30588
|
+
|
|
30589
|
+
|
|
30590
|
+
class EnableEksEventPersistenceResponse(AbstractModel):
|
|
30591
|
+
r"""EnableEksEventPersistence返回参数结构体
|
|
30592
|
+
|
|
30593
|
+
"""
|
|
30594
|
+
|
|
30595
|
+
def __init__(self):
|
|
30596
|
+
r"""
|
|
30597
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
30598
|
+
:type RequestId: str
|
|
30599
|
+
"""
|
|
30600
|
+
self._RequestId = None
|
|
30601
|
+
|
|
30602
|
+
@property
|
|
30603
|
+
def RequestId(self):
|
|
30604
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
30605
|
+
:rtype: str
|
|
30606
|
+
"""
|
|
30607
|
+
return self._RequestId
|
|
30608
|
+
|
|
30609
|
+
@RequestId.setter
|
|
30610
|
+
def RequestId(self, RequestId):
|
|
30611
|
+
self._RequestId = RequestId
|
|
30612
|
+
|
|
30613
|
+
|
|
30614
|
+
def _deserialize(self, params):
|
|
30615
|
+
self._RequestId = params.get("RequestId")
|
|
30616
|
+
|
|
30617
|
+
|
|
30509
30618
|
class EnableEncryptionProtectionRequest(AbstractModel):
|
|
30510
30619
|
r"""EnableEncryptionProtection请求参数结构体
|
|
30511
30620
|
|
|
@@ -34731,9 +34840,9 @@ class KMSConfiguration(AbstractModel):
|
|
|
34731
34840
|
|
|
34732
34841
|
def __init__(self):
|
|
34733
34842
|
r"""
|
|
34734
|
-
:param _KeyId:
|
|
34843
|
+
:param _KeyId: 自定义密钥,当不指定KeyId时,采用默认生成密钥(TKE-KMS)
|
|
34735
34844
|
:type KeyId: str
|
|
34736
|
-
:param _KmsRegion:
|
|
34845
|
+
:param _KmsRegion: 默认生成密钥或自定义密钥地域信息
|
|
34737
34846
|
:type KmsRegion: str
|
|
34738
34847
|
"""
|
|
34739
34848
|
self._KeyId = None
|
|
@@ -34741,7 +34850,7 @@ class KMSConfiguration(AbstractModel):
|
|
|
34741
34850
|
|
|
34742
34851
|
@property
|
|
34743
34852
|
def KeyId(self):
|
|
34744
|
-
r"""
|
|
34853
|
+
r"""自定义密钥,当不指定KeyId时,采用默认生成密钥(TKE-KMS)
|
|
34745
34854
|
:rtype: str
|
|
34746
34855
|
"""
|
|
34747
34856
|
return self._KeyId
|
|
@@ -34752,7 +34861,7 @@ class KMSConfiguration(AbstractModel):
|
|
|
34752
34861
|
|
|
34753
34862
|
@property
|
|
34754
34863
|
def KmsRegion(self):
|
|
34755
|
-
r"""
|
|
34864
|
+
r"""默认生成密钥或自定义密钥地域信息
|
|
34756
34865
|
:rtype: str
|
|
34757
34866
|
"""
|
|
34758
34867
|
return self._KmsRegion
|
|
@@ -4419,6 +4419,29 @@ class TkeClient(AbstractClient):
|
|
|
4419
4419
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4420
4420
|
|
|
4421
4421
|
|
|
4422
|
+
def EnableEksEventPersistence(self, request):
|
|
4423
|
+
r"""Eks集群开启事件持久化功能
|
|
4424
|
+
|
|
4425
|
+
:param request: Request instance for EnableEksEventPersistence.
|
|
4426
|
+
:type request: :class:`tencentcloud.tke.v20180525.models.EnableEksEventPersistenceRequest`
|
|
4427
|
+
:rtype: :class:`tencentcloud.tke.v20180525.models.EnableEksEventPersistenceResponse`
|
|
4428
|
+
|
|
4429
|
+
"""
|
|
4430
|
+
try:
|
|
4431
|
+
params = request._serialize()
|
|
4432
|
+
headers = request.headers
|
|
4433
|
+
body = self.call("EnableEksEventPersistence", params, headers=headers)
|
|
4434
|
+
response = json.loads(body)
|
|
4435
|
+
model = models.EnableEksEventPersistenceResponse()
|
|
4436
|
+
model._deserialize(response["Response"])
|
|
4437
|
+
return model
|
|
4438
|
+
except Exception as e:
|
|
4439
|
+
if isinstance(e, TencentCloudSDKException):
|
|
4440
|
+
raise
|
|
4441
|
+
else:
|
|
4442
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4443
|
+
|
|
4444
|
+
|
|
4422
4445
|
def EnableEncryptionProtection(self, request):
|
|
4423
4446
|
r"""开启加密数据保护,需要先开启KMS能力,完成KMS授权
|
|
4424
4447
|
|
|
@@ -3463,6 +3463,24 @@ class TkeClient(AbstractClient):
|
|
|
3463
3463
|
|
|
3464
3464
|
return await self.call_and_deserialize(**kwargs)
|
|
3465
3465
|
|
|
3466
|
+
async def EnableEksEventPersistence(
|
|
3467
|
+
self,
|
|
3468
|
+
request: models.EnableEksEventPersistenceRequest,
|
|
3469
|
+
opts: Dict = None,
|
|
3470
|
+
) -> models.EnableEksEventPersistenceResponse:
|
|
3471
|
+
"""
|
|
3472
|
+
Eks集群开启事件持久化功能
|
|
3473
|
+
"""
|
|
3474
|
+
|
|
3475
|
+
kwargs = {}
|
|
3476
|
+
kwargs["action"] = "EnableEksEventPersistence"
|
|
3477
|
+
kwargs["params"] = request._serialize()
|
|
3478
|
+
kwargs["resp_cls"] = models.EnableEksEventPersistenceResponse
|
|
3479
|
+
kwargs["headers"] = request.headers
|
|
3480
|
+
kwargs["opts"] = opts or {}
|
|
3481
|
+
|
|
3482
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3483
|
+
|
|
3466
3484
|
async def EnableEncryptionProtection(
|
|
3467
3485
|
self,
|
|
3468
3486
|
request: models.EnableEncryptionProtectionRequest,
|
|
@@ -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.39
|
|
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.39
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.39
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.35
|
|
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
|