tencentcloud-sdk-python-tke 3.0.1444__tar.gz → 3.0.1451__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tencentcloud-sdk-python-tke-3.0.1444 → tencentcloud-sdk-python-tke-3.0.1451}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-tke-3.0.1444 → tencentcloud-sdk-python-tke-3.0.1451}/setup.py +1 -1
- {tencentcloud-sdk-python-tke-3.0.1444 → tencentcloud-sdk-python-tke-3.0.1451}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-tke-3.0.1444 → tencentcloud-sdk-python-tke-3.0.1451}/tencentcloud/tke/v20180525/models.py +27 -12
- {tencentcloud-sdk-python-tke-3.0.1444 → tencentcloud-sdk-python-tke-3.0.1451}/tencentcloud/tke/v20220501/models.py +32 -2
- {tencentcloud-sdk-python-tke-3.0.1444 → tencentcloud-sdk-python-tke-3.0.1451}/tencentcloud_sdk_python_tke.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-tke-3.0.1451/tencentcloud_sdk_python_tke.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-tke-3.0.1444/tencentcloud_sdk_python_tke.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-tke-3.0.1444 → tencentcloud-sdk-python-tke-3.0.1451}/README.rst +0 -0
- {tencentcloud-sdk-python-tke-3.0.1444 → tencentcloud-sdk-python-tke-3.0.1451}/setup.cfg +0 -0
- {tencentcloud-sdk-python-tke-3.0.1444 → tencentcloud-sdk-python-tke-3.0.1451}/tencentcloud/tke/__init__.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1444 → tencentcloud-sdk-python-tke-3.0.1451}/tencentcloud/tke/v20180525/__init__.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1444 → tencentcloud-sdk-python-tke-3.0.1451}/tencentcloud/tke/v20180525/errorcodes.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1444 → tencentcloud-sdk-python-tke-3.0.1451}/tencentcloud/tke/v20180525/tke_client.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1444 → tencentcloud-sdk-python-tke-3.0.1451}/tencentcloud/tke/v20220501/__init__.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1444 → tencentcloud-sdk-python-tke-3.0.1451}/tencentcloud/tke/v20220501/errorcodes.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1444 → tencentcloud-sdk-python-tke-3.0.1451}/tencentcloud/tke/v20220501/tke_client.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1444 → tencentcloud-sdk-python-tke-3.0.1451}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-tke-3.0.1444 → tencentcloud-sdk-python-tke-3.0.1451}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-tke-3.0.1444 → tencentcloud-sdk-python-tke-3.0.1451}/tencentcloud_sdk_python_tke.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-tke',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.0.1451,<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(),
|
|
@@ -4068,6 +4068,8 @@ class ClusterNetworkSettings(AbstractModel):
|
|
|
4068
4068
|
- 容器网络插件为CiliumOverlay。
|
|
4069
4069
|
- 支持CDC的托管集群,且网络插件为VPC-CNI。
|
|
4070
4070
|
:type SubnetId: str
|
|
4071
|
+
:param _DataPlaneV2: 是否启用了 DataPlaneV2(cilium替代kube-proxy)
|
|
4072
|
+
:type DataPlaneV2: bool
|
|
4071
4073
|
"""
|
|
4072
4074
|
self._ClusterCIDR = None
|
|
4073
4075
|
self._IgnoreClusterCIDRConflict = None
|
|
@@ -4084,6 +4086,7 @@ class ClusterNetworkSettings(AbstractModel):
|
|
|
4084
4086
|
self._Ipv6ServiceCIDR = None
|
|
4085
4087
|
self._CiliumMode = None
|
|
4086
4088
|
self._SubnetId = None
|
|
4089
|
+
self._DataPlaneV2 = None
|
|
4087
4090
|
|
|
4088
4091
|
@property
|
|
4089
4092
|
def ClusterCIDR(self):
|
|
@@ -4254,6 +4257,17 @@ class ClusterNetworkSettings(AbstractModel):
|
|
|
4254
4257
|
def SubnetId(self, SubnetId):
|
|
4255
4258
|
self._SubnetId = SubnetId
|
|
4256
4259
|
|
|
4260
|
+
@property
|
|
4261
|
+
def DataPlaneV2(self):
|
|
4262
|
+
"""是否启用了 DataPlaneV2(cilium替代kube-proxy)
|
|
4263
|
+
:rtype: bool
|
|
4264
|
+
"""
|
|
4265
|
+
return self._DataPlaneV2
|
|
4266
|
+
|
|
4267
|
+
@DataPlaneV2.setter
|
|
4268
|
+
def DataPlaneV2(self, DataPlaneV2):
|
|
4269
|
+
self._DataPlaneV2 = DataPlaneV2
|
|
4270
|
+
|
|
4257
4271
|
|
|
4258
4272
|
def _deserialize(self, params):
|
|
4259
4273
|
self._ClusterCIDR = params.get("ClusterCIDR")
|
|
@@ -4271,6 +4285,7 @@ class ClusterNetworkSettings(AbstractModel):
|
|
|
4271
4285
|
self._Ipv6ServiceCIDR = params.get("Ipv6ServiceCIDR")
|
|
4272
4286
|
self._CiliumMode = params.get("CiliumMode")
|
|
4273
4287
|
self._SubnetId = params.get("SubnetId")
|
|
4288
|
+
self._DataPlaneV2 = params.get("DataPlaneV2")
|
|
4274
4289
|
memeber_set = set(params.keys())
|
|
4275
4290
|
for name, value in vars(self).items():
|
|
4276
4291
|
property_name = name[1:]
|
|
@@ -45107,15 +45122,15 @@ class SuperNodeResource(AbstractModel):
|
|
|
45107
45122
|
|
|
45108
45123
|
def __init__(self):
|
|
45109
45124
|
r"""
|
|
45110
|
-
:param _NodeName:
|
|
45125
|
+
:param _NodeName: 节点名称,此字段在出参中有效。
|
|
45111
45126
|
:type NodeName: str
|
|
45112
|
-
:param _Num:
|
|
45127
|
+
:param _Num: 节点上的资源总数,QuotaType为 exact 时,表示创建指定规格的精确配额数量。
|
|
45113
45128
|
:type Num: int
|
|
45114
|
-
:param _Cpu:
|
|
45129
|
+
:param _Cpu: 节点上的总核数,QuotaType为 exact 时表示指定规格的核数。
|
|
45115
45130
|
:type Cpu: float
|
|
45116
|
-
:param _Memory:
|
|
45131
|
+
:param _Memory: 节点上的总内存数,QuotaType为 exact 时表示指定规格的内存,单位:Gi
|
|
45117
45132
|
:type Memory: float
|
|
45118
|
-
:param _Gpu: 节点上的总 GPU
|
|
45133
|
+
:param _Gpu: 节点上的总 GPU 卡数,QuotaType为 exact 时表示指定规格的GPU卡数。
|
|
45119
45134
|
:type Gpu: float
|
|
45120
45135
|
:param _QuotaType: 节点资源的配额类型,exact表示精确配额,fuzzy 表示模糊配额。
|
|
45121
45136
|
:type QuotaType: str
|
|
@@ -45123,7 +45138,7 @@ class SuperNodeResource(AbstractModel):
|
|
|
45123
45138
|
:type ChargeType: str
|
|
45124
45139
|
:param _ResourceType: QuotaType为 exact 时,此字段有效,表示精确配额的资源类型。
|
|
45125
45140
|
:type ResourceType: str
|
|
45126
|
-
:param _DisasterRecoverGroupId: 置放群组 ID
|
|
45141
|
+
:param _DisasterRecoverGroupId: 置放群组 ID,QuotaType为 exact 时有效,表示购买的精确配额需满足置放群组。可通过 [DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/product/213/17810) 接口返回值中的DisasterRecoverGroupId获取。
|
|
45127
45142
|
:type DisasterRecoverGroupId: str
|
|
45128
45143
|
"""
|
|
45129
45144
|
self._NodeName = None
|
|
@@ -45138,7 +45153,7 @@ class SuperNodeResource(AbstractModel):
|
|
|
45138
45153
|
|
|
45139
45154
|
@property
|
|
45140
45155
|
def NodeName(self):
|
|
45141
|
-
"""
|
|
45156
|
+
"""节点名称,此字段在出参中有效。
|
|
45142
45157
|
:rtype: str
|
|
45143
45158
|
"""
|
|
45144
45159
|
return self._NodeName
|
|
@@ -45149,7 +45164,7 @@ class SuperNodeResource(AbstractModel):
|
|
|
45149
45164
|
|
|
45150
45165
|
@property
|
|
45151
45166
|
def Num(self):
|
|
45152
|
-
"""
|
|
45167
|
+
"""节点上的资源总数,QuotaType为 exact 时,表示创建指定规格的精确配额数量。
|
|
45153
45168
|
:rtype: int
|
|
45154
45169
|
"""
|
|
45155
45170
|
return self._Num
|
|
@@ -45160,7 +45175,7 @@ class SuperNodeResource(AbstractModel):
|
|
|
45160
45175
|
|
|
45161
45176
|
@property
|
|
45162
45177
|
def Cpu(self):
|
|
45163
|
-
"""
|
|
45178
|
+
"""节点上的总核数,QuotaType为 exact 时表示指定规格的核数。
|
|
45164
45179
|
:rtype: float
|
|
45165
45180
|
"""
|
|
45166
45181
|
return self._Cpu
|
|
@@ -45171,7 +45186,7 @@ class SuperNodeResource(AbstractModel):
|
|
|
45171
45186
|
|
|
45172
45187
|
@property
|
|
45173
45188
|
def Memory(self):
|
|
45174
|
-
"""
|
|
45189
|
+
"""节点上的总内存数,QuotaType为 exact 时表示指定规格的内存,单位:Gi
|
|
45175
45190
|
:rtype: float
|
|
45176
45191
|
"""
|
|
45177
45192
|
return self._Memory
|
|
@@ -45182,7 +45197,7 @@ class SuperNodeResource(AbstractModel):
|
|
|
45182
45197
|
|
|
45183
45198
|
@property
|
|
45184
45199
|
def Gpu(self):
|
|
45185
|
-
"""节点上的总 GPU
|
|
45200
|
+
"""节点上的总 GPU 卡数,QuotaType为 exact 时表示指定规格的GPU卡数。
|
|
45186
45201
|
:rtype: float
|
|
45187
45202
|
"""
|
|
45188
45203
|
return self._Gpu
|
|
@@ -45226,7 +45241,7 @@ class SuperNodeResource(AbstractModel):
|
|
|
45226
45241
|
|
|
45227
45242
|
@property
|
|
45228
45243
|
def DisasterRecoverGroupId(self):
|
|
45229
|
-
"""置放群组 ID
|
|
45244
|
+
"""置放群组 ID,QuotaType为 exact 时有效,表示购买的精确配额需满足置放群组。可通过 [DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/product/213/17810) 接口返回值中的DisasterRecoverGroupId获取。
|
|
45230
45245
|
:rtype: str
|
|
45231
45246
|
"""
|
|
45232
45247
|
return self._DisasterRecoverGroupId
|
|
@@ -363,10 +363,14 @@ class CreateNativeNodePoolParam(AbstractModel):
|
|
|
363
363
|
:type InternetAccessible: :class:`tencentcloud.tke.v20220501.models.InternetAccessible`
|
|
364
364
|
:param _DataDisks: 原生节点池数据盘列表
|
|
365
365
|
:type DataDisks: list of DataDisk
|
|
366
|
+
:param _QGPUEnable: qgpu开关
|
|
367
|
+
:type QGPUEnable: bool
|
|
366
368
|
:param _KeyIds: 节点池ssh公钥id数组
|
|
367
369
|
:type KeyIds: list of str
|
|
368
370
|
:param _MachineType: 节点池类型
|
|
369
371
|
:type MachineType: str
|
|
372
|
+
:param _AutomationService: 原生节点池安装节点自动化助手开关
|
|
373
|
+
:type AutomationService: bool
|
|
370
374
|
"""
|
|
371
375
|
self._Scaling = None
|
|
372
376
|
self._SubnetIds = None
|
|
@@ -387,8 +391,10 @@ class CreateNativeNodePoolParam(AbstractModel):
|
|
|
387
391
|
self._Replicas = None
|
|
388
392
|
self._InternetAccessible = None
|
|
389
393
|
self._DataDisks = None
|
|
394
|
+
self._QGPUEnable = None
|
|
390
395
|
self._KeyIds = None
|
|
391
396
|
self._MachineType = None
|
|
397
|
+
self._AutomationService = None
|
|
392
398
|
|
|
393
399
|
@property
|
|
394
400
|
def Scaling(self):
|
|
@@ -599,6 +605,17 @@ class CreateNativeNodePoolParam(AbstractModel):
|
|
|
599
605
|
def DataDisks(self, DataDisks):
|
|
600
606
|
self._DataDisks = DataDisks
|
|
601
607
|
|
|
608
|
+
@property
|
|
609
|
+
def QGPUEnable(self):
|
|
610
|
+
"""qgpu开关
|
|
611
|
+
:rtype: bool
|
|
612
|
+
"""
|
|
613
|
+
return self._QGPUEnable
|
|
614
|
+
|
|
615
|
+
@QGPUEnable.setter
|
|
616
|
+
def QGPUEnable(self, QGPUEnable):
|
|
617
|
+
self._QGPUEnable = QGPUEnable
|
|
618
|
+
|
|
602
619
|
@property
|
|
603
620
|
def KeyIds(self):
|
|
604
621
|
"""节点池ssh公钥id数组
|
|
@@ -621,6 +638,17 @@ class CreateNativeNodePoolParam(AbstractModel):
|
|
|
621
638
|
def MachineType(self, MachineType):
|
|
622
639
|
self._MachineType = MachineType
|
|
623
640
|
|
|
641
|
+
@property
|
|
642
|
+
def AutomationService(self):
|
|
643
|
+
"""原生节点池安装节点自动化助手开关
|
|
644
|
+
:rtype: bool
|
|
645
|
+
"""
|
|
646
|
+
return self._AutomationService
|
|
647
|
+
|
|
648
|
+
@AutomationService.setter
|
|
649
|
+
def AutomationService(self, AutomationService):
|
|
650
|
+
self._AutomationService = AutomationService
|
|
651
|
+
|
|
624
652
|
|
|
625
653
|
def _deserialize(self, params):
|
|
626
654
|
if params.get("Scaling") is not None:
|
|
@@ -661,8 +689,10 @@ class CreateNativeNodePoolParam(AbstractModel):
|
|
|
661
689
|
obj = DataDisk()
|
|
662
690
|
obj._deserialize(item)
|
|
663
691
|
self._DataDisks.append(obj)
|
|
692
|
+
self._QGPUEnable = params.get("QGPUEnable")
|
|
664
693
|
self._KeyIds = params.get("KeyIds")
|
|
665
694
|
self._MachineType = params.get("MachineType")
|
|
695
|
+
self._AutomationService = params.get("AutomationService")
|
|
666
696
|
memeber_set = set(params.keys())
|
|
667
697
|
for name, value in vars(self).items():
|
|
668
698
|
property_name = name[1:]
|
|
@@ -696,7 +726,7 @@ class CreateNodePoolRequest(AbstractModel):
|
|
|
696
726
|
:type DeletionProtection: bool
|
|
697
727
|
:param _Unschedulable: 节点是否默认不可调度
|
|
698
728
|
:type Unschedulable: bool
|
|
699
|
-
:param _Native:
|
|
729
|
+
:param _Native: 原生节点池创建参数(Type字段设置为Native时需填写)
|
|
700
730
|
:type Native: :class:`tencentcloud.tke.v20220501.models.CreateNativeNodePoolParam`
|
|
701
731
|
:param _Annotations: 节点 Annotation 列表
|
|
702
732
|
:type Annotations: list of Annotation
|
|
@@ -802,7 +832,7 @@ class CreateNodePoolRequest(AbstractModel):
|
|
|
802
832
|
|
|
803
833
|
@property
|
|
804
834
|
def Native(self):
|
|
805
|
-
"""
|
|
835
|
+
"""原生节点池创建参数(Type字段设置为Native时需填写)
|
|
806
836
|
:rtype: :class:`tencentcloud.tke.v20220501.models.CreateNativeNodePoolParam`
|
|
807
837
|
"""
|
|
808
838
|
return self._Native
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1451
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1444
|
|
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
|