tencentcloud-sdk-python-tke 3.0.1256__tar.gz → 3.0.1258__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.0.1256 → tencentcloud-sdk-python-tke-3.0.1258}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-tke-3.0.1256 → tencentcloud-sdk-python-tke-3.0.1258}/setup.py +1 -1
- {tencentcloud-sdk-python-tke-3.0.1256 → tencentcloud-sdk-python-tke-3.0.1258}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-tke-3.0.1256 → tencentcloud-sdk-python-tke-3.0.1258}/tencentcloud/tke/v20180525/models.py +70 -0
- {tencentcloud-sdk-python-tke-3.0.1256 → tencentcloud-sdk-python-tke-3.0.1258}/tencentcloud/tke/v20180525/tke_client.py +23 -0
- {tencentcloud-sdk-python-tke-3.0.1256 → tencentcloud-sdk-python-tke-3.0.1258}/tencentcloud_sdk_python_tke.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-tke-3.0.1258/tencentcloud_sdk_python_tke.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-tke-3.0.1256/tencentcloud_sdk_python_tke.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-tke-3.0.1256 → tencentcloud-sdk-python-tke-3.0.1258}/README.rst +0 -0
- {tencentcloud-sdk-python-tke-3.0.1256 → tencentcloud-sdk-python-tke-3.0.1258}/setup.cfg +0 -0
- {tencentcloud-sdk-python-tke-3.0.1256 → tencentcloud-sdk-python-tke-3.0.1258}/tencentcloud/tke/__init__.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1256 → tencentcloud-sdk-python-tke-3.0.1258}/tencentcloud/tke/v20180525/__init__.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1256 → tencentcloud-sdk-python-tke-3.0.1258}/tencentcloud/tke/v20180525/errorcodes.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1256 → tencentcloud-sdk-python-tke-3.0.1258}/tencentcloud/tke/v20220501/__init__.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1256 → tencentcloud-sdk-python-tke-3.0.1258}/tencentcloud/tke/v20220501/errorcodes.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1256 → tencentcloud-sdk-python-tke-3.0.1258}/tencentcloud/tke/v20220501/models.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1256 → tencentcloud-sdk-python-tke-3.0.1258}/tencentcloud/tke/v20220501/tke_client.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1256 → tencentcloud-sdk-python-tke-3.0.1258}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-tke-3.0.1256 → tencentcloud-sdk-python-tke-3.0.1258}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-tke-3.0.1256 → tencentcloud-sdk-python-tke-3.0.1258}/tencentcloud_sdk_python_tke.egg-info/top_level.txt +0 -0
|
@@ -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.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1258"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Tke SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -28824,6 +28824,76 @@ class ModifyClusterEndpointSPResponse(AbstractModel):
|
|
|
28824
28824
|
self._RequestId = params.get("RequestId")
|
|
28825
28825
|
|
|
28826
28826
|
|
|
28827
|
+
class ModifyClusterImageRequest(AbstractModel):
|
|
28828
|
+
"""ModifyClusterImage请求参数结构体
|
|
28829
|
+
|
|
28830
|
+
"""
|
|
28831
|
+
|
|
28832
|
+
def __init__(self):
|
|
28833
|
+
r"""
|
|
28834
|
+
:param _ClusterId: 集群ID
|
|
28835
|
+
:type ClusterId: str
|
|
28836
|
+
:param _ImageId: 指定有效的镜像ID,格式形如img-xxxx。可通过登录控制台查询,也可调用接口 [DescribeImages](https://cloud.tencent.com/document/api/213/15715),取返回信息中的ImageId字段。
|
|
28837
|
+
:type ImageId: str
|
|
28838
|
+
"""
|
|
28839
|
+
self._ClusterId = None
|
|
28840
|
+
self._ImageId = None
|
|
28841
|
+
|
|
28842
|
+
@property
|
|
28843
|
+
def ClusterId(self):
|
|
28844
|
+
return self._ClusterId
|
|
28845
|
+
|
|
28846
|
+
@ClusterId.setter
|
|
28847
|
+
def ClusterId(self, ClusterId):
|
|
28848
|
+
self._ClusterId = ClusterId
|
|
28849
|
+
|
|
28850
|
+
@property
|
|
28851
|
+
def ImageId(self):
|
|
28852
|
+
return self._ImageId
|
|
28853
|
+
|
|
28854
|
+
@ImageId.setter
|
|
28855
|
+
def ImageId(self, ImageId):
|
|
28856
|
+
self._ImageId = ImageId
|
|
28857
|
+
|
|
28858
|
+
|
|
28859
|
+
def _deserialize(self, params):
|
|
28860
|
+
self._ClusterId = params.get("ClusterId")
|
|
28861
|
+
self._ImageId = params.get("ImageId")
|
|
28862
|
+
memeber_set = set(params.keys())
|
|
28863
|
+
for name, value in vars(self).items():
|
|
28864
|
+
property_name = name[1:]
|
|
28865
|
+
if property_name in memeber_set:
|
|
28866
|
+
memeber_set.remove(property_name)
|
|
28867
|
+
if len(memeber_set) > 0:
|
|
28868
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
28869
|
+
|
|
28870
|
+
|
|
28871
|
+
|
|
28872
|
+
class ModifyClusterImageResponse(AbstractModel):
|
|
28873
|
+
"""ModifyClusterImage返回参数结构体
|
|
28874
|
+
|
|
28875
|
+
"""
|
|
28876
|
+
|
|
28877
|
+
def __init__(self):
|
|
28878
|
+
r"""
|
|
28879
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
28880
|
+
:type RequestId: str
|
|
28881
|
+
"""
|
|
28882
|
+
self._RequestId = None
|
|
28883
|
+
|
|
28884
|
+
@property
|
|
28885
|
+
def RequestId(self):
|
|
28886
|
+
return self._RequestId
|
|
28887
|
+
|
|
28888
|
+
@RequestId.setter
|
|
28889
|
+
def RequestId(self, RequestId):
|
|
28890
|
+
self._RequestId = RequestId
|
|
28891
|
+
|
|
28892
|
+
|
|
28893
|
+
def _deserialize(self, params):
|
|
28894
|
+
self._RequestId = params.get("RequestId")
|
|
28895
|
+
|
|
28896
|
+
|
|
28827
28897
|
class ModifyClusterNodePoolRequest(AbstractModel):
|
|
28828
28898
|
"""ModifyClusterNodePool请求参数结构体
|
|
28829
28899
|
|
|
@@ -4350,6 +4350,29 @@ class TkeClient(AbstractClient):
|
|
|
4350
4350
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4351
4351
|
|
|
4352
4352
|
|
|
4353
|
+
def ModifyClusterImage(self, request):
|
|
4354
|
+
"""修改集群镜像
|
|
4355
|
+
|
|
4356
|
+
:param request: Request instance for ModifyClusterImage.
|
|
4357
|
+
:type request: :class:`tencentcloud.tke.v20180525.models.ModifyClusterImageRequest`
|
|
4358
|
+
:rtype: :class:`tencentcloud.tke.v20180525.models.ModifyClusterImageResponse`
|
|
4359
|
+
|
|
4360
|
+
"""
|
|
4361
|
+
try:
|
|
4362
|
+
params = request._serialize()
|
|
4363
|
+
headers = request.headers
|
|
4364
|
+
body = self.call("ModifyClusterImage", params, headers=headers)
|
|
4365
|
+
response = json.loads(body)
|
|
4366
|
+
model = models.ModifyClusterImageResponse()
|
|
4367
|
+
model._deserialize(response["Response"])
|
|
4368
|
+
return model
|
|
4369
|
+
except Exception as e:
|
|
4370
|
+
if isinstance(e, TencentCloudSDKException):
|
|
4371
|
+
raise
|
|
4372
|
+
else:
|
|
4373
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4374
|
+
|
|
4375
|
+
|
|
4353
4376
|
def ModifyClusterNodePool(self, request):
|
|
4354
4377
|
"""编辑节点池
|
|
4355
4378
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1258
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1256
|
|
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
|