tencentcloud-sdk-python-tke 3.0.1479__tar.gz → 3.0.1481__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.0.1481/PKG-INFO +46 -0
  2. {tencentcloud-sdk-python-tke-3.0.1479 → tencentcloud_sdk_python_tke-3.0.1481}/setup.py +1 -1
  3. {tencentcloud-sdk-python-tke-3.0.1479 → tencentcloud_sdk_python_tke-3.0.1481}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-tke-3.0.1479 → tencentcloud_sdk_python_tke-3.0.1481}/tencentcloud/tke/v20180525/models.py +136 -22
  5. {tencentcloud-sdk-python-tke-3.0.1479 → tencentcloud_sdk_python_tke-3.0.1481}/tencentcloud/tke/v20220501/models.py +21 -6
  6. tencentcloud_sdk_python_tke-3.0.1481/tencentcloud_sdk_python_tke.egg-info/PKG-INFO +46 -0
  7. tencentcloud_sdk_python_tke-3.0.1481/tencentcloud_sdk_python_tke.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-tke-3.0.1479/PKG-INFO +0 -45
  9. tencentcloud-sdk-python-tke-3.0.1479/tencentcloud_sdk_python_tke.egg-info/PKG-INFO +0 -45
  10. tencentcloud-sdk-python-tke-3.0.1479/tencentcloud_sdk_python_tke.egg-info/requires.txt +0 -1
  11. {tencentcloud-sdk-python-tke-3.0.1479 → tencentcloud_sdk_python_tke-3.0.1481}/README.rst +0 -0
  12. {tencentcloud-sdk-python-tke-3.0.1479 → tencentcloud_sdk_python_tke-3.0.1481}/setup.cfg +0 -0
  13. {tencentcloud-sdk-python-tke-3.0.1479 → tencentcloud_sdk_python_tke-3.0.1481}/tencentcloud/tke/__init__.py +0 -0
  14. {tencentcloud-sdk-python-tke-3.0.1479 → tencentcloud_sdk_python_tke-3.0.1481}/tencentcloud/tke/v20180525/__init__.py +0 -0
  15. {tencentcloud-sdk-python-tke-3.0.1479 → tencentcloud_sdk_python_tke-3.0.1481}/tencentcloud/tke/v20180525/errorcodes.py +0 -0
  16. {tencentcloud-sdk-python-tke-3.0.1479 → tencentcloud_sdk_python_tke-3.0.1481}/tencentcloud/tke/v20180525/tke_client.py +0 -0
  17. {tencentcloud-sdk-python-tke-3.0.1479 → tencentcloud_sdk_python_tke-3.0.1481}/tencentcloud/tke/v20220501/__init__.py +0 -0
  18. {tencentcloud-sdk-python-tke-3.0.1479 → tencentcloud_sdk_python_tke-3.0.1481}/tencentcloud/tke/v20220501/errorcodes.py +0 -0
  19. {tencentcloud-sdk-python-tke-3.0.1479 → tencentcloud_sdk_python_tke-3.0.1481}/tencentcloud/tke/v20220501/tke_client.py +0 -0
  20. {tencentcloud-sdk-python-tke-3.0.1479 → tencentcloud_sdk_python_tke-3.0.1481}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
  21. {tencentcloud-sdk-python-tke-3.0.1479 → tencentcloud_sdk_python_tke-3.0.1481}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
  22. {tencentcloud-sdk-python-tke-3.0.1479 → tencentcloud_sdk_python_tke-3.0.1481}/tencentcloud_sdk_python_tke.egg-info/top_level.txt +0 -0
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.1
2
+ Name: tencentcloud-sdk-python-tke
3
+ Version: 3.0.1481
4
+ Summary: Tencent Cloud Tke SDK for Python
5
+ Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
+ Author: Tencent Cloud
7
+ Maintainer-email: tencentcloudapi@tencent.com
8
+ License: Apache License 2.0
9
+ Platform: any
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: Apache Software License
13
+ Classifier: Programming Language :: Python
14
+ Classifier: Programming Language :: Python :: 2.7
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.6
17
+ Classifier: Programming Language :: Python :: 3.7
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1481
19
+
20
+ ============================
21
+ Tencent Cloud SDK for Python
22
+ ============================
23
+
24
+ Tencent Cloud Python Tke SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
25
+ The SDK works on Python versions:
26
+
27
+ * 2.7 and greater, including 3.x
28
+
29
+ Quick Start
30
+ -----------
31
+
32
+ First, install the library:
33
+
34
+ .. code-block:: sh
35
+
36
+ $ pip install tencentcloud-sdk-python-common
37
+ $ pip install tencentcloud-sdk-python-tke
38
+
39
+ or download source code from github and install:
40
+
41
+ .. code-block:: sh
42
+
43
+ $ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
44
+ $ cd tencentcloud-sdk-python
45
+ $ python package.py --components common tke
46
+
@@ -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.1479,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.0.1481,<4.0.0"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Tke SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1479'
17
+ __version__ = '3.0.1481'
@@ -572,7 +572,7 @@ class AddVpcCniSubnetsRequest(AbstractModel):
572
572
 
573
573
  def __init__(self):
574
574
  r"""
575
- :param _ClusterId: 集群ID
575
+ :param _ClusterId: 集群 ID,请[登录控制台](https://console.cloud.tencent.com/tke2/cluster)在集群列表复制ID
576
576
  :type ClusterId: str
577
577
  :param _SubnetIds: 为集群容器网络增加的子网列表
578
578
  :type SubnetIds: list of str
@@ -588,7 +588,7 @@ class AddVpcCniSubnetsRequest(AbstractModel):
588
588
 
589
589
  @property
590
590
  def ClusterId(self):
591
- r"""集群ID
591
+ r"""集群 ID,请[登录控制台](https://console.cloud.tencent.com/tke2/cluster)在集群列表复制ID
592
592
  :rtype: str
593
593
  """
594
594
  return self._ClusterId
@@ -5340,7 +5340,7 @@ class CreateCLSLogConfigRequest(AbstractModel):
5340
5340
  :type ClusterId: str
5341
5341
  :param _LogsetId: CLS日志集ID
5342
5342
  :type LogsetId: str
5343
- :param _ClusterType: 当前集群类型支持tke、eks
5343
+ :param _ClusterType: 当前集群类型支持tke(标准集群)、eks(serverless集群)
5344
5344
  :type ClusterType: str
5345
5345
  """
5346
5346
  self._LogConfig = None
@@ -5383,7 +5383,7 @@ class CreateCLSLogConfigRequest(AbstractModel):
5383
5383
 
5384
5384
  @property
5385
5385
  def ClusterType(self):
5386
- r"""当前集群类型支持tke、eks
5386
+ r"""当前集群类型支持tke(标准集群)、eks(serverless集群)
5387
5387
  :rtype: str
5388
5388
  """
5389
5389
  return self._ClusterType
@@ -16296,7 +16296,7 @@ class DescribeClusterRoutesRequest(AbstractModel):
16296
16296
 
16297
16297
  def __init__(self):
16298
16298
  r"""
16299
- :param _RouteTableName: 路由表名称。
16299
+ :param _RouteTableName: 路由表名称。与集群 ID 一致,可以到[集群控制台](https://console.cloud.tencent.com/tke2)进行复制。
16300
16300
  :type RouteTableName: str
16301
16301
  :param _Filters: 过滤条件,当前只支持按照单个条件GatewayIP进行过滤(可选)
16302
16302
  :type Filters: list of Filter
@@ -16306,7 +16306,7 @@ class DescribeClusterRoutesRequest(AbstractModel):
16306
16306
 
16307
16307
  @property
16308
16308
  def RouteTableName(self):
16309
- r"""路由表名称。
16309
+ r"""路由表名称。与集群 ID 一致,可以到[集群控制台](https://console.cloud.tencent.com/tke2)进行复制。
16310
16310
  :rtype: str
16311
16311
  """
16312
16312
  return self._RouteTableName
@@ -19457,14 +19457,14 @@ class DescribeIPAMDRequest(AbstractModel):
19457
19457
 
19458
19458
  def __init__(self):
19459
19459
  r"""
19460
- :param _ClusterId: 集群ID
19460
+ :param _ClusterId: 集群 ID,请[登录控制台](https://console.cloud.tencent.com/tke2/cluster)在集群列表复制ID
19461
19461
  :type ClusterId: str
19462
19462
  """
19463
19463
  self._ClusterId = None
19464
19464
 
19465
19465
  @property
19466
19466
  def ClusterId(self):
19467
- r"""集群ID
19467
+ r"""集群 ID,请[登录控制台](https://console.cloud.tencent.com/tke2/cluster)在集群列表复制ID
19468
19468
  :rtype: str
19469
19469
  """
19470
19470
  return self._ClusterId
@@ -20330,7 +20330,7 @@ class DescribeOpenPolicyListRequest(AbstractModel):
20330
20330
 
20331
20331
  def __init__(self):
20332
20332
  r"""
20333
- :param _ClusterId: 集群ID
20333
+ :param _ClusterId: 集群ID,请从容器服务集群列表获取(https://console.cloud.tencent.com/tke2/cluster)
20334
20334
  :type ClusterId: str
20335
20335
  :param _Category: 策略分类 基线:baseline 优选:priority 可选:optional
20336
20336
  :type Category: str
@@ -20340,7 +20340,7 @@ class DescribeOpenPolicyListRequest(AbstractModel):
20340
20340
 
20341
20341
  @property
20342
20342
  def ClusterId(self):
20343
- r"""集群ID
20343
+ r"""集群ID,请从容器服务集群列表获取(https://console.cloud.tencent.com/tke2/cluster)
20344
20344
  :rtype: str
20345
20345
  """
20346
20346
  return self._ClusterId
@@ -24449,7 +24449,7 @@ class DescribeRouteTableConflictsRequest(AbstractModel):
24449
24449
  r"""
24450
24450
  :param _RouteTableCidrBlock: 路由表CIDR
24451
24451
  :type RouteTableCidrBlock: str
24452
- :param _VpcId: 路由表绑定的VPC
24452
+ :param _VpcId: 路由表绑定的VPC,请到 [VPC 控制台](https://console.cloud.tencent.com/vpc/vpc)复制 VPC ID
24453
24453
  :type VpcId: str
24454
24454
  """
24455
24455
  self._RouteTableCidrBlock = None
@@ -24468,7 +24468,7 @@ class DescribeRouteTableConflictsRequest(AbstractModel):
24468
24468
 
24469
24469
  @property
24470
24470
  def VpcId(self):
24471
- r"""路由表绑定的VPC
24471
+ r"""路由表绑定的VPC,请到 [VPC 控制台](https://console.cloud.tencent.com/vpc/vpc)复制 VPC ID
24472
24472
  :rtype: str
24473
24473
  """
24474
24474
  return self._VpcId
@@ -27865,9 +27865,9 @@ class EnableClusterAuditRequest(AbstractModel):
27865
27865
  r"""
27866
27866
  :param _ClusterId: 集群ID
27867
27867
  :type ClusterId: str
27868
- :param _LogsetId: CLS日志集ID
27868
+ :param _LogsetId: CLS日志集ID,可以通过cls接口或者控制台获取
27869
27869
  :type LogsetId: str
27870
- :param _TopicId: CLS日志主题ID
27870
+ :param _TopicId: CLS日志主题ID,可以通过cls接口或者控制台获取
27871
27871
  :type TopicId: str
27872
27872
  :param _TopicRegion: topic所在region,默认为集群当前region
27873
27873
  :type TopicRegion: str
@@ -27890,7 +27890,7 @@ class EnableClusterAuditRequest(AbstractModel):
27890
27890
 
27891
27891
  @property
27892
27892
  def LogsetId(self):
27893
- r"""CLS日志集ID
27893
+ r"""CLS日志集ID,可以通过cls接口或者控制台获取
27894
27894
  :rtype: str
27895
27895
  """
27896
27896
  return self._LogsetId
@@ -27901,7 +27901,7 @@ class EnableClusterAuditRequest(AbstractModel):
27901
27901
 
27902
27902
  @property
27903
27903
  def TopicId(self):
27904
- r"""CLS日志主题ID
27904
+ r"""CLS日志主题ID,可以通过cls接口或者控制台获取
27905
27905
  :rtype: str
27906
27906
  """
27907
27907
  return self._TopicId
@@ -28119,9 +28119,9 @@ class EnableEventPersistenceRequest(AbstractModel):
28119
28119
  r"""
28120
28120
  :param _ClusterId: 集群ID
28121
28121
  :type ClusterId: str
28122
- :param _LogsetId: cls服务的logsetID
28122
+ :param _LogsetId: cls服务的logsetID,通过cls接口或者控制台获取
28123
28123
  :type LogsetId: str
28124
- :param _TopicId: cls服务的topicID
28124
+ :param _TopicId: cls服务的topicID,通过cls接口或者控制台获取
28125
28125
  :type TopicId: str
28126
28126
  :param _TopicRegion: topic所在地域,默认为集群所在地域
28127
28127
  :type TopicRegion: str
@@ -28144,7 +28144,7 @@ class EnableEventPersistenceRequest(AbstractModel):
28144
28144
 
28145
28145
  @property
28146
28146
  def LogsetId(self):
28147
- r"""cls服务的logsetID
28147
+ r"""cls服务的logsetID,通过cls接口或者控制台获取
28148
28148
  :rtype: str
28149
28149
  """
28150
28150
  return self._LogsetId
@@ -28155,7 +28155,7 @@ class EnableEventPersistenceRequest(AbstractModel):
28155
28155
 
28156
28156
  @property
28157
28157
  def TopicId(self):
28158
- r"""cls服务的topicID
28158
+ r"""cls服务的topicID,通过cls接口或者控制台获取
28159
28159
  :rtype: str
28160
28160
  """
28161
28161
  return self._TopicId
@@ -37075,7 +37075,63 @@ class OpenPolicyInfo(AbstractModel):
37075
37075
  :type EventNums: int
37076
37076
  :param _Name: 策略英文名称
37077
37077
  :type Name: str
37078
- :param _Kind: 策略模板类型
37078
+ :param _Kind: 策略模板类型,支持的类型如下:
37079
+ 优选策略:
37080
+ blocknamespacedeletion:存在pod的命名空间不允许删除
37081
+ blockcrddeletion:存在cr的crd不允许删除
37082
+ blockmountablevolumetype:禁止挂载指定的volume类型
37083
+ disallowalwayspullimage:禁止镜像拉取策略使用Always
37084
+ tkeallowedrepos:容器镜像来源限制
37085
+ blockunknowndaemonset:禁止未知的DaemonSet部署
37086
+ blockpvdeletion:PV处于绑定状态则不允许删除
37087
+ corednsprotect:CoreDNS组件删除保护
37088
+ blockschedulablenodedelete:非封锁状态的Node不允许删除
37089
+ resourcesdeletionprotection:资源删除保护
37090
+ tkeenirequest:弹性网卡资源配置限制
37091
+ blockworkloadcrossversionupgrade:工作负载镜像版本升级策略管控
37092
+ blockserviceaccountgranthighprivilegepermission:ServiceAccount权限管控
37093
+ blockclusteripserviceexist:不允许Service为ClusterIP类型
37094
+ blockinternetaccess:禁止公网访问
37095
+ assign:禁止访问Metadata Server
37096
+ blockhostnetworkpod:禁止创建HostNetwork类型Pod
37097
+
37098
+ 可选策略:
37099
+ blockvolumemountpath:禁止容器挂载指定的目录
37100
+ k8sallowedrepos:容器镜像必须以指定字符串列表中的字符串开头
37101
+ k8sblockendpointeditdefaultrole:禁止默认ClusterRole修改Endpoints
37102
+ k8sblockloadbalancer:不允许Service为LoadBalancer类型
37103
+ k8sblocknodeport:不允许Service为NodePort类型
37104
+ k8sblockwildcardingress:禁止ingress配置空白或通配符类型的hostname
37105
+ k8scontainerlimits:限制容器必须设置CPU和内存Limit
37106
+ k8scontainerratios:限制CPU和内存的Request与Limit的最大比率
37107
+ k8scontainerrequests:限制CPU和内存的Request必须设置且小于配置的最大值
37108
+ k8srequiredresources:必须配置内存的Limit,CPU和内存的Request
37109
+ k8sdisallowanonymous:不允许将白名单以外的ClusterRole和Role关联到system:anonymous User和system:unauthenticated Group
37110
+ k8sdisallowedtags:约束容器镜像tag
37111
+ k8sexternalips:限制服务externalIP仅为允许的IP地址列表
37112
+ k8simagedigests:容器镜像必须包含digest
37113
+ noupdateserviceaccount:拒绝白名单外的资源更新ServiceAccount
37114
+ k8sreplicalimits:要求具有spec.replicas字段的对象(Deployments、ReplicaSets等)在定义的范围内
37115
+ k8srequiredannotations:要求资源包含指定的annotations,其值与提供的正则表达式匹配
37116
+ k8srequiredlabels:要求资源包含指定的标签,其值与提供的正则表达式匹配
37117
+ k8srequiredprobes:要求Pod具有Readiness或Liveness Probe
37118
+ k8spspautomountserviceaccounttokenpod:约束容器不能设置automountServiceAccountToken为true
37119
+ k8spspallowprivilegeescalationcontainer:约束PodSecurityPolicy中的allowPrivilegeEscalation字段为false
37120
+ k8spspapparmor:约束AppArmor字段列表
37121
+ k8spspcapabilities:限制PodSecurityPolicy中的allowedCapabilities和requiredDropCapabilities字段
37122
+ k8spspflexvolumes:约束PodSecurityPolicy中的allowedFlexVolumes字段类型
37123
+ k8spspforbiddensysctls:约束PodSecurityPolicy中的sysctls字段不能使用的name
37124
+ k8spspfsgroup:控制PodSecurityPolicy中的fsGroup字段在限制范围内
37125
+ k8spsphostfilesystem:约束PodSecurityPolicy中的hostPath字段的参数
37126
+ k8spsphostnamespace:限制PodSecurityPolicy中的hostPID和hostIPC字段
37127
+ k8spsphostnetworkingports:约束PodSecurityPolicy中的hostNetwork和hostPorts字段
37128
+ k8spspprivilegedcontainer:禁止PodSecurityPolicy中的privileged字段为true
37129
+ k8spspprocmount:约束PodSecurityPolicy中的allowedProcMountTypes字段
37130
+ k8spspreadonlyrootfilesystem:约束PodSecurityPolicy中的readOnlyRootFilesystem字段
37131
+ k8spspseccomp:约束PodSecurityPolicy上的seccomp.security.alpha.kubernetes.io/allowedProfileNames注解
37132
+ k8spspselinuxv2:约束Pod定义SELinux配置的允许列表
37133
+ k8spspallowedusers:约束PodSecurityPolicy中的runAsUser、runAsGroup、supplementalGroups和fsGroup字段
37134
+ k8spspvolumetypes:约束PodSecurityPolicy中的volumes字段类型
37079
37135
  :type Kind: str
37080
37136
  :param _EnabledStatus: 策略开关状态:open打开,close关闭
37081
37137
  :type EnabledStatus: str
@@ -37164,7 +37220,63 @@ class OpenPolicyInfo(AbstractModel):
37164
37220
 
37165
37221
  @property
37166
37222
  def Kind(self):
37167
- r"""策略模板类型
37223
+ r"""策略模板类型,支持的类型如下:
37224
+ 优选策略:
37225
+ blocknamespacedeletion:存在pod的命名空间不允许删除
37226
+ blockcrddeletion:存在cr的crd不允许删除
37227
+ blockmountablevolumetype:禁止挂载指定的volume类型
37228
+ disallowalwayspullimage:禁止镜像拉取策略使用Always
37229
+ tkeallowedrepos:容器镜像来源限制
37230
+ blockunknowndaemonset:禁止未知的DaemonSet部署
37231
+ blockpvdeletion:PV处于绑定状态则不允许删除
37232
+ corednsprotect:CoreDNS组件删除保护
37233
+ blockschedulablenodedelete:非封锁状态的Node不允许删除
37234
+ resourcesdeletionprotection:资源删除保护
37235
+ tkeenirequest:弹性网卡资源配置限制
37236
+ blockworkloadcrossversionupgrade:工作负载镜像版本升级策略管控
37237
+ blockserviceaccountgranthighprivilegepermission:ServiceAccount权限管控
37238
+ blockclusteripserviceexist:不允许Service为ClusterIP类型
37239
+ blockinternetaccess:禁止公网访问
37240
+ assign:禁止访问Metadata Server
37241
+ blockhostnetworkpod:禁止创建HostNetwork类型Pod
37242
+
37243
+ 可选策略:
37244
+ blockvolumemountpath:禁止容器挂载指定的目录
37245
+ k8sallowedrepos:容器镜像必须以指定字符串列表中的字符串开头
37246
+ k8sblockendpointeditdefaultrole:禁止默认ClusterRole修改Endpoints
37247
+ k8sblockloadbalancer:不允许Service为LoadBalancer类型
37248
+ k8sblocknodeport:不允许Service为NodePort类型
37249
+ k8sblockwildcardingress:禁止ingress配置空白或通配符类型的hostname
37250
+ k8scontainerlimits:限制容器必须设置CPU和内存Limit
37251
+ k8scontainerratios:限制CPU和内存的Request与Limit的最大比率
37252
+ k8scontainerrequests:限制CPU和内存的Request必须设置且小于配置的最大值
37253
+ k8srequiredresources:必须配置内存的Limit,CPU和内存的Request
37254
+ k8sdisallowanonymous:不允许将白名单以外的ClusterRole和Role关联到system:anonymous User和system:unauthenticated Group
37255
+ k8sdisallowedtags:约束容器镜像tag
37256
+ k8sexternalips:限制服务externalIP仅为允许的IP地址列表
37257
+ k8simagedigests:容器镜像必须包含digest
37258
+ noupdateserviceaccount:拒绝白名单外的资源更新ServiceAccount
37259
+ k8sreplicalimits:要求具有spec.replicas字段的对象(Deployments、ReplicaSets等)在定义的范围内
37260
+ k8srequiredannotations:要求资源包含指定的annotations,其值与提供的正则表达式匹配
37261
+ k8srequiredlabels:要求资源包含指定的标签,其值与提供的正则表达式匹配
37262
+ k8srequiredprobes:要求Pod具有Readiness或Liveness Probe
37263
+ k8spspautomountserviceaccounttokenpod:约束容器不能设置automountServiceAccountToken为true
37264
+ k8spspallowprivilegeescalationcontainer:约束PodSecurityPolicy中的allowPrivilegeEscalation字段为false
37265
+ k8spspapparmor:约束AppArmor字段列表
37266
+ k8spspcapabilities:限制PodSecurityPolicy中的allowedCapabilities和requiredDropCapabilities字段
37267
+ k8spspflexvolumes:约束PodSecurityPolicy中的allowedFlexVolumes字段类型
37268
+ k8spspforbiddensysctls:约束PodSecurityPolicy中的sysctls字段不能使用的name
37269
+ k8spspfsgroup:控制PodSecurityPolicy中的fsGroup字段在限制范围内
37270
+ k8spsphostfilesystem:约束PodSecurityPolicy中的hostPath字段的参数
37271
+ k8spsphostnamespace:限制PodSecurityPolicy中的hostPID和hostIPC字段
37272
+ k8spsphostnetworkingports:约束PodSecurityPolicy中的hostNetwork和hostPorts字段
37273
+ k8spspprivilegedcontainer:禁止PodSecurityPolicy中的privileged字段为true
37274
+ k8spspprocmount:约束PodSecurityPolicy中的allowedProcMountTypes字段
37275
+ k8spspreadonlyrootfilesystem:约束PodSecurityPolicy中的readOnlyRootFilesystem字段
37276
+ k8spspseccomp:约束PodSecurityPolicy上的seccomp.security.alpha.kubernetes.io/allowedProfileNames注解
37277
+ k8spspselinuxv2:约束Pod定义SELinux配置的允许列表
37278
+ k8spspallowedusers:约束PodSecurityPolicy中的runAsUser、runAsGroup、supplementalGroups和fsGroup字段
37279
+ k8spspvolumetypes:约束PodSecurityPolicy中的volumes字段类型
37168
37280
  :rtype: str
37169
37281
  """
37170
37282
  return self._Kind
@@ -44076,6 +44188,7 @@ class RouteTableConflict(AbstractModel):
44076
44188
  def __init__(self):
44077
44189
  r"""
44078
44190
  :param _RouteTableType: 路由表类型。
44191
+ 枚举值:CcsCluster、Vpc、VpcRouteTable、CcsClusterRouteTable
44079
44192
  :type RouteTableType: str
44080
44193
  :param _RouteTableCidrBlock: 路由表CIDR。
44081
44194
  :type RouteTableCidrBlock: str
@@ -44092,6 +44205,7 @@ class RouteTableConflict(AbstractModel):
44092
44205
  @property
44093
44206
  def RouteTableType(self):
44094
44207
  r"""路由表类型。
44208
+ 枚举值:CcsCluster、Vpc、VpcRouteTable、CcsClusterRouteTable
44095
44209
  :rtype: str
44096
44210
  """
44097
44211
  return self._RouteTableType
@@ -3337,11 +3337,11 @@ class InstanceChargePrepaid(AbstractModel):
3337
3337
  def __init__(self):
3338
3338
  r"""
3339
3339
  :param _Period: 后付费计费周期,单位(月):
3340
- 1,2,3,4,5,,6,7, 8,9,10,11,12,24,36,48,60
3340
+ 1,2,3,4,5,6,7, 8,9,10,11,12,24,36,48,60
3341
3341
  :type Period: int
3342
3342
  :param _RenewFlag: 预付费续费方式:
3343
- - NOTIFY_AND_AUTO_RENEW:通知用户过期,且自动续费 (默认)
3344
- - NOTIFY_AND_MANUAL_RENEW:通知用户过期,但不自动续费
3343
+ - NOTIFY_AND_AUTO_RENEW:通知用户过期,且自动续费
3344
+ - NOTIFY_AND_MANUAL_RENEW:通知用户过期,但不自动续费(默认)
3345
3345
  - DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知用户过期,也不自动续费
3346
3346
 
3347
3347
  :type RenewFlag: str
@@ -3352,7 +3352,7 @@ class InstanceChargePrepaid(AbstractModel):
3352
3352
  @property
3353
3353
  def Period(self):
3354
3354
  r"""后付费计费周期,单位(月):
3355
- 1,2,3,4,5,,6,7, 8,9,10,11,12,24,36,48,60
3355
+ 1,2,3,4,5,6,7, 8,9,10,11,12,24,36,48,60
3356
3356
  :rtype: int
3357
3357
  """
3358
3358
  return self._Period
@@ -3364,8 +3364,8 @@ class InstanceChargePrepaid(AbstractModel):
3364
3364
  @property
3365
3365
  def RenewFlag(self):
3366
3366
  r"""预付费续费方式:
3367
- - NOTIFY_AND_AUTO_RENEW:通知用户过期,且自动续费 (默认)
3368
- - NOTIFY_AND_MANUAL_RENEW:通知用户过期,但不自动续费
3367
+ - NOTIFY_AND_AUTO_RENEW:通知用户过期,且自动续费
3368
+ - NOTIFY_AND_MANUAL_RENEW:通知用户过期,但不自动续费(默认)
3369
3369
  - DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知用户过期,也不自动续费
3370
3370
 
3371
3371
  :rtype: str
@@ -6801,6 +6801,8 @@ class UpdateNativeNodePoolParam(AbstractModel):
6801
6801
  :type InstanceTypes: list of str
6802
6802
  :param _Replicas: 期望节点数
6803
6803
  :type Replicas: int
6804
+ :param _UpdateExistedNode: 是否更新存量节点
6805
+ :type UpdateExistedNode: bool
6804
6806
  :param _DataDisks: 数据盘列表
6805
6807
  :type DataDisks: list of DataDisk
6806
6808
  :param _KeyIds: ssh公钥id数组
@@ -6825,6 +6827,7 @@ class UpdateNativeNodePoolParam(AbstractModel):
6825
6827
  self._EnableAutoscaling = None
6826
6828
  self._InstanceTypes = None
6827
6829
  self._Replicas = None
6830
+ self._UpdateExistedNode = None
6828
6831
  self._DataDisks = None
6829
6832
  self._KeyIds = None
6830
6833
  self._GPUConfigs = None
@@ -7019,6 +7022,17 @@ class UpdateNativeNodePoolParam(AbstractModel):
7019
7022
  def Replicas(self, Replicas):
7020
7023
  self._Replicas = Replicas
7021
7024
 
7025
+ @property
7026
+ def UpdateExistedNode(self):
7027
+ r"""是否更新存量节点
7028
+ :rtype: bool
7029
+ """
7030
+ return self._UpdateExistedNode
7031
+
7032
+ @UpdateExistedNode.setter
7033
+ def UpdateExistedNode(self, UpdateExistedNode):
7034
+ self._UpdateExistedNode = UpdateExistedNode
7035
+
7022
7036
  @property
7023
7037
  def DataDisks(self):
7024
7038
  r"""数据盘列表
@@ -7083,6 +7097,7 @@ class UpdateNativeNodePoolParam(AbstractModel):
7083
7097
  self._EnableAutoscaling = params.get("EnableAutoscaling")
7084
7098
  self._InstanceTypes = params.get("InstanceTypes")
7085
7099
  self._Replicas = params.get("Replicas")
7100
+ self._UpdateExistedNode = params.get("UpdateExistedNode")
7086
7101
  if params.get("DataDisks") is not None:
7087
7102
  self._DataDisks = []
7088
7103
  for item in params.get("DataDisks"):
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.1
2
+ Name: tencentcloud-sdk-python-tke
3
+ Version: 3.0.1481
4
+ Summary: Tencent Cloud Tke SDK for Python
5
+ Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
+ Author: Tencent Cloud
7
+ Maintainer-email: tencentcloudapi@tencent.com
8
+ License: Apache License 2.0
9
+ Platform: any
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: Apache Software License
13
+ Classifier: Programming Language :: Python
14
+ Classifier: Programming Language :: Python :: 2.7
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.6
17
+ Classifier: Programming Language :: Python :: 3.7
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1481
19
+
20
+ ============================
21
+ Tencent Cloud SDK for Python
22
+ ============================
23
+
24
+ Tencent Cloud Python Tke SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
25
+ The SDK works on Python versions:
26
+
27
+ * 2.7 and greater, including 3.x
28
+
29
+ Quick Start
30
+ -----------
31
+
32
+ First, install the library:
33
+
34
+ .. code-block:: sh
35
+
36
+ $ pip install tencentcloud-sdk-python-common
37
+ $ pip install tencentcloud-sdk-python-tke
38
+
39
+ or download source code from github and install:
40
+
41
+ .. code-block:: sh
42
+
43
+ $ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
44
+ $ cd tencentcloud-sdk-python
45
+ $ python package.py --components common tke
46
+
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.0.1481
@@ -1,45 +0,0 @@
1
- Metadata-Version: 1.2
2
- Name: tencentcloud-sdk-python-tke
3
- Version: 3.0.1479
4
- Summary: Tencent Cloud Tke SDK for Python
5
- Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
- Author: Tencent Cloud
7
- Maintainer-email: tencentcloudapi@tencent.com
8
- License: Apache License 2.0
9
- Description: ============================
10
- Tencent Cloud SDK for Python
11
- ============================
12
-
13
- Tencent Cloud Python Tke SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
14
- The SDK works on Python versions:
15
-
16
- * 2.7 and greater, including 3.x
17
-
18
- Quick Start
19
- -----------
20
-
21
- First, install the library:
22
-
23
- .. code-block:: sh
24
-
25
- $ pip install tencentcloud-sdk-python-common
26
- $ pip install tencentcloud-sdk-python-tke
27
-
28
- or download source code from github and install:
29
-
30
- .. code-block:: sh
31
-
32
- $ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
33
- $ cd tencentcloud-sdk-python
34
- $ python package.py --components common tke
35
-
36
-
37
- Platform: any
38
- Classifier: Development Status :: 5 - Production/Stable
39
- Classifier: Intended Audience :: Developers
40
- Classifier: License :: OSI Approved :: Apache Software License
41
- Classifier: Programming Language :: Python
42
- Classifier: Programming Language :: Python :: 2.7
43
- Classifier: Programming Language :: Python :: 3
44
- Classifier: Programming Language :: Python :: 3.6
45
- Classifier: Programming Language :: Python :: 3.7
@@ -1,45 +0,0 @@
1
- Metadata-Version: 1.2
2
- Name: tencentcloud-sdk-python-tke
3
- Version: 3.0.1479
4
- Summary: Tencent Cloud Tke SDK for Python
5
- Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
- Author: Tencent Cloud
7
- Maintainer-email: tencentcloudapi@tencent.com
8
- License: Apache License 2.0
9
- Description: ============================
10
- Tencent Cloud SDK for Python
11
- ============================
12
-
13
- Tencent Cloud Python Tke SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
14
- The SDK works on Python versions:
15
-
16
- * 2.7 and greater, including 3.x
17
-
18
- Quick Start
19
- -----------
20
-
21
- First, install the library:
22
-
23
- .. code-block:: sh
24
-
25
- $ pip install tencentcloud-sdk-python-common
26
- $ pip install tencentcloud-sdk-python-tke
27
-
28
- or download source code from github and install:
29
-
30
- .. code-block:: sh
31
-
32
- $ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
33
- $ cd tencentcloud-sdk-python
34
- $ python package.py --components common tke
35
-
36
-
37
- Platform: any
38
- Classifier: Development Status :: 5 - Production/Stable
39
- Classifier: Intended Audience :: Developers
40
- Classifier: License :: OSI Approved :: Apache Software License
41
- Classifier: Programming Language :: Python
42
- Classifier: Programming Language :: Python :: 2.7
43
- Classifier: Programming Language :: Python :: 3
44
- Classifier: Programming Language :: Python :: 3.6
45
- Classifier: Programming Language :: Python :: 3.7
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.0.1479