tencentcloud-sdk-python-tke 3.0.875__tar.gz → 3.0.877__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 (14) hide show
  1. {tencentcloud-sdk-python-tke-3.0.875 → tencentcloud-sdk-python-tke-3.0.877}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-tke-3.0.875 → tencentcloud-sdk-python-tke-3.0.877}/tencentcloud/__init__.py +1 -1
  3. {tencentcloud-sdk-python-tke-3.0.875 → tencentcloud-sdk-python-tke-3.0.877}/tencentcloud/tke/v20180525/models.py +50 -0
  4. {tencentcloud-sdk-python-tke-3.0.875 → tencentcloud-sdk-python-tke-3.0.877}/tencentcloud/tke/v20180525/tke_client.py +23 -0
  5. {tencentcloud-sdk-python-tke-3.0.875 → tencentcloud-sdk-python-tke-3.0.877}/tencentcloud_sdk_python_tke.egg-info/PKG-INFO +1 -1
  6. {tencentcloud-sdk-python-tke-3.0.875 → tencentcloud-sdk-python-tke-3.0.877}/README.rst +0 -0
  7. {tencentcloud-sdk-python-tke-3.0.875 → tencentcloud-sdk-python-tke-3.0.877}/setup.cfg +0 -0
  8. {tencentcloud-sdk-python-tke-3.0.875 → tencentcloud-sdk-python-tke-3.0.877}/setup.py +0 -0
  9. {tencentcloud-sdk-python-tke-3.0.875 → tencentcloud-sdk-python-tke-3.0.877}/tencentcloud/tke/__init__.py +0 -0
  10. {tencentcloud-sdk-python-tke-3.0.875 → tencentcloud-sdk-python-tke-3.0.877}/tencentcloud/tke/v20180525/__init__.py +0 -0
  11. {tencentcloud-sdk-python-tke-3.0.875 → tencentcloud-sdk-python-tke-3.0.877}/tencentcloud/tke/v20180525/errorcodes.py +0 -0
  12. {tencentcloud-sdk-python-tke-3.0.875 → tencentcloud-sdk-python-tke-3.0.877}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
  13. {tencentcloud-sdk-python-tke-3.0.875 → tencentcloud-sdk-python-tke-3.0.877}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
  14. {tencentcloud-sdk-python-tke-3.0.875 → tencentcloud-sdk-python-tke-3.0.877}/tencentcloud_sdk_python_tke.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-tke
3
- Version: 3.0.875
3
+ Version: 3.0.877
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
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.875'
17
+ __version__ = '3.0.877'
@@ -17416,6 +17416,56 @@ class UninstallLogAgentResponse(AbstractModel):
17416
17416
  self.RequestId = params.get("RequestId")
17417
17417
 
17418
17418
 
17419
+ class UpdateClusterKubeconfigRequest(AbstractModel):
17420
+ """UpdateClusterKubeconfig请求参数结构体
17421
+
17422
+ """
17423
+
17424
+ def __init__(self):
17425
+ r"""
17426
+ :param ClusterId: 集群ID
17427
+ :type ClusterId: str
17428
+ :param SubAccounts: 子账户Uin列表,传空默认为调用此接口的SubUin
17429
+ :type SubAccounts: list of str
17430
+ """
17431
+ self.ClusterId = None
17432
+ self.SubAccounts = None
17433
+
17434
+
17435
+ def _deserialize(self, params):
17436
+ self.ClusterId = params.get("ClusterId")
17437
+ self.SubAccounts = params.get("SubAccounts")
17438
+ memeber_set = set(params.keys())
17439
+ for name, value in vars(self).items():
17440
+ if name in memeber_set:
17441
+ memeber_set.remove(name)
17442
+ if len(memeber_set) > 0:
17443
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
17444
+
17445
+
17446
+
17447
+ class UpdateClusterKubeconfigResponse(AbstractModel):
17448
+ """UpdateClusterKubeconfig返回参数结构体
17449
+
17450
+ """
17451
+
17452
+ def __init__(self):
17453
+ r"""
17454
+ :param UpdatedSubAccounts: 已更新的子账户Uin列表
17455
+ 注意:此字段可能返回 null,表示取不到有效值。
17456
+ :type UpdatedSubAccounts: list of str
17457
+ :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
17458
+ :type RequestId: str
17459
+ """
17460
+ self.UpdatedSubAccounts = None
17461
+ self.RequestId = None
17462
+
17463
+
17464
+ def _deserialize(self, params):
17465
+ self.UpdatedSubAccounts = params.get("UpdatedSubAccounts")
17466
+ self.RequestId = params.get("RequestId")
17467
+
17468
+
17419
17469
  class UpdateClusterVersionRequest(AbstractModel):
17420
17470
  """UpdateClusterVersion请求参数结构体
17421
17471
 
@@ -4166,6 +4166,29 @@ class TkeClient(AbstractClient):
4166
4166
  raise TencentCloudSDKException(e.message, e.message)
4167
4167
 
4168
4168
 
4169
+ def UpdateClusterKubeconfig(self, request):
4170
+ """对集群的Kubeconfig信息进行更新
4171
+
4172
+ :param request: Request instance for UpdateClusterKubeconfig.
4173
+ :type request: :class:`tencentcloud.tke.v20180525.models.UpdateClusterKubeconfigRequest`
4174
+ :rtype: :class:`tencentcloud.tke.v20180525.models.UpdateClusterKubeconfigResponse`
4175
+
4176
+ """
4177
+ try:
4178
+ params = request._serialize()
4179
+ headers = request.headers
4180
+ body = self.call("UpdateClusterKubeconfig", params, headers=headers)
4181
+ response = json.loads(body)
4182
+ model = models.UpdateClusterKubeconfigResponse()
4183
+ model._deserialize(response["Response"])
4184
+ return model
4185
+ except Exception as e:
4186
+ if isinstance(e, TencentCloudSDKException):
4187
+ raise
4188
+ else:
4189
+ raise TencentCloudSDKException(e.message, e.message)
4190
+
4191
+
4169
4192
  def UpdateClusterVersion(self, request):
4170
4193
  """升级集群 Master 组件到指定版本
4171
4194
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-tke
3
- Version: 3.0.875
3
+ Version: 3.0.877
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