tencentcloud-sdk-python-tke 3.0.1406__tar.gz → 3.0.1413__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.1406 → tencentcloud-sdk-python-tke-3.0.1413}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-tke-3.0.1406 → tencentcloud-sdk-python-tke-3.0.1413}/setup.py +1 -1
- {tencentcloud-sdk-python-tke-3.0.1406 → tencentcloud-sdk-python-tke-3.0.1413}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-tke-3.0.1406 → tencentcloud-sdk-python-tke-3.0.1413}/tencentcloud/tke/v20180525/models.py +98 -54
- {tencentcloud-sdk-python-tke-3.0.1406 → tencentcloud-sdk-python-tke-3.0.1413}/tencentcloud_sdk_python_tke.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-tke-3.0.1413/tencentcloud_sdk_python_tke.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-tke-3.0.1406/tencentcloud_sdk_python_tke.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-tke-3.0.1406 → tencentcloud-sdk-python-tke-3.0.1413}/README.rst +0 -0
- {tencentcloud-sdk-python-tke-3.0.1406 → tencentcloud-sdk-python-tke-3.0.1413}/setup.cfg +0 -0
- {tencentcloud-sdk-python-tke-3.0.1406 → tencentcloud-sdk-python-tke-3.0.1413}/tencentcloud/tke/__init__.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1406 → tencentcloud-sdk-python-tke-3.0.1413}/tencentcloud/tke/v20180525/__init__.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1406 → tencentcloud-sdk-python-tke-3.0.1413}/tencentcloud/tke/v20180525/errorcodes.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1406 → tencentcloud-sdk-python-tke-3.0.1413}/tencentcloud/tke/v20180525/tke_client.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1406 → tencentcloud-sdk-python-tke-3.0.1413}/tencentcloud/tke/v20220501/__init__.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1406 → tencentcloud-sdk-python-tke-3.0.1413}/tencentcloud/tke/v20220501/errorcodes.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1406 → tencentcloud-sdk-python-tke-3.0.1413}/tencentcloud/tke/v20220501/models.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1406 → tencentcloud-sdk-python-tke-3.0.1413}/tencentcloud/tke/v20220501/tke_client.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1406 → tencentcloud-sdk-python-tke-3.0.1413}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-tke-3.0.1406 → tencentcloud-sdk-python-tke-3.0.1413}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-tke-3.0.1406 → tencentcloud-sdk-python-tke-3.0.1413}/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.1413"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Tke SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -3053,7 +3053,9 @@ class ClusterBasicSettings(AbstractModel):
|
|
|
3053
3053
|
:type OsCustomizeType: str
|
|
3054
3054
|
:param _NeedWorkSecurityGroup: 是否开启节点的默认安全组(默认: 否,Alpha特性)
|
|
3055
3055
|
:type NeedWorkSecurityGroup: bool
|
|
3056
|
-
:param _SubnetId:
|
|
3056
|
+
:param _SubnetId: 控制面子网信息,仅在以下场景使用时要求必填。
|
|
3057
|
+
- 容器网络插件为CiliumOverlay时,TKE会从该子网获取2个IP用来创建内网负载均衡。
|
|
3058
|
+
- 创建支持CDC的托管集群,且网络插件为VPC-CNI时,要求预留至少12个IP。
|
|
3057
3059
|
:type SubnetId: str
|
|
3058
3060
|
:param _ClusterLevel: 集群等级,针对托管集群生效
|
|
3059
3061
|
:type ClusterLevel: str
|
|
@@ -3174,7 +3176,9 @@ class ClusterBasicSettings(AbstractModel):
|
|
|
3174
3176
|
|
|
3175
3177
|
@property
|
|
3176
3178
|
def SubnetId(self):
|
|
3177
|
-
"""
|
|
3179
|
+
"""控制面子网信息,仅在以下场景使用时要求必填。
|
|
3180
|
+
- 容器网络插件为CiliumOverlay时,TKE会从该子网获取2个IP用来创建内网负载均衡。
|
|
3181
|
+
- 创建支持CDC的托管集群,且网络插件为VPC-CNI时,要求预留至少12个IP。
|
|
3178
3182
|
:rtype: str
|
|
3179
3183
|
"""
|
|
3180
3184
|
return self._SubnetId
|
|
@@ -4045,6 +4049,10 @@ class ClusterNetworkSettings(AbstractModel):
|
|
|
4045
4049
|
:param _CiliumMode: 集群Cilium Mode配置
|
|
4046
4050
|
- clusterIP
|
|
4047
4051
|
:type CiliumMode: str
|
|
4052
|
+
:param _SubnetId: 控制面子网信息,仅在以下场景返回。
|
|
4053
|
+
- 容器网络插件为CiliumOverlay。
|
|
4054
|
+
- 支持CDC的托管集群,且网络插件为VPC-CNI。
|
|
4055
|
+
:type SubnetId: str
|
|
4048
4056
|
"""
|
|
4049
4057
|
self._ClusterCIDR = None
|
|
4050
4058
|
self._IgnoreClusterCIDRConflict = None
|
|
@@ -4060,6 +4068,7 @@ class ClusterNetworkSettings(AbstractModel):
|
|
|
4060
4068
|
self._IsDualStack = None
|
|
4061
4069
|
self._Ipv6ServiceCIDR = None
|
|
4062
4070
|
self._CiliumMode = None
|
|
4071
|
+
self._SubnetId = None
|
|
4063
4072
|
|
|
4064
4073
|
@property
|
|
4065
4074
|
def ClusterCIDR(self):
|
|
@@ -4217,6 +4226,19 @@ class ClusterNetworkSettings(AbstractModel):
|
|
|
4217
4226
|
def CiliumMode(self, CiliumMode):
|
|
4218
4227
|
self._CiliumMode = CiliumMode
|
|
4219
4228
|
|
|
4229
|
+
@property
|
|
4230
|
+
def SubnetId(self):
|
|
4231
|
+
"""控制面子网信息,仅在以下场景返回。
|
|
4232
|
+
- 容器网络插件为CiliumOverlay。
|
|
4233
|
+
- 支持CDC的托管集群,且网络插件为VPC-CNI。
|
|
4234
|
+
:rtype: str
|
|
4235
|
+
"""
|
|
4236
|
+
return self._SubnetId
|
|
4237
|
+
|
|
4238
|
+
@SubnetId.setter
|
|
4239
|
+
def SubnetId(self, SubnetId):
|
|
4240
|
+
self._SubnetId = SubnetId
|
|
4241
|
+
|
|
4220
4242
|
|
|
4221
4243
|
def _deserialize(self, params):
|
|
4222
4244
|
self._ClusterCIDR = params.get("ClusterCIDR")
|
|
@@ -4233,6 +4255,7 @@ class ClusterNetworkSettings(AbstractModel):
|
|
|
4233
4255
|
self._IsDualStack = params.get("IsDualStack")
|
|
4234
4256
|
self._Ipv6ServiceCIDR = params.get("Ipv6ServiceCIDR")
|
|
4235
4257
|
self._CiliumMode = params.get("CiliumMode")
|
|
4258
|
+
self._SubnetId = params.get("SubnetId")
|
|
4236
4259
|
memeber_set = set(params.keys())
|
|
4237
4260
|
for name, value in vars(self).items():
|
|
4238
4261
|
property_name = name[1:]
|
|
@@ -6331,6 +6354,8 @@ class CreateClusterRequest(AbstractModel):
|
|
|
6331
6354
|
:type ExtensionAddons: list of ExtensionAddon
|
|
6332
6355
|
:param _CdcId: 本地专用集群Id
|
|
6333
6356
|
:type CdcId: str
|
|
6357
|
+
:param _DisableAddons: 屏蔽安装指定Addon组件,填写相应的AddonName
|
|
6358
|
+
:type DisableAddons: list of str
|
|
6334
6359
|
"""
|
|
6335
6360
|
self._ClusterType = None
|
|
6336
6361
|
self._ClusterCIDRSettings = None
|
|
@@ -6342,6 +6367,7 @@ class CreateClusterRequest(AbstractModel):
|
|
|
6342
6367
|
self._InstanceDataDiskMountSettings = None
|
|
6343
6368
|
self._ExtensionAddons = None
|
|
6344
6369
|
self._CdcId = None
|
|
6370
|
+
self._DisableAddons = None
|
|
6345
6371
|
|
|
6346
6372
|
@property
|
|
6347
6373
|
def ClusterType(self):
|
|
@@ -6453,6 +6479,17 @@ class CreateClusterRequest(AbstractModel):
|
|
|
6453
6479
|
def CdcId(self, CdcId):
|
|
6454
6480
|
self._CdcId = CdcId
|
|
6455
6481
|
|
|
6482
|
+
@property
|
|
6483
|
+
def DisableAddons(self):
|
|
6484
|
+
"""屏蔽安装指定Addon组件,填写相应的AddonName
|
|
6485
|
+
:rtype: list of str
|
|
6486
|
+
"""
|
|
6487
|
+
return self._DisableAddons
|
|
6488
|
+
|
|
6489
|
+
@DisableAddons.setter
|
|
6490
|
+
def DisableAddons(self, DisableAddons):
|
|
6491
|
+
self._DisableAddons = DisableAddons
|
|
6492
|
+
|
|
6456
6493
|
|
|
6457
6494
|
def _deserialize(self, params):
|
|
6458
6495
|
self._ClusterType = params.get("ClusterType")
|
|
@@ -6493,6 +6530,7 @@ class CreateClusterRequest(AbstractModel):
|
|
|
6493
6530
|
obj._deserialize(item)
|
|
6494
6531
|
self._ExtensionAddons.append(obj)
|
|
6495
6532
|
self._CdcId = params.get("CdcId")
|
|
6533
|
+
self._DisableAddons = params.get("DisableAddons")
|
|
6496
6534
|
memeber_set = set(params.keys())
|
|
6497
6535
|
for name, value in vars(self).items():
|
|
6498
6536
|
property_name = name[1:]
|
|
@@ -6756,13 +6794,13 @@ class CreateClusterVirtualNodePoolRequest(AbstractModel):
|
|
|
6756
6794
|
|
|
6757
6795
|
def __init__(self):
|
|
6758
6796
|
r"""
|
|
6759
|
-
:param _ClusterId: 集群
|
|
6797
|
+
:param _ClusterId: 集群ID,通过DescribeClusters接口获取
|
|
6760
6798
|
:type ClusterId: str
|
|
6761
6799
|
:param _Name: 节点池名称
|
|
6762
6800
|
:type Name: str
|
|
6763
6801
|
:param _SubnetIds: 子网ID列表
|
|
6764
6802
|
:type SubnetIds: list of str
|
|
6765
|
-
:param _SecurityGroupIds: 安全组ID
|
|
6803
|
+
:param _SecurityGroupIds: 安全组ID列表,必选参数
|
|
6766
6804
|
:type SecurityGroupIds: list of str
|
|
6767
6805
|
:param _Labels: 虚拟节点label
|
|
6768
6806
|
:type Labels: list of Label
|
|
@@ -6770,7 +6808,7 @@ class CreateClusterVirtualNodePoolRequest(AbstractModel):
|
|
|
6770
6808
|
:type Taints: list of Taint
|
|
6771
6809
|
:param _VirtualNodes: 节点列表
|
|
6772
6810
|
:type VirtualNodes: list of VirtualNodeSpec
|
|
6773
|
-
:param _DeletionProtection:
|
|
6811
|
+
:param _DeletionProtection: 删除保护开关,默认关闭
|
|
6774
6812
|
:type DeletionProtection: bool
|
|
6775
6813
|
:param _OS: 节点池操作系统:
|
|
6776
6814
|
- linux(默认)
|
|
@@ -6789,7 +6827,7 @@ class CreateClusterVirtualNodePoolRequest(AbstractModel):
|
|
|
6789
6827
|
|
|
6790
6828
|
@property
|
|
6791
6829
|
def ClusterId(self):
|
|
6792
|
-
"""集群
|
|
6830
|
+
"""集群ID,通过DescribeClusters接口获取
|
|
6793
6831
|
:rtype: str
|
|
6794
6832
|
"""
|
|
6795
6833
|
return self._ClusterId
|
|
@@ -6822,7 +6860,7 @@ class CreateClusterVirtualNodePoolRequest(AbstractModel):
|
|
|
6822
6860
|
|
|
6823
6861
|
@property
|
|
6824
6862
|
def SecurityGroupIds(self):
|
|
6825
|
-
"""安全组ID
|
|
6863
|
+
"""安全组ID列表,必选参数
|
|
6826
6864
|
:rtype: list of str
|
|
6827
6865
|
"""
|
|
6828
6866
|
return self._SecurityGroupIds
|
|
@@ -6866,7 +6904,7 @@ class CreateClusterVirtualNodePoolRequest(AbstractModel):
|
|
|
6866
6904
|
|
|
6867
6905
|
@property
|
|
6868
6906
|
def DeletionProtection(self):
|
|
6869
|
-
"""
|
|
6907
|
+
"""删除保护开关,默认关闭
|
|
6870
6908
|
:rtype: bool
|
|
6871
6909
|
"""
|
|
6872
6910
|
return self._DeletionProtection
|
|
@@ -6974,15 +7012,15 @@ class CreateClusterVirtualNodeRequest(AbstractModel):
|
|
|
6974
7012
|
|
|
6975
7013
|
def __init__(self):
|
|
6976
7014
|
r"""
|
|
6977
|
-
:param _ClusterId: 集群ID
|
|
7015
|
+
:param _ClusterId: 集群ID,通过DescribeClusters接口获取
|
|
6978
7016
|
:type ClusterId: str
|
|
6979
|
-
:param _NodePoolId:
|
|
7017
|
+
:param _NodePoolId: 虚拟节点所属节点池,通过DescribeNodePools接口获取
|
|
6980
7018
|
:type NodePoolId: str
|
|
6981
|
-
:param _SubnetId:
|
|
7019
|
+
:param _SubnetId: 虚拟节点所属子网,SubnetId、SubnetIds、VirtualNodes必选一个。
|
|
6982
7020
|
:type SubnetId: str
|
|
6983
|
-
:param _SubnetIds: 虚拟节点子网ID
|
|
7021
|
+
:param _SubnetIds: 虚拟节点子网ID列表,SubnetId、SubnetIds、VirtualNodes必选一个。
|
|
6984
7022
|
:type SubnetIds: list of str
|
|
6985
|
-
:param _VirtualNodes:
|
|
7023
|
+
:param _VirtualNodes: 虚拟节点列表,SubnetId、SubnetIds、VirtualNodes必选一个。
|
|
6986
7024
|
:type VirtualNodes: list of VirtualNodeSpec
|
|
6987
7025
|
"""
|
|
6988
7026
|
self._ClusterId = None
|
|
@@ -6993,7 +7031,7 @@ class CreateClusterVirtualNodeRequest(AbstractModel):
|
|
|
6993
7031
|
|
|
6994
7032
|
@property
|
|
6995
7033
|
def ClusterId(self):
|
|
6996
|
-
"""集群ID
|
|
7034
|
+
"""集群ID,通过DescribeClusters接口获取
|
|
6997
7035
|
:rtype: str
|
|
6998
7036
|
"""
|
|
6999
7037
|
return self._ClusterId
|
|
@@ -7004,7 +7042,7 @@ class CreateClusterVirtualNodeRequest(AbstractModel):
|
|
|
7004
7042
|
|
|
7005
7043
|
@property
|
|
7006
7044
|
def NodePoolId(self):
|
|
7007
|
-
"""
|
|
7045
|
+
"""虚拟节点所属节点池,通过DescribeNodePools接口获取
|
|
7008
7046
|
:rtype: str
|
|
7009
7047
|
"""
|
|
7010
7048
|
return self._NodePoolId
|
|
@@ -7015,7 +7053,7 @@ class CreateClusterVirtualNodeRequest(AbstractModel):
|
|
|
7015
7053
|
|
|
7016
7054
|
@property
|
|
7017
7055
|
def SubnetId(self):
|
|
7018
|
-
"""
|
|
7056
|
+
"""虚拟节点所属子网,SubnetId、SubnetIds、VirtualNodes必选一个。
|
|
7019
7057
|
:rtype: str
|
|
7020
7058
|
"""
|
|
7021
7059
|
return self._SubnetId
|
|
@@ -7026,7 +7064,7 @@ class CreateClusterVirtualNodeRequest(AbstractModel):
|
|
|
7026
7064
|
|
|
7027
7065
|
@property
|
|
7028
7066
|
def SubnetIds(self):
|
|
7029
|
-
"""虚拟节点子网ID
|
|
7067
|
+
"""虚拟节点子网ID列表,SubnetId、SubnetIds、VirtualNodes必选一个。
|
|
7030
7068
|
:rtype: list of str
|
|
7031
7069
|
"""
|
|
7032
7070
|
return self._SubnetIds
|
|
@@ -7037,7 +7075,7 @@ class CreateClusterVirtualNodeRequest(AbstractModel):
|
|
|
7037
7075
|
|
|
7038
7076
|
@property
|
|
7039
7077
|
def VirtualNodes(self):
|
|
7040
|
-
"""
|
|
7078
|
+
"""虚拟节点列表,SubnetId、SubnetIds、VirtualNodes必选一个。
|
|
7041
7079
|
:rtype: list of VirtualNodeSpec
|
|
7042
7080
|
"""
|
|
7043
7081
|
return self._VirtualNodes
|
|
@@ -11164,9 +11202,9 @@ class DeleteClusterVirtualNodePoolRequest(AbstractModel):
|
|
|
11164
11202
|
|
|
11165
11203
|
def __init__(self):
|
|
11166
11204
|
r"""
|
|
11167
|
-
:param _ClusterId: 集群ID
|
|
11205
|
+
:param _ClusterId: 集群ID,通过DescribeClusters接口获取
|
|
11168
11206
|
:type ClusterId: str
|
|
11169
|
-
:param _NodePoolIds:
|
|
11207
|
+
:param _NodePoolIds: 节点池ID,通过DescribeNodePools接口获取
|
|
11170
11208
|
:type NodePoolIds: list of str
|
|
11171
11209
|
:param _Force: 是否强制删除,在超级节点上有pod的情况下,如果选择非强制删除,则删除会失败
|
|
11172
11210
|
:type Force: bool
|
|
@@ -11177,7 +11215,7 @@ class DeleteClusterVirtualNodePoolRequest(AbstractModel):
|
|
|
11177
11215
|
|
|
11178
11216
|
@property
|
|
11179
11217
|
def ClusterId(self):
|
|
11180
|
-
"""集群ID
|
|
11218
|
+
"""集群ID,通过DescribeClusters接口获取
|
|
11181
11219
|
:rtype: str
|
|
11182
11220
|
"""
|
|
11183
11221
|
return self._ClusterId
|
|
@@ -11188,7 +11226,7 @@ class DeleteClusterVirtualNodePoolRequest(AbstractModel):
|
|
|
11188
11226
|
|
|
11189
11227
|
@property
|
|
11190
11228
|
def NodePoolIds(self):
|
|
11191
|
-
"""
|
|
11229
|
+
"""节点池ID,通过DescribeNodePools接口获取
|
|
11192
11230
|
:rtype: list of str
|
|
11193
11231
|
"""
|
|
11194
11232
|
return self._NodePoolIds
|
|
@@ -11258,9 +11296,9 @@ class DeleteClusterVirtualNodeRequest(AbstractModel):
|
|
|
11258
11296
|
|
|
11259
11297
|
def __init__(self):
|
|
11260
11298
|
r"""
|
|
11261
|
-
:param _ClusterId: 集群ID
|
|
11299
|
+
:param _ClusterId: 集群ID,通过DescribeClusters接口获取
|
|
11262
11300
|
:type ClusterId: str
|
|
11263
|
-
:param _NodeNames:
|
|
11301
|
+
:param _NodeNames: 虚拟节点ID列表
|
|
11264
11302
|
:type NodeNames: list of str
|
|
11265
11303
|
:param _Force: 是否强制删除:如果虚拟节点上有运行中Pod,则非强制删除状态下不会进行删除
|
|
11266
11304
|
:type Force: bool
|
|
@@ -11271,7 +11309,7 @@ class DeleteClusterVirtualNodeRequest(AbstractModel):
|
|
|
11271
11309
|
|
|
11272
11310
|
@property
|
|
11273
11311
|
def ClusterId(self):
|
|
11274
|
-
"""集群ID
|
|
11312
|
+
"""集群ID,通过DescribeClusters接口获取
|
|
11275
11313
|
:rtype: str
|
|
11276
11314
|
"""
|
|
11277
11315
|
return self._ClusterId
|
|
@@ -11282,7 +11320,7 @@ class DeleteClusterVirtualNodeRequest(AbstractModel):
|
|
|
11282
11320
|
|
|
11283
11321
|
@property
|
|
11284
11322
|
def NodeNames(self):
|
|
11285
|
-
"""
|
|
11323
|
+
"""虚拟节点ID列表
|
|
11286
11324
|
:rtype: list of str
|
|
11287
11325
|
"""
|
|
11288
11326
|
return self._NodeNames
|
|
@@ -16590,14 +16628,14 @@ class DescribeClusterVirtualNodePoolsRequest(AbstractModel):
|
|
|
16590
16628
|
|
|
16591
16629
|
def __init__(self):
|
|
16592
16630
|
r"""
|
|
16593
|
-
:param _ClusterId: 集群ID
|
|
16631
|
+
:param _ClusterId: 集群ID,通过DescribeClusters接口获取
|
|
16594
16632
|
:type ClusterId: str
|
|
16595
16633
|
"""
|
|
16596
16634
|
self._ClusterId = None
|
|
16597
16635
|
|
|
16598
16636
|
@property
|
|
16599
16637
|
def ClusterId(self):
|
|
16600
|
-
"""集群ID
|
|
16638
|
+
"""集群ID,通过DescribeClusters接口获取
|
|
16601
16639
|
:rtype: str
|
|
16602
16640
|
"""
|
|
16603
16641
|
return self._ClusterId
|
|
@@ -16689,11 +16727,11 @@ class DescribeClusterVirtualNodeRequest(AbstractModel):
|
|
|
16689
16727
|
|
|
16690
16728
|
def __init__(self):
|
|
16691
16729
|
r"""
|
|
16692
|
-
:param _ClusterId: 集群ID
|
|
16730
|
+
:param _ClusterId: 集群ID,通过DescribeClusters接口获取
|
|
16693
16731
|
:type ClusterId: str
|
|
16694
|
-
:param _NodePoolId: 节点池ID
|
|
16732
|
+
:param _NodePoolId: 节点池ID,通过DescribeNodePools接口获取
|
|
16695
16733
|
:type NodePoolId: str
|
|
16696
|
-
:param _NodeNames:
|
|
16734
|
+
:param _NodeNames: 节点名称,可搜索DescribeClusterVirtualNode接口节点
|
|
16697
16735
|
:type NodeNames: list of str
|
|
16698
16736
|
"""
|
|
16699
16737
|
self._ClusterId = None
|
|
@@ -16702,7 +16740,7 @@ class DescribeClusterVirtualNodeRequest(AbstractModel):
|
|
|
16702
16740
|
|
|
16703
16741
|
@property
|
|
16704
16742
|
def ClusterId(self):
|
|
16705
|
-
"""集群ID
|
|
16743
|
+
"""集群ID,通过DescribeClusters接口获取
|
|
16706
16744
|
:rtype: str
|
|
16707
16745
|
"""
|
|
16708
16746
|
return self._ClusterId
|
|
@@ -16713,7 +16751,7 @@ class DescribeClusterVirtualNodeRequest(AbstractModel):
|
|
|
16713
16751
|
|
|
16714
16752
|
@property
|
|
16715
16753
|
def NodePoolId(self):
|
|
16716
|
-
"""节点池ID
|
|
16754
|
+
"""节点池ID,通过DescribeNodePools接口获取
|
|
16717
16755
|
:rtype: str
|
|
16718
16756
|
"""
|
|
16719
16757
|
return self._NodePoolId
|
|
@@ -16724,7 +16762,7 @@ class DescribeClusterVirtualNodeRequest(AbstractModel):
|
|
|
16724
16762
|
|
|
16725
16763
|
@property
|
|
16726
16764
|
def NodeNames(self):
|
|
16727
|
-
"""
|
|
16765
|
+
"""节点名称,可搜索DescribeClusterVirtualNode接口节点
|
|
16728
16766
|
:rtype: list of str
|
|
16729
16767
|
"""
|
|
16730
16768
|
return self._NodeNames
|
|
@@ -25836,9 +25874,9 @@ class DrainClusterVirtualNodeRequest(AbstractModel):
|
|
|
25836
25874
|
|
|
25837
25875
|
def __init__(self):
|
|
25838
25876
|
r"""
|
|
25839
|
-
:param _ClusterId: 集群ID
|
|
25877
|
+
:param _ClusterId: 集群ID,通过DescribeClusters接口获取
|
|
25840
25878
|
:type ClusterId: str
|
|
25841
|
-
:param _NodeName:
|
|
25879
|
+
:param _NodeName: 节点ID
|
|
25842
25880
|
:type NodeName: str
|
|
25843
25881
|
"""
|
|
25844
25882
|
self._ClusterId = None
|
|
@@ -25846,7 +25884,7 @@ class DrainClusterVirtualNodeRequest(AbstractModel):
|
|
|
25846
25884
|
|
|
25847
25885
|
@property
|
|
25848
25886
|
def ClusterId(self):
|
|
25849
|
-
"""集群ID
|
|
25887
|
+
"""集群ID,通过DescribeClusters接口获取
|
|
25850
25888
|
:rtype: str
|
|
25851
25889
|
"""
|
|
25852
25890
|
return self._ClusterId
|
|
@@ -25857,7 +25895,7 @@ class DrainClusterVirtualNodeRequest(AbstractModel):
|
|
|
25857
25895
|
|
|
25858
25896
|
@property
|
|
25859
25897
|
def NodeName(self):
|
|
25860
|
-
"""
|
|
25898
|
+
"""节点ID
|
|
25861
25899
|
:rtype: str
|
|
25862
25900
|
"""
|
|
25863
25901
|
return self._NodeName
|
|
@@ -34444,19 +34482,19 @@ class ModifyClusterVirtualNodePoolRequest(AbstractModel):
|
|
|
34444
34482
|
|
|
34445
34483
|
def __init__(self):
|
|
34446
34484
|
r"""
|
|
34447
|
-
:param _ClusterId: 集群ID
|
|
34485
|
+
:param _ClusterId: 集群ID,通过DescribeClusters接口获取
|
|
34448
34486
|
:type ClusterId: str
|
|
34449
|
-
:param _NodePoolId: 节点池ID
|
|
34487
|
+
:param _NodePoolId: 节点池ID,通过DescribeNodePools接口获取
|
|
34450
34488
|
:type NodePoolId: str
|
|
34451
|
-
:param _Name:
|
|
34489
|
+
:param _Name: 节点池名称,必须修改至少一个参数
|
|
34452
34490
|
:type Name: str
|
|
34453
|
-
:param _SecurityGroupIds: 安全组ID
|
|
34491
|
+
:param _SecurityGroupIds: 安全组ID列表,必须修改至少一个参数
|
|
34454
34492
|
:type SecurityGroupIds: list of str
|
|
34455
|
-
:param _Labels: 虚拟节点label
|
|
34493
|
+
:param _Labels: 虚拟节点label,必须修改至少一个参数
|
|
34456
34494
|
:type Labels: list of Label
|
|
34457
|
-
:param _Taints: 虚拟节点taint
|
|
34495
|
+
:param _Taints: 虚拟节点taint,必须修改至少一个参数
|
|
34458
34496
|
:type Taints: list of Taint
|
|
34459
|
-
:param _DeletionProtection:
|
|
34497
|
+
:param _DeletionProtection: 删除保护开关,必须修改至少一个参数
|
|
34460
34498
|
:type DeletionProtection: bool
|
|
34461
34499
|
"""
|
|
34462
34500
|
self._ClusterId = None
|
|
@@ -34469,7 +34507,7 @@ class ModifyClusterVirtualNodePoolRequest(AbstractModel):
|
|
|
34469
34507
|
|
|
34470
34508
|
@property
|
|
34471
34509
|
def ClusterId(self):
|
|
34472
|
-
"""集群ID
|
|
34510
|
+
"""集群ID,通过DescribeClusters接口获取
|
|
34473
34511
|
:rtype: str
|
|
34474
34512
|
"""
|
|
34475
34513
|
return self._ClusterId
|
|
@@ -34480,7 +34518,7 @@ class ModifyClusterVirtualNodePoolRequest(AbstractModel):
|
|
|
34480
34518
|
|
|
34481
34519
|
@property
|
|
34482
34520
|
def NodePoolId(self):
|
|
34483
|
-
"""节点池ID
|
|
34521
|
+
"""节点池ID,通过DescribeNodePools接口获取
|
|
34484
34522
|
:rtype: str
|
|
34485
34523
|
"""
|
|
34486
34524
|
return self._NodePoolId
|
|
@@ -34491,7 +34529,7 @@ class ModifyClusterVirtualNodePoolRequest(AbstractModel):
|
|
|
34491
34529
|
|
|
34492
34530
|
@property
|
|
34493
34531
|
def Name(self):
|
|
34494
|
-
"""
|
|
34532
|
+
"""节点池名称,必须修改至少一个参数
|
|
34495
34533
|
:rtype: str
|
|
34496
34534
|
"""
|
|
34497
34535
|
return self._Name
|
|
@@ -34502,7 +34540,7 @@ class ModifyClusterVirtualNodePoolRequest(AbstractModel):
|
|
|
34502
34540
|
|
|
34503
34541
|
@property
|
|
34504
34542
|
def SecurityGroupIds(self):
|
|
34505
|
-
"""安全组ID
|
|
34543
|
+
"""安全组ID列表,必须修改至少一个参数
|
|
34506
34544
|
:rtype: list of str
|
|
34507
34545
|
"""
|
|
34508
34546
|
return self._SecurityGroupIds
|
|
@@ -34513,7 +34551,7 @@ class ModifyClusterVirtualNodePoolRequest(AbstractModel):
|
|
|
34513
34551
|
|
|
34514
34552
|
@property
|
|
34515
34553
|
def Labels(self):
|
|
34516
|
-
"""虚拟节点label
|
|
34554
|
+
"""虚拟节点label,必须修改至少一个参数
|
|
34517
34555
|
:rtype: list of Label
|
|
34518
34556
|
"""
|
|
34519
34557
|
return self._Labels
|
|
@@ -34524,7 +34562,7 @@ class ModifyClusterVirtualNodePoolRequest(AbstractModel):
|
|
|
34524
34562
|
|
|
34525
34563
|
@property
|
|
34526
34564
|
def Taints(self):
|
|
34527
|
-
"""虚拟节点taint
|
|
34565
|
+
"""虚拟节点taint,必须修改至少一个参数
|
|
34528
34566
|
:rtype: list of Taint
|
|
34529
34567
|
"""
|
|
34530
34568
|
return self._Taints
|
|
@@ -34535,7 +34573,7 @@ class ModifyClusterVirtualNodePoolRequest(AbstractModel):
|
|
|
34535
34573
|
|
|
34536
34574
|
@property
|
|
34537
34575
|
def DeletionProtection(self):
|
|
34538
|
-
"""
|
|
34576
|
+
"""删除保护开关,必须修改至少一个参数
|
|
34539
34577
|
:rtype: bool
|
|
34540
34578
|
"""
|
|
34541
34579
|
return self._DeletionProtection
|
|
@@ -48272,6 +48310,9 @@ class VirtualNodePool(AbstractModel):
|
|
|
48272
48310
|
:param _Name: 节点池名称
|
|
48273
48311
|
:type Name: str
|
|
48274
48312
|
:param _LifeState: 节点池生命周期
|
|
48313
|
+
- creating:创建中
|
|
48314
|
+
- normal:正常
|
|
48315
|
+
- updating:更新中
|
|
48275
48316
|
:type LifeState: str
|
|
48276
48317
|
:param _Labels: 虚拟节点label
|
|
48277
48318
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -48324,6 +48365,9 @@ class VirtualNodePool(AbstractModel):
|
|
|
48324
48365
|
@property
|
|
48325
48366
|
def LifeState(self):
|
|
48326
48367
|
"""节点池生命周期
|
|
48368
|
+
- creating:创建中
|
|
48369
|
+
- normal:正常
|
|
48370
|
+
- updating:更新中
|
|
48327
48371
|
:rtype: str
|
|
48328
48372
|
"""
|
|
48329
48373
|
return self._LifeState
|
|
@@ -48391,7 +48435,7 @@ class VirtualNodeSpec(AbstractModel):
|
|
|
48391
48435
|
|
|
48392
48436
|
def __init__(self):
|
|
48393
48437
|
r"""
|
|
48394
|
-
:param _DisplayName:
|
|
48438
|
+
:param _DisplayName: 节点展示名称,建议不超过20个字符
|
|
48395
48439
|
:type DisplayName: str
|
|
48396
48440
|
:param _SubnetId: 子网ID
|
|
48397
48441
|
:type SubnetId: str
|
|
@@ -48404,7 +48448,7 @@ class VirtualNodeSpec(AbstractModel):
|
|
|
48404
48448
|
|
|
48405
48449
|
@property
|
|
48406
48450
|
def DisplayName(self):
|
|
48407
|
-
"""
|
|
48451
|
+
"""节点展示名称,建议不超过20个字符
|
|
48408
48452
|
:rtype: str
|
|
48409
48453
|
"""
|
|
48410
48454
|
return self._DisplayName
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1413
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1406
|
|
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
|