tencentcloud-sdk-python-tke 3.1.128__tar.gz → 3.1.135__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 (22) hide show
  1. {tencentcloud_sdk_python_tke-3.1.128 → tencentcloud_sdk_python_tke-3.1.135}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_tke-3.1.128 → tencentcloud_sdk_python_tke-3.1.135}/setup.py +1 -1
  3. {tencentcloud_sdk_python_tke-3.1.128 → tencentcloud_sdk_python_tke-3.1.135}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_tke-3.1.128 → tencentcloud_sdk_python_tke-3.1.135}/tencentcloud/tke/v20180525/models.py +104 -118
  5. {tencentcloud_sdk_python_tke-3.1.128 → tencentcloud_sdk_python_tke-3.1.135}/tencentcloud/tke/v20220501/models.py +37 -37
  6. {tencentcloud_sdk_python_tke-3.1.128 → tencentcloud_sdk_python_tke-3.1.135}/tencentcloud/tke/v20220501/tke_client.py +90 -1
  7. {tencentcloud_sdk_python_tke-3.1.128 → tencentcloud_sdk_python_tke-3.1.135}/tencentcloud/tke/v20220501/tke_client_async.py +90 -1
  8. {tencentcloud_sdk_python_tke-3.1.128 → tencentcloud_sdk_python_tke-3.1.135}/tencentcloud_sdk_python_tke.egg-info/PKG-INFO +2 -2
  9. tencentcloud_sdk_python_tke-3.1.135/tencentcloud_sdk_python_tke.egg-info/requires.txt +1 -0
  10. tencentcloud_sdk_python_tke-3.1.128/tencentcloud_sdk_python_tke.egg-info/requires.txt +0 -1
  11. {tencentcloud_sdk_python_tke-3.1.128 → tencentcloud_sdk_python_tke-3.1.135}/README.rst +0 -0
  12. {tencentcloud_sdk_python_tke-3.1.128 → tencentcloud_sdk_python_tke-3.1.135}/setup.cfg +0 -0
  13. {tencentcloud_sdk_python_tke-3.1.128 → tencentcloud_sdk_python_tke-3.1.135}/tencentcloud/tke/__init__.py +0 -0
  14. {tencentcloud_sdk_python_tke-3.1.128 → tencentcloud_sdk_python_tke-3.1.135}/tencentcloud/tke/v20180525/__init__.py +0 -0
  15. {tencentcloud_sdk_python_tke-3.1.128 → tencentcloud_sdk_python_tke-3.1.135}/tencentcloud/tke/v20180525/errorcodes.py +0 -0
  16. {tencentcloud_sdk_python_tke-3.1.128 → tencentcloud_sdk_python_tke-3.1.135}/tencentcloud/tke/v20180525/tke_client.py +0 -0
  17. {tencentcloud_sdk_python_tke-3.1.128 → tencentcloud_sdk_python_tke-3.1.135}/tencentcloud/tke/v20180525/tke_client_async.py +0 -0
  18. {tencentcloud_sdk_python_tke-3.1.128 → tencentcloud_sdk_python_tke-3.1.135}/tencentcloud/tke/v20220501/__init__.py +0 -0
  19. {tencentcloud_sdk_python_tke-3.1.128 → tencentcloud_sdk_python_tke-3.1.135}/tencentcloud/tke/v20220501/errorcodes.py +0 -0
  20. {tencentcloud_sdk_python_tke-3.1.128 → tencentcloud_sdk_python_tke-3.1.135}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
  21. {tencentcloud_sdk_python_tke-3.1.128 → tencentcloud_sdk_python_tke-3.1.135}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
  22. {tencentcloud_sdk_python_tke-3.1.128 → tencentcloud_sdk_python_tke-3.1.135}/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.128
3
+ Version: 3.1.135
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.128
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.135
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.128,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.135,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Tke SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.128'
17
+ __version__ = '3.1.135'
@@ -6783,35 +6783,35 @@ 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: 节点Annotation 列表
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: 节点池os,当为自定义镜像时,传镜像id;否则为公共镜像的osName
6808
+ :param _NodePoolOs: <p>节点池os,当为自定义镜像时,传镜像id;否则为公共镜像的osName</p>
6809
6809
  :type NodePoolOs: str
6810
- :param _OsCustomizeType: 容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)
6810
+ :param _OsCustomizeType: <p>容器的镜像版本,&quot;DOCKER_CUSTOMIZE&quot;(容器定制版),&quot;GENERAL&quot;(普通版本,默认值)</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
6816
  """
6817
6817
  self._ClusterId = None
@@ -6832,7 +6832,7 @@ class CreateClusterNodePoolRequest(AbstractModel):
6832
6832
 
6833
6833
  @property
6834
6834
  def ClusterId(self):
6835
- r"""cluster id
6835
+ r"""<p>cluster id</p>
6836
6836
  :rtype: str
6837
6837
  """
6838
6838
  return self._ClusterId
@@ -6843,7 +6843,7 @@ class CreateClusterNodePoolRequest(AbstractModel):
6843
6843
 
6844
6844
  @property
6845
6845
  def AutoScalingGroupPara(self):
6846
- r"""AutoScalingGroupPara AS组参数,参考 https://cloud.tencent.com/document/product/377/20440
6846
+ r"""<p>AutoScalingGroupPara AS组参数,参考 https://cloud.tencent.com/document/product/377/20440</p>
6847
6847
  :rtype: str
6848
6848
  """
6849
6849
  return self._AutoScalingGroupPara
@@ -6854,7 +6854,7 @@ class CreateClusterNodePoolRequest(AbstractModel):
6854
6854
 
6855
6855
  @property
6856
6856
  def LaunchConfigurePara(self):
6857
- r"""LaunchConfigurePara 运行参数,参考 https://cloud.tencent.com/document/product/377/20447
6857
+ r"""<p>LaunchConfigurePara 运行参数,参考 https://cloud.tencent.com/document/product/377/20447</p>
6858
6858
  :rtype: str
6859
6859
  """
6860
6860
  return self._LaunchConfigurePara
@@ -6865,7 +6865,7 @@ class CreateClusterNodePoolRequest(AbstractModel):
6865
6865
 
6866
6866
  @property
6867
6867
  def InstanceAdvancedSettings(self):
6868
- r"""InstanceAdvancedSettings
6868
+ r"""<p>InstanceAdvancedSettings</p>
6869
6869
  :rtype: :class:`tencentcloud.tke.v20180525.models.InstanceAdvancedSettings`
6870
6870
  """
6871
6871
  return self._InstanceAdvancedSettings
@@ -6876,7 +6876,7 @@ class CreateClusterNodePoolRequest(AbstractModel):
6876
6876
 
6877
6877
  @property
6878
6878
  def EnableAutoscale(self):
6879
- r"""是否启用自动伸缩
6879
+ r"""<p>是否启用自动伸缩</p>
6880
6880
  :rtype: bool
6881
6881
  """
