tencentcloud-sdk-python-tke 3.1.78__tar.gz → 3.1.85__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.78 → tencentcloud_sdk_python_tke-3.1.85}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tke-3.1.78 → tencentcloud_sdk_python_tke-3.1.85}/setup.py +1 -1
- {tencentcloud_sdk_python_tke-3.1.78 → tencentcloud_sdk_python_tke-3.1.85}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tke-3.1.78 → tencentcloud_sdk_python_tke-3.1.85}/tencentcloud/tke/v20180525/models.py +109 -0
- {tencentcloud_sdk_python_tke-3.1.78 → tencentcloud_sdk_python_tke-3.1.85}/tencentcloud/tke/v20180525/tke_client.py +23 -0
- {tencentcloud_sdk_python_tke-3.1.78 → tencentcloud_sdk_python_tke-3.1.85}/tencentcloud/tke/v20180525/tke_client_async.py +18 -0
- {tencentcloud_sdk_python_tke-3.1.78 → tencentcloud_sdk_python_tke-3.1.85}/tencentcloud_sdk_python_tke.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tke-3.1.85/tencentcloud_sdk_python_tke.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tke-3.1.78/tencentcloud_sdk_python_tke.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tke-3.1.78 → tencentcloud_sdk_python_tke-3.1.85}/README.rst +0 -0
- {tencentcloud_sdk_python_tke-3.1.78 → tencentcloud_sdk_python_tke-3.1.85}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tke-3.1.78 → tencentcloud_sdk_python_tke-3.1.85}/tencentcloud/tke/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.78 → tencentcloud_sdk_python_tke-3.1.85}/tencentcloud/tke/v20180525/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.78 → tencentcloud_sdk_python_tke-3.1.85}/tencentcloud/tke/v20180525/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.78 → tencentcloud_sdk_python_tke-3.1.85}/tencentcloud/tke/v20220501/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.78 → tencentcloud_sdk_python_tke-3.1.85}/tencentcloud/tke/v20220501/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.78 → tencentcloud_sdk_python_tke-3.1.85}/tencentcloud/tke/v20220501/models.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.78 → tencentcloud_sdk_python_tke-3.1.85}/tencentcloud/tke/v20220501/tke_client.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.78 → tencentcloud_sdk_python_tke-3.1.85}/tencentcloud/tke/v20220501/tke_client_async.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.78 → tencentcloud_sdk_python_tke-3.1.85}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tke-3.1.78 → tencentcloud_sdk_python_tke-3.1.85}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tke-3.1.78 → tencentcloud_sdk_python_tke-3.1.85}/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.85
|
|
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.85
|
|
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.85,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tke SDK for Python',
|
|
@@ -11057,11 +11057,25 @@ class CreateRollOutSequenceResponse(AbstractModel):
|
|
|
11057
11057
|
|
|
11058
11058
|
def __init__(self):
|
|
11059
11059
|
r"""
|
|
11060
|
+
:param _ID: 发布序列ID
|
|
11061
|
+
:type ID: int
|
|
11060
11062
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11061
11063
|
:type RequestId: str
|
|
11062
11064
|
"""
|
|
11065
|
+
self._ID = None
|
|
11063
11066
|
self._RequestId = None
|
|
11064
11067
|
|
|
11068
|
+
@property
|
|
11069
|
+
def ID(self):
|
|
11070
|
+
r"""发布序列ID
|
|
11071
|
+
:rtype: int
|
|
11072
|
+
"""
|
|
11073
|
+
return self._ID
|
|
11074
|
+
|
|
11075
|
+
@ID.setter
|
|
11076
|
+
def ID(self, ID):
|
|
11077
|
+
self._ID = ID
|
|
11078
|
+
|
|
11065
11079
|
@property
|
|
11066
11080
|
def RequestId(self):
|
|
11067
11081
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -11075,6 +11089,7 @@ class CreateRollOutSequenceResponse(AbstractModel):
|
|
|
11075
11089
|
|
|
11076
11090
|
|
|
11077
11091
|
def _deserialize(self, params):
|
|
11092
|
+
self._ID = params.get("ID")
|
|
11078
11093
|
self._RequestId = params.get("RequestId")
|
|
11079
11094
|
|
|
11080
11095
|
|
|
@@ -40885,6 +40900,100 @@ class ModifyGlobalMaintenanceWindowAndExclusionsResponse(AbstractModel):
|
|
|
40885
40900
|
self._RequestId = params.get("RequestId")
|
|
40886
40901
|
|
|
40887
40902
|
|
|
40903
|
+
class ModifyLogConfigRequest(AbstractModel):
|
|
40904
|
+
r"""ModifyLogConfig请求参数结构体
|
|
40905
|
+
|
|
40906
|
+
"""
|
|
40907
|
+
|
|
40908
|
+
def __init__(self):
|
|
40909
|
+
r"""
|
|
40910
|
+
:param _ClusterId: 集群ID
|
|
40911
|
+
:type ClusterId: str
|
|
40912
|
+
:param _LogConfig: 日志采集配置的json表达
|
|
40913
|
+
:type LogConfig: str
|
|
40914
|
+
:param _ClusterType: 当前集群类型支持tke(标准集群)、eks(serverless集群)
|
|
40915
|
+
:type ClusterType: str
|
|
40916
|
+
"""
|
|
40917
|
+
self._ClusterId = None
|
|
40918
|
+
self._LogConfig = None
|
|
40919
|
+
self._ClusterType = None
|
|
40920
|
+
|
|
40921
|
+
@property
|
|
40922
|
+
def ClusterId(self):
|
|
40923
|
+
r"""集群ID
|
|
40924
|
+
:rtype: str
|
|
40925
|
+
"""
|
|
40926
|
+
return self._ClusterId
|
|
40927
|
+
|
|
40928
|
+
@ClusterId.setter
|
|
40929
|
+
def ClusterId(self, ClusterId):
|
|
40930
|
+
self._ClusterId = ClusterId
|
|
40931
|
+
|
|
40932
|
+
@property
|
|
40933
|
+
def LogConfig(self):
|
|
40934
|
+
r"""日志采集配置的json表达
|
|
40935
|
+
:rtype: str
|
|
40936
|
+
"""
|
|
40937
|
+
return self._LogConfig
|
|
40938
|
+
|
|
40939
|
+
@LogConfig.setter
|
|
40940
|
+
def LogConfig(self, LogConfig):
|
|
40941
|
+
self._LogConfig = LogConfig
|
|
40942
|
+
|
|
40943
|
+
@property
|
|
40944
|
+
def ClusterType(self):
|
|
40945
|
+
r"""当前集群类型支持tke(标准集群)、eks(serverless集群)
|
|
40946
|
+
:rtype: str
|
|
40947
|
+
"""
|
|
40948
|
+
return self._ClusterType
|
|
40949
|
+
|
|
40950
|
+
@ClusterType.setter
|
|
40951
|
+
def ClusterType(self, ClusterType):
|
|
40952
|
+
self._ClusterType = ClusterType
|
|
40953
|
+
|
|
40954
|
+
|
|
40955
|
+
def _deserialize(self, params):
|
|
40956
|
+
self._ClusterId = params.get("ClusterId")
|
|
40957
|
+
self._LogConfig = params.get("LogConfig")
|
|
40958
|
+
self._ClusterType = params.get("ClusterType")
|
|
40959
|
+
memeber_set = set(params.keys())
|
|
40960
|
+
for name, value in vars(self).items():
|
|
40961
|
+
property_name = name[1:]
|
|
40962
|
+
if property_name in memeber_set:
|
|
40963
|
+
memeber_set.remove(property_name)
|
|
40964
|
+
if len(memeber_set) > 0:
|
|
40965
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
40966
|
+
|
|
40967
|
+
|
|
40968
|
+
|
|
40969
|
+
class ModifyLogConfigResponse(AbstractModel):
|
|
40970
|
+
r"""ModifyLogConfig返回参数结构体
|
|
40971
|
+
|
|
40972
|
+
"""
|
|
40973
|
+
|
|
40974
|
+
def __init__(self):
|
|
40975
|
+
r"""
|
|
40976
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
40977
|
+
:type RequestId: str
|
|
40978
|
+
"""
|
|
40979
|
+
self._RequestId = None
|
|
40980
|
+
|
|
40981
|
+
@property
|
|
40982
|
+
def RequestId(self):
|
|
40983
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
40984
|
+
:rtype: str
|
|
40985
|
+
"""
|
|
40986
|
+
return self._RequestId
|
|
40987
|
+
|
|
40988
|
+
@RequestId.setter
|
|
40989
|
+
def RequestId(self, RequestId):
|
|
40990
|
+
self._RequestId = RequestId
|
|
40991
|
+
|
|
40992
|
+
|
|
40993
|
+
def _deserialize(self, params):
|
|
40994
|
+
self._RequestId = params.get("RequestId")
|
|
40995
|
+
|
|
40996
|
+
|
|
40888
40997
|
class ModifyMasterComponentRequest(AbstractModel):
|
|
40889
40998
|
r"""ModifyMasterComponent请求参数结构体
|
|
40890
40999
|
|
|
@@ -5362,6 +5362,29 @@ class TkeClient(AbstractClient):
|
|
|
5362
5362
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
5363
5363
|
|
|
5364
5364
|
|
|
5365
|
+
def ModifyLogConfig(self, request):
|
|
5366
|
+
r"""修改日志采集配置
|
|
5367
|
+
|
|
5368
|
+
:param request: Request instance for ModifyLogConfig.
|
|
5369
|
+
:type request: :class:`tencentcloud.tke.v20180525.models.ModifyLogConfigRequest`
|
|
5370
|
+
:rtype: :class:`tencentcloud.tke.v20180525.models.ModifyLogConfigResponse`
|
|
5371
|
+
|
|
5372
|
+
"""
|
|
5373
|
+
try:
|
|
5374
|
+
params = request._serialize()
|
|
5375
|
+
headers = request.headers
|
|
5376
|
+
body = self.call("ModifyLogConfig", params, headers=headers)
|
|
5377
|
+
response = json.loads(body)
|
|
5378
|
+
model = models.ModifyLogConfigResponse()
|
|
5379
|
+
model._deserialize(response["Response"])
|
|
5380
|
+
return model
|
|
5381
|
+
except Exception as e:
|
|
5382
|
+
if isinstance(e, TencentCloudSDKException):
|
|
5383
|
+
raise
|
|
5384
|
+
else:
|
|
5385
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
5386
|
+
|
|
5387
|
+
|
|
5365
5388
|
def ModifyMasterComponent(self, request):
|
|
5366
5389
|
r"""修改master组件,支持kube-apiserver、kube-scheduler、kube-controller-manager副本数调整为0和恢复
|
|
5367
5390
|
|
|
@@ -4201,6 +4201,24 @@ class TkeClient(AbstractClient):
|
|
|
4201
4201
|
|
|
4202
4202
|
return await self.call_and_deserialize(**kwargs)
|
|
4203
4203
|
|
|
4204
|
+
async def ModifyLogConfig(
|
|
4205
|
+
self,
|
|
4206
|
+
request: models.ModifyLogConfigRequest,
|
|
4207
|
+
opts: Dict = None,
|
|
4208
|
+
) -> models.ModifyLogConfigResponse:
|
|
4209
|
+
"""
|
|
4210
|
+
修改日志采集配置
|
|
4211
|
+
"""
|
|
4212
|
+
|
|
4213
|
+
kwargs = {}
|
|
4214
|
+
kwargs["action"] = "ModifyLogConfig"
|
|
4215
|
+
kwargs["params"] = request._serialize()
|
|
4216
|
+
kwargs["resp_cls"] = models.ModifyLogConfigResponse
|
|
4217
|
+
kwargs["headers"] = request.headers
|
|
4218
|
+
kwargs["opts"] = opts or {}
|
|
4219
|
+
|
|
4220
|
+
return await self.call_and_deserialize(**kwargs)
|
|
4221
|
+
|
|
4204
4222
|
async def ModifyMasterComponent(
|
|
4205
4223
|
self,
|
|
4206
4224
|
request: models.ModifyMasterComponentRequest,
|
|
@@ -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.85
|
|
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.85
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.85
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.78
|
|
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
|