tencentcloud-sdk-python-tke 3.1.203__tar.gz → 3.1.206__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.203 → tencentcloud_sdk_python_tke-3.1.206}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tke-3.1.203 → tencentcloud_sdk_python_tke-3.1.206}/setup.py +1 -1
- {tencentcloud_sdk_python_tke-3.1.203 → tencentcloud_sdk_python_tke-3.1.206}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tke-3.1.203 → tencentcloud_sdk_python_tke-3.1.206}/tencentcloud/tke/v20180525/models.py +90 -0
- {tencentcloud_sdk_python_tke-3.1.203 → tencentcloud_sdk_python_tke-3.1.206}/tencentcloud_sdk_python_tke.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tke-3.1.206/tencentcloud_sdk_python_tke.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tke-3.1.203/tencentcloud_sdk_python_tke.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tke-3.1.203 → tencentcloud_sdk_python_tke-3.1.206}/README.rst +0 -0
- {tencentcloud_sdk_python_tke-3.1.203 → tencentcloud_sdk_python_tke-3.1.206}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tke-3.1.203 → tencentcloud_sdk_python_tke-3.1.206}/tencentcloud/tke/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.203 → tencentcloud_sdk_python_tke-3.1.206}/tencentcloud/tke/v20180525/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.203 → tencentcloud_sdk_python_tke-3.1.206}/tencentcloud/tke/v20180525/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.203 → tencentcloud_sdk_python_tke-3.1.206}/tencentcloud/tke/v20180525/tke_client.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.203 → tencentcloud_sdk_python_tke-3.1.206}/tencentcloud/tke/v20180525/tke_client_async.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.203 → tencentcloud_sdk_python_tke-3.1.206}/tencentcloud/tke/v20220501/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.203 → tencentcloud_sdk_python_tke-3.1.206}/tencentcloud/tke/v20220501/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.203 → tencentcloud_sdk_python_tke-3.1.206}/tencentcloud/tke/v20220501/models.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.203 → tencentcloud_sdk_python_tke-3.1.206}/tencentcloud/tke/v20220501/tke_client.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.203 → tencentcloud_sdk_python_tke-3.1.206}/tencentcloud/tke/v20220501/tke_client_async.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.203 → tencentcloud_sdk_python_tke-3.1.206}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tke-3.1.203 → tencentcloud_sdk_python_tke-3.1.206}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tke-3.1.203 → tencentcloud_sdk_python_tke-3.1.206}/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.206
|
|
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.206
|
|
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.206,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tke SDK for Python',
|
|
@@ -51104,6 +51104,96 @@ class RotateClusterTokenRequest(AbstractModel):
|
|
|
51104
51104
|
|
|
51105
51105
|
"""
|
|
51106
51106
|
|
|
51107
|
+
def __init__(self):
|
|
51108
|
+
r"""
|
|
51109
|
+
:param _ClusterId: <p>集群ID</p>
|
|
51110
|
+
:type ClusterId: str
|
|
51111
|
+
:param _ClusterType: <p>集群类型,枚举类型:TKEServerless、TKE,为对应集群类型。默认TKE</p>
|
|
51112
|
+
:type ClusterType: str
|
|
51113
|
+
:param _Operation: <p>执行操作,枚举类型:CreateNewToken、RevokeOldToken、RecoverOldToken。<br>CreateNewToken:创建新的token并使之生效,注意默认最多有两个token同时生效,需要多个token生效,Force必须为true。<br>RevokeOldToken:删除老的token并使之失效,此时ClusterToken是必传。<br>RecoverOldToken:恢复老的token并使之生效,此时ClusterToken是必传,必须有对应的RevokeOldToken任务且任务成功才可以调用。</p>
|
|
51114
|
+
:type Operation: str
|
|
51115
|
+
:param _ClusterToken: <p>集群token,只有Operation为RevokeOldToken和RecoverOldToken时需要传入。</p>
|
|
51116
|
+
:type ClusterToken: str
|
|
51117
|
+
:param _Force: <p>默认false,只有Operation为CreateNewToken时需要,设置为true时,才可以超过两个token。</p>
|
|
51118
|
+
:type Force: bool
|
|
51119
|
+
"""
|
|
51120
|
+
self._ClusterId = None
|
|
51121
|
+
self._ClusterType = None
|
|
51122
|
+
self._Operation = None
|
|
51123
|
+
self._ClusterToken = None
|
|
51124
|
+
self._Force = None
|
|
51125
|
+
|
|
51126
|
+
@property
|
|
51127
|
+
def ClusterId(self):
|
|
51128
|
+
r"""<p>集群ID</p>
|
|
51129
|
+
:rtype: str
|
|
51130
|
+
"""
|
|
51131
|
+
return self._ClusterId
|
|
51132
|
+
|
|
51133
|
+
@ClusterId.setter
|
|
51134
|
+
def ClusterId(self, ClusterId):
|
|
51135
|
+
self._ClusterId = ClusterId
|
|
51136
|
+
|
|
51137
|
+
@property
|
|
51138
|
+
def ClusterType(self):
|
|
51139
|
+
r"""<p>集群类型,枚举类型:TKEServerless、TKE,为对应集群类型。默认TKE</p>
|
|
51140
|
+
:rtype: str
|
|
51141
|
+
"""
|
|
51142
|
+
return self._ClusterType
|
|
51143
|
+
|
|
51144
|
+
@ClusterType.setter
|
|
51145
|
+
def ClusterType(self, ClusterType):
|
|
51146
|
+
self._ClusterType = ClusterType
|
|
51147
|
+
|
|
51148
|
+
@property
|
|
51149
|
+
def Operation(self):
|
|
51150
|
+
r"""<p>执行操作,枚举类型:CreateNewToken、RevokeOldToken、RecoverOldToken。<br>CreateNewToken:创建新的token并使之生效,注意默认最多有两个token同时生效,需要多个token生效,Force必须为true。<br>RevokeOldToken:删除老的token并使之失效,此时ClusterToken是必传。<br>RecoverOldToken:恢复老的token并使之生效,此时ClusterToken是必传,必须有对应的RevokeOldToken任务且任务成功才可以调用。</p>
|
|
51151
|
+
:rtype: str
|
|
51152
|
+
"""
|
|
51153
|
+
return self._Operation
|
|
51154
|
+
|
|
51155
|
+
@Operation.setter
|
|
51156
|
+
def Operation(self, Operation):
|
|
51157
|
+
self._Operation = Operation
|
|
51158
|
+
|
|
51159
|
+
@property
|
|
51160
|
+
def ClusterToken(self):
|
|
51161
|
+
r"""<p>集群token,只有Operation为RevokeOldToken和RecoverOldToken时需要传入。</p>
|
|
51162
|
+
:rtype: str
|
|
51163
|
+
"""
|
|
51164
|
+
return self._ClusterToken
|
|
51165
|
+
|
|
51166
|
+
@ClusterToken.setter
|
|
51167
|
+
def ClusterToken(self, ClusterToken):
|
|
51168
|
+
self._ClusterToken = ClusterToken
|
|
51169
|
+
|
|
51170
|
+
@property
|
|
51171
|
+
def Force(self):
|
|
51172
|
+
r"""<p>默认false,只有Operation为CreateNewToken时需要,设置为true时,才可以超过两个token。</p>
|
|
51173
|
+
:rtype: bool
|
|
51174
|
+
"""
|
|
51175
|
+
return self._Force
|
|
51176
|
+
|
|
51177
|
+
@Force.setter
|
|
51178
|
+
def Force(self, Force):
|
|
51179
|
+
self._Force = Force
|
|
51180
|
+
|
|
51181
|
+
|
|
51182
|
+
def _deserialize(self, params):
|
|
51183
|
+
self._ClusterId = params.get("ClusterId")
|
|
51184
|
+
self._ClusterType = params.get("ClusterType")
|
|
51185
|
+
self._Operation = params.get("Operation")
|
|
51186
|
+
self._ClusterToken = params.get("ClusterToken")
|
|
51187
|
+
self._Force = params.get("Force")
|
|
51188
|
+
memeber_set = set(params.keys())
|
|
51189
|
+
for name, value in vars(self).items():
|
|
51190
|
+
property_name = name[1:]
|
|
51191
|
+
if property_name in memeber_set:
|
|
51192
|
+
memeber_set.remove(property_name)
|
|
51193
|
+
if len(memeber_set) > 0:
|
|
51194
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
51195
|
+
|
|
51196
|
+
|
|
51107
51197
|
|
|
51108
51198
|
class RotateClusterTokenResponse(AbstractModel):
|
|
51109
51199
|
r"""RotateClusterToken返回参数结构体
|
|
@@ -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.206
|
|
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.206
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.206
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.203
|
|
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
|
|
File without changes
|
|
File without changes
|