6882
6882
  return self._EnableAutoscale
@@ -6887,7 +6887,7 @@ class CreateClusterNodePoolRequest(AbstractModel):
6887
6887
 
6888
6888
  @property
6889
6889
  def Name(self):
6890
- r"""节点池名称
6890
+ r"""<p>节点池名称</p>
6891
6891
  :rtype: str
6892
6892
  """
6893
6893
  return self._Name
@@ -6898,7 +6898,7 @@ class CreateClusterNodePoolRequest(AbstractModel):
6898
6898
 
6899
6899
  @property
6900
6900
  def Labels(self):
6901
- r"""Labels标签
6901
+ r"""<p>Labels标签</p>
6902
6902
  :rtype: list of Label
6903
6903
  """
6904
6904
  return self._Labels
@@ -6909,7 +6909,7 @@ class CreateClusterNodePoolRequest(AbstractModel):
6909
6909
 
6910
6910
  @property
6911
6911
  def Taints(self):
6912
- r"""Taints互斥
6912
+ r"""<p>Taints互斥</p>
6913
6913
  :rtype: list of Taint
6914
6914
  """
6915
6915
  return self._Taints
@@ -6920,7 +6920,7 @@ class CreateClusterNodePoolRequest(AbstractModel):
6920
6920
 
6921
6921
  @property
6922
6922
  def Annotations(self):
6923
- r"""节点Annotation 列表
6923
+ r"""<p>节点Annotation 列表</p>
6924
6924
  :rtype: list of AnnotationValue
6925
6925
  """
6926
6926
  return self._Annotations
@@ -6931,7 +6931,7 @@ class CreateClusterNodePoolRequest(AbstractModel):
6931
6931
 
6932
6932
  @property
6933
6933
  def ContainerRuntime(self):
6934
- r"""节点池纬度运行时类型及版本
6934
+ r"""<p>节点池纬度运行时类型及版本</p>
6935
6935
  :rtype: str
6936
6936
  """
6937
6937
  return self._ContainerRuntime
@@ -6942,7 +6942,7 @@ class CreateClusterNodePoolRequest(AbstractModel):
6942
6942
 
6943
6943
  @property
6944
6944
  def RuntimeVersion(self):
6945
- r"""运行时版本
6945
+ r"""<p>运行时版本</p>
6946
6946
  :rtype: str
6947
6947
  """
6948
6948
  return self._RuntimeVersion
@@ -6953,7 +6953,7 @@ class CreateClusterNodePoolRequest(AbstractModel):
6953
6953
 
6954
6954
  @property
6955
6955
  def NodePoolOs(self):
6956
- r"""节点池os,当为自定义镜像时,传镜像id;否则为公共镜像的osName
6956
+ r"""<p>节点池os,当为自定义镜像时,传镜像id;否则为公共镜像的osName</p>
6957
6957
  :rtype: str
6958
6958
  """
6959
6959
  return self._NodePoolOs
@@ -6964,7 +6964,7 @@ class CreateClusterNodePoolRequest(AbstractModel):
6964
6964
 
6965
6965
  @property
6966
6966
  def OsCustomizeType(self):
6967
- r"""容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)
6967
+ r"""<p>容器的镜像版本,&quot;DOCKER_CUSTOMIZE&quot;(容器定制版),&quot;GENERAL&quot;(普通版本,默认值)</p>
6968
6968
  :rtype: str
6969
6969
  """
6970
6970
  return self._OsCustomizeType
@@ -6975,7 +6975,7 @@ class CreateClusterNodePoolRequest(AbstractModel):
6975
6975
 
6976
6976
  @property
6977
6977
  def Tags(self):
6978
- r"""资源标签
6978
+ r"""<p>资源标签</p>
6979
6979
  :rtype: list of Tag
6980
6980
  """
6981
6981
  return self._Tags
@@ -6986,7 +6986,7 @@ class CreateClusterNodePoolRequest(AbstractModel):
6986
6986
 
6987
6987
  @property
6988
6988
  def DeletionProtection(self):
6989
- r"""删除保护开关
6989
+ r"""<p>删除保护开关</p>
6990
6990
  :rtype: bool
6991
6991
  """
6992
6992
  return self._DeletionProtection
@@ -7051,7 +7051,7 @@ class CreateClusterNodePoolResponse(AbstractModel):
7051
7051
 
7052
7052
  def __init__(self):
7053
7053
  r"""
7054
- :param _NodePoolId: 节点池id
7054
+ :param _NodePoolId: <p>节点池id</p>
7055
7055
  :type NodePoolId: str
7056
7056
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7057
7057
  :type RequestId: str
@@ -7061,7 +7061,7 @@ class CreateClusterNodePoolResponse(AbstractModel):
7061
7061
 
7062
7062
  @property
7063
7063
  def NodePoolId(self):
7064
- r"""节点池id
7064
+ r"""<p>节点池id</p>
7065
7065
  :rtype: str
7066
7066
  """
7067
7067
  return self._NodePoolId
@@ -39844,45 +39844,45 @@ class ModifyClusterNodePoolRequest(AbstractModel):
39844
39844
 
39845
39845
  def __init__(self):
