tencentcloud-sdk-python-tke 3.1.67__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.67 → tencentcloud_sdk_python_tke-3.1.69}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tke-3.1.67 → tencentcloud_sdk_python_tke-3.1.69}/setup.py +1 -1
- {tencentcloud_sdk_python_tke-3.1.67 → tencentcloud_sdk_python_tke-3.1.69}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tke-3.1.67 → tencentcloud_sdk_python_tke-3.1.69}/tencentcloud/tke/v20180525/models.py +45 -0
- {tencentcloud_sdk_python_tke-3.1.67 → tencentcloud_sdk_python_tke-3.1.69}/tencentcloud/tke/v20220501/models.py +94 -0
- {tencentcloud_sdk_python_tke-3.1.67 → tencentcloud_sdk_python_tke-3.1.69}/tencentcloud/tke/v20220501/tke_client.py +23 -0
- {tencentcloud_sdk_python_tke-3.1.67 → tencentcloud_sdk_python_tke-3.1.69}/tencentcloud/tke/v20220501/tke_client_async.py +18 -0
- {tencentcloud_sdk_python_tke-3.1.67 → 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.67/tencentcloud_sdk_python_tke.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tke-3.1.67 → tencentcloud_sdk_python_tke-3.1.69}/README.rst +0 -0
- {tencentcloud_sdk_python_tke-3.1.67 → tencentcloud_sdk_python_tke-3.1.69}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tke-3.1.67 → tencentcloud_sdk_python_tke-3.1.69}/tencentcloud/tke/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.67 → tencentcloud_sdk_python_tke-3.1.69}/tencentcloud/tke/v20180525/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.67 → tencentcloud_sdk_python_tke-3.1.69}/tencentcloud/tke/v20180525/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.67 → tencentcloud_sdk_python_tke-3.1.69}/tencentcloud/tke/v20180525/tke_client.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.67 → tencentcloud_sdk_python_tke-3.1.69}/tencentcloud/tke/v20180525/tke_client_async.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.67 → tencentcloud_sdk_python_tke-3.1.69}/tencentcloud/tke/v20220501/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.67 → tencentcloud_sdk_python_tke-3.1.69}/tencentcloud/tke/v20220501/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.67 → tencentcloud_sdk_python_tke-3.1.69}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tke-3.1.67 → tencentcloud_sdk_python_tke-3.1.69}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tke-3.1.67 → 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',
|
|
@@ -33856,8 +33856,11 @@ class GetMostSuitableImageCacheRequest(AbstractModel):
|
|
|
33856
33856
|
r"""
|
|
33857
33857
|
:param _Images: 容器镜像列表
|
|
33858
33858
|
:type Images: list of str
|
|
33859
|
+
:param _Snapshotter: 容器镜像制作snapshotter
|
|
33860
|
+
:type Snapshotter: str
|
|
33859
33861
|
"""
|
|
33860
33862
|
self._Images = None
|
|
33863
|
+
self._Snapshotter = None
|
|
33861
33864
|
|
|
33862
33865
|
@property
|
|
33863
33866
|
def Images(self):
|
|
@@ -33870,9 +33873,21 @@ class GetMostSuitableImageCacheRequest(AbstractModel):
|
|
|
33870
33873
|
def Images(self, Images):
|
|
33871
33874
|
self._Images = Images
|
|
33872
33875
|
|
|
33876
|
+
@property
|
|
33877
|
+
def Snapshotter(self):
|
|
33878
|
+
r"""容器镜像制作snapshotter
|
|
33879
|
+
:rtype: str
|
|
33880
|
+
"""
|
|
33881
|
+
return self._Snapshotter
|
|
33882
|
+
|
|
33883
|
+
@Snapshotter.setter
|
|
33884
|
+
def Snapshotter(self, Snapshotter):
|
|
33885
|
+
self._Snapshotter = Snapshotter
|
|
33886
|
+
|
|
33873
33887
|
|
|
33874
33888
|
def _deserialize(self, params):
|
|
33875
33889
|
self._Images = params.get("Images")
|
|
33890
|
+
self._Snapshotter = params.get("Snapshotter")
|
|
33876
33891
|
memeber_set = set(params.keys())
|
|
33877
33892
|
for name, value in vars(self).items():
|
|
33878
33893
|
property_name = name[1:]
|
|
@@ -34630,6 +34645,10 @@ UpdateFailed:更新失败
|
|
|
34630
34645
|
:type ImageRegistryCredentials: list of ImageRegistryCredential
|
|
34631
34646
|
:param _Tags: 腾讯云标签
|
|
34632
34647
|
:type Tags: list of Tag
|
|
34648
|
+
:param _ImageCacheType: 镜像缓存类型
|
|
34649
|
+
:type ImageCacheType: str
|
|
34650
|
+
:param _Snapshotter: 镜像缓存所属snapshotter类型
|
|
34651
|
+
:type Snapshotter: str
|
|
34633
34652
|
"""
|
|
34634
34653
|
self._ImageCacheId = None
|
|
34635
34654
|
self._ImageCacheName = None
|
|
@@ -34644,6 +34663,8 @@ UpdateFailed:更新失败
|
|
|
34644
34663
|
self._RetentionDays = None
|
|
34645
34664
|
self._ImageRegistryCredentials = None
|
|
34646
34665
|
self._Tags = None
|
|
34666
|
+
self._ImageCacheType = None
|
|
34667
|
+
self._Snapshotter = None
|
|
34647
34668
|
|
|
34648
34669
|
@property
|
|
34649
34670
|
def ImageCacheId(self):
|
|
@@ -34794,6 +34815,28 @@ UpdateFailed:更新失败
|
|
|
34794
34815
|
def Tags(self, Tags):
|
|
34795
34816
|
self._Tags = Tags
|
|
34796
34817
|
|
|
34818
|
+
@property
|
|
34819
|
+
def ImageCacheType(self):
|
|
34820
|
+
r"""镜像缓存类型
|
|
34821
|
+
:rtype: str
|
|
34822
|
+
"""
|
|
34823
|
+
return self._ImageCacheType
|
|
34824
|
+
|
|
34825
|
+
@ImageCacheType.setter
|
|
34826
|
+
def ImageCacheType(self, ImageCacheType):
|
|
34827
|
+
self._ImageCacheType = ImageCacheType
|
|
34828
|
+
|
|
34829
|
+
@property
|
|
34830
|
+
def Snapshotter(self):
|
|
34831
|
+
r"""镜像缓存所属snapshotter类型
|
|
34832
|
+
:rtype: str
|
|
34833
|
+
"""
|
|
34834
|
+
return self._Snapshotter
|
|
34835
|
+
|
|
34836
|
+
@Snapshotter.setter
|
|
34837
|
+
def Snapshotter(self, Snapshotter):
|
|
34838
|
+
self._Snapshotter = Snapshotter
|
|
34839
|
+
|
|
34797
34840
|
|
|
34798
34841
|
def _deserialize(self, params):
|
|
34799
34842
|
self._ImageCacheId = params.get("ImageCacheId")
|
|
@@ -34824,6 +34867,8 @@ UpdateFailed:更新失败
|
|
|
34824
34867
|
obj = Tag()
|
|
34825
34868
|
obj._deserialize(item)
|
|
34826
34869
|
self._Tags.append(obj)
|
|
34870
|
+
self._ImageCacheType = params.get("ImageCacheType")
|
|
34871
|
+
self._Snapshotter = params.get("Snapshotter")
|
|
34827
34872
|
memeber_set = set(params.keys())
|
|
34828
34873
|
for name, value in vars(self).items():
|
|
34829
34874
|
property_name = name[1:]
|
|
@@ -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.67
|
|
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
|