tencentcloud-sdk-python-tke 3.1.123__tar.gz → 3.1.128__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.123 → tencentcloud_sdk_python_tke-3.1.128}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tke-3.1.123 → tencentcloud_sdk_python_tke-3.1.128}/setup.py +1 -1
- {tencentcloud_sdk_python_tke-3.1.123 → tencentcloud_sdk_python_tke-3.1.128}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tke-3.1.123 → tencentcloud_sdk_python_tke-3.1.128}/tencentcloud/tke/v20180525/models.py +124 -30
- {tencentcloud_sdk_python_tke-3.1.123 → tencentcloud_sdk_python_tke-3.1.128}/tencentcloud/tke/v20180525/tke_client.py +23 -0
- {tencentcloud_sdk_python_tke-3.1.123 → tencentcloud_sdk_python_tke-3.1.128}/tencentcloud/tke/v20180525/tke_client_async.py +18 -0
- {tencentcloud_sdk_python_tke-3.1.123 → tencentcloud_sdk_python_tke-3.1.128}/tencentcloud/tke/v20220501/models.py +57 -12
- {tencentcloud_sdk_python_tke-3.1.123 → tencentcloud_sdk_python_tke-3.1.128}/tencentcloud_sdk_python_tke.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tke-3.1.128/tencentcloud_sdk_python_tke.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tke-3.1.123/tencentcloud_sdk_python_tke.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tke-3.1.123 → tencentcloud_sdk_python_tke-3.1.128}/README.rst +0 -0
- {tencentcloud_sdk_python_tke-3.1.123 → tencentcloud_sdk_python_tke-3.1.128}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tke-3.1.123 → tencentcloud_sdk_python_tke-3.1.128}/tencentcloud/tke/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.123 → tencentcloud_sdk_python_tke-3.1.128}/tencentcloud/tke/v20180525/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.123 → tencentcloud_sdk_python_tke-3.1.128}/tencentcloud/tke/v20180525/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.123 → tencentcloud_sdk_python_tke-3.1.128}/tencentcloud/tke/v20220501/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.123 → tencentcloud_sdk_python_tke-3.1.128}/tencentcloud/tke/v20220501/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.123 → tencentcloud_sdk_python_tke-3.1.128}/tencentcloud/tke/v20220501/tke_client.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.123 → tencentcloud_sdk_python_tke-3.1.128}/tencentcloud/tke/v20220501/tke_client_async.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.123 → tencentcloud_sdk_python_tke-3.1.128}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tke-3.1.123 → tencentcloud_sdk_python_tke-3.1.128}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tke-3.1.123 → tencentcloud_sdk_python_tke-3.1.128}/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.128
|
|
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.128
|
|
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.128,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tke SDK for Python',
|
|
@@ -29285,9 +29285,9 @@ class DisableClusterAuditRequest(AbstractModel):
|
|
|
29285
29285
|
|
|
29286
29286
|
def __init__(self):
|
|
29287
29287
|
r"""
|
|
29288
|
-
:param _ClusterId:
|
|
29288
|
+
:param _ClusterId: <p>集群ID</p>
|
|
29289
29289
|
:type ClusterId: str
|
|
29290
|
-
:param _DeleteLogSetAndTopic:
|
|
29290
|
+
:param _DeleteLogSetAndTopic: <p>取值为true代表关闭集群审计时删除默认创建的日志集和主题,false代表不删除</p>
|
|
29291
29291
|
:type DeleteLogSetAndTopic: bool
|
|
29292
29292
|
"""
|
|
29293
29293
|
self._ClusterId = None
|
|
@@ -29295,7 +29295,7 @@ class DisableClusterAuditRequest(AbstractModel):
|
|
|
29295
29295
|
|
|
29296
29296
|
@property
|
|
29297
29297
|
def ClusterId(self):
|
|
29298
|
-
r"""
|
|
29298
|
+
r"""<p>集群ID</p>
|
|
29299
29299
|
:rtype: str
|
|
29300
29300
|
"""
|
|
29301
29301
|
return self._ClusterId
|
|
@@ -29306,7 +29306,7 @@ class DisableClusterAuditRequest(AbstractModel):
|
|
|
29306
29306
|
|
|
29307
29307
|
@property
|
|
29308
29308
|
def DeleteLogSetAndTopic(self):
|
|
29309
|
-
r"""
|
|
29309
|
+
r"""<p>取值为true代表关闭集群审计时删除默认创建的日志集和主题,false代表不删除</p>
|
|
29310
29310
|
:rtype: bool
|
|
29311
29311
|
"""
|
|
29312
29312
|
return self._DeleteLogSetAndTopic
|
|
@@ -29601,17 +29601,20 @@ class DisableEventPersistenceRequest(AbstractModel):
|
|
|
29601
29601
|
|
|
29602
29602
|
def __init__(self):
|
|
29603
29603
|
r"""
|
|
29604
|
-
:param _ClusterId:
|
|
29604
|
+
:param _ClusterId: <p>集群ID</p>
|
|
29605
29605
|
:type ClusterId: str
|
|
29606
|
-
:param _DeleteLogSetAndTopic:
|
|
29606
|
+
:param _DeleteLogSetAndTopic: <p>取值为true代表关闭集群审计时删除默认创建的日志集和主题,false代表不删除</p>
|
|
29607
29607
|
:type DeleteLogSetAndTopic: bool
|
|
29608
|
+
:param _ClusterType: <p>集群类型 tke/eks</p><p>默认值:tke</p>
|
|
29609
|
+
:type ClusterType: str
|
|
29608
29610
|
"""
|
|
29609
29611
|
self._ClusterId = None
|
|
29610
29612
|
self._DeleteLogSetAndTopic = None
|
|
29613
|
+
self._ClusterType = None
|
|
29611
29614
|
|
|
29612
29615
|
@property
|
|
29613
29616
|
def ClusterId(self):
|
|
29614
|
-
r"""
|
|
29617
|
+
r"""<p>集群ID</p>
|
|
29615
29618
|
:rtype: str
|
|
29616
29619
|
"""
|
|
29617
29620
|
return self._ClusterId
|
|
@@ -29622,7 +29625,7 @@ class DisableEventPersistenceRequest(AbstractModel):
|
|
|
29622
29625
|
|
|
29623
29626
|
@property
|
|
29624
29627
|
def DeleteLogSetAndTopic(self):
|
|
29625
|
-
r"""
|
|
29628
|
+
r"""<p>取值为true代表关闭集群审计时删除默认创建的日志集和主题,false代表不删除</p>
|
|
29626
29629
|
:rtype: bool
|
|
29627
29630
|
"""
|
|
29628
29631
|
return self._DeleteLogSetAndTopic
|
|
@@ -29631,10 +29634,22 @@ class DisableEventPersistenceRequest(AbstractModel):
|
|
|
29631
29634
|
def DeleteLogSetAndTopic(self, DeleteLogSetAndTopic):
|
|
29632
29635
|
self._DeleteLogSetAndTopic = DeleteLogSetAndTopic
|
|
29633
29636
|
|
|
29637
|
+
@property
|
|
29638
|
+
def ClusterType(self):
|
|
29639
|
+
r"""<p>集群类型 tke/eks</p><p>默认值:tke</p>
|
|
29640
|
+
:rtype: str
|
|
29641
|
+
"""
|
|
29642
|
+
return self._ClusterType
|
|
29643
|
+
|
|
29644
|
+
@ClusterType.setter
|
|
29645
|
+
def ClusterType(self, ClusterType):
|
|
29646
|
+
self._ClusterType = ClusterType
|
|
29647
|
+
|
|
29634
29648
|
|
|
29635
29649
|
def _deserialize(self, params):
|
|
29636
29650
|
self._ClusterId = params.get("ClusterId")
|
|
29637
29651
|
self._DeleteLogSetAndTopic = params.get("DeleteLogSetAndTopic")
|
|
29652
|
+
self._ClusterType = params.get("ClusterType")
|
|
29638
29653
|
memeber_set = set(params.keys())
|
|
29639
29654
|
for name, value in vars(self).items():
|
|
29640
29655
|
property_name = name[1:]
|
|
@@ -31766,23 +31781,26 @@ class EnableClusterAuditRequest(AbstractModel):
|
|
|
31766
31781
|
|
|
31767
31782
|
def __init__(self):
|
|
31768
31783
|
r"""
|
|
31769
|
-
:param _ClusterId:
|
|
31784
|
+
:param _ClusterId: <p>集群ID</p>
|
|
31770
31785
|
:type ClusterId: str
|
|
31771
|
-
:param _LogsetId: CLS日志集ID,可以通过cls
|
|
31786
|
+
:param _LogsetId: <p>CLS日志集ID,可以通过cls接口或者控制台获取</p>
|
|
31772
31787
|
:type LogsetId: str
|
|
31773
|
-
:param _TopicId: CLS日志主题ID,可以通过cls
|
|
31788
|
+
:param _TopicId: <p>CLS日志主题ID,可以通过cls接口或者控制台获取</p>
|
|
31774
31789
|
:type TopicId: str
|
|
31775
|
-
:param _TopicRegion: topic所在region,默认为集群当前region
|
|
31790
|
+
:param _TopicRegion: <p>topic所在region,默认为集群当前region</p>
|
|
31776
31791
|
:type TopicRegion: str
|
|
31792
|
+
:param _ClusterType: <p>集群类型 tke/eks</p><p>默认值:tke</p>
|
|
31793
|
+
:type ClusterType: str
|
|
31777
31794
|
"""
|
|
31778
31795
|
self._ClusterId = None
|
|
31779
31796
|
self._LogsetId = None
|
|
31780
31797
|
self._TopicId = None
|
|
31781
31798
|
self._TopicRegion = None
|
|
31799
|
+
self._ClusterType = None
|
|
31782
31800
|
|
|
31783
31801
|
@property
|
|
31784
31802
|
def ClusterId(self):
|
|
31785
|
-
r"""
|
|
31803
|
+
r"""<p>集群ID</p>
|
|
31786
31804
|
:rtype: str
|
|
31787
31805
|
"""
|
|
31788
31806
|
return self._ClusterId
|
|
@@ -31793,7 +31811,7 @@ class EnableClusterAuditRequest(AbstractModel):
|
|
|
31793
31811
|
|
|
31794
31812
|
@property
|
|
31795
31813
|
def LogsetId(self):
|
|
31796
|
-
r"""CLS日志集ID,可以通过cls
|
|
31814
|
+
r"""<p>CLS日志集ID,可以通过cls接口或者控制台获取</p>
|
|
31797
31815
|
:rtype: str
|
|
31798
31816
|
"""
|
|
31799
31817
|
return self._LogsetId
|
|
@@ -31804,7 +31822,7 @@ class EnableClusterAuditRequest(AbstractModel):
|
|
|
31804
31822
|
|
|
31805
31823
|
@property
|
|
31806
31824
|
def TopicId(self):
|
|
31807
|
-
r"""CLS日志主题ID,可以通过cls
|
|
31825
|
+
r"""<p>CLS日志主题ID,可以通过cls接口或者控制台获取</p>
|
|
31808
31826
|
:rtype: str
|
|
31809
31827
|
"""
|
|
31810
31828
|
return self._TopicId
|
|
@@ -31815,7 +31833,7 @@ class EnableClusterAuditRequest(AbstractModel):
|
|
|
31815
31833
|
|
|
31816
31834
|
@property
|
|
31817
31835
|
def TopicRegion(self):
|
|
31818
|
-
r"""topic所在region,默认为集群当前region
|
|
31836
|
+
r"""<p>topic所在region,默认为集群当前region</p>
|
|
31819
31837
|
:rtype: str
|
|
31820
31838
|
"""
|
|
31821
31839
|
return self._TopicRegion
|
|
@@ -31824,12 +31842,24 @@ class EnableClusterAuditRequest(AbstractModel):
|
|
|
31824
31842
|
def TopicRegion(self, TopicRegion):
|
|
31825
31843
|
self._TopicRegion = TopicRegion
|
|
31826
31844
|
|
|
31845
|
+
@property
|
|
31846
|
+
def ClusterType(self):
|
|
31847
|
+
r"""<p>集群类型 tke/eks</p><p>默认值:tke</p>
|
|
31848
|
+
:rtype: str
|
|
31849
|
+
"""
|
|
31850
|
+
return self._ClusterType
|
|
31851
|
+
|
|
31852
|
+
@ClusterType.setter
|
|
31853
|
+
def ClusterType(self, ClusterType):
|
|
31854
|
+
self._ClusterType = ClusterType
|
|
31855
|
+
|
|
31827
31856
|
|
|
31828
31857
|
def _deserialize(self, params):
|
|
31829
31858
|
self._ClusterId = params.get("ClusterId")
|
|
31830
31859
|
self._LogsetId = params.get("LogsetId")
|
|
31831
31860
|
self._TopicId = params.get("TopicId")
|
|
31832
31861
|
self._TopicRegion = params.get("TopicRegion")
|
|
31862
|
+
self._ClusterType = params.get("ClusterType")
|
|
31833
31863
|
memeber_set = set(params.keys())
|
|
31834
31864
|
for name, value in vars(self).items():
|
|
31835
31865
|
property_name = name[1:]
|
|
@@ -32228,23 +32258,26 @@ class EnableEventPersistenceRequest(AbstractModel):
|
|
|
32228
32258
|
|
|
32229
32259
|
def __init__(self):
|
|
32230
32260
|
r"""
|
|
32231
|
-
:param _ClusterId:
|
|
32261
|
+
:param _ClusterId: <p>集群ID</p>
|
|
32232
32262
|
:type ClusterId: str
|
|
32233
|
-
:param _LogsetId: cls服务的logsetID,通过cls
|
|
32263
|
+
:param _LogsetId: <p>cls服务的logsetID,通过cls接口或者控制台获取</p>
|
|
32234
32264
|
:type LogsetId: str
|
|
32235
|
-
:param _TopicId: cls服务的topicID,通过cls
|
|
32265
|
+
:param _TopicId: <p>cls服务的topicID,通过cls接口或者控制台获取</p>
|
|
32236
32266
|
:type TopicId: str
|
|
32237
|
-
:param _TopicRegion: topic
|
|
32267
|
+
:param _TopicRegion: <p>topic所在地域,默认为集群所在地域</p>
|
|
32238
32268
|
:type TopicRegion: str
|
|
32269
|
+
:param _ClusterType: <p>集群类型 tke/eks</p><p>默认值:tke</p>
|
|
32270
|
+
:type ClusterType: str
|
|
32239
32271
|
"""
|
|
32240
32272
|
self._ClusterId = None
|
|
32241
32273
|
self._LogsetId = None
|
|
32242
32274
|
self._TopicId = None
|
|
32243
32275
|
self._TopicRegion = None
|
|
32276
|
+
self._ClusterType = None
|
|
32244
32277
|
|
|
32245
32278
|
@property
|
|
32246
32279
|
def ClusterId(self):
|
|
32247
|
-
r"""
|
|
32280
|
+
r"""<p>集群ID</p>
|
|
32248
32281
|
:rtype: str
|
|
32249
32282
|
"""
|
|
32250
32283
|
return self._ClusterId
|
|
@@ -32255,7 +32288,7 @@ class EnableEventPersistenceRequest(AbstractModel):
|
|
|
32255
32288
|
|
|
32256
32289
|
@property
|
|
32257
32290
|
def LogsetId(self):
|
|
32258
|
-
r"""cls服务的logsetID,通过cls
|
|
32291
|
+
r"""<p>cls服务的logsetID,通过cls接口或者控制台获取</p>
|
|
32259
32292
|
:rtype: str
|
|
32260
32293
|
"""
|
|
32261
32294
|
return self._LogsetId
|
|
@@ -32266,7 +32299,7 @@ class EnableEventPersistenceRequest(AbstractModel):
|
|
|
32266
32299
|
|
|
32267
32300
|
@property
|
|
32268
32301
|
def TopicId(self):
|
|
32269
|
-
r"""cls服务的topicID,通过cls
|
|
32302
|
+
r"""<p>cls服务的topicID,通过cls接口或者控制台获取</p>
|
|
32270
32303
|
:rtype: str
|
|
32271
32304
|
"""
|
|
32272
32305
|
return self._TopicId
|
|
@@ -32277,7 +32310,7 @@ class EnableEventPersistenceRequest(AbstractModel):
|
|
|
32277
32310
|
|
|
32278
32311
|
@property
|
|
32279
32312
|
def TopicRegion(self):
|
|
32280
|
-
r"""topic
|
|
32313
|
+
r"""<p>topic所在地域,默认为集群所在地域</p>
|
|
32281
32314
|
:rtype: str
|
|
32282
32315
|
"""
|
|
32283
32316
|
return self._TopicRegion
|
|
@@ -32286,12 +32319,24 @@ class EnableEventPersistenceRequest(AbstractModel):
|
|
|
32286
32319
|
def TopicRegion(self, TopicRegion):
|
|
32287
32320
|
self._TopicRegion = TopicRegion
|
|
32288
32321
|
|
|
32322
|
+
@property
|
|
32323
|
+
def ClusterType(self):
|
|
32324
|
+
r"""<p>集群类型 tke/eks</p><p>默认值:tke</p>
|
|
32325
|
+
:rtype: str
|
|
32326
|
+
"""
|
|
32327
|
+
return self._ClusterType
|
|
32328
|
+
|
|
32329
|
+
@ClusterType.setter
|
|
32330
|
+
def ClusterType(self, ClusterType):
|
|
32331
|
+
self._ClusterType = ClusterType
|
|
32332
|
+
|
|
32289
32333
|
|
|
32290
32334
|
def _deserialize(self, params):
|
|
32291
32335
|
self._ClusterId = params.get("ClusterId")
|
|
32292
32336
|
self._LogsetId = params.get("LogsetId")
|
|
32293
32337
|
self._TopicId = params.get("TopicId")
|
|
32294
32338
|
self._TopicRegion = params.get("TopicRegion")
|
|
32339
|
+
self._ClusterType = params.get("ClusterType")
|
|
32295
32340
|
memeber_set = set(params.keys())
|
|
32296
32341
|
for name, value in vars(self).items():
|
|
32297
32342
|
property_name = name[1:]
|
|
@@ -50986,6 +51031,40 @@ class RollbackClusterReleaseResponse(AbstractModel):
|
|
|
50986
51031
|
self._RequestId = params.get("RequestId")
|
|
50987
51032
|
|
|
50988
51033
|
|
|
51034
|
+
class RotateClusterTokenRequest(AbstractModel):
|
|
51035
|
+
r"""RotateClusterToken请求参数结构体
|
|
51036
|
+
|
|
51037
|
+
"""
|
|
51038
|
+
|
|
51039
|
+
|
|
51040
|
+
class RotateClusterTokenResponse(AbstractModel):
|
|
51041
|
+
r"""RotateClusterToken返回参数结构体
|
|
51042
|
+
|
|
51043
|
+
"""
|
|
51044
|
+
|
|
51045
|
+
def __init__(self):
|
|
51046
|
+
r"""
|
|
51047
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
51048
|
+
:type RequestId: str
|
|
51049
|
+
"""
|
|
51050
|
+
self._RequestId = None
|
|
51051
|
+
|
|
51052
|
+
@property
|
|
51053
|
+
def RequestId(self):
|
|
51054
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
51055
|
+
:rtype: str
|
|
51056
|
+
"""
|
|
51057
|
+
return self._RequestId
|
|
51058
|
+
|
|
51059
|
+
@RequestId.setter
|
|
51060
|
+
def RequestId(self, RequestId):
|
|
51061
|
+
self._RequestId = RequestId
|
|
51062
|
+
|
|
51063
|
+
|
|
51064
|
+
def _deserialize(self, params):
|
|
51065
|
+
self._RequestId = params.get("RequestId")
|
|
51066
|
+
|
|
51067
|
+
|
|
50989
51068
|
class RouteInfo(AbstractModel):
|
|
50990
51069
|
r"""集群路由对象
|
|
50991
51070
|
|
|
@@ -51466,9 +51545,9 @@ class RuntimeConfig(AbstractModel):
|
|
|
51466
51545
|
|
|
51467
51546
|
def __init__(self):
|
|
51468
51547
|
r"""
|
|
51469
|
-
:param _RuntimeType:
|
|
51548
|
+
:param _RuntimeType: <p>运行时类型,支持的类型有 docker、containerd</p>
|
|
51470
51549
|
:type RuntimeType: str
|
|
51471
|
-
:param _RuntimeVersion:
|
|
51550
|
+
:param _RuntimeVersion: <p>运行时版本,参考:https://cloud.tencent.com/document/api/457/105241</p>
|
|
51472
51551
|
:type RuntimeVersion: str
|
|
51473
51552
|
"""
|
|
51474
51553
|
self._RuntimeType = None
|
|
@@ -51476,7 +51555,7 @@ class RuntimeConfig(AbstractModel):
|
|
|
51476
51555
|
|
|
51477
51556
|
@property
|
|
51478
51557
|
def RuntimeType(self):
|
|
51479
|
-
r"""
|
|
51558
|
+
r"""<p>运行时类型,支持的类型有 docker、containerd</p>
|
|
51480
51559
|
:rtype: str
|
|
51481
51560
|
"""
|
|
51482
51561
|
return self._RuntimeType
|
|
@@ -51487,7 +51566,7 @@ class RuntimeConfig(AbstractModel):
|
|
|
51487
51566
|
|
|
51488
51567
|
@property
|
|
51489
51568
|
def RuntimeVersion(self):
|
|
51490
|
-
r"""
|
|
51569
|
+
r"""<p>运行时版本,参考:https://cloud.tencent.com/document/api/457/105241</p>
|
|
51491
51570
|
:rtype: str
|
|
51492
51571
|
"""
|
|
51493
51572
|
return self._RuntimeVersion
|
|
@@ -54309,14 +54388,17 @@ class UninstallLogAgentRequest(AbstractModel):
|
|
|
54309
54388
|
|
|
54310
54389
|
def __init__(self):
|
|
54311
54390
|
r"""
|
|
54312
|
-
:param _ClusterId:
|
|
54391
|
+
:param _ClusterId: <p>集群ID</p>
|
|
54313
54392
|
:type ClusterId: str
|
|
54393
|
+
:param _ClusterType: <p>集群类型tke/eks</p><p>默认值:tke</p>
|
|
54394
|
+
:type ClusterType: str
|
|
54314
54395
|
"""
|
|
54315
54396
|
self._ClusterId = None
|
|
54397
|
+
self._ClusterType = None
|
|
54316
54398
|
|
|
54317
54399
|
@property
|
|
54318
54400
|
def ClusterId(self):
|
|
54319
|
-
r"""
|
|
54401
|
+
r"""<p>集群ID</p>
|
|
54320
54402
|
:rtype: str
|
|
54321
54403
|
"""
|
|
54322
54404
|
return self._ClusterId
|
|
@@ -54325,9 +54407,21 @@ class UninstallLogAgentRequest(AbstractModel):
|
|
|
54325
54407
|
def ClusterId(self, ClusterId):
|
|
54326
54408
|
self._ClusterId = ClusterId
|
|
54327
54409
|
|
|
54410
|
+
@property
|
|
54411
|
+
def ClusterType(self):
|
|
54412
|
+
r"""<p>集群类型tke/eks</p><p>默认值:tke</p>
|
|
54413
|
+
:rtype: str
|
|
54414
|
+
"""
|
|
54415
|
+
return self._ClusterType
|
|
54416
|
+
|
|
54417
|
+
@ClusterType.setter
|
|
54418
|
+
def ClusterType(self, ClusterType):
|
|
54419
|
+
self._ClusterType = ClusterType
|
|
54420
|
+
|
|
54328
54421
|
|
|
54329
54422
|
def _deserialize(self, params):
|
|
54330
54423
|
self._ClusterId = params.get("ClusterId")
|
|
54424
|
+
self._ClusterType = params.get("ClusterType")
|
|
54331
54425
|
memeber_set = set(params.keys())
|
|
54332
54426
|
for name, value in vars(self).items():
|
|
54333
54427
|
property_name = name[1:]
|
|
@@ -5807,6 +5807,29 @@ class TkeClient(AbstractClient):
|
|
|
5807
5807
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
5808
5808
|
|
|
5809
5809
|
|
|
5810
|
+
def RotateClusterToken(self, request):
|
|
5811
|
+
r"""轮转集群的token
|
|
5812
|
+
|
|
5813
|
+
:param request: Request instance for RotateClusterToken.
|
|
5814
|
+
:type request: :class:`tencentcloud.tke.v20180525.models.RotateClusterTokenRequest`
|
|
5815
|
+
:rtype: :class:`tencentcloud.tke.v20180525.models.RotateClusterTokenResponse`
|
|
5816
|
+
|
|
5817
|
+
"""
|
|
5818
|
+
try:
|
|
5819
|
+
params = request._serialize()
|
|
5820
|
+
headers = request.headers
|
|
5821
|
+
body = self.call("RotateClusterToken", params, headers=headers)
|
|
5822
|
+
response = json.loads(body)
|
|
5823
|
+
model = models.RotateClusterTokenResponse()
|
|
5824
|
+
model._deserialize(response["Response"])
|
|
5825
|
+
return model
|
|
5826
|
+
except Exception as e:
|
|
5827
|
+
if isinstance(e, TencentCloudSDKException):
|
|
5828
|
+
raise
|
|
5829
|
+
else:
|
|
5830
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
5831
|
+
|
|
5832
|
+
|
|
5810
5833
|
def RunPrometheusInstance(self, request):
|
|
5811
5834
|
r"""初始化TMP实例,开启集成中心时调用
|
|
5812
5835
|
|
|
@@ -4551,6 +4551,24 @@ class TkeClient(AbstractClient):
|
|
|
4551
4551
|
|
|
4552
4552
|
return await self.call_and_deserialize(**kwargs)
|
|
4553
4553
|
|
|
4554
|
+
async def RotateClusterToken(
|
|
4555
|
+
self,
|
|
4556
|
+
request: models.RotateClusterTokenRequest,
|
|
4557
|
+
opts: Dict = None,
|
|
4558
|
+
) -> models.RotateClusterTokenResponse:
|
|
4559
|
+
"""
|
|
4560
|
+
轮转集群的token
|
|
4561
|
+
"""
|
|
4562
|
+
|
|
4563
|
+
kwargs = {}
|
|
4564
|
+
kwargs["action"] = "RotateClusterToken"
|
|
4565
|
+
kwargs["params"] = request._serialize()
|
|
4566
|
+
kwargs["resp_cls"] = models.RotateClusterTokenResponse
|
|
4567
|
+
kwargs["headers"] = request.headers
|
|
4568
|
+
kwargs["opts"] = opts or {}
|
|
4569
|
+
|
|
4570
|
+
return await self.call_and_deserialize(**kwargs)
|
|
4571
|
+
|
|
4554
4572
|
async def RunPrometheusInstance(
|
|
4555
4573
|
self,
|
|
4556
4574
|
request: models.RunPrometheusInstanceRequest,
|
|
@@ -4919,21 +4919,24 @@ class MachineSetScaling(AbstractModel):
|
|
|
4919
4919
|
|
|
4920
4920
|
def __init__(self):
|
|
4921
4921
|
r"""
|
|
4922
|
-
:param _MinReplicas:
|
|
4922
|
+
:param _MinReplicas: <p>节点池最小副本数</p>
|
|
4923
4923
|
:type MinReplicas: int
|
|
4924
|
-
:param _MaxReplicas:
|
|
4924
|
+
:param _MaxReplicas: <p>节点池最大副本数</p>
|
|
4925
4925
|
:type MaxReplicas: int
|
|
4926
|
-
:param _CreatePolicy:
|
|
4926
|
+
:param _CreatePolicy: <p>节点池扩容策略。ZoneEquality:多可用区打散;ZonePriority:首选可用区优先;</p>
|
|
4927
4927
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4928
4928
|
:type CreatePolicy: str
|
|
4929
|
+
:param _ScaleDownMode: <p>扩缩容模式</p><p>枚举值:</p><ul><li>ShutdownAndDelete: 释放模式,默认</li><li>Shutdown: 停机模式,关机不计费</li></ul><p>默认值:ShutdownAndDelete</p>
|
|
4930
|
+
:type ScaleDownMode: str
|
|
4929
4931
|
"""
|
|
4930
4932
|
self._MinReplicas = None
|
|
4931
4933
|
self._MaxReplicas = None
|
|
4932
4934
|
self._CreatePolicy = None
|
|
4935
|
+
self._ScaleDownMode = None
|
|
4933
4936
|
|
|
4934
4937
|
@property
|
|
4935
4938
|
def MinReplicas(self):
|
|
4936
|
-
r"""
|
|
4939
|
+
r"""<p>节点池最小副本数</p>
|
|
4937
4940
|
:rtype: int
|
|
4938
4941
|
"""
|
|
4939
4942
|
return self._MinReplicas
|
|
@@ -4944,7 +4947,7 @@ class MachineSetScaling(AbstractModel):
|
|
|
4944
4947
|
|
|
4945
4948
|
@property
|
|
4946
4949
|
def MaxReplicas(self):
|
|
4947
|
-
r"""
|
|
4950
|
+
r"""<p>节点池最大副本数</p>
|
|
4948
4951
|
:rtype: int
|
|
4949
4952
|
"""
|
|
4950
4953
|
return self._MaxReplicas
|
|
@@ -4955,7 +4958,7 @@ class MachineSetScaling(AbstractModel):
|
|
|
4955
4958
|
|
|
4956
4959
|
@property
|
|
4957
4960
|
def CreatePolicy(self):
|
|
4958
|
-
r"""
|
|
4961
|
+
r"""<p>节点池扩容策略。ZoneEquality:多可用区打散;ZonePriority:首选可用区优先;</p>
|
|
4959
4962
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4960
4963
|
:rtype: str
|
|
4961
4964
|
"""
|
|
@@ -4965,11 +4968,23 @@ class MachineSetScaling(AbstractModel):
|
|
|
4965
4968
|
def CreatePolicy(self, CreatePolicy):
|
|
4966
4969
|
self._CreatePolicy = CreatePolicy
|
|
4967
4970
|
|
|
4971
|
+
@property
|
|
4972
|
+
def ScaleDownMode(self):
|
|
4973
|
+
r"""<p>扩缩容模式</p><p>枚举值:</p><ul><li>ShutdownAndDelete: 释放模式,默认</li><li>Shutdown: 停机模式,关机不计费</li></ul><p>默认值:ShutdownAndDelete</p>
|
|
4974
|
+
:rtype: str
|
|
4975
|
+
"""
|
|
4976
|
+
return self._ScaleDownMode
|
|
4977
|
+
|
|
4978
|
+
@ScaleDownMode.setter
|
|
4979
|
+
def ScaleDownMode(self, ScaleDownMode):
|
|
4980
|
+
self._ScaleDownMode = ScaleDownMode
|
|
4981
|
+
|
|
4968
4982
|
|
|
4969
4983
|
def _deserialize(self, params):
|
|
4970
4984
|
self._MinReplicas = params.get("MinReplicas")
|
|
4971
4985
|
self._MaxReplicas = params.get("MaxReplicas")
|
|
4972
4986
|
self._CreatePolicy = params.get("CreatePolicy")
|
|
4987
|
+
self._ScaleDownMode = params.get("ScaleDownMode")
|
|
4973
4988
|
memeber_set = set(params.keys())
|
|
4974
4989
|
for name, value in vars(self).items():
|
|
4975
4990
|
property_name = name[1:]
|
|
@@ -5239,6 +5254,10 @@ class ModifyClusterMachineRequest(AbstractModel):
|
|
|
5239
5254
|
:type SecurityGroupIDs: list of str
|
|
5240
5255
|
:param _InstanceChargePrepaid: <p>节点预付费信息</p>
|
|
5241
5256
|
:type InstanceChargePrepaid: :class:`tencentcloud.tke.v20220501.models.InstanceChargePrepaid`
|
|
5257
|
+
:param _InstanceChargeType: <p>节点计费类型变更</p><p>枚举值:</p><ul><li>POSTPAID_BY_HOUR: 目标计费类型为按量计费</li><li>PREPAID: 目标计费类型为包年包月计费</li></ul>
|
|
5258
|
+
:type InstanceChargeType: str
|
|
5259
|
+
:param _ModifyPortableDataDisk: <p>是否同时切换弹性数据云盘计费模式。取值范围: true:表示切换弹性数据云盘计费模式 false:表示不切换弹性数据云盘计费模式 默认取值:true。</p><p>默认值:true</p>
|
|
5260
|
+
:type ModifyPortableDataDisk: bool
|
|
5242
5261
|
"""
|
|
5243
5262
|
self._ClusterId = None
|
|
5244
5263
|
self._MachineNames = None
|
|
@@ -5246,6 +5265,8 @@ class ModifyClusterMachineRequest(AbstractModel):
|
|
|
5246
5265
|
self._SystemDisk = None
|
|
5247
5266
|
self._SecurityGroupIDs = None
|
|
5248
5267
|
self._InstanceChargePrepaid = None
|
|
5268
|
+
self._InstanceChargeType = None
|
|
5269
|
+
self._ModifyPortableDataDisk = None
|
|
5249
5270
|
|
|
5250
5271
|
@property
|
|
5251
5272
|
def ClusterId(self):
|
|
@@ -5313,6 +5334,28 @@ class ModifyClusterMachineRequest(AbstractModel):
|
|
|
5313
5334
|
def InstanceChargePrepaid(self, InstanceChargePrepaid):
|
|
5314
5335
|
self._InstanceChargePrepaid = InstanceChargePrepaid
|
|
5315
5336
|
|
|
5337
|
+
@property
|
|
5338
|
+
def InstanceChargeType(self):
|
|
5339
|
+
r"""<p>节点计费类型变更</p><p>枚举值:</p><ul><li>POSTPAID_BY_HOUR: 目标计费类型为按量计费</li><li>PREPAID: 目标计费类型为包年包月计费</li></ul>
|
|
5340
|
+
:rtype: str
|
|
5341
|
+
"""
|
|
5342
|
+
return self._InstanceChargeType
|
|
5343
|
+
|
|
5344
|
+
@InstanceChargeType.setter
|
|
5345
|
+
def InstanceChargeType(self, InstanceChargeType):
|
|
5346
|
+
self._InstanceChargeType = InstanceChargeType
|
|
5347
|
+
|
|
5348
|
+
@property
|
|
5349
|
+
def ModifyPortableDataDisk(self):
|
|
5350
|
+
r"""<p>是否同时切换弹性数据云盘计费模式。取值范围: true:表示切换弹性数据云盘计费模式 false:表示不切换弹性数据云盘计费模式 默认取值:true。</p><p>默认值:true</p>
|
|
5351
|
+
:rtype: bool
|
|
5352
|
+
"""
|
|
5353
|
+
return self._ModifyPortableDataDisk
|
|
5354
|
+
|
|
5355
|
+
@ModifyPortableDataDisk.setter
|
|
5356
|
+
def ModifyPortableDataDisk(self, ModifyPortableDataDisk):
|
|
5357
|
+
self._ModifyPortableDataDisk = ModifyPortableDataDisk
|
|
5358
|
+
|
|
5316
5359
|
|
|
5317
5360
|
def _deserialize(self, params):
|
|
5318
5361
|
self._ClusterId = params.get("ClusterId")
|
|
@@ -5325,6 +5368,8 @@ class ModifyClusterMachineRequest(AbstractModel):
|
|
|
5325
5368
|
if params.get("InstanceChargePrepaid") is not None:
|
|
5326
5369
|
self._InstanceChargePrepaid = InstanceChargePrepaid()
|
|
5327
5370
|
self._InstanceChargePrepaid._deserialize(params.get("InstanceChargePrepaid"))
|
|
5371
|
+
self._InstanceChargeType = params.get("InstanceChargeType")
|
|
5372
|
+
self._ModifyPortableDataDisk = params.get("ModifyPortableDataDisk")
|
|
5328
5373
|
memeber_set = set(params.keys())
|
|
5329
5374
|
for name, value in vars(self).items():
|
|
5330
5375
|
property_name = name[1:]
|
|
@@ -7288,13 +7333,13 @@ class RuntimeConfig(AbstractModel):
|
|
|
7288
7333
|
|
|
7289
7334
|
def __init__(self):
|
|
7290
7335
|
r"""
|
|
7291
|
-
:param _RuntimeType:
|
|
7336
|
+
:param _RuntimeType: <p>运行时类型</p>
|
|
7292
7337
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7293
7338
|
:type RuntimeType: str
|
|
7294
|
-
:param _RuntimeVersion:
|
|
7339
|
+
:param _RuntimeVersion: <p>运行时版本</p>
|
|
7295
7340
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7296
7341
|
:type RuntimeVersion: str
|
|
7297
|
-
:param _RuntimeRootDir:
|
|
7342
|
+
:param _RuntimeRootDir: <p>运行时根目录</p>
|
|
7298
7343
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7299
7344
|
:type RuntimeRootDir: str
|
|
7300
7345
|
"""
|
|
@@ -7304,7 +7349,7 @@ class RuntimeConfig(AbstractModel):
|
|
|
7304
7349
|
|
|
7305
7350
|
@property
|
|
7306
7351
|
def RuntimeType(self):
|
|
7307
|
-
r"""
|
|
7352
|
+
r"""<p>运行时类型</p>
|
|
7308
7353
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7309
7354
|
:rtype: str
|
|
7310
7355
|
"""
|
|
@@ -7316,7 +7361,7 @@ class RuntimeConfig(AbstractModel):
|
|
|
7316
7361
|
|
|
7317
7362
|
@property
|
|
7318
7363
|
def RuntimeVersion(self):
|
|
7319
|
-
r"""
|
|
7364
|
+
r"""<p>运行时版本</p>
|
|
7320
7365
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7321
7366
|
:rtype: str
|
|
7322
7367
|
"""
|
|
@@ -7328,7 +7373,7 @@ class RuntimeConfig(AbstractModel):
|
|
|
7328
7373
|
|
|
7329
7374
|
@property
|
|
7330
7375
|
def RuntimeRootDir(self):
|
|
7331
|
-
r"""
|
|
7376
|
+
r"""<p>运行时根目录</p>
|
|
7332
7377
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7333
7378
|
:rtype: str
|
|
7334
7379
|
"""
|
|
@@ -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.128
|
|
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.128
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.128
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.123
|
|
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
|