tencentcloud-sdk-python-tke 3.1.44__tar.gz → 3.1.51__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.44 → tencentcloud_sdk_python_tke-3.1.51}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_tke-3.1.44 → tencentcloud_sdk_python_tke-3.1.51}/setup.py +1 -1
  3. {tencentcloud_sdk_python_tke-3.1.44 → tencentcloud_sdk_python_tke-3.1.51}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_tke-3.1.44 → tencentcloud_sdk_python_tke-3.1.51}/tencentcloud/tke/v20180525/models.py +36 -6
  5. {tencentcloud_sdk_python_tke-3.1.44 → tencentcloud_sdk_python_tke-3.1.51}/tencentcloud/tke/v20220501/models.py +38 -4
  6. {tencentcloud_sdk_python_tke-3.1.44 → tencentcloud_sdk_python_tke-3.1.51}/tencentcloud_sdk_python_tke.egg-info/PKG-INFO +2 -2
  7. tencentcloud_sdk_python_tke-3.1.51/tencentcloud_sdk_python_tke.egg-info/requires.txt +1 -0
  8. tencentcloud_sdk_python_tke-3.1.44/tencentcloud_sdk_python_tke.egg-info/requires.txt +0 -1
  9. {tencentcloud_sdk_python_tke-3.1.44 → tencentcloud_sdk_python_tke-3.1.51}/README.rst +0 -0
  10. {tencentcloud_sdk_python_tke-3.1.44 → tencentcloud_sdk_python_tke-3.1.51}/setup.cfg +0 -0
  11. {tencentcloud_sdk_python_tke-3.1.44 → tencentcloud_sdk_python_tke-3.1.51}/tencentcloud/tke/__init__.py +0 -0
  12. {tencentcloud_sdk_python_tke-3.1.44 → tencentcloud_sdk_python_tke-3.1.51}/tencentcloud/tke/v20180525/__init__.py +0 -0
  13. {tencentcloud_sdk_python_tke-3.1.44 → tencentcloud_sdk_python_tke-3.1.51}/tencentcloud/tke/v20180525/errorcodes.py +0 -0
  14. {tencentcloud_sdk_python_tke-3.1.44 → tencentcloud_sdk_python_tke-3.1.51}/tencentcloud/tke/v20180525/tke_client.py +0 -0
  15. {tencentcloud_sdk_python_tke-3.1.44 → tencentcloud_sdk_python_tke-3.1.51}/tencentcloud/tke/v20180525/tke_client_async.py +0 -0
  16. {tencentcloud_sdk_python_tke-3.1.44 → tencentcloud_sdk_python_tke-3.1.51}/tencentcloud/tke/v20220501/__init__.py +0 -0
  17. {tencentcloud_sdk_python_tke-3.1.44 → tencentcloud_sdk_python_tke-3.1.51}/tencentcloud/tke/v20220501/errorcodes.py +0 -0
  18. {tencentcloud_sdk_python_tke-3.1.44 → tencentcloud_sdk_python_tke-3.1.51}/tencentcloud/tke/v20220501/tke_client.py +0 -0
  19. {tencentcloud_sdk_python_tke-3.1.44 → tencentcloud_sdk_python_tke-3.1.51}/tencentcloud/tke/v20220501/tke_client_async.py +0 -0
  20. {tencentcloud_sdk_python_tke-3.1.44 → tencentcloud_sdk_python_tke-3.1.51}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
  21. {tencentcloud_sdk_python_tke-3.1.44 → tencentcloud_sdk_python_tke-3.1.51}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
  22. {tencentcloud_sdk_python_tke-3.1.44 → tencentcloud_sdk_python_tke-3.1.51}/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.44
3
+ Version: 3.1.51
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.44
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.51
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.44,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.51,<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.44'
17
+ __version__ = '3.1.51'
@@ -205,6 +205,8 @@ class AddExistedInstancesRequest(AbstractModel):
205
205
  :type InstanceAdvancedSettingsOverrides: list of InstanceAdvancedSettings
206
206
  :param _ImageId: 节点镜像
207
207
  :type ImageId: str
208
+ :param _NodeType: 直接添加为原生节点
209
+ :type NodeType: str
208
210
  """
209
211
  self._ClusterId = None
210
212
  self._InstanceIds = None
@@ -217,6 +219,7 @@ class AddExistedInstancesRequest(AbstractModel):
217
219
  self._SkipValidateOptions = None
218
220
  self._InstanceAdvancedSettingsOverrides = None
219
221
  self._ImageId = None
222
+ self._NodeType = None
220
223
 
221
224
  @property
222
225
  def ClusterId(self):
@@ -339,6 +342,17 @@ class AddExistedInstancesRequest(AbstractModel):
339
342
  def ImageId(self, ImageId):
340
343
  self._ImageId = ImageId
341
344
 
345
+ @property
346
+ def NodeType(self):
347
+ r"""直接添加为原生节点
348
+ :rtype: str
349
+ """
350
+ return self._NodeType
351
+
352
+ @NodeType.setter
353
+ def NodeType(self, NodeType):
354
+ self._NodeType = NodeType
355
+
342
356
 
343
357
  def _deserialize(self, params):
344
358
  self._ClusterId = params.get("ClusterId")
@@ -365,6 +379,7 @@ class AddExistedInstancesRequest(AbstractModel):
365
379
  obj._deserialize(item)
366
380
  self._InstanceAdvancedSettingsOverrides.append(obj)
367
381
  self._ImageId = params.get("ImageId")
382
+ self._NodeType = params.get("NodeType")
368
383
  memeber_set = set(params.keys())
369
384
  for name, value in vars(self).items():
370
385
  property_name = name[1:]
@@ -5862,7 +5877,7 @@ class CreateClusterEndpointRequest(AbstractModel):
5862
5877
  :type IsExtranet: bool
5863
5878
  :param _Domain: 设置域名
5864
5879
  :type Domain: str
5865
- :param _SecurityGroup: 使用的安全组,只有外网访问需要传递(开启外网访问且不使用已有clb时必传)。获取方式:https://cloud.tencent.com/document/api/215/15808
5880
+ :param _SecurityGroup: 使用的安全组(开启内外网访问且不使用已有clb时可传,内网访问需要先找clb侧加白使用)。获取方式:https://cloud.tencent.com/document/api/215/15808
5866
5881
  :type SecurityGroup: str
5867
5882
  :param _ExtensiveParameters: 创建lb参数,只有外网访问需要设置,是一个json格式化后的字符串:{"InternetAccessible":{"InternetChargeType":"TRAFFIC_POSTPAID_BY_HOUR","InternetMaxBandwidthOut":200},"VipIsp":"","BandwidthPackageId":""}。
5868
5883
  各个参数意义:
@@ -5929,7 +5944,7 @@ BandwidthPackageId含义:带宽包ID,指定此参数时,网络计费方式
5929
5944
 
5930
5945
  @property
5931
5946
  def SecurityGroup(self):
5932
- r"""使用的安全组,只有外网访问需要传递(开启外网访问且不使用已有clb时必传)。获取方式:https://cloud.tencent.com/document/api/215/15808
5947
+ r"""使用的安全组(开启内外网访问且不使用已有clb时可传,内网访问需要先找clb侧加白使用)。获取方式:https://cloud.tencent.com/document/api/215/15808
5933
5948
  :rtype: str
5934
5949
  """
5935
5950
  return self._SecurityGroup
@@ -7773,7 +7788,7 @@ class CreateECMInstancesRequest(AbstractModel):
7773
7788
  :type ZoneInstanceCountISPSet: list of ECMZoneInstanceCountISP
7774
7789
  :param _Password: 密码
7775
7790
  :type Password: str
7776
- :param _InternetMaxBandwidthOut: 公网带宽
7791
+ :param _InternetMaxBandwidthOut: 公网带宽,单位为Mbps
7777
7792
  :type InternetMaxBandwidthOut: int
7778
7793
  :param _ImageId: 镜像id
7779
7794
  :type ImageId: str
@@ -7849,7 +7864,7 @@ class CreateECMInstancesRequest(AbstractModel):
7849
7864
 
7850
7865
  @property
7851
7866
  def InternetMaxBandwidthOut(self):
7852
- r"""公网带宽
7867
+ r"""公网带宽,单位为Mbps
7853
7868
  :rtype: int
7854
7869
  """
7855
7870
  return self._InternetMaxBandwidthOut
@@ -15636,6 +15651,8 @@ class DescribeClusterEndpointsResponse(AbstractModel):
15636
15651
  :type SecurityGroup: str
15637
15652
  :param _ClusterIntranetSubnetId: 内网访问所属子网
15638
15653
  :type ClusterIntranetSubnetId: str
15654
+ :param _IntranetSecurityGroup: 内网安全组
15655
+ :type IntranetSecurityGroup: str
15639
15656
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
15640
15657
  :type RequestId: str
15641
15658
  """
@@ -15648,6 +15665,7 @@ class DescribeClusterEndpointsResponse(AbstractModel):
15648
15665
  self._ClusterIntranetDomain = None
15649
15666
  self._SecurityGroup = None
15650
15667
  self._ClusterIntranetSubnetId = None
15668
+ self._IntranetSecurityGroup = None
15651
15669
  self._RequestId = None
15652
15670
 
15653
15671
  @property
@@ -15750,6 +15768,17 @@ class DescribeClusterEndpointsResponse(AbstractModel):
15750
15768
  def ClusterIntranetSubnetId(self, ClusterIntranetSubnetId):
15751
15769
  self._ClusterIntranetSubnetId = ClusterIntranetSubnetId
15752
15770
 
15771
+ @property
15772
+ def IntranetSecurityGroup(self):
15773
+ r"""内网安全组
15774
+ :rtype: str
15775
+ """
15776
+ return self._IntranetSecurityGroup
15777
+
15778
+ @IntranetSecurityGroup.setter
15779
+ def IntranetSecurityGroup(self, IntranetSecurityGroup):
15780
+ self._IntranetSecurityGroup = IntranetSecurityGroup
15781
+
15753
15782
  @property
15754
15783
  def RequestId(self):
15755
15784
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -15772,6 +15801,7 @@ class DescribeClusterEndpointsResponse(AbstractModel):
15772
15801
  self._ClusterIntranetDomain = params.get("ClusterIntranetDomain")
15773
15802
  self._SecurityGroup = params.get("SecurityGroup")
15774
15803
  self._ClusterIntranetSubnetId = params.get("ClusterIntranetSubnetId")
15804
+ self._IntranetSecurityGroup = params.get("IntranetSecurityGroup")
15775
15805
  self._RequestId = params.get("RequestId")
15776
15806
 
15777
15807
 
@@ -38673,7 +38703,7 @@ class ModifyNodePoolDesiredCapacityAboutAsgRequest(AbstractModel):
38673
38703
  :type ClusterId: str
38674
38704
  :param _NodePoolId: 节点池id
38675
38705
  :type NodePoolId: str
38676
- :param _DesiredCapacity: 节点池所关联的伸缩组的期望实例数
38706
+ :param _DesiredCapacity: 节点池所关联的伸缩组的期望实例数,单位个
38677
38707
  :type DesiredCapacity: int
38678
38708
  """
38679
38709
  self._ClusterId = None
@@ -38704,7 +38734,7 @@ class ModifyNodePoolDesiredCapacityAboutAsgRequest(AbstractModel):
38704
38734
 
38705
38735
  @property
38706
38736
  def DesiredCapacity(self):
38707
- r"""节点池所关联的伸缩组的期望实例数
38737
+ r"""节点池所关联的伸缩组的期望实例数,单位个
38708
38738
  :rtype: int
38709
38739
  """
38710
38740
  return self._DesiredCapacity
@@ -2788,7 +2788,7 @@ class Disk(AbstractModel):
2788
2788
  r"""
2789
2789
  :param _DiskType: 云盘类型
2790
2790
  :type DiskType: str
2791
- :param _DiskSize: 云盘大小(G)
2791
+ :param _DiskSize: 云盘大小 (G)
2792
2792
  :type DiskSize: int
2793
2793
  :param _AutoFormatAndMount: 是否自动化格式盘并挂载
2794
2794
  :type AutoFormatAndMount: bool
@@ -2799,6 +2799,12 @@ class Disk(AbstractModel):
2799
2799
  :param _DiskId: 云盘ID
2800
2800
  注意:此字段可能返回 null,表示取不到有效值。
2801
2801
  :type DiskId: str
2802
+ :param _Encrypt: 加密系统盘
2803
+ 注意:此字段可能返回 null,表示取不到有效值。
2804
+ :type Encrypt: str
2805
+ :param _KmsKeyId: 自定义 KMS ID
2806
+ 注意:此字段可能返回 null,表示取不到有效值。
2807
+ :type KmsKeyId: str
2802
2808
  """
2803
2809
  self._DiskType = None
2804
2810
  self._DiskSize = None
@@ -2806,6 +2812,8 @@ class Disk(AbstractModel):
2806
2812
  self._FileSystem = None
2807
2813
  self._MountTarget = None
2808
2814
  self._DiskId = None
2815
+ self._Encrypt = None
2816
+ self._KmsKeyId = None
2809
2817
 
2810
2818
  @property
2811
2819
  def DiskType(self):
@@ -2820,7 +2828,7 @@ class Disk(AbstractModel):
2820
2828
 
2821
2829
  @property
2822
2830
  def DiskSize(self):
2823
- r"""云盘大小(G)
2831
+ r"""云盘大小 (G)
2824
2832
  :rtype: int
2825
2833
  """
2826
2834
  return self._DiskSize
@@ -2874,6 +2882,30 @@ class Disk(AbstractModel):
2874
2882
  def DiskId(self, DiskId):
2875
2883
  self._DiskId = DiskId
2876
2884
 
2885
+ @property
2886
+ def Encrypt(self):
2887
+ r"""加密系统盘
2888
+ 注意:此字段可能返回 null,表示取不到有效值。
2889
+ :rtype: str
2890
+ """
2891
+ return self._Encrypt
2892
+
2893
+ @Encrypt.setter
2894
+ def Encrypt(self, Encrypt):
2895
+ self._Encrypt = Encrypt
2896
+
2897
+ @property
2898
+ def KmsKeyId(self):
2899
+ r"""自定义 KMS ID
2900
+ 注意:此字段可能返回 null,表示取不到有效值。
2901
+ :rtype: str
2902
+ """
2903
+ return self._KmsKeyId
2904
+
2905
+ @KmsKeyId.setter
2906
+ def KmsKeyId(self, KmsKeyId):
2907
+ self._KmsKeyId = KmsKeyId
2908
+
2877
2909
 
2878
2910
  def _deserialize(self, params):
2879
2911
  self._DiskType = params.get("DiskType")
@@ -2882,6 +2914,8 @@ class Disk(AbstractModel):
2882
2914
  self._FileSystem = params.get("FileSystem")
2883
2915
  self._MountTarget = params.get("MountTarget")
2884
2916
  self._DiskId = params.get("DiskId")
2917
+ self._Encrypt = params.get("Encrypt")
2918
+ self._KmsKeyId = params.get("KmsKeyId")
2885
2919
  memeber_set = set(params.keys())
2886
2920
  for name, value in vars(self).items():
2887
2921
  property_name = name[1:]
@@ -4154,7 +4188,7 @@ class InternetAccessible(AbstractModel):
4154
4188
 
4155
4189
  def __init__(self):
4156
4190
  r"""
4157
- :param _MaxBandwidthOut: 带宽
4191
+ :param _MaxBandwidthOut: 带宽,单位为Mbps
4158
4192
  :type MaxBandwidthOut: int
4159
4193
  :param _ChargeType: 网络计费方式
4160
4194
  :type ChargeType: str
@@ -4167,7 +4201,7 @@ class InternetAccessible(AbstractModel):
4167
4201
 
4168
4202
  @property
4169
4203
  def MaxBandwidthOut(self):
4170
- r"""带宽
4204
+ r"""带宽,单位为Mbps
4171
4205
  :rtype: int
4172
4206
  """
4173
4207
  return self._MaxBandwidthOut
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-tke
3
- Version: 3.1.44
3
+ Version: 3.1.51
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.44
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.51
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.51
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.44