39846
39846
  r"""
39847
- :param _ClusterId: 集群ID
39847
+ :param _ClusterId: <p>集群ID</p>
39848
39848
  :type ClusterId: str
39849
- :param _NodePoolId: 节点池ID
39849
+ :param _NodePoolId: <p>节点池ID</p>
39850
39850
  :type NodePoolId: str
39851
- :param _Name: 名称,最长63个字符,只能包含小写字母、数字及分隔符“_”,且必须以小写字母开头,数字或小写字母结尾
39851
+ :param _Name: <p>名称,最长63个字符,只能包含小写字母、数字及分隔符“_”,且必须以小写字母开头,数字或小写字母结尾</p>
39852
39852
  :type Name: str
39853
- :param _MaxNodesNum: 最大节点数
39853
+ :param _MaxNodesNum: <p>最大节点数</p>
39854
39854
  :type MaxNodesNum: int
39855
- :param _MinNodesNum: 最小节点数
39855
+ :param _MinNodesNum: <p>最小节点数</p>
39856
39856
  :type MinNodesNum: int
39857
- :param _Labels: 标签
39857
+ :param _Labels: <p>标签</p>
39858
39858
  :type Labels: list of Label
39859
- :param _Taints: 污点
39859
+ :param _Taints: <p>污点</p>
39860
39860
  :type Taints: list of Taint
39861
- :param _Annotations: 节点 Annotation 列表
39861
+ :param _Annotations: <p>节点 Annotation 列表</p>
39862
39862
  :type Annotations: list of AnnotationValue
39863
- :param _EnableAutoscale: 是否开启伸缩
39863
+ :param _EnableAutoscale: <p>是否开启伸缩</p>
39864
39864
  :type EnableAutoscale: bool
39865
- :param _OsName: 操作系统名称
39865
+ :param _OsName: <p>操作系统名称</p>
39866
39866
  :type OsName: str
39867
- :param _OsCustomizeType: 镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)
39867
+ :param _OsCustomizeType: <p>镜像版本,&quot;DOCKER_CUSTOMIZE&quot;(容器定制版),&quot;GENERAL&quot;(普通版本,默认值)</p>
39868
39868
  :type OsCustomizeType: str
39869
- :param _GPUArgs: GPU驱动版本,CUDA版本,cuDNN版本以及是否启用MIG特性
39869
+ :param _GPUArgs: <p>GPU驱动版本,CUDA版本,cuDNN版本以及是否启用MIG特性</p>
39870
39870
  :type GPUArgs: :class:`tencentcloud.tke.v20180525.models.GPUArgs`
39871
- :param _UserScript: base64编码后的自定义脚本
39871
+ :param _UserScript: <p>base64编码后的自定义脚本</p>
39872
39872
  :type UserScript: str
39873
- :param _IgnoreExistedNode: 更新label和taint时忽略存量节点
39873
+ :param _IgnoreExistedNode: <p>更新label和taint时忽略存量节点</p>
39874
39874
  :type IgnoreExistedNode: bool
39875
- :param _ExtraArgs: 节点自定义参数
39875
+ :param _ExtraArgs: <p>节点自定义参数</p>
39876
39876
  :type ExtraArgs: :class:`tencentcloud.tke.v20180525.models.InstanceExtraArgs`
39877
- :param _Tags: 资源标签
39877
+ :param _Tags: <p>资源标签</p>
39878
39878
  :type Tags: list of Tag
39879
- :param _Unschedulable: 设置加入的节点是否参与调度,默认值为0,表示参与调度;非0表示不参与调度, 待节点初始化完成之后, 可执行kubectl uncordon nodename使node加入调度.
39879
+ :param _Unschedulable: <p>设置加入的节点是否参与调度,默认值为0,表示参与调度;非0表示不参与调度, 待节点初始化完成之后, 可执行kubectl uncordon nodename使node加入调度.</p>
39880
39880
  :type Unschedulable: int
39881
- :param _DeletionProtection: 删除保护开关
39881
+ :param _DeletionProtection: <p>删除保护开关</p>
39882
39882
  :type DeletionProtection: bool
39883
- :param _DockerGraphPath: dockerd --graph 指定值, 默认为 /var/lib/docker
39883
+ :param _DockerGraphPath: <p>dockerd --graph 指定值, 默认为 /var/lib/docker</p>
39884
39884
  :type DockerGraphPath: str
39885
- :param _PreStartUserScript: base64编码后的自定义脚本
39885
+ :param _PreStartUserScript: <p>base64编码后的自定义脚本</p>
39886
39886
  :type PreStartUserScript: str
39887
39887
  """
39888
39888
  self._ClusterId = None
@@ -39908,7 +39908,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
39908
39908
 
39909
39909
  @property
39910
39910
  def ClusterId(self):
39911
- r"""集群ID
39911
+ r"""<p>集群ID</p>
39912
39912
  :rtype: str
39913
39913
  """
39914
39914
  return self._ClusterId
@@ -39919,7 +39919,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
39919
39919
 
39920
39920
  @property
39921
39921
  def NodePoolId(self):
39922
- r"""节点池ID
39922
+ r"""<p>节点池ID</p>
39923
39923
  :rtype: str
39924
39924
  """
39925
39925
  return self._NodePoolId
@@ -39930,7 +39930,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
39930
39930
 
39931
39931
  @property
39932
39932
  def Name(self):
39933
- r"""名称,最长63个字符,只能包含小写字母、数字及分隔符“_”,且必须以小写字母开头,数字或小写字母结尾
39933
+ r"""<p>名称,最长63个字符,只能包含小写字母、数字及分隔符“_”,且必须以小写字母开头,数字或小写字母结尾</p>
39934
39934
  :rtype: str
39935
39935
  """
39936
39936
  return self._Name
@@ -39941,7 +39941,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
39941
39941
 
39942
39942
  @property
39943
39943
  def MaxNodesNum(self):
39944
- r"""最大节点数
39944
+ r"""<p>最大节点数</p>
39945
39945
  :rtype: int
39946
39946
  """
39947
39947
  return self._MaxNodesNum
@@ -39952,7 +39952,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
39952
39952
 
39953
39953
  @property
39954
39954
  def MinNodesNum(self):
39955
- r"""最小节点数
39955
+ r"""<p>最小节点数</p>
39956
39956
  :rtype: int
39957
39957
  """
39958
39958
  return self._MinNodesNum
@@ -39963,7 +39963,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
39963
39963
 
39964
39964
  @property
39965
39965
  def Labels(self):
39966
- r"""标签
39966
+ r"""<p>标签</p>
39967
39967
  :rtype: list of Label
39968
39968
  """
39969
39969
  return self._Labels
@@ -39974,7 +39974,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
39974
39974
 
39975
39975
  @property
39976
39976
  def Taints(self):
39977
- r"""污点
39977
+ r"""<p>污点</p>
39978
39978
  :rtype: list of Taint
39979
39979
  """
39980
39980
  return self._Taints
@@ -39985,7 +39985,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
39985
39985
 
39986
39986
  @property
39987
39987
  def Annotations(self):
39988
- r"""节点 Annotation 列表
39988
+ r"""<p>节点 Annotation 列表</p>
39989
39989
  :rtype: list of AnnotationValue
39990
39990
  """
39991
39991
  return self._Annotations
@@ -39996,7 +39996,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
39996
39996
 
39997
39997
  @property
39998
39998
  def EnableAutoscale(self):
39999
- r"""是否开启伸缩
39999
+ r"""<p>是否开启伸缩</p>
40000
40000
  :rtype: bool
40001
40001
  """
40002
40002
  return self._EnableAutoscale
@@ -40007,7 +40007,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
40007
40007
 
40008
40008
  @property
40009
40009
  def OsName(self):
40010
- r"""操作系统名称
40010
+ r"""<p>操作系统名称</p>
40011
40011
  :rtype: str
40012
40012
  """
40013
40013
  return self._OsName
@@ -40018,7 +40018,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
40018
40018
 
40019
40019
  @property
40020
40020
  def OsCustomizeType(self):
40021
- r"""镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)
40021
+ r"""<p>镜像版本,&quot;DOCKER_CUSTOMIZE&quot;(容器定制版),&quot;GENERAL&quot;(普通版本,默认值)</p>
40022
40022
  :rtype: str
40023
40023
  """
40024
40024
  return self._OsCustomizeType
@@ -40029,7 +40029,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
40029
40029
 
40030
40030
  @property
40031
40031
  def GPUArgs(self):
40032
- r"""GPU驱动版本,CUDA版本,cuDNN版本以及是否启用MIG特性
40032
+ r"""<p>GPU驱动版本,CUDA版本,cuDNN版本以及是否启用MIG特性</p>
40033
40033
  :rtype: :class:`tencentcloud.tke.v20180525.models.GPUArgs`
40034
40034
  """
40035
40035
  return self._GPUArgs
@@ -40040,7 +40040,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
40040
40040
 
40041
40041
  @property
40042
40042
  def UserScript(self):
40043
- r"""base64编码后的自定义脚本
40043
+ r"""<p>base64编码后的自定义脚本</p>
40044
40044
  :rtype: str
40045
40045
  """
40046
40046
  return self._UserScript
@@ -40051,7 +40051,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
40051
40051
 
40052
40052
  @property
40053
40053
  def IgnoreExistedNode(self):
40054
- r"""更新label和taint时忽略存量节点
40054
+ r"""<p>更新label和taint时忽略存量节点</p>
40055
40055
  :rtype: bool
40056
40056
  """
40057
40057
  return self._IgnoreExistedNode
@@ -40062,7 +40062,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
40062
40062
 
40063
40063
  @property
40064
40064
  def ExtraArgs(self):
40065
- r"""节点自定义参数
40065
+ r"""<p>节点自定义参数</p>
40066
40066
  :rtype: :class:`tencentcloud.tke.v20180525.models.InstanceExtraArgs`
40067
40067
  """
40068
40068
  return self._ExtraArgs
@@ -40073,7 +40073,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
40073
40073
 
40074
40074
  @property
40075
40075
  def Tags(self):
40076
- r"""资源标签
40076
+ r"""<p>资源标签</p>
40077
40077
  :rtype: list of Tag
40078
40078
  """
40079
40079
  return self._Tags
@@ -40084,7 +40084,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
40084
40084
 
40085
40085
  @property
40086
40086
  def Unschedulable(self):
40087
- r"""设置加入的节点是否参与调度,默认值为0,表示参与调度;非0表示不参与调度, 待节点初始化完成之后, 可执行kubectl uncordon nodename使node加入调度.
40087
+ r"""<p>设置加入的节点是否参与调度,默认值为0,表示参与调度;非0表示不参与调度, 待节点初始化完成之后, 可执行kubectl uncordon nodename使node加入调度.</p>
40088
40088
  :rtype: int
40089
40089
  """
40090
40090
  return self._Unschedulable
@@ -40095,7 +40095,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
40095
40095
 
40096
40096
  @property
40097
40097
  def DeletionProtection(self):
40098
- r"""删除保护开关
40098
+ r"""<p>删除保护开关</p>
40099
40099
  :rtype: bool
40100
40100
  """
40101
40101
  return self._DeletionProtection
@@ -40106,7 +40106,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
40106
40106
 
40107
40107
  @property
40108
40108
  def DockerGraphPath(self):
40109
- r"""dockerd --graph 指定值, 默认为 /var/lib/docker
40109
+ r"""<p>dockerd --graph 指定值, 默认为 /var/lib/docker</p>
40110
40110
  :rtype: str
40111
40111
  """
40112
40112
  return self._DockerGraphPath
@@ -40117,7 +40117,7 @@ class ModifyClusterNodePoolRequest(AbstractModel):
40117
40117
 
40118
40118
  @property
40119
40119
  def PreStartUserScript(self):
40120
- r"""base64编码后的自定义脚本
40120
+ r"""<p>base64编码后的自定义脚本</p>
40121
40121
  :rtype: str
40122
40122
  """
40123
40123
  return self._PreStartUserScript
@@ -40874,19 +40874,19 @@ class ModifyExternalNodePoolRequest(AbstractModel):
40874
40874
 
40875
40875
  def __init__(self):
40876
40876
  r"""
40877
- :param _ClusterId: 集群ID
40877
+ :param _ClusterId: <p>集群ID</p>
40878
40878
  :type ClusterId: str
40879
- :param _NodePoolId: 节点池ID
40879
+ :param _NodePoolId: <p>节点池ID</p>
40880
40880
  :type NodePoolId: str
40881
- :param _Name: 节点池名称
40881
+ :param _Name: <p>节点池名称</p>
40882
40882
  :type Name: str
40883
- :param _Labels: 注册节点标签
40883
+ :param _Labels: <p>注册节点标签</p>
40884
40884
  :type Labels: list of Label
40885
- :param _Taints: 注册节点污点
40885
+ :param _Taints: <p>注册节点污点</p>
40886
40886
  :type Taints: list of Taint
40887
- :param _DeletionProtection: 删除保护开关
40887
+ :param _DeletionProtection: <p>删除保护开关</p>
40888
40888
  :type DeletionProtection: bool
40889
- :param _UserScript: base64 编码的用户脚本, 此脚本会在 k8s 组件运行后执行, 需要用户保证脚本的可重入及重试逻辑, 脚本及其生成的日志文件可在节点的 /data/ccs_userscript/ 路径查看
40889
+ :param _UserScript: <p>base64 编码的用户脚本, 此脚本会在 k8s 组件运行后执行, 需要用户保证脚本的可重入及重试逻辑, 脚本及其生成的日志文件可在节点的 /data/ccs_userscript/ 路径查看</p>
40890
40890
  :type UserScript: str
40891
40891
  """
40892
40892
  self._ClusterId = None
@@ -40899,7 +40899,7 @@ class ModifyExternalNodePoolRequest(AbstractModel):
40899
40899
 
40900
40900
  @property
40901
40901
  def ClusterId(self):
40902
- r"""集群ID
40902
+ r"""<p>集群ID</p>
40903
40903
  :rtype: str
40904
40904
  """
40905
40905
  return self._ClusterId
@@ -40910,7 +40910,7 @@ class ModifyExternalNodePoolRequest(AbstractModel):
40910
40910
 
40911
40911
  @property
40912
40912
  def NodePoolId(self):
40913
- r"""节点池ID
40913
+ r"""<p>节点池ID</p>
40914
40914
  :rtype: str
40915
40915
  """
40916
40916
  return self._NodePoolId
@@ -40921,7 +40921,7 @@ class ModifyExternalNodePoolRequest(AbstractModel):
40921
40921
 
40922
40922
  @property
40923
40923
  def Name(self):
40924
- r"""节点池名称
40924
+ r"""<p>节点池名称</p>
40925
40925
  :rtype: str
40926
40926
  """
40927
40927
  return self._Name
@@ -40932,7 +40932,7 @@ class ModifyExternalNodePoolRequest(AbstractModel):
40932
40932
 
40933
40933
  @property
40934
40934
  def Labels(self):
40935
- r"""注册节点标签
40935
+ r"""<p>注册节点标签</p>
40936
40936
  :rtype: list of Label
40937
40937
  """
40938
40938
  return self._Labels
@@ -40943,7 +40943,7 @@ class ModifyExternalNodePoolRequest(AbstractModel):
40943
40943
 
40944
40944
  @property
40945
40945
  def Taints(self):
40946
- r"""注册节点污点
40946
+ r"""<p>注册节点污点</p>
40947
40947
  :rtype: list of Taint
40948
40948
  """
40949
40949
  return self._Taints
@@ -40954,7 +40954,7 @@ class ModifyExternalNodePoolRequest(AbstractModel):
40954
40954
 
40955
40955
  @property
40956
40956
  def DeletionProtection(self):
40957
- r"""删除保护开关
40957
+ r"""<p>删除保护开关</p>
40958
40958
  :rtype: bool
40959
40959
  """
40960
40960
  return self._DeletionProtection
@@ -40965,7 +40965,7 @@ class ModifyExternalNodePoolRequest(AbstractModel):
40965
40965
 
40966
40966
  @property
40967
40967
  def UserScript(self):
40968
- r"""base64 编码的用户脚本, 此脚本会在 k8s 组件运行后执行, 需要用户保证脚本的可重入及重试逻辑, 脚本及其生成的日志文件可在节点的 /data/ccs_userscript/ 路径查看
40968
+ r"""<p>base64 编码的用户脚本, 此脚本会在 k8s 组件运行后执行, 需要用户保证脚本的可重入及重试逻辑, 脚本及其生成的日志文件可在节点的 /data/ccs_userscript/ 路径查看</p>
40969
40969
  :rtype: str
40970
40970
  """
40971
40971
  return self._UserScript
@@ -55882,30 +55882,23 @@ class UpgradeClusterInstancesRequest(AbstractModel):
55882
55882
 
55883
55883
  def __init__(self):
55884
55884
  r"""
55885
- :param _ClusterId: 集群ID(请登录 [TKE 控制台](https://console.cloud.tencent.com/tke2) 获取集群 ID )
55885
+ :param _ClusterId: <p>集群ID(请登录 <a href="https://console.cloud.tencent.com/tke2">TKE 控制台</a> 获取集群 ID )</p>
55886
55886
  :type ClusterId: str
55887
- :param _Operation: create 表示开始一次升级任务
55888
- pause 表示停止任务
55889
- resume表示继续任务
55890
- abort表示终止任务
55887
+ :param _Operation: <p>create 表示开始一次升级任务<br>pause 表示停止任务<br>resume表示继续任务<br>abort表示终止任务</p>
55891
55888
  :type Operation: str
55892
- :param _UpgradeType: 升级类型,只有Operation是create需要设置
55893
- reset 大版本重装升级
55894
- hot 小版本热升级
55895
- major 大版本原地升级
55889
+ :param _UpgradeType: <p>升级类型,只有Operation是create需要设置<br>reset 大版本重装升级<br>hot 小版本热升级<br>major 大版本原地升级</p>
55896
55890
  :type UpgradeType: str
55897
- :param _InstanceIds: 需要升级的节点列表,可以通过控制台或 [查询待升级节点接口
55898
- ](https://cloud.tencent.com/document/api/457/50366) 获取
55891
+ :param _InstanceIds: <p>需要升级的节点列表,可以通过控制台或 <a href="https://cloud.tencent.com/document/api/457/50366">查询待升级节点接口</a> 获取</p>
55899
55892
  :type InstanceIds: list of str
55900
- :param _ResetParam: 当节点重新加入集群时候所使用的参数,参考添加已有节点接口
55893
+ :param _ResetParam: <p>当节点重新加入集群时候所使用的参数,参考添加已有节点接口</p>
55901
55894
  :type ResetParam: :class:`tencentcloud.tke.v20180525.models.UpgradeNodeResetParam`
55902
- :param _SkipPreCheck: 是否忽略节点升级前检查,默认值 false
55895
+ :param _SkipPreCheck: <p>是否忽略节点升级前检查,默认值 false</p>
55903
55896
  :type SkipPreCheck: bool
55904
- :param _MaxNotReadyPercent: 最大可容忍的不可用Pod比例,如果设置 0 表示不做校验
55897
+ :param _MaxNotReadyPercent: <p>最大可容忍的不可用Pod百分比,如果设置 0 表示不做校验</p><p>取值范围:[0, 100]</p><p>默认值:20</p>
55905
55898
  :type MaxNotReadyPercent: float
55906
- :param _UpgradeRunTime: 是否升级节点运行时,默认false不升级
55899
+ :param _UpgradeRunTime: <p>是否升级节点运行时,默认false不升级</p>
55907
55900
  :type UpgradeRunTime: bool
55908
- :param _Concurrent: 支持多个节点并行升级,默认值为 1,最大并行数为15
55901
+ :param _Concurrent: <p>支持多个节点并行升级,默认值为 1,最大并行数为15</p>
55909
55902
  :type Concurrent: int
55910
55903
  """
55911
55904
  self._ClusterId = None
@@ -55920,7 +55913,7 @@ major 大版本原地升级
55920
55913
 
55921
55914
  @property
55922
55915
  def ClusterId(self):
55923
- r"""集群ID(请登录 [TKE 控制台](https://console.cloud.tencent.com/tke2) 获取集群 ID )
55916
+ r"""<p>集群ID(请登录 <a href="https://console.cloud.tencent.com/tke2">TKE 控制台</a> 获取集群 ID )</p>
55924
55917
  :rtype: str
55925
55918
  """
55926
55919
  return self._ClusterId
@@ -55931,10 +55924,7 @@ major 大版本原地升级
55931
55924
 
55932
55925
  @property
55933
55926
  def Operation(self):
55934
- r"""create 表示开始一次升级任务
55935
- pause 表示停止任务
55936
- resume表示继续任务
55937
- abort表示终止任务
55927
+ r"""<p>create 表示开始一次升级任务<br>pause 表示停止任务<br>resume表示继续任务<br>abort表示终止任务</p>
55938
55928
  :rtype: str
55939
55929
  """
55940
55930
  return self._Operation
@@ -55945,10 +55935,7 @@ abort表示终止任务
55945
55935
 
55946
55936
  @property
55947
55937
  def UpgradeType(self):
55948
- r"""升级类型,只有Operation是create需要设置
55949
- reset 大版本重装升级
55950
- hot 小版本热升级
55951
- major 大版本原地升级
55938
+ r"""<p>升级类型,只有Operation是create需要设置<br>reset 大版本重装升级<br>hot 小版本热升级<br>major 大版本原地升级</p>
55952
55939
  :rtype: str
55953
55940
  """
55954
55941
  return self._UpgradeType
@@ -55959,8 +55946,7 @@ major 大版本原地升级
55959
55946
 
55960
55947
  @property
55961
55948
  def InstanceIds(self):
55962
- r"""需要升级的节点列表,可以通过控制台或 [查询待升级节点接口
55963
- ](https://cloud.tencent.com/document/api/457/50366) 获取
55949
+ r"""<p>需要升级的节点列表,可以通过控制台或 <a href="https://cloud.tencent.com/document/api/457/50366">查询待升级节点接口</a> 获取</p>
55964
55950
  :rtype: list of str
55965
55951
  """
55966
55952
  return self._InstanceIds
@@ -55971,7 +55957,7 @@ major 大版本原地升级
55971
55957
 
55972
55958
  @property
55973
55959
  def ResetParam(self):
55974
- r"""当节点重新加入集群时候所使用的参数,参考添加已有节点接口
55960
+ r"""<p>当节点重新加入集群时候所使用的参数,参考添加已有节点接口</p>
55975
55961
  :rtype: :class:`tencentcloud.tke.v20180525.models.UpgradeNodeResetParam`
55976
55962
  """
55977
55963
  return self._ResetParam
@@ -55982,7 +55968,7 @@ major 大版本原地升级
55982
55968
 
55983
55969
  @property
55984
55970
  def SkipPreCheck(self):
55985
- r"""是否忽略节点升级前检查,默认值 false
55971
+ r"""<p>是否忽略节点升级前检查,默认值 false</p>
55986
55972
  :rtype: bool
55987
55973
  """
55988
55974
  return self._SkipPreCheck
@@ -55993,7 +55979,7 @@ major 大版本原地升级
55993
55979
 
55994
55980
  @property
55995
55981
  def MaxNotReadyPercent(self):
55996
- r"""最大可容忍的不可用Pod比例,如果设置 0 表示不做校验
55982
+ r"""<p>最大可容忍的不可用Pod百分比,如果设置 0 表示不做校验</p><p>取值范围:[0, 100]</p><p>默认值:20</p>
55997
55983
  :rtype: float
55998
55984
  """
55999
55985
  return self._MaxNotReadyPercent
@@ -56004,7 +55990,7 @@ major 大版本原地升级
56004
55990
 
56005
55991
  @property
56006
55992
  def UpgradeRunTime(self):
56007
- r"""是否升级节点运行时,默认false不升级
55993
+ r"""<p>是否升级节点运行时,默认false不升级</p>
56008
55994
  :rtype: bool
56009
55995
  """
56010
55996
  return self._UpgradeRunTime
@@ -56015,7 +56001,7 @@ major 大版本原地升级
56015
56001
 
56016
56002
  @property
56017
56003
  def Concurrent(self):
56018
- r"""支持多个节点并行升级,默认值为 1,最大并行数为15
56004
+ r"""<p>支持多个节点并行升级,默认值为 1,最大并行数为15</p>
56019
56005
  :rtype: int
56020
56006
  """
56021
56007
  return self._Concurrent
@@ -931,25 +931,25 @@ class CreateNodePoolRequest(AbstractModel):
931
931
 
932
932
  def __init__(self):
933
933
  r"""
934
- :param _ClusterId: 集群 ID
934
+ :param _ClusterId: <p>集群 ID</p>
935
935
  :type ClusterId: str
936
- :param _Name: 节点池名称
936
+ :param _Name: <p>节点池名称</p>
937
937
  :type Name: str
938
- :param _Type: 节点池类型
938
+ :param _Type: <p>节点池类型</p>
939
939
  :type Type: str
940
- :param _Labels: 节点 Labels
940
+ :param _Labels: <p>节点 Labels</p>
941
941
  :type Labels: list of Label
942
- :param _Taints: 节点污点
942
+ :param _Taints: <p>节点污点</p>
943
943
  :type Taints: list of Taint
944
- :param _Tags: 节点标签
944
+ :param _Tags: <p>节点标签</p>
945
945
  :type Tags: list of TagSpecification
946
- :param _DeletionProtection: 是否开启删除保护
946
+ :param _DeletionProtection: <p>是否开启删除保护</p>
947
947
  :type DeletionProtection: bool
948
- :param _Unschedulable: 节点是否默认不可调度
948
+ :param _Unschedulable: <p>节点是否默认不可调度</p>
949
949
  :type Unschedulable: bool
950
- :param _Native: 原生节点池创建参数(Type字段设置为Native时需填写)
950
+ :param _Native: <p>原生节点池创建参数(Type字段设置为Native时需填写)</p>
951
951
  :type Native: :class:`tencentcloud.tke.v20220501.models.CreateNativeNodePoolParam`
952
- :param _Annotations: 节点 Annotation 列表
952
+ :param _Annotations: <p>节点 Annotation 列表</p>
953
953
  :type Annotations: list of Annotation
954
954
  """
955
955
  self._ClusterId = None
@@ -965,7 +965,7 @@ class CreateNodePoolRequest(AbstractModel):
965
965
 
966
966
  @property
967
967
  def ClusterId(self):
968
- r"""集群 ID
968
+ r"""<p>集群 ID</p>
969
969
  :rtype: str
970
970
  """
971
971
  return self._ClusterId
@@ -976,7 +976,7 @@ class CreateNodePoolRequest(AbstractModel):
976
976
 
977
977
  @property
978
978
  def Name(self):
979
- r"""节点池名称
979
+ r"""<p>节点池名称</p>
980
980
  :rtype: str
981
981
  """
982
982
  return self._Name
@@ -987,7 +987,7 @@ class CreateNodePoolRequest(AbstractModel):
987
987
 
988
988
  @property
989
989
  def Type(self):
990
- r"""节点池类型
990
+ r"""<p>节点池类型</p>
991
991
  :rtype: str
992
992
  """
993
993
  return self._Type
@@ -998,7 +998,7 @@ class CreateNodePoolRequest(AbstractModel):
998
998
 
999
999
  @property
1000
1000
  def Labels(self):
1001
- r"""节点 Labels
1001
+ r"""<p>节点 Labels</p>
1002
1002
  :rtype: list of Label
1003
1003
  """
1004
1004
  return self._Labels
@@ -1009,7 +1009,7 @@ class CreateNodePoolRequest(AbstractModel):
1009
1009
 
1010
1010
  @property
1011
1011
  def Taints(self):
1012
- r"""节点污点
1012
+ r"""<p>节点污点</p>
1013
1013
  :rtype: list of Taint
1014
1014
  """
1015
1015
  return self._Taints
@@ -1020,7 +1020,7 @@ class CreateNodePoolRequest(AbstractModel):
1020
1020
 
1021
1021
  @property
1022
1022
  def Tags(self):
1023
- r"""节点标签
1023
+ r"""<p>节点标签</p>
1024
1024
  :rtype: list of TagSpecification
1025
1025
  """
1026
1026
  return self._Tags
@@ -1031,7 +1031,7 @@ class CreateNodePoolRequest(AbstractModel):
1031
1031
 
1032
1032
  @property
1033
1033
  def DeletionProtection(self):
1034
- r"""是否开启删除保护
1034
+ r"""<p>是否开启删除保护</p>
1035
1035
  :rtype: bool
1036
1036
  """
1037
1037
  return self._DeletionProtection
@@ -1042,7 +1042,7 @@ class CreateNodePoolRequest(AbstractModel):
1042
1042
 
1043
1043
  @property
1044
1044
  def Unschedulable(self):
1045
- r"""节点是否默认不可调度
1045
+ r"""<p>节点是否默认不可调度</p>
1046
1046
  :rtype: bool
1047
1047
  """
1048
1048
  return self._Unschedulable
@@ -1053,7 +1053,7 @@ class CreateNodePoolRequest(AbstractModel):
1053
1053
 
1054
1054
  @property
1055
1055
  def Native(self):
1056
- r"""原生节点池创建参数(Type字段设置为Native时需填写)
1056
+ r"""<p>原生节点池创建参数(Type字段设置为Native时需填写)</p>
1057
1057
  :rtype: :class:`tencentcloud.tke.v20220501.models.CreateNativeNodePoolParam`
1058
1058
  """
1059
1059
  return self._Native
@@ -1064,7 +1064,7 @@ class CreateNodePoolRequest(AbstractModel):
1064
1064
 
1065
1065
  @property
1066
1066
  def Annotations(self):
1067
- r"""节点 Annotation 列表
1067
+ r"""<p>节点 Annotation 列表</p>
1068
1068
  :rtype: list of Annotation
1069
1069
  """
1070
1070
  return self._Annotations
@@ -1124,7 +1124,7 @@ class CreateNodePoolResponse(AbstractModel):
1124
1124
 
1125
1125
  def __init__(self):
1126
1126
  r"""
1127
- :param _NodePoolId: 节点池 ID
1127
+ :param _NodePoolId: <p>节点池 ID</p>
1128
1128
  :type NodePoolId: str
1129
1129
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1130
1130
  :type RequestId: str
@@ -1134,7 +1134,7 @@ class CreateNodePoolResponse(AbstractModel):
1134
1134
 
1135
1135
  @property
1136
1136
  def NodePoolId(self):
1137
- r"""节点池 ID
1137
+ r"""<p>节点池 ID</p>
1138
1138
  :rtype: str
1139
1139
  """
1140
1140
  return self._NodePoolId
@@ -8297,16 +8297,27 @@ class Taint(AbstractModel):
8297
8297
 
8298
8298
  def __init__(self):
8299
8299
  r"""
8300
+ :param _Effect: Taint的Effect
8301
+ :type Effect: str
8300
8302
  :param _Key: Taint的Key
8301
8303
  :type Key: str
8302
8304
  :param _Value: Taint的Value
8303
8305
  :type Value: str
8304
- :param _Effect: Taint的Effect
8305
- :type Effect: str
8306
8306
  """
8307
+ self._Effect = None
8307
8308
  self._Key = None
8308
8309
  self._Value = None
8309
- self._Effect = None
8310
+
8311
+ @property
8312
+ def Effect(self):
8313
+ r"""Taint的Effect
8314
+ :rtype: str
8315
+ """
8316
+ return self._Effect
8317
+
8318
+ @Effect.setter
8319
+ def Effect(self, Effect):
8320
+ self._Effect = Effect
8310
8321
 
8311
8322
  @property
8312
8323
  def Key(self):
@@ -8330,22 +8341,11 @@ class Taint(AbstractModel):
8330
8341
  def Value(self, Value):
8331
8342
  self._Value = Value
8332
8343
 
8333
- @property
8334
- def Effect(self):
8335
- r"""Taint的Effect
8336
- :rtype: str
8337
- """
8338
- return self._Effect
8339
-
8340
- @Effect.setter
8341
- def Effect(self, Effect):
8342
- self._Effect = Effect
8343
-
8344
8344
 
8345
8345
  def _deserialize(self, params):
8346
+ self._Effect = params.get("Effect")
8346
8347
  self._Key = params.get("Key")
8347
8348
  self._Value = params.get("Value")
8348
- self._Effect = params.get("Effect")
8349
8349
  memeber_set = set(params.keys())
8350
8350
  for name, value in vars(self).items():
8351
8351
  property_name = name[1:]
@@ -50,7 +50,96 @@ class TkeClient(AbstractClient):
50
50
 
51
51
 
52
52
  def CreateNodePool(self, request):
53
- r"""创建 TKE 节点池
53
+ r"""**通过 CAM 策略强制节点池安全配置**
54
+
55
+ 创建原生节点池(`CreateNodePool`)接口已接入 CAM 条件鉴权,会根据请求参数计算出一组**条件键(Condition Key)**并传入 CAM 鉴权。您可以在 CAM/SCP 策略中基于这些条件键配置 `deny` 规则,从而强制约束节点池的安全配置(如必须开启磁盘加密、安全加固等)。
56
+
57
+ **支持的条件键**
58
+
59
+ | 条件键 | 含义 | 取值 | 取值判定说明 |
60
+ |--------|------|------|-------------|
61
+ | `tke:NodePoolType` | 节点池类型 | `Native` / `External` | 取请求的节点池类型,未指定时默认为 `Native` |
62
+ | `tke:SystemDiskEncrypted` | 系统盘是否加密 | `true` / `false` | 系统盘加密属性为 `ENCRYPT`(大小写不敏感)时为 `true`,否则为 `false` |
63
+ | `tke:AllDataDisksEncrypted` | 所有数据盘是否都已加密 | `true` / `false` | 全部数据盘加密属性均为 `ENCRYPT` 时为 `true`;未配置数据盘时也为 `true`;只要有任一数据盘未加密即为 `false` |
64
+ | `tke:SecurityAgentEnabled` | 是否开启安全加固(Security Agent) | `true` / `false` | 开启安全加固时为 `true`,否则为 `false` |
65
+
66
+ > 说明:所有条件键的取值均为字符串 `"true"` / `"false"`,请在策略中使用字符串形式匹配。
67
+
68
+ **使用方式**
69
+
70
+ 在 CAM 策略中使用 `bool_equal` 匹配条件键值为 `"false"`,配合 `effect: deny`,即可实现"未满足安全配置则拒绝创建节点池"的强制约束。
71
+
72
+ **示例一:强制开启安全加固**
73
+
74
+ 创建节点池时若未开启安全加固(`tke:SecurityAgentEnabled = "false"`),则拒绝。
75
+
76
+ ```json
77
+ {
78
+ "version": "2.0",
79
+ "statement": [
80
+ {
81
+ "effect": "deny",
82
+ "action": ["tke:CreateNodePool"],
83
+ "resource": ["*"],
84
+ "condition": {
85
+ "bool_equal": {
86
+ "tke:SecurityAgentEnabled": "false"
87
+ }
88
+ }
89
+ }
90
+ ]
91
+ }
92
+ ```
93
+
94
+ **示例二:强制数据盘加密**
95
+
96
+ 创建节点池时若存在未加密的数据盘(`tke:AllDataDisksEncrypted = "false"`),则拒绝。
97
+
98
+ ```json
99
+ {
100
+ "version": "2.0",
101
+ "statement": [
102
+ {
103
+ "effect": "deny",
104
+ "action": ["tke:CreateNodePool"],
105
+ "resource": ["*"],
106
+ "condition": {
107
+ "bool_equal": {
108
+ "tke:AllDataDisksEncrypted": "false"
109
+ }
110
+ }
111
+ }
112
+ ]
113
+ }
114
+ ```
115
+
116
+ **示例三:强制系统盘加密**
117
+
118
+ 创建节点池时若系统盘未加密(`tke:SystemDiskEncrypted = "false"`),则拒绝。
119
+
120
+ ```json
121
+ {
122
+ "version": "2.0",
123
+ "statement": [
124
+ {
125
+ "effect": "deny",
126
+ "action": ["tke:CreateNodePool"],
127
+ "resource": ["*"],
128
+ "condition": {
129
+ "bool_equal": {
130
+ "tke:SystemDiskEncrypted": "false"
131
+ }
132
+ }
133
+ }
134
+ ]
135
+ }
136
+ ```
137
+
138
+ **注意事项**
139
+
140
+ - 上述条件键在**未配置任何 CAM 策略**时不会影响节点池创建,仅在您显式配置了对应 `deny` 策略时才生效。
141
+ - 如需同时强制多项安全配置,必须在同一策略的 `statement` 中配置多条 `deny` 规则,不能将多个条件键写入同一条 `condition`。
142
+ - `tke:AllDataDisksEncrypted` 在**无数据盘**场景下取值为 `true`(不存在未加密的数据盘),因此仅约束"已配置的数据盘必须加密",不会强制要求必须挂载数据盘。
54
143
 
55
144
  :param request: Request instance for CreateNodePool.
56
145
  :type request: :class:`tencentcloud.tke.v20220501.models.CreateNodePoolRequest`
@@ -49,7 +49,96 @@ class TkeClient(AbstractClient):
49
49
  opts: Dict = None,
50
50
  ) -> models.CreateNodePoolResponse:
51
51
  """
52
- 创建 TKE 节点池
52
+ **通过 CAM 策略强制节点池安全配置**
53
+
54
+ 创建原生节点池(`CreateNodePool`)接口已接入 CAM 条件鉴权,会根据请求参数计算出一组**条件键(Condition Key)**并传入 CAM 鉴权。您可以在 CAM/SCP 策略中基于这些条件键配置 `deny` 规则,从而强制约束节点池的安全配置(如必须开启磁盘加密、安全加固等)。
55
+
56
+ **支持的条件键**
57
+
58
+ | 条件键 | 含义 | 取值 | 取值判定说明 |
59
+ |--------|------|------|-------------|
60
+ | `tke:NodePoolType` | 节点池类型 | `Native` / `External` | 取请求的节点池类型,未指定时默认为 `Native` |
61
+ | `tke:SystemDiskEncrypted` | 系统盘是否加密 | `true` / `false` | 系统盘加密属性为 `ENCRYPT`(大小写不敏感)时为 `true`,否则为 `false` |
62
+ | `tke:AllDataDisksEncrypted` | 所有数据盘是否都已加密 | `true` / `false` | 全部数据盘加密属性均为 `ENCRYPT` 时为 `true`;未配置数据盘时也为 `true`;只要有任一数据盘未加密即为 `false` |
63
+ | `tke:SecurityAgentEnabled` | 是否开启安全加固(Security Agent) | `true` / `false` | 开启安全加固时为 `true`,否则为 `false` |
64
+
65
+ > 说明:所有条件键的取值均为字符串 `"true"` / `"false"`,请在策略中使用字符串形式匹配。
66
+
67
+ **使用方式**
68
+
69
+ 在 CAM 策略中使用 `bool_equal` 匹配条件键值为 `"false"`,配合 `effect: deny`,即可实现"未满足安全配置则拒绝创建节点池"的强制约束。
70
+
71
+ **示例一:强制开启安全加固**
72
+
73
+ 创建节点池时若未开启安全加固(`tke:SecurityAgentEnabled = "false"`),则拒绝。
74
+
75
+ ```json
76
+ {
77
+ "version": "2.0",
78
+ "statement": [
79
+ {
80
+ "effect": "deny",
81
+ "action": ["tke:CreateNodePool"],
82
+ "resource": ["*"],
83
+ "condition": {
84
+ "bool_equal": {
85
+ "tke:SecurityAgentEnabled": "false"
86
+ }
87
+ }
88
+ }
89
+ ]
90
+ }
91
+ ```
92
+
93
+ **示例二:强制数据盘加密**
94
+
95
+ 创建节点池时若存在未加密的数据盘(`tke:AllDataDisksEncrypted = "false"`),则拒绝。
96
+
97
+ ```json
98
+ {
99
+ "version": "2.0",
100
+ "statement": [
101
+ {
102
+ "effect": "deny",
103
+ "action": ["tke:CreateNodePool"],
104
+ "resource": ["*"],
105
+ "condition": {
106
+ "bool_equal": {
107
+ "tke:AllDataDisksEncrypted": "false"
108
+ }
109
+ }
110
+ }
111
+ ]
112
+ }
113
+ ```
114
+
115
+ **示例三:强制系统盘加密**
116
+
117
+ 创建节点池时若系统盘未加密(`tke:SystemDiskEncrypted = "false"`),则拒绝。
118
+
119
+ ```json
120
+ {
121
+ "version": "2.0",
122
+ "statement": [
123
+ {
124
+ "effect": "deny",
125
+ "action": ["tke:CreateNodePool"],
126
+ "resource": ["*"],
127
+ "condition": {
128
+ "bool_equal": {
129
+ "tke:SystemDiskEncrypted": "false"
130
+ }
131
+ }
132
+ }
133
+ ]
134
+ }
135
+ ```
136
+
137
+ **注意事项**
138
+
139
+ - 上述条件键在**未配置任何 CAM 策略**时不会影响节点池创建,仅在您显式配置了对应 `deny` 策略时才生效。
140
+ - 如需同时强制多项安全配置,必须在同一策略的 `statement` 中配置多条 `deny` 规则,不能将多个条件键写入同一条 `condition`。
141
+ - `tke:AllDataDisksEncrypted` 在**无数据盘**场景下取值为 `true`(不存在未加密的数据盘),因此仅约束"已配置的数据盘必须加密",不会强制要求必须挂载数据盘。
53
142
  """
54
143
 
55
144
  kwargs = {}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-tke
3
- Version: 3.1.128
3
+ Version: 3.1.135
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.128
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.135
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.135
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.128