tencentcloud-sdk-python-tke 3.1.134__tar.gz → 3.1.148__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.134 → tencentcloud_sdk_python_tke-3.1.148}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tke-3.1.134 → tencentcloud_sdk_python_tke-3.1.148}/setup.py +1 -1
- {tencentcloud_sdk_python_tke-3.1.134 → tencentcloud_sdk_python_tke-3.1.148}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tke-3.1.134 → tencentcloud_sdk_python_tke-3.1.148}/tencentcloud/tke/v20180525/models.py +119 -118
- {tencentcloud_sdk_python_tke-3.1.134 → tencentcloud_sdk_python_tke-3.1.148}/tencentcloud/tke/v20220501/models.py +15 -0
- {tencentcloud_sdk_python_tke-3.1.134 → tencentcloud_sdk_python_tke-3.1.148}/tencentcloud_sdk_python_tke.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tke-3.1.148/tencentcloud_sdk_python_tke.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tke-3.1.134/tencentcloud_sdk_python_tke.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tke-3.1.134 → tencentcloud_sdk_python_tke-3.1.148}/README.rst +0 -0
- {tencentcloud_sdk_python_tke-3.1.134 → tencentcloud_sdk_python_tke-3.1.148}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tke-3.1.134 → tencentcloud_sdk_python_tke-3.1.148}/tencentcloud/tke/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.134 → tencentcloud_sdk_python_tke-3.1.148}/tencentcloud/tke/v20180525/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.134 → tencentcloud_sdk_python_tke-3.1.148}/tencentcloud/tke/v20180525/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.134 → tencentcloud_sdk_python_tke-3.1.148}/tencentcloud/tke/v20180525/tke_client.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.134 → tencentcloud_sdk_python_tke-3.1.148}/tencentcloud/tke/v20180525/tke_client_async.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.134 → tencentcloud_sdk_python_tke-3.1.148}/tencentcloud/tke/v20220501/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.134 → tencentcloud_sdk_python_tke-3.1.148}/tencentcloud/tke/v20220501/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.134 → tencentcloud_sdk_python_tke-3.1.148}/tencentcloud/tke/v20220501/tke_client.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.134 → tencentcloud_sdk_python_tke-3.1.148}/tencentcloud/tke/v20220501/tke_client_async.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.134 → tencentcloud_sdk_python_tke-3.1.148}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tke-3.1.134 → tencentcloud_sdk_python_tke-3.1.148}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tke-3.1.134 → tencentcloud_sdk_python_tke-3.1.148}/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.148
|
|
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.148
|
|
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.148,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tke SDK for Python',
|
|
@@ -6783,36 +6783,38 @@ class CreateClusterNodePoolRequest(AbstractModel):
|
|
|
6783
6783
|
|
|
6784
6784
|
def __init__(self):
|
|
6785
6785
|
r"""
|
|
6786
|
-
:param _ClusterId: cluster id
|
|
6786
|
+
:param _ClusterId: <p>cluster id</p>
|
|
6787
6787
|
:type ClusterId: str
|
|
6788
|
-
:param _AutoScalingGroupPara: AutoScalingGroupPara AS组参数,参考 https://cloud.tencent.com/document/product/377/20440
|
|
6788
|
+
:param _AutoScalingGroupPara: <p>AutoScalingGroupPara AS组参数,参考 https://cloud.tencent.com/document/product/377/20440</p>
|
|
6789
6789
|
:type AutoScalingGroupPara: str
|
|
6790
|
-
:param _LaunchConfigurePara: LaunchConfigurePara 运行参数,参考 https://cloud.tencent.com/document/product/377/20447
|
|
6790
|
+
:param _LaunchConfigurePara: <p>LaunchConfigurePara 运行参数,参考 https://cloud.tencent.com/document/product/377/20447</p>
|
|
6791
6791
|
:type LaunchConfigurePara: str
|
|
6792
|
-
:param _InstanceAdvancedSettings: InstanceAdvancedSettings
|
|
6792
|
+
:param _InstanceAdvancedSettings: <p>InstanceAdvancedSettings</p>
|
|
6793
6793
|
:type InstanceAdvancedSettings: :class:`tencentcloud.tke.v20180525.models.InstanceAdvancedSettings`
|
|
6794
|
-
:param _EnableAutoscale:
|
|
6794
|
+
:param _EnableAutoscale: <p>是否启用自动伸缩</p>
|
|
6795
6795
|
:type EnableAutoscale: bool
|
|
6796
|
-
:param _Name:
|
|
6796
|
+
:param _Name: <p>节点池名称</p>
|
|
6797
6797
|
:type Name: str
|
|
6798
|
-
:param _Labels: Labels
|
|
6798
|
+
:param _Labels: <p>Labels标签</p>
|
|
6799
6799
|
:type Labels: list of Label
|
|
6800
|
-
:param _Taints: Taints
|
|
6800
|
+
:param _Taints: <p>Taints互斥</p>
|
|
6801
6801
|
:type Taints: list of Taint
|
|
6802
|
-
:param _Annotations:
|
|
6802
|
+
:param _Annotations: <p>节点Annotation 列表</p>
|
|
6803
6803
|
:type Annotations: list of AnnotationValue
|
|
6804
|
-
:param _ContainerRuntime:
|
|
6804
|
+
:param _ContainerRuntime: <p>节点池纬度运行时类型及版本</p>
|
|
6805
6805
|
:type ContainerRuntime: str
|
|
6806
|
-
:param _RuntimeVersion:
|
|
6806
|
+
:param _RuntimeVersion: <p>运行时版本</p>
|
|
6807
6807
|
:type RuntimeVersion: str
|
|
6808
|
-
:param _NodePoolOs:
|
|
6808
|
+
:param _NodePoolOs: <p>节点池os,当为自定义镜像时,传镜像id;否则为公共镜像的osName</p>
|
|
6809
6809
|
:type NodePoolOs: str
|
|
6810
|
-
:param _OsCustomizeType:
|
|
6810
|
+
:param _OsCustomizeType: <p>容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)</p>
|
|
6811
6811
|
:type OsCustomizeType: str
|
|
6812
|
-
:param _Tags:
|
|
6812
|
+
:param _Tags: <p>资源标签</p>
|
|
6813
6813
|
:type Tags: list of Tag
|
|
6814
|
-
:param _DeletionProtection:
|
|
6814
|
+
:param _DeletionProtection: <p>删除保护开关</p>
|
|
6815
6815
|
:type DeletionProtection: bool
|
|
6816
|
+
:param _SkipValidateOptions: <p>跳过校验选项,目前支持 "VpcDnsCheck"</p>
|
|
6817
|
+
:type SkipValidateOptions: list of str
|
|
6816
6818
|
"""
|
|
6817
6819
|
self._ClusterId = None
|
|
6818
6820
|
self._AutoScalingGroupPara = None
|
|
@@ -6829,10 +6831,11 @@ class CreateClusterNodePoolRequest(AbstractModel):
|
|
|
6829
6831
|
self._OsCustomizeType = None
|
|
6830
6832
|
self._Tags = None
|
|
6831
6833
|
self._DeletionProtection = None
|
|
6834
|
+
self._SkipValidateOptions = None
|
|
6832
6835
|
|
|
6833
6836
|
@property
|
|
6834
6837
|
def ClusterId(self):
|
|
6835
|
-
r"""cluster id
|
|
6838
|
+
r"""<p>cluster id</p>
|
|
6836
6839
|
:rtype: str
|
|
6837
6840
|
"""
|
|
6838
6841
|
return self._ClusterId
|
|
@@ -6843,7 +6846,7 @@ class CreateClusterNodePoolRequest(AbstractModel):
|
|
|
6843
6846
|
|
|
6844
6847
|
@property
|
|
6845
6848
|
def AutoScalingGroupPara(self):
|
|
6846
|
-
r"""AutoScalingGroupPara AS组参数,参考 https://cloud.tencent.com/document/product/377/20440
|
|
6849
|
+
r"""<p>AutoScalingGroupPara AS组参数,参考 https://cloud.tencent.com/document/product/377/20440</p>
|
|
6847
6850
|
:rtype: str
|
|
6848
6851
|
"""
|
|
6849
6852
|
return self._AutoScalingGroupPara
|
|
@@ -6854,7 +6857,7 @@ class CreateClusterNodePoolRequest(AbstractModel):
|
|
|
6854
6857
|
|
|
6855
6858
|
@property
|
|
6856
6859
|
def LaunchConfigurePara(self):
|
|
6857
|
-
r"""LaunchConfigurePara 运行参数,参考 https://cloud.tencent.com/document/product/377/20447
|
|
6860
|
+
r"""<p>LaunchConfigurePara 运行参数,参考 https://cloud.tencent.com/document/product/377/20447</p>
|
|
6858
6861
|
:rtype: str
|
|
6859
6862
|
"""
|
|
6860
6863
|
return self._LaunchConfigurePara
|
|
@@ -6865,7 +6868,7 @@ class CreateClusterNodePoolRequest(AbstractModel):
|
|
|
6865
6868
|
|
|
6866
6869
|
@property
|
|
6867
6870
|
def InstanceAdvancedSettings(self):
|
|
6868
|
-
r"""InstanceAdvancedSettings
|
|
6871
|
+
r"""<p>InstanceAdvancedSettings</p>
|
|
6869
6872
|
:rtype: :class:`tencentcloud.tke.v20180525.models.InstanceAdvancedSettings`
|
|
6870
6873
|
"""
|
|
6871
6874
|
return self._InstanceAdvancedSettings
|
|
@@ -6876,7 +6879,7 @@ class CreateClusterNodePoolRequest(AbstractModel):
|
|
|
6876
6879
|
|
|
6877
6880
|
@property
|
|
6878
6881
|
def EnableAutoscale(self):
|
|
6879
|
-
r"""
|
|
6882
|
+
r"""<p>是否启用自动伸缩</p>
|
|
6880
6883
|
:rtype: bool
|
|
6881
6884
|
"""
|
|
6882
6885
|
return self._EnableAutoscale
|
|
@@ -6887,7 +6890,7 @@ class CreateClusterNodePoolRequest(AbstractModel):
|
|
|
6887
6890
|
|
|
6888
6891
|
@property
|
|
6889
6892
|
def Name(self):
|
|
6890
|
-
r"""
|
|
6893
|
+
r"""<p>节点池名称</p>
|
|
6891
6894
|
:rtype: str
|
|
6892
6895
|
"""
|
|
6893
6896
|
return self._Name
|
|
@@ -6898,7 +6901,7 @@ class CreateClusterNodePoolRequest(AbstractModel):
|
|
|
6898
6901
|
|
|
6899
6902
|
@property
|
|
6900
6903
|
def Labels(self):
|
|
6901
|
-
r"""Labels
|
|
6904
|
+
r"""<p>Labels标签</p>
|
|
6902
6905
|
:rtype: list of Label
|
|
6903
6906
|
"""
|
|
6904
6907
|
return self._Labels
|
|
@@ -6909,7 +6912,7 @@ class CreateClusterNodePoolRequest(AbstractModel):
|
|
|
6909
6912
|
|
|
6910
6913
|
@property
|
|
6911
6914
|
def Taints(self):
|
|
6912
|
-
r"""Taints
|
|
6915
|
+
r"""<p>Taints互斥</p>
|
|
6913
6916
|
:rtype: list of Taint
|
|
6914
6917
|
"""
|
|
6915
6918
|
return self._Taints
|
|
@@ -6920,7 +6923,7 @@ class CreateClusterNodePoolRequest(AbstractModel):
|
|
|
6920
6923
|
|
|
6921
6924
|
@property
|
|
6922
6925
|
def Annotations(self):
|
|
6923
|
-
r"""
|
|
6926
|
+
r"""<p>节点Annotation 列表</p>
|
|
6924
6927
|
:rtype: list of AnnotationValue
|
|
6925
6928
|
"""
|
|
6926
6929
|
return self._Annotations
|
|
@@ -6931,7 +6934,7 @@ class CreateClusterNodePoolRequest(AbstractModel):
|
|
|
6931
6934
|
|
|
6932
6935
|
@property
|
|
6933
6936
|
def ContainerRuntime(self):
|
|
6934
|
-
r"""
|
|
6937
|
+
r"""<p>节点池纬度运行时类型及版本</p>
|
|
6935
6938
|
:rtype: str
|
|
6936
6939
|
"""
|
|
6937
6940
|
return self._ContainerRuntime
|
|
@@ -6942,7 +6945,7 @@ class CreateClusterNodePoolRequest(AbstractModel):
|
|
|
6942
6945
|
|
|
6943
6946
|
@property
|
|
6944
6947
|
def RuntimeVersion(self):
|
|
6945
|
-
r"""
|
|
6948
|
+
r"""<p>运行时版本</p>
|
|
6946
6949
|
:rtype: str
|
|
6947
6950
|
"""
|
|
6948
6951
|
return self._RuntimeVersion
|
|
@@ -6953,7 +6956,7 @@ class CreateClusterNodePoolRequest(AbstractModel):
|
|
|
6953
6956
|
|
|
6954
6957
|
@property
|
|
6955
6958
|
def NodePoolOs(self):
|
|
6956
|
-
r"""
|
|
6959
|
+
r"""<p>节点池os,当为自定义镜像时,传镜像id;否则为公共镜像的osName</p>
|
|
6957
6960
|
:rtype: str
|
|
6958
6961
|
"""
|
|
6959
6962
|
return self._NodePoolOs
|
|
@@ -6964,7 +6967,7 @@ class CreateClusterNodePoolRequest(AbstractModel):
|
|
|
6964
6967
|
|
|
6965
6968
|
@property
|
|
6966
6969
|
def OsCustomizeType(self):
|
|
6967
|
-
r"""
|
|
6970
|
+
r"""<p>容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)</p>
|
|
6968
6971
|
:rtype: str
|
|
6969
6972
|
"""
|
|
6970
6973
|
return self._OsCustomizeType
|
|
@@ -6975,7 +6978,7 @@ class CreateClusterNodePoolRequest(AbstractModel):
|
|
|
6975
6978
|
|
|
6976
6979
|
@property
|
|
6977
6980
|
def Tags(self):
|
|
6978
|
-
r"""
|
|
6981
|
+
r"""<p>资源标签</p>
|
|
6979
6982
|
:rtype: list of Tag
|
|
6980
6983
|
"""
|
|
6981
6984
|
return self._Tags
|
|
@@ -6986,7 +6989,7 @@ class CreateClusterNodePoolRequest(AbstractModel):
|
|
|
6986
6989
|
|
|
6987
6990
|
@property
|
|
6988
6991
|
def DeletionProtection(self):
|
|
6989
|
-
r"""
|
|
6992
|
+
r"""<p>删除保护开关</p>
|
|
6990
6993
|
:rtype: bool
|
|
6991
6994
|
"""
|
|
6992
6995
|
return self._DeletionProtection
|
|
@@ -6995,6 +6998,17 @@ class CreateClusterNodePoolRequest(AbstractModel):
|
|
|
6995
6998
|
def DeletionProtection(self, DeletionProtection):
|
|
6996
6999
|
self._DeletionProtection = DeletionProtection
|
|
6997
7000
|
|
|
7001
|
+
@property
|
|
7002
|
+
def SkipValidateOptions(self):
|
|
7003
|
+
r"""<p>跳过校验选项,目前支持 "VpcDnsCheck"</p>
|
|
7004
|
+
:rtype: list of str
|
|
7005
|
+
"""
|
|
7006
|
+
return self._SkipValidateOptions
|
|
7007
|
+
|
|
7008
|
+
@SkipValidateOptions.setter
|
|
7009
|
+
def SkipValidateOptions(self, SkipValidateOptions):
|
|
7010
|
+
self._SkipValidateOptions = SkipValidateOptions
|
|
7011
|
+
|
|
6998
7012
|
|
|
6999
7013
|
def _deserialize(self, params):
|
|
7000
7014
|
self._ClusterId = params.get("ClusterId")
|
|
@@ -7034,6 +7048,7 @@ class CreateClusterNodePoolRequest(AbstractModel):
|
|
|
7034
7048
|
obj._deserialize(item)
|
|
7035
7049
|
self._Tags.append(obj)
|
|
7036
7050
|
self._DeletionProtection = params.get("DeletionProtection")
|
|
7051
|
+
self._SkipValidateOptions = params.get("SkipValidateOptions")
|
|
7037
7052
|
memeber_set = set(params.keys())
|
|
7038
7053
|
for name, value in vars(self).items():
|
|
7039
7054
|
property_name = name[1:]
|
|
@@ -7051,7 +7066,7 @@ class CreateClusterNodePoolResponse(AbstractModel):
|
|
|
7051
7066
|
|
|
7052
7067
|
def __init__(self):
|
|
7053
7068
|
r"""
|
|
7054
|
-
:param _NodePoolId:
|
|
7069
|
+
:param _NodePoolId: <p>节点池id</p>
|
|
7055
7070
|
:type NodePoolId: str
|
|
7056
7071
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7057
7072
|
:type RequestId: str
|
|
@@ -7061,7 +7076,7 @@ class CreateClusterNodePoolResponse(AbstractModel):
|
|
|
7061
7076
|
|
|
7062
7077
|
@property
|
|
7063
7078
|
def NodePoolId(self):
|
|
7064
|
-
r"""
|
|
7079
|
+
r"""<p>节点池id</p>
|
|
7065
7080
|
:rtype: str
|
|
7066
7081
|
"""
|
|
7067
7082
|
return self._NodePoolId
|
|
@@ -39844,45 +39859,45 @@ class ModifyClusterNodePoolRequest(AbstractModel):
|
|
|
39844
39859
|
|
|
39845
39860
|
def __init__(self):
|
|
39846
39861
|
r"""
|
|
39847
|
-
:param _ClusterId:
|
|
39862
|
+
:param _ClusterId: <p>集群ID</p>
|
|
39848
39863
|
:type ClusterId: str
|
|
39849
|
-
:param _NodePoolId:
|
|
39864
|
+
:param _NodePoolId: <p>节点池ID</p>
|
|
39850
39865
|
:type NodePoolId: str
|
|
39851
|
-
:param _Name:
|
|
39866
|
+
:param _Name: <p>名称,最长63个字符,只能包含小写字母、数字及分隔符“_”,且必须以小写字母开头,数字或小写字母结尾</p>
|
|
39852
39867
|
:type Name: str
|
|
39853
|
-
:param _MaxNodesNum:
|
|
39868
|
+
:param _MaxNodesNum: <p>最大节点数</p>
|
|
39854
39869
|
:type MaxNodesNum: int
|
|
39855
|
-
:param _MinNodesNum:
|
|
39870
|
+
:param _MinNodesNum: <p>最小节点数</p>
|
|
39856
39871
|
:type MinNodesNum: int
|
|
39857
|
-
:param _Labels:
|
|
39872
|
+
:param _Labels: <p>标签</p>
|
|
39858
39873
|
:type Labels: list of Label
|
|
39859
|
-
:param _Taints:
|
|
39874
|
+
:param _Taints: <p>污点</p>
|
|
39860
39875
|
:type Taints: list of Taint
|
|
39861
|
-
:param _Annotations:
|
|
39876
|
+
:param _Annotations: <p>节点 Annotation 列表</p>
|
|
39862
39877
|
:type Annotations: list of AnnotationValue
|
|
39863
|
-
:param _EnableAutoscale:
|
|
39878
|
+
:param _EnableAutoscale: <p>是否开启伸缩</p>
|
|
39864
39879
|
:type EnableAutoscale: bool
|
|
39865
|
-
:param _OsName:
|
|
39880
|
+
:param _OsName: <p>操作系统名称</p>
|
|
39866
39881
|
:type OsName: str
|
|
39867
|
-
:param _OsCustomizeType:
|
|
39882
|
+
:param _OsCustomizeType: <p>镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)</p>
|
|
39868
39883
|
:type OsCustomizeType: str
|
|
39869
|
-
:param _GPUArgs: GPU驱动版本,CUDA版本,cuDNN版本以及是否启用MIG
|
|
39884
|
+
:param _GPUArgs: <p>GPU驱动版本,CUDA版本,cuDNN版本以及是否启用MIG特性</p>
|
|
39870
39885
|
:type GPUArgs: :class:`tencentcloud.tke.v20180525.models.GPUArgs`
|
|
39871
|
-
:param _UserScript: base64
|
|
39886
|
+
:param _UserScript: <p>base64编码后的自定义脚本</p>
|
|
39872
39887
|
:type UserScript: str
|
|
39873
|
-
:param _IgnoreExistedNode:
|
|
39888
|
+
:param _IgnoreExistedNode: <p>更新label和taint时忽略存量节点</p>
|
|
39874
39889
|
:type IgnoreExistedNode: bool
|
|
39875
|
-
:param _ExtraArgs:
|
|
39890
|
+
:param _ExtraArgs: <p>节点自定义参数</p>
|
|
39876
39891
|
:type ExtraArgs: :class:`tencentcloud.tke.v20180525.models.InstanceExtraArgs`
|
|
39877
|
-
:param _Tags:
|
|
39892
|
+
:param _Tags: <p>资源标签</p>
|
|
39878
39893
|
:type Tags: list of Tag
|
|
39879
|
-
:param _Unschedulable:
|
|
39894
|
+
:param _Unschedulable: <p>设置加入的节点是否参与调度,默认值为0,表示参与调度;非0表示不参与调度, 待节点初始化完成之后, 可执行kubectl uncordon nodename使node加入调度.</p>
|
|
39880
39895
|
:type Unschedulable: int
|
|
39881
|
-
:param _DeletionProtection:
|
|
39896
|
+
:param _DeletionProtection: <p>删除保护开关</p>
|
|
39882
39897
|
:type DeletionProtection: bool
|
|
39883
|
-
:param _DockerGraphPath: dockerd --graph 指定值, 默认为 /var/lib/docker
|
|
39898
|
+
:param _DockerGraphPath: <p>dockerd --graph 指定值, 默认为 /var/lib/docker</p>
|
|
39884
39899
|
:type DockerGraphPath: str
|
|
39885
|
-
:param _PreStartUserScript: base64
|
|
39900
|
+
:param _PreStartUserScript: <p>base64编码后的自定义脚本</p>
|
|
39886
39901
|
:type PreStartUserScript: str
|
|
39887
39902
|
"""
|
|
39888
39903
|
self._ClusterId = None
|
|
@@ -39908,7 +39923,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
|
|
|
39908
39923
|
|
|
39909
39924
|
@property
|
|
39910
39925
|
def ClusterId(self):
|
|
39911
|
-
r"""
|
|
39926
|
+
r"""<p>集群ID</p>
|
|
39912
39927
|
:rtype: str
|
|
39913
39928
|
"""
|
|
39914
39929
|
return self._ClusterId
|
|
@@ -39919,7 +39934,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
|
|
|
39919
39934
|
|
|
39920
39935
|
@property
|
|
39921
39936
|
def NodePoolId(self):
|
|
39922
|
-
r"""
|
|
39937
|
+
r"""<p>节点池ID</p>
|
|
39923
39938
|
:rtype: str
|
|
39924
39939
|
"""
|
|
39925
39940
|
return self._NodePoolId
|
|
@@ -39930,7 +39945,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
|
|
|
39930
39945
|
|
|
39931
39946
|
@property
|
|
39932
39947
|
def Name(self):
|
|
39933
|
-
r"""
|
|
39948
|
+
r"""<p>名称,最长63个字符,只能包含小写字母、数字及分隔符“_”,且必须以小写字母开头,数字或小写字母结尾</p>
|
|
39934
39949
|
:rtype: str
|
|
39935
39950
|
"""
|
|
39936
39951
|
return self._Name
|
|
@@ -39941,7 +39956,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
|
|
|
39941
39956
|
|
|
39942
39957
|
@property
|
|
39943
39958
|
def MaxNodesNum(self):
|
|
39944
|
-
r"""
|
|
39959
|
+
r"""<p>最大节点数</p>
|
|
39945
39960
|
:rtype: int
|
|
39946
39961
|
"""
|
|
39947
39962
|
return self._MaxNodesNum
|
|
@@ -39952,7 +39967,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
|
|
|
39952
39967
|
|
|
39953
39968
|
@property
|
|
39954
39969
|
def MinNodesNum(self):
|
|
39955
|
-
r"""
|
|
39970
|
+
r"""<p>最小节点数</p>
|
|
39956
39971
|
:rtype: int
|
|
39957
39972
|
"""
|
|
39958
39973
|
return self._MinNodesNum
|
|
@@ -39963,7 +39978,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
|
|
|
39963
39978
|
|
|
39964
39979
|
@property
|
|
39965
39980
|
def Labels(self):
|
|
39966
|
-
r"""
|
|
39981
|
+
r"""<p>标签</p>
|
|
39967
39982
|
:rtype: list of Label
|
|
39968
39983
|
"""
|
|
39969
39984
|
return self._Labels
|
|
@@ -39974,7 +39989,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
|
|
|
39974
39989
|
|
|
39975
39990
|
@property
|
|
39976
39991
|
def Taints(self):
|
|
39977
|
-
r"""
|
|
39992
|
+
r"""<p>污点</p>
|
|
39978
39993
|
:rtype: list of Taint
|
|
39979
39994
|
"""
|
|
39980
39995
|
return self._Taints
|
|
@@ -39985,7 +40000,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
|
|
|
39985
40000
|
|
|
39986
40001
|
@property
|
|
39987
40002
|
def Annotations(self):
|
|
39988
|
-
r"""
|
|
40003
|
+
r"""<p>节点 Annotation 列表</p>
|
|
39989
40004
|
:rtype: list of AnnotationValue
|
|
39990
40005
|
"""
|
|
39991
40006
|
return self._Annotations
|
|
@@ -39996,7 +40011,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
|
|
|
39996
40011
|
|
|
39997
40012
|
@property
|
|
39998
40013
|
def EnableAutoscale(self):
|
|
39999
|
-
r"""
|
|
40014
|
+
r"""<p>是否开启伸缩</p>
|
|
40000
40015
|
:rtype: bool
|
|
40001
40016
|
"""
|
|
40002
40017
|
return self._EnableAutoscale
|
|
@@ -40007,7 +40022,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
|
|
|
40007
40022
|
|
|
40008
40023
|
@property
|
|
40009
40024
|
def OsName(self):
|
|
40010
|
-
r"""
|
|
40025
|
+
r"""<p>操作系统名称</p>
|
|
40011
40026
|
:rtype: str
|
|
40012
40027
|
"""
|
|
40013
40028
|
return self._OsName
|
|
@@ -40018,7 +40033,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
|
|
|
40018
40033
|
|
|
40019
40034
|
@property
|
|
40020
40035
|
def OsCustomizeType(self):
|
|
40021
|
-
r"""
|
|
40036
|
+
r"""<p>镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)</p>
|
|
40022
40037
|
:rtype: str
|
|
40023
40038
|
"""
|
|
40024
40039
|
return self._OsCustomizeType
|
|
@@ -40029,7 +40044,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
|
|
|
40029
40044
|
|
|
40030
40045
|
@property
|
|
40031
40046
|
def GPUArgs(self):
|
|
40032
|
-
r"""GPU驱动版本,CUDA版本,cuDNN版本以及是否启用MIG
|
|
40047
|
+
r"""<p>GPU驱动版本,CUDA版本,cuDNN版本以及是否启用MIG特性</p>
|
|
40033
40048
|
:rtype: :class:`tencentcloud.tke.v20180525.models.GPUArgs`
|
|
40034
40049
|
"""
|
|
40035
40050
|
return self._GPUArgs
|
|
@@ -40040,7 +40055,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
|
|
|
40040
40055
|
|
|
40041
40056
|
@property
|
|
40042
40057
|
def UserScript(self):
|
|
40043
|
-
r"""base64
|
|
40058
|
+
r"""<p>base64编码后的自定义脚本</p>
|
|
40044
40059
|
:rtype: str
|
|
40045
40060
|
"""
|
|
40046
40061
|
return self._UserScript
|
|
@@ -40051,7 +40066,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
|
|
|
40051
40066
|
|
|
40052
40067
|
@property
|
|
40053
40068
|
def IgnoreExistedNode(self):
|
|
40054
|
-
r"""
|
|
40069
|
+
r"""<p>更新label和taint时忽略存量节点</p>
|
|
40055
40070
|
:rtype: bool
|
|
40056
40071
|
"""
|
|
40057
40072
|
return self._IgnoreExistedNode
|
|
@@ -40062,7 +40077,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
|
|
|
40062
40077
|
|
|
40063
40078
|
@property
|
|
40064
40079
|
def ExtraArgs(self):
|
|
40065
|
-
r"""
|
|
40080
|
+
r"""<p>节点自定义参数</p>
|
|
40066
40081
|
:rtype: :class:`tencentcloud.tke.v20180525.models.InstanceExtraArgs`
|
|
40067
40082
|
"""
|
|
40068
40083
|
return self._ExtraArgs
|
|
@@ -40073,7 +40088,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
|
|
|
40073
40088
|
|
|
40074
40089
|
@property
|
|
40075
40090
|
def Tags(self):
|
|
40076
|
-
r"""
|
|
40091
|
+
r"""<p>资源标签</p>
|
|
40077
40092
|
:rtype: list of Tag
|
|
40078
40093
|
"""
|
|
40079
40094
|
return self._Tags
|
|
@@ -40084,7 +40099,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
|
|
|
40084
40099
|
|
|
40085
40100
|
@property
|
|
40086
40101
|
def Unschedulable(self):
|
|
40087
|
-
r"""
|
|
40102
|
+
r"""<p>设置加入的节点是否参与调度,默认值为0,表示参与调度;非0表示不参与调度, 待节点初始化完成之后, 可执行kubectl uncordon nodename使node加入调度.</p>
|
|
40088
40103
|
:rtype: int
|
|
40089
40104
|
"""
|
|
40090
40105
|
return self._Unschedulable
|
|
@@ -40095,7 +40110,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
|
|
|
40095
40110
|
|
|
40096
40111
|
@property
|
|
40097
40112
|
def DeletionProtection(self):
|
|
40098
|
-
r"""
|
|
40113
|
+
r"""<p>删除保护开关</p>
|
|
40099
40114
|
:rtype: bool
|
|
40100
40115
|
"""
|
|
40101
40116
|
return self._DeletionProtection
|
|
@@ -40106,7 +40121,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
|
|
|
40106
40121
|
|
|
40107
40122
|
@property
|
|
40108
40123
|
def DockerGraphPath(self):
|
|
40109
|
-
r"""dockerd --graph 指定值, 默认为 /var/lib/docker
|
|
40124
|
+
r"""<p>dockerd --graph 指定值, 默认为 /var/lib/docker</p>
|
|
40110
40125
|
:rtype: str
|
|
40111
40126
|
"""
|
|
40112
40127
|
return self._DockerGraphPath
|
|
@@ -40117,7 +40132,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
|
|
|
40117
40132
|
|
|
40118
40133
|
@property
|
|
40119
40134
|
def PreStartUserScript(self):
|
|
40120
|
-
r"""base64
|
|
40135
|
+
r"""<p>base64编码后的自定义脚本</p>
|
|
40121
40136
|
:rtype: str
|
|
40122
40137
|
"""
|
|
40123
40138
|
return self._PreStartUserScript
|
|
@@ -40874,19 +40889,19 @@ class ModifyExternalNodePoolRequest(AbstractModel):
|
|
|
40874
40889
|
|
|
40875
40890
|
def __init__(self):
|
|
40876
40891
|
r"""
|
|
40877
|
-
:param _ClusterId:
|
|
40892
|
+
:param _ClusterId: <p>集群ID</p>
|
|
40878
40893
|
:type ClusterId: str
|
|
40879
|
-
:param _NodePoolId:
|
|
40894
|
+
:param _NodePoolId: <p>节点池ID</p>
|
|
40880
40895
|
:type NodePoolId: str
|
|
40881
|
-
:param _Name:
|
|
40896
|
+
:param _Name: <p>节点池名称</p>
|
|
40882
40897
|
:type Name: str
|
|
40883
|
-
:param _Labels:
|
|
40898
|
+
:param _Labels: <p>注册节点标签</p>
|
|
40884
40899
|
:type Labels: list of Label
|
|
40885
|
-
:param _Taints:
|
|
40900
|
+
:param _Taints: <p>注册节点污点</p>
|
|
40886
40901
|
:type Taints: list of Taint
|
|
40887
|
-
:param _DeletionProtection:
|
|
40902
|
+
:param _DeletionProtection: <p>删除保护开关</p>
|
|
40888
40903
|
:type DeletionProtection: bool
|
|
40889
|
-
:param _UserScript: base64 编码的用户脚本, 此脚本会在 k8s 组件运行后执行, 需要用户保证脚本的可重入及重试逻辑, 脚本及其生成的日志文件可在节点的 /data/ccs_userscript/
|
|
40904
|
+
:param _UserScript: <p>base64 编码的用户脚本, 此脚本会在 k8s 组件运行后执行, 需要用户保证脚本的可重入及重试逻辑, 脚本及其生成的日志文件可在节点的 /data/ccs_userscript/ 路径查看</p>
|
|
40890
40905
|
:type UserScript: str
|
|
40891
40906
|
"""
|
|
40892
40907
|
self._ClusterId = None
|
|
@@ -40899,7 +40914,7 @@ class ModifyExternalNodePoolRequest(AbstractModel):
|
|
|
40899
40914
|
|
|
40900
40915
|
@property
|
|
40901
40916
|
def ClusterId(self):
|
|
40902
|
-
r"""
|
|
40917
|
+
r"""<p>集群ID</p>
|
|
40903
40918
|
:rtype: str
|
|
40904
40919
|
"""
|
|
40905
40920
|
return self._ClusterId
|
|
@@ -40910,7 +40925,7 @@ class ModifyExternalNodePoolRequest(AbstractModel):
|
|
|
40910
40925
|
|
|
40911
40926
|
@property
|
|
40912
40927
|
def NodePoolId(self):
|
|
40913
|
-
r"""
|
|
40928
|
+
r"""<p>节点池ID</p>
|
|
40914
40929
|
:rtype: str
|
|
40915
40930
|
"""
|
|
40916
40931
|
return self._NodePoolId
|
|
@@ -40921,7 +40936,7 @@ class ModifyExternalNodePoolRequest(AbstractModel):
|
|
|
40921
40936
|
|
|
40922
40937
|
@property
|
|
40923
40938
|
def Name(self):
|
|
40924
|
-
r"""
|
|
40939
|
+
r"""<p>节点池名称</p>
|
|
40925
40940
|
:rtype: str
|
|
40926
40941
|
"""
|
|
40927
40942
|
return self._Name
|
|
@@ -40932,7 +40947,7 @@ class ModifyExternalNodePoolRequest(AbstractModel):
|
|
|
40932
40947
|
|
|
40933
40948
|
@property
|
|
40934
40949
|
def Labels(self):
|
|
40935
|
-
r"""
|
|
40950
|
+
r"""<p>注册节点标签</p>
|
|
40936
40951
|
:rtype: list of Label
|
|
40937
40952
|
"""
|
|
40938
40953
|
return self._Labels
|
|
@@ -40943,7 +40958,7 @@ class ModifyExternalNodePoolRequest(AbstractModel):
|
|
|
40943
40958
|
|
|
40944
40959
|
@property
|
|
40945
40960
|
def Taints(self):
|
|
40946
|
-
r"""
|
|
40961
|
+
r"""<p>注册节点污点</p>
|
|
40947
40962
|
:rtype: list of Taint
|
|
40948
40963
|
"""
|
|
40949
40964
|
return self._Taints
|
|
@@ -40954,7 +40969,7 @@ class ModifyExternalNodePoolRequest(AbstractModel):
|
|
|
40954
40969
|
|
|
40955
40970
|
@property
|
|
40956
40971
|
def DeletionProtection(self):
|
|
40957
|
-
r"""
|
|
40972
|
+
r"""<p>删除保护开关</p>
|
|
40958
40973
|
:rtype: bool
|
|
40959
40974
|
"""
|
|
40960
40975
|
return self._DeletionProtection
|
|
@@ -40965,7 +40980,7 @@ class ModifyExternalNodePoolRequest(AbstractModel):
|
|
|
40965
40980
|
|
|
40966
40981
|
@property
|
|
40967
40982
|
def UserScript(self):
|
|
40968
|
-
r"""base64 编码的用户脚本, 此脚本会在 k8s 组件运行后执行, 需要用户保证脚本的可重入及重试逻辑, 脚本及其生成的日志文件可在节点的 /data/ccs_userscript/
|
|
40983
|
+
r"""<p>base64 编码的用户脚本, 此脚本会在 k8s 组件运行后执行, 需要用户保证脚本的可重入及重试逻辑, 脚本及其生成的日志文件可在节点的 /data/ccs_userscript/ 路径查看</p>
|
|
40969
40984
|
:rtype: str
|
|
40970
40985
|
"""
|
|
40971
40986
|
return self._UserScript
|
|
@@ -55882,30 +55897,23 @@ class UpgradeClusterInstancesRequest(AbstractModel):
|
|
|
55882
55897
|
|
|
55883
55898
|
def __init__(self):
|
|
55884
55899
|
r"""
|
|
55885
|
-
:param _ClusterId:
|
|
55900
|
+
:param _ClusterId: <p>集群ID(请登录 <a href="https://console.cloud.tencent.com/tke2">TKE 控制台</a> 获取集群 ID )</p>
|
|
55886
55901
|
:type ClusterId: str
|
|
55887
|
-
:param _Operation: create
|
|
55888
|
-
pause 表示停止任务
|
|
55889
|
-
resume表示继续任务
|
|
55890
|
-
abort表示终止任务
|
|
55902
|
+
:param _Operation: <p>create 表示开始一次升级任务<br>pause 表示停止任务<br>resume表示继续任务<br>abort表示终止任务</p>
|
|
55891
55903
|
:type Operation: str
|
|
55892
|
-
:param _UpgradeType:
|
|
55893
|
-
reset 大版本重装升级
|
|
55894
|
-
hot 小版本热升级
|
|
55895
|
-
major 大版本原地升级
|
|
55904
|
+
:param _UpgradeType: <p>升级类型,只有Operation是create需要设置<br>reset 大版本重装升级<br>hot 小版本热升级<br>major 大版本原地升级</p>
|
|
55896
55905
|
:type UpgradeType: str
|
|
55897
|
-
:param _InstanceIds:
|
|
55898
|
-
](https://cloud.tencent.com/document/api/457/50366) 获取
|
|
55906
|
+
:param _InstanceIds: <p>需要升级的节点列表,可以通过控制台或 <a href="https://cloud.tencent.com/document/api/457/50366">查询待升级节点接口</a> 获取</p>
|
|
55899
55907
|
:type InstanceIds: list of str
|
|
55900
|
-
:param _ResetParam:
|
|
55908
|
+
:param _ResetParam: <p>当节点重新加入集群时候所使用的参数,参考添加已有节点接口</p>
|
|
55901
55909
|
:type ResetParam: :class:`tencentcloud.tke.v20180525.models.UpgradeNodeResetParam`
|
|
55902
|
-
:param _SkipPreCheck:
|
|
55910
|
+
:param _SkipPreCheck: <p>是否忽略节点升级前检查,默认值 false</p>
|
|
55903
55911
|
:type SkipPreCheck: bool
|
|
55904
|
-
:param _MaxNotReadyPercent:
|
|
55912
|
+
:param _MaxNotReadyPercent: <p>最大可容忍的不可用Pod百分比,如果设置 0 表示不做校验</p><p>取值范围:[0, 100]</p><p>默认值:20</p>
|
|
55905
55913
|
:type MaxNotReadyPercent: float
|
|
55906
|
-
:param _UpgradeRunTime:
|
|
55914
|
+
:param _UpgradeRunTime: <p>是否升级节点运行时,默认false不升级</p>
|
|
55907
55915
|
:type UpgradeRunTime: bool
|
|
55908
|
-
:param _Concurrent:
|
|
55916
|
+
:param _Concurrent: <p>支持多个节点并行升级,默认值为 1,最大并行数为15</p>
|
|
55909
55917
|
:type Concurrent: int
|
|
55910
55918
|
"""
|
|
55911
55919
|
self._ClusterId = None
|
|
@@ -55920,7 +55928,7 @@ major 大版本原地升级
|
|
|
55920
55928
|
|
|
55921
55929
|
@property
|
|
55922
55930
|
def ClusterId(self):
|
|
55923
|
-
r"""
|
|
55931
|
+
r"""<p>集群ID(请登录 <a href="https://console.cloud.tencent.com/tke2">TKE 控制台</a> 获取集群 ID )</p>
|
|
55924
55932
|
:rtype: str
|
|
55925
55933
|
"""
|
|
55926
55934
|
return self._ClusterId
|
|
@@ -55931,10 +55939,7 @@ major 大版本原地升级
|
|
|
55931
55939
|
|
|
55932
55940
|
@property
|
|
55933
55941
|
def Operation(self):
|
|
55934
|
-
r"""create
|
|
55935
|
-
pause 表示停止任务
|
|
55936
|
-
resume表示继续任务
|
|
55937
|
-
abort表示终止任务
|
|
55942
|
+
r"""<p>create 表示开始一次升级任务<br>pause 表示停止任务<br>resume表示继续任务<br>abort表示终止任务</p>
|
|
55938
55943
|
:rtype: str
|
|
55939
55944
|
"""
|
|
55940
55945
|
return self._Operation
|
|
@@ -55945,10 +55950,7 @@ abort表示终止任务
|
|
|
55945
55950
|
|
|
55946
55951
|
@property
|
|
55947
55952
|
def UpgradeType(self):
|
|
55948
|
-
r"""
|
|
55949
|
-
reset 大版本重装升级
|
|
55950
|
-
hot 小版本热升级
|
|
55951
|
-
major 大版本原地升级
|
|
55953
|
+
r"""<p>升级类型,只有Operation是create需要设置<br>reset 大版本重装升级<br>hot 小版本热升级<br>major 大版本原地升级</p>
|
|
55952
55954
|
:rtype: str
|
|
55953
55955
|
"""
|
|
55954
55956
|
return self._UpgradeType
|
|
@@ -55959,8 +55961,7 @@ major 大版本原地升级
|
|
|
55959
55961
|
|
|
55960
55962
|
@property
|
|
55961
55963
|
def InstanceIds(self):
|
|
55962
|
-
r"""
|
|
55963
|
-
](https://cloud.tencent.com/document/api/457/50366) 获取
|
|
55964
|
+
r"""<p>需要升级的节点列表,可以通过控制台或 <a href="https://cloud.tencent.com/document/api/457/50366">查询待升级节点接口</a> 获取</p>
|
|
55964
55965
|
:rtype: list of str
|
|
55965
55966
|
"""
|
|
55966
55967
|
return self._InstanceIds
|
|
@@ -55971,7 +55972,7 @@ major 大版本原地升级
|
|
|
55971
55972
|
|
|
55972
55973
|
@property
|
|
55973
55974
|
def ResetParam(self):
|
|
55974
|
-
r"""
|
|
55975
|
+
r"""<p>当节点重新加入集群时候所使用的参数,参考添加已有节点接口</p>
|
|
55975
55976
|
:rtype: :class:`tencentcloud.tke.v20180525.models.UpgradeNodeResetParam`
|
|
55976
55977
|
"""
|
|
55977
55978
|
return self._ResetParam
|
|
@@ -55982,7 +55983,7 @@ major 大版本原地升级
|
|
|
55982
55983
|
|
|
55983
55984
|
@property
|
|
55984
55985
|
def SkipPreCheck(self):
|
|
55985
|
-
r"""
|
|
55986
|
+
r"""<p>是否忽略节点升级前检查,默认值 false</p>
|
|
55986
55987
|
:rtype: bool
|
|
55987
55988
|
"""
|
|
55988
55989
|
return self._SkipPreCheck
|
|
@@ -55993,7 +55994,7 @@ major 大版本原地升级
|
|
|
55993
55994
|
|
|
55994
55995
|
@property
|
|
55995
55996
|
def MaxNotReadyPercent(self):
|
|
55996
|
-
r"""
|
|
55997
|
+
r"""<p>最大可容忍的不可用Pod百分比,如果设置 0 表示不做校验</p><p>取值范围:[0, 100]</p><p>默认值:20</p>
|
|
55997
55998
|
:rtype: float
|
|
55998
55999
|
"""
|
|
55999
56000
|
return self._MaxNotReadyPercent
|
|
@@ -56004,7 +56005,7 @@ major 大版本原地升级
|
|
|
56004
56005
|
|
|
56005
56006
|
@property
|
|
56006
56007
|
def UpgradeRunTime(self):
|
|
56007
|
-
r"""
|
|
56008
|
+
r"""<p>是否升级节点运行时,默认false不升级</p>
|
|
56008
56009
|
:rtype: bool
|
|
56009
56010
|
"""
|
|
56010
56011
|
return self._UpgradeRunTime
|
|
@@ -56015,7 +56016,7 @@ major 大版本原地升级
|
|
|
56015
56016
|
|
|
56016
56017
|
@property
|
|
56017
56018
|
def Concurrent(self):
|
|
56018
|
-
r"""
|
|
56019
|
+
r"""<p>支持多个节点并行升级,默认值为 1,最大并行数为15</p>
|
|
56019
56020
|
:rtype: int
|
|
56020
56021
|
"""
|
|
56021
56022
|
return self._Concurrent
|
|
@@ -951,6 +951,8 @@ class CreateNodePoolRequest(AbstractModel):
|
|
|
951
951
|
:type Native: :class:`tencentcloud.tke.v20220501.models.CreateNativeNodePoolParam`
|
|
952
952
|
:param _Annotations: <p>节点 Annotation 列表</p>
|
|
953
953
|
:type Annotations: list of Annotation
|
|
954
|
+
:param _SkipValidateOptions: <p>跳过校验选项,支持 "VpcDnsCheck"</p>
|
|
955
|
+
:type SkipValidateOptions: list of str
|
|
954
956
|
"""
|
|
955
957
|
self._ClusterId = None
|
|
956
958
|
self._Name = None
|
|
@@ -962,6 +964,7 @@ class CreateNodePoolRequest(AbstractModel):
|
|
|
962
964
|
self._Unschedulable = None
|
|
963
965
|
self._Native = None
|
|
964
966
|
self._Annotations = None
|
|
967
|
+
self._SkipValidateOptions = None
|
|
965
968
|
|
|
966
969
|
@property
|
|
967
970
|
def ClusterId(self):
|
|
@@ -1073,6 +1076,17 @@ class CreateNodePoolRequest(AbstractModel):
|
|
|
1073
1076
|
def Annotations(self, Annotations):
|
|
1074
1077
|
self._Annotations = Annotations
|
|
1075
1078
|
|
|
1079
|
+
@property
|
|
1080
|
+
def SkipValidateOptions(self):
|
|
1081
|
+
r"""<p>跳过校验选项,支持 "VpcDnsCheck"</p>
|
|
1082
|
+
:rtype: list of str
|
|
1083
|
+
"""
|
|
1084
|
+
return self._SkipValidateOptions
|
|
1085
|
+
|
|
1086
|
+
@SkipValidateOptions.setter
|
|
1087
|
+
def SkipValidateOptions(self, SkipValidateOptions):
|
|
1088
|
+
self._SkipValidateOptions = SkipValidateOptions
|
|
1089
|
+
|
|
1076
1090
|
|
|
1077
1091
|
def _deserialize(self, params):
|
|
1078
1092
|
self._ClusterId = params.get("ClusterId")
|
|
@@ -1107,6 +1121,7 @@ class CreateNodePoolRequest(AbstractModel):
|
|
|
1107
1121
|
obj = Annotation()
|
|
1108
1122
|
obj._deserialize(item)
|
|
1109
1123
|
self._Annotations.append(obj)
|
|
1124
|
+
self._SkipValidateOptions = params.get("SkipValidateOptions")
|
|
1110
1125
|
memeber_set = set(params.keys())
|
|
1111
1126
|
for name, value in vars(self).items():
|
|
1112
1127
|
property_name = name[1:]
|
|
@@ -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.148
|
|
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.148
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.148
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.134
|
|
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
|