tencentcloud-sdk-python-tke 3.1.121__tar.gz → 3.1.127__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.
Files changed (22) hide show
  1. {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.127}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.127}/setup.py +1 -1
  3. {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.127}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.127}/tencentcloud/tke/v20180525/models.py +120 -26
  5. {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.127}/tencentcloud/tke/v20180525/tke_client.py +23 -0
  6. {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.127}/tencentcloud/tke/v20180525/tke_client_async.py +18 -0
  7. {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.127}/tencentcloud/tke/v20220501/models.py +54 -0
  8. {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.127}/tencentcloud/tke/v20220501/tke_client.py +23 -0
  9. {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.127}/tencentcloud/tke/v20220501/tke_client_async.py +18 -0
  10. {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.127}/tencentcloud_sdk_python_tke.egg-info/PKG-INFO +2 -2
  11. tencentcloud_sdk_python_tke-3.1.127/tencentcloud_sdk_python_tke.egg-info/requires.txt +1 -0
  12. tencentcloud_sdk_python_tke-3.1.121/tencentcloud_sdk_python_tke.egg-info/requires.txt +0 -1
  13. {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.127}/README.rst +0 -0
  14. {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.127}/setup.cfg +0 -0
  15. {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.127}/tencentcloud/tke/__init__.py +0 -0
  16. {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.127}/tencentcloud/tke/v20180525/__init__.py +0 -0
  17. {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.127}/tencentcloud/tke/v20180525/errorcodes.py +0 -0
  18. {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.127}/tencentcloud/tke/v20220501/__init__.py +0 -0
  19. {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.127}/tencentcloud/tke/v20220501/errorcodes.py +0 -0
  20. {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.127}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
  21. {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.127}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
  22. {tencentcloud_sdk_python_tke-3.1.121 → tencentcloud_sdk_python_tke-3.1.127}/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.121
3
+ Version: 3.1.127
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.121
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.127
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.121,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.127,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Tke SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.121'
17
+ __version__ = '3.1.127'
@@ -29285,9 +29285,9 @@ class DisableClusterAuditRequest(AbstractModel):
29285
29285
 
29286
29286
  def __init__(self):
29287
29287
  r"""
29288
- :param _ClusterId: 集群ID
29288
+ :param _ClusterId: <p>集群ID</p>
29289
29289
  :type ClusterId: str
29290
- :param _DeleteLogSetAndTopic: 取值为true代表关闭集群审计时删除默认创建的日志集和主题,false代表不删除
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"""集群ID
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"""取值为true代表关闭集群审计时删除默认创建的日志集和主题,false代表不删除
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: 集群ID
29604
+ :param _ClusterId: <p>集群ID</p>
29605
29605
  :type ClusterId: str
29606
- :param _DeleteLogSetAndTopic: 取值为true代表关闭集群审计时删除默认创建的日志集和主题,false代表不删除
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"""集群ID
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"""取值为true代表关闭集群审计时删除默认创建的日志集和主题,false代表不删除
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: 集群ID
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"""集群ID
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: 集群ID
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"""集群ID
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
 
@@ -54309,14 +54388,17 @@ class UninstallLogAgentRequest(AbstractModel):
54309
54388
 
54310
54389
  def __init__(self):
54311
54390
  r"""
54312
- :param _ClusterId: 集群ID
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"""集群ID
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,
@@ -545,6 +545,8 @@ class CreateNativeNodePoolParam(AbstractModel):
545
545
  :type EnableAutoscaling: bool
546
546
  :param _Replicas: <p>期望节点数</p>
547
547
  :type Replicas: int
548
+ :param _GPUConfigs: <p>机型和GPU配置相关信息</p>
549
+ :type GPUConfigs: list of GPUConfig
548
550
  :param _InternetAccessible: <p>公网带宽设置</p>
549
551
  :type InternetAccessible: :class:`tencentcloud.tke.v20220501.models.InternetAccessible`
550
552
  :param _DataDisks: <p>原生节点池数据盘列表</p>
@@ -577,6 +579,7 @@ class CreateNativeNodePoolParam(AbstractModel):
577
579
  self._RuntimeRootDir = None
578
580
  self._EnableAutoscaling = None
579
581
  self._Replicas = None
582
+ self._GPUConfigs = None
580
583
  self._InternetAccessible = None
581
584
  self._DataDisks = None
582
585
  self._QGPUEnable = None
@@ -772,6 +775,17 @@ class CreateNativeNodePoolParam(AbstractModel):
772
775
  def Replicas(self, Replicas):
773
776
  self._Replicas = Replicas
774
777
 
778
+ @property
779
+ def GPUConfigs(self):
780
+ r"""<p>机型和GPU配置相关信息</p>
781
+ :rtype: list of GPUConfig
782
+ """
783
+ return self._GPUConfigs
784
+
785
+ @GPUConfigs.setter
786
+ def GPUConfigs(self, GPUConfigs):
787
+ self._GPUConfigs = GPUConfigs
788
+
775
789
  @property
776
790
  def InternetAccessible(self):
777
791
  r"""<p>公网带宽设置</p>
@@ -880,6 +894,12 @@ class CreateNativeNodePoolParam(AbstractModel):
880
894
  self._RuntimeRootDir = params.get("RuntimeRootDir")
881
895
  self._EnableAutoscaling = params.get("EnableAutoscaling")
882
896
  self._Replicas = params.get("Replicas")
897
+ if params.get("GPUConfigs") is not None:
898
+ self._GPUConfigs = []
899
+ for item in params.get("GPUConfigs"):
900
+ obj = GPUConfig()
901
+ obj._deserialize(item)
902
+ self._GPUConfigs.append(obj)
883
903
  if params.get("InternetAccessible") is not None:
884
904
  self._InternetAccessible = InternetAccessible()
885
905
  self._InternetAccessible._deserialize(params.get("InternetAccessible"))
@@ -2708,6 +2728,40 @@ class DescribeHealthCheckTemplateResponse(AbstractModel):
2708
2728
  self._RequestId = params.get("RequestId")
2709
2729
 
2710
2730
 
2731
+ class DescribeNodePoolsElasticityStrengthRequest(AbstractModel):
2732
+ r"""DescribeNodePoolsElasticityStrength请求参数结构体
2733
+
2734
+ """
2735
+
2736
+
2737
+ class DescribeNodePoolsElasticityStrengthResponse(AbstractModel):
2738
+ r"""DescribeNodePoolsElasticityStrength返回参数结构体
2739
+
2740
+ """
2741
+
2742
+ def __init__(self):
2743
+ r"""
2744
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2745
+ :type RequestId: str
2746
+ """
2747
+ self._RequestId = None
2748
+
2749
+ @property
2750
+ def RequestId(self):
2751
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2752
+ :rtype: str
2753
+ """
2754
+ return self._RequestId
2755
+
2756
+ @RequestId.setter
2757
+ def RequestId(self, RequestId):
2758
+ self._RequestId = RequestId
2759
+
2760
+
2761
+ def _deserialize(self, params):
2762
+ self._RequestId = params.get("RequestId")
2763
+
2764
+
2711
2765
  class DescribeNodePoolsRequest(AbstractModel):
2712
2766
  r"""DescribeNodePools请求参数结构体
2713
2767
 
@@ -325,6 +325,29 @@ class TkeClient(AbstractClient):
325
325
  raise TencentCloudSDKException(type(e).__name__, str(e))
326
326
 
327
327
 
328
+ def DescribeNodePoolsElasticityStrength(self, request):
329
+ r"""查询节点池健康度相关信息
330
+
331
+ :param request: Request instance for DescribeNodePoolsElasticityStrength.
332
+ :type request: :class:`tencentcloud.tke.v20220501.models.DescribeNodePoolsElasticityStrengthRequest`
333
+ :rtype: :class:`tencentcloud.tke.v20220501.models.DescribeNodePoolsElasticityStrengthResponse`
334
+
335
+ """
336
+ try:
337
+ params = request._serialize()
338
+ headers = request.headers
339
+ body = self.call("DescribeNodePoolsElasticityStrength", params, headers=headers)
340
+ response = json.loads(body)
341
+ model = models.DescribeNodePoolsElasticityStrengthResponse()
342
+ model._deserialize(response["Response"])
343
+ return model
344
+ except Exception as e:
345
+ if isinstance(e, TencentCloudSDKException):
346
+ raise
347
+ else:
348
+ raise TencentCloudSDKException(type(e).__name__, str(e))
349
+
350
+
328
351
  def DescribeZoneInstanceConfigInfos(self, request):
329
352
  r"""查询原生节点机型配置
330
353
 
@@ -259,6 +259,24 @@ class TkeClient(AbstractClient):
259
259
 
260
260
  return await self.call_and_deserialize(**kwargs)
261
261
 
262
+ async def DescribeNodePoolsElasticityStrength(
263
+ self,
264
+ request: models.DescribeNodePoolsElasticityStrengthRequest,
265
+ opts: Dict = None,
266
+ ) -> models.DescribeNodePoolsElasticityStrengthResponse:
267
+ """
268
+ 查询节点池健康度相关信息
269
+ """
270
+
271
+ kwargs = {}
272
+ kwargs["action"] = "DescribeNodePoolsElasticityStrength"
273
+ kwargs["params"] = request._serialize()
274
+ kwargs["resp_cls"] = models.DescribeNodePoolsElasticityStrengthResponse
275
+ kwargs["headers"] = request.headers
276
+ kwargs["opts"] = opts or {}
277
+
278
+ return await self.call_and_deserialize(**kwargs)
279
+
262
280
  async def DescribeZoneInstanceConfigInfos(
263
281
  self,
264
282
  request: models.DescribeZoneInstanceConfigInfosRequest,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-tke
3
- Version: 3.1.121
3
+ Version: 3.1.127
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.121
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.127
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.127
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.121