tencentcloud-sdk-python-tke 3.1.105__tar.gz → 3.1.106__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.105 → tencentcloud_sdk_python_tke-3.1.106}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tke-3.1.105 → tencentcloud_sdk_python_tke-3.1.106}/setup.py +1 -1
- {tencentcloud_sdk_python_tke-3.1.105 → tencentcloud_sdk_python_tke-3.1.106}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tke-3.1.105 → tencentcloud_sdk_python_tke-3.1.106}/tencentcloud/tke/v20180525/models.py +31 -14
- {tencentcloud_sdk_python_tke-3.1.105 → tencentcloud_sdk_python_tke-3.1.106}/tencentcloud/tke/v20220501/models.py +202 -224
- {tencentcloud_sdk_python_tke-3.1.105 → tencentcloud_sdk_python_tke-3.1.106}/tencentcloud_sdk_python_tke.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tke-3.1.106/tencentcloud_sdk_python_tke.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tke-3.1.105/tencentcloud_sdk_python_tke.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tke-3.1.105 → tencentcloud_sdk_python_tke-3.1.106}/README.rst +0 -0
- {tencentcloud_sdk_python_tke-3.1.105 → tencentcloud_sdk_python_tke-3.1.106}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tke-3.1.105 → tencentcloud_sdk_python_tke-3.1.106}/tencentcloud/tke/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.105 → tencentcloud_sdk_python_tke-3.1.106}/tencentcloud/tke/v20180525/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.105 → tencentcloud_sdk_python_tke-3.1.106}/tencentcloud/tke/v20180525/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.105 → tencentcloud_sdk_python_tke-3.1.106}/tencentcloud/tke/v20180525/tke_client.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.105 → tencentcloud_sdk_python_tke-3.1.106}/tencentcloud/tke/v20180525/tke_client_async.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.105 → tencentcloud_sdk_python_tke-3.1.106}/tencentcloud/tke/v20220501/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.105 → tencentcloud_sdk_python_tke-3.1.106}/tencentcloud/tke/v20220501/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.105 → tencentcloud_sdk_python_tke-3.1.106}/tencentcloud/tke/v20220501/tke_client.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.105 → tencentcloud_sdk_python_tke-3.1.106}/tencentcloud/tke/v20220501/tke_client_async.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.105 → tencentcloud_sdk_python_tke-3.1.106}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tke-3.1.105 → tencentcloud_sdk_python_tke-3.1.106}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tke-3.1.105 → tencentcloud_sdk_python_tke-3.1.106}/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.106
|
|
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.106
|
|
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.106,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tke SDK for Python',
|
|
@@ -40622,20 +40622,22 @@ class ModifyClusterVirtualNodePoolRequest(AbstractModel):
|
|
|
40622
40622
|
|
|
40623
40623
|
def __init__(self):
|
|
40624
40624
|
r"""
|
|
40625
|
-
:param _ClusterId:
|
|
40625
|
+
:param _ClusterId: <p>集群ID,通过DescribeClusters接口获取</p>
|
|
40626
40626
|
:type ClusterId: str
|
|
40627
|
-
:param _NodePoolId:
|
|
40627
|
+
:param _NodePoolId: <p>节点池ID,通过DescribeNodePools接口获取</p>
|
|
40628
40628
|
:type NodePoolId: str
|
|
40629
|
-
:param _Name:
|
|
40629
|
+
:param _Name: <p>节点池名称,必须修改至少一个参数</p>
|
|
40630
40630
|
:type Name: str
|
|
40631
|
-
:param _SecurityGroupIds:
|
|
40631
|
+
:param _SecurityGroupIds: <p>安全组ID列表,必须修改至少一个参数</p>
|
|
40632
40632
|
:type SecurityGroupIds: list of str
|
|
40633
|
-
:param _Labels:
|
|
40633
|
+
:param _Labels: <p>虚拟节点label,必须修改至少一个参数</p>
|
|
40634
40634
|
:type Labels: list of Label
|
|
40635
|
-
:param _Taints:
|
|
40635
|
+
:param _Taints: <p>虚拟节点taint,必须修改至少一个参数</p>
|
|
40636
40636
|
:type Taints: list of Taint
|
|
40637
|
-
:param _DeletionProtection:
|
|
40637
|
+
:param _DeletionProtection: <p>删除保护开关,必须修改至少一个参数</p>
|
|
40638
40638
|
:type DeletionProtection: bool
|
|
40639
|
+
:param _SubnetAllocationPolicy: <p>子网分配策略</p>
|
|
40640
|
+
:type SubnetAllocationPolicy: :class:`tencentcloud.tke.v20180525.models.SubnetAllocationPolicy`
|
|
40639
40641
|
"""
|
|
40640
40642
|
self._ClusterId = None
|
|
40641
40643
|
self._NodePoolId = None
|
|
@@ -40644,10 +40646,11 @@ class ModifyClusterVirtualNodePoolRequest(AbstractModel):
|
|
|
40644
40646
|
self._Labels = None
|
|
40645
40647
|
self._Taints = None
|
|
40646
40648
|
self._DeletionProtection = None
|
|
40649
|
+
self._SubnetAllocationPolicy = None
|
|
40647
40650
|
|
|
40648
40651
|
@property
|
|
40649
40652
|
def ClusterId(self):
|
|
40650
|
-
r"""
|
|
40653
|
+
r"""<p>集群ID,通过DescribeClusters接口获取</p>
|
|
40651
40654
|
:rtype: str
|
|
40652
40655
|
"""
|
|
40653
40656
|
return self._ClusterId
|
|
@@ -40658,7 +40661,7 @@ class ModifyClusterVirtualNodePoolRequest(AbstractModel):
|
|
|
40658
40661
|
|
|
40659
40662
|
@property
|
|
40660
40663
|
def NodePoolId(self):
|
|
40661
|
-
r"""
|
|
40664
|
+
r"""<p>节点池ID,通过DescribeNodePools接口获取</p>
|
|
40662
40665
|
:rtype: str
|
|
40663
40666
|
"""
|
|
40664
40667
|
return self._NodePoolId
|
|
@@ -40669,7 +40672,7 @@ class ModifyClusterVirtualNodePoolRequest(AbstractModel):
|
|
|
40669
40672
|
|
|
40670
40673
|
@property
|
|
40671
40674
|
def Name(self):
|
|
40672
|
-
r"""
|
|
40675
|
+
r"""<p>节点池名称,必须修改至少一个参数</p>
|
|
40673
40676
|
:rtype: str
|
|
40674
40677
|
"""
|
|
40675
40678
|
return self._Name
|
|
@@ -40680,7 +40683,7 @@ class ModifyClusterVirtualNodePoolRequest(AbstractModel):
|
|
|
40680
40683
|
|
|
40681
40684
|
@property
|
|
40682
40685
|
def SecurityGroupIds(self):
|
|
40683
|
-
r"""
|
|
40686
|
+
r"""<p>安全组ID列表,必须修改至少一个参数</p>
|
|
40684
40687
|
:rtype: list of str
|
|
40685
40688
|
"""
|
|
40686
40689
|
return self._SecurityGroupIds
|
|
@@ -40691,7 +40694,7 @@ class ModifyClusterVirtualNodePoolRequest(AbstractModel):
|
|
|
40691
40694
|
|
|
40692
40695
|
@property
|
|
40693
40696
|
def Labels(self):
|
|
40694
|
-
r"""
|
|
40697
|
+
r"""<p>虚拟节点label,必须修改至少一个参数</p>
|
|
40695
40698
|
:rtype: list of Label
|
|
40696
40699
|
"""
|
|
40697
40700
|
return self._Labels
|
|
@@ -40702,7 +40705,7 @@ class ModifyClusterVirtualNodePoolRequest(AbstractModel):
|
|
|
40702
40705
|
|
|
40703
40706
|
@property
|
|
40704
40707
|
def Taints(self):
|
|
40705
|
-
r"""
|
|
40708
|
+
r"""<p>虚拟节点taint,必须修改至少一个参数</p>
|
|
40706
40709
|
:rtype: list of Taint
|
|
40707
40710
|
"""
|
|
40708
40711
|
return self._Taints
|
|
@@ -40713,7 +40716,7 @@ class ModifyClusterVirtualNodePoolRequest(AbstractModel):
|
|
|
40713
40716
|
|
|
40714
40717
|
@property
|
|
40715
40718
|
def DeletionProtection(self):
|
|
40716
|
-
r"""
|
|
40719
|
+
r"""<p>删除保护开关,必须修改至少一个参数</p>
|
|
40717
40720
|
:rtype: bool
|
|
40718
40721
|
"""
|
|
40719
40722
|
return self._DeletionProtection
|
|
@@ -40722,6 +40725,17 @@ class ModifyClusterVirtualNodePoolRequest(AbstractModel):
|
|
|
40722
40725
|
def DeletionProtection(self, DeletionProtection):
|
|
40723
40726
|
self._DeletionProtection = DeletionProtection
|
|
40724
40727
|
|
|
40728
|
+
@property
|
|
40729
|
+
def SubnetAllocationPolicy(self):
|
|
40730
|
+
r"""<p>子网分配策略</p>
|
|
40731
|
+
:rtype: :class:`tencentcloud.tke.v20180525.models.SubnetAllocationPolicy`
|
|
40732
|
+
"""
|
|
40733
|
+
return self._SubnetAllocationPolicy
|
|
40734
|
+
|
|
40735
|
+
@SubnetAllocationPolicy.setter
|
|
40736
|
+
def SubnetAllocationPolicy(self, SubnetAllocationPolicy):
|
|
40737
|
+
self._SubnetAllocationPolicy = SubnetAllocationPolicy
|
|
40738
|
+
|
|
40725
40739
|
|
|
40726
40740
|
def _deserialize(self, params):
|
|
40727
40741
|
self._ClusterId = params.get("ClusterId")
|
|
@@ -40741,6 +40755,9 @@ class ModifyClusterVirtualNodePoolRequest(AbstractModel):
|
|
|
40741
40755
|
obj._deserialize(item)
|
|
40742
40756
|
self._Taints.append(obj)
|
|
40743
40757
|
self._DeletionProtection = params.get("DeletionProtection")
|
|
40758
|
+
if params.get("SubnetAllocationPolicy") is not None:
|
|
40759
|
+
self._SubnetAllocationPolicy = SubnetAllocationPolicy()
|
|
40760
|
+
self._SubnetAllocationPolicy._deserialize(params.get("SubnetAllocationPolicy"))
|
|
40744
40761
|
memeber_set = set(params.keys())
|
|
40745
40762
|
for name, value in vars(self).items():
|
|
40746
40763
|
property_name = name[1:]
|