tencentcloud-sdk-python-tke 3.1.39__tar.gz → 3.1.49__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.39 → tencentcloud_sdk_python_tke-3.1.49}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_tke-3.1.39 → tencentcloud_sdk_python_tke-3.1.49}/setup.py +1 -1
  3. {tencentcloud_sdk_python_tke-3.1.39 → tencentcloud_sdk_python_tke-3.1.49}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_tke-3.1.39 → tencentcloud_sdk_python_tke-3.1.49}/tencentcloud/tke/v20180525/models.py +77 -2
  5. {tencentcloud_sdk_python_tke-3.1.39 → tencentcloud_sdk_python_tke-3.1.49}/tencentcloud_sdk_python_tke.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_tke-3.1.49/tencentcloud_sdk_python_tke.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_tke-3.1.39/tencentcloud_sdk_python_tke.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_tke-3.1.39 → tencentcloud_sdk_python_tke-3.1.49}/README.rst +0 -0
  9. {tencentcloud_sdk_python_tke-3.1.39 → tencentcloud_sdk_python_tke-3.1.49}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_tke-3.1.39 → tencentcloud_sdk_python_tke-3.1.49}/tencentcloud/tke/__init__.py +0 -0
  11. {tencentcloud_sdk_python_tke-3.1.39 → tencentcloud_sdk_python_tke-3.1.49}/tencentcloud/tke/v20180525/__init__.py +0 -0
  12. {tencentcloud_sdk_python_tke-3.1.39 → tencentcloud_sdk_python_tke-3.1.49}/tencentcloud/tke/v20180525/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_tke-3.1.39 → tencentcloud_sdk_python_tke-3.1.49}/tencentcloud/tke/v20180525/tke_client.py +0 -0
  14. {tencentcloud_sdk_python_tke-3.1.39 → tencentcloud_sdk_python_tke-3.1.49}/tencentcloud/tke/v20180525/tke_client_async.py +0 -0
  15. {tencentcloud_sdk_python_tke-3.1.39 → tencentcloud_sdk_python_tke-3.1.49}/tencentcloud/tke/v20220501/__init__.py +0 -0
  16. {tencentcloud_sdk_python_tke-3.1.39 → tencentcloud_sdk_python_tke-3.1.49}/tencentcloud/tke/v20220501/errorcodes.py +0 -0
  17. {tencentcloud_sdk_python_tke-3.1.39 → tencentcloud_sdk_python_tke-3.1.49}/tencentcloud/tke/v20220501/models.py +0 -0
  18. {tencentcloud_sdk_python_tke-3.1.39 → tencentcloud_sdk_python_tke-3.1.49}/tencentcloud/tke/v20220501/tke_client.py +0 -0
  19. {tencentcloud_sdk_python_tke-3.1.39 → tencentcloud_sdk_python_tke-3.1.49}/tencentcloud/tke/v20220501/tke_client_async.py +0 -0
  20. {tencentcloud_sdk_python_tke-3.1.39 → tencentcloud_sdk_python_tke-3.1.49}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
  21. {tencentcloud_sdk_python_tke-3.1.39 → tencentcloud_sdk_python_tke-3.1.49}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
  22. {tencentcloud_sdk_python_tke-3.1.39 → tencentcloud_sdk_python_tke-3.1.49}/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.39
3
+ Version: 3.1.49
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.39
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.49
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.39,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.49,<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.39'
17
+ __version__ = '3.1.49'
@@ -2146,6 +2146,8 @@ class Cluster(AbstractModel):
2146
2146
  :type ClusterEtcdNodeNum: int
2147
2147
  :param _CdcId: 本地专用集群Id
2148
2148
  :type CdcId: str
2149
+ :param _IsHighAvailability: 集群是否启用高可用模式。用于指导跨可用区资源打散等高可用策略的执行
2150
+ :type IsHighAvailability: bool
2149
2151
  """
2150
2152
  self._ClusterId = None
2151
2153
  self._ClusterName = None
@@ -2172,6 +2174,7 @@ class Cluster(AbstractModel):
2172
2174
  self._RuntimeVersion = None
2173
2175
  self._ClusterEtcdNodeNum = None
2174
2176
  self._CdcId = None
2177
+ self._IsHighAvailability = None
2175
2178
 
2176
2179
  @property
2177
2180
  def ClusterId(self):
@@ -2449,6 +2452,17 @@ class Cluster(AbstractModel):
2449
2452
  def CdcId(self, CdcId):
2450
2453
  self._CdcId = CdcId
2451
2454
 
2455
+ @property
2456
+ def IsHighAvailability(self):
2457
+ r"""集群是否启用高可用模式。用于指导跨可用区资源打散等高可用策略的执行
2458
+ :rtype: bool
2459
+ """
2460
+ return self._IsHighAvailability
2461
+
2462
+ @IsHighAvailability.setter
2463
+ def IsHighAvailability(self, IsHighAvailability):
2464
+ self._IsHighAvailability = IsHighAvailability
2465
+
2452
2466
 
2453
2467
  def _deserialize(self, params):
2454
2468
  self._ClusterId = params.get("ClusterId")
@@ -2483,6 +2497,7 @@ class Cluster(AbstractModel):
2483
2497
  self._RuntimeVersion = params.get("RuntimeVersion")
2484
2498
  self._ClusterEtcdNodeNum = params.get("ClusterEtcdNodeNum")
2485
2499
  self._CdcId = params.get("CdcId")
2500
+ self._IsHighAvailability = params.get("IsHighAvailability")
2486
2501
  memeber_set = set(params.keys())
2487
2502
  for name, value in vars(self).items():
2488
2503
  property_name = name[1:]
@@ -2551,6 +2566,8 @@ ipvs-bpf模式: 设置KubeProxyMode为kube-proxy-bpf
2551
2566
  :type RuntimeVersion: str
2552
2567
  :param _VpcCniType: 区分共享网卡多IP模式和独立网卡模式,共享网卡多 IP 模式填写"tke-route-eni",独立网卡模式填写"tke-direct-eni",默认为共享网卡模式
2553
2568
  :type VpcCniType: str
2569
+ :param _IsHighAvailability: 集群是否启用高可用模式。用于指导跨可用区资源打散等高可用策略的执行,默认为true
2570
+ :type IsHighAvailability: bool
2554
2571
  """
2555
2572
  self._AsEnabled = None
2556
2573
  self._AuditEnabled = None
@@ -2573,6 +2590,7 @@ ipvs-bpf模式: 设置KubeProxyMode为kube-proxy-bpf
2573
2590
  self._QGPUShareEnable = None
2574
2591
  self._RuntimeVersion = None
2575
2592
  self._VpcCniType = None
2593
+ self._IsHighAvailability = None
2576
2594
 
2577
2595
  @property
2578
2596
  def AsEnabled(self):
@@ -2814,6 +2832,17 @@ ipvs-bpf模式: 设置KubeProxyMode为kube-proxy-bpf
2814
2832
  def VpcCniType(self, VpcCniType):
2815
2833
  self._VpcCniType = VpcCniType
2816
2834
 
2835
+ @property
2836
+ def IsHighAvailability(self):
2837
+ r"""集群是否启用高可用模式。用于指导跨可用区资源打散等高可用策略的执行,默认为true
2838
+ :rtype: bool
2839
+ """
2840
+ return self._IsHighAvailability
2841
+
2842
+ @IsHighAvailability.setter
2843
+ def IsHighAvailability(self, IsHighAvailability):
2844
+ self._IsHighAvailability = IsHighAvailability
2845
+
2817
2846
 
2818
2847
  def _deserialize(self, params):
2819
2848
  self._AsEnabled = params.get("AsEnabled")
@@ -2844,6 +2873,7 @@ ipvs-bpf模式: 设置KubeProxyMode为kube-proxy-bpf
2844
2873
  self._QGPUShareEnable = params.get("QGPUShareEnable")
2845
2874
  self._RuntimeVersion = params.get("RuntimeVersion")
2846
2875
  self._VpcCniType = params.get("VpcCniType")
2876
+ self._IsHighAvailability = params.get("IsHighAvailability")
2847
2877
  memeber_set = set(params.keys())
2848
2878
  for name, value in vars(self).items():
2849
2879
  property_name = name[1:]
@@ -5832,7 +5862,7 @@ class CreateClusterEndpointRequest(AbstractModel):
5832
5862
  :type IsExtranet: bool
5833
5863
  :param _Domain: 设置域名
5834
5864
  :type Domain: str
5835
- :param _SecurityGroup: 使用的安全组,只有外网访问需要传递(开启外网访问且不使用已有clb时必传)。获取方式:https://cloud.tencent.com/document/api/215/15808
5865
+ :param _SecurityGroup: 使用的安全组(开启内外网访问且不使用已有clb时可传,内网访问需要先找clb侧加白使用)。获取方式:https://cloud.tencent.com/document/api/215/15808
5836
5866
  :type SecurityGroup: str
5837
5867
  :param _ExtensiveParameters: 创建lb参数,只有外网访问需要设置,是一个json格式化后的字符串:{"InternetAccessible":{"InternetChargeType":"TRAFFIC_POSTPAID_BY_HOUR","InternetMaxBandwidthOut":200},"VipIsp":"","BandwidthPackageId":""}。
5838
5868
  各个参数意义:
@@ -5899,7 +5929,7 @@ BandwidthPackageId含义:带宽包ID,指定此参数时,网络计费方式
5899
5929
 
5900
5930
  @property
5901
5931
  def SecurityGroup(self):
5902
- r"""使用的安全组,只有外网访问需要传递(开启外网访问且不使用已有clb时必传)。获取方式:https://cloud.tencent.com/document/api/215/15808
5932
+ r"""使用的安全组(开启内外网访问且不使用已有clb时可传,内网访问需要先找clb侧加白使用)。获取方式:https://cloud.tencent.com/document/api/215/15808
5903
5933
  :rtype: str
5904
5934
  """
5905
5935
  return self._SecurityGroup
@@ -15606,6 +15636,8 @@ class DescribeClusterEndpointsResponse(AbstractModel):
15606
15636
  :type SecurityGroup: str
15607
15637
  :param _ClusterIntranetSubnetId: 内网访问所属子网
15608
15638
  :type ClusterIntranetSubnetId: str
15639
+ :param _IntranetSecurityGroup: 内网安全组
15640
+ :type IntranetSecurityGroup: str
15609
15641
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
15610
15642
  :type RequestId: str
15611
15643
  """
@@ -15618,6 +15650,7 @@ class DescribeClusterEndpointsResponse(AbstractModel):
15618
15650
  self._ClusterIntranetDomain = None
15619
15651
  self._SecurityGroup = None
15620
15652
  self._ClusterIntranetSubnetId = None
15653
+ self._IntranetSecurityGroup = None
15621
15654
  self._RequestId = None
15622
15655
 
15623
15656
  @property
@@ -15720,6 +15753,17 @@ class DescribeClusterEndpointsResponse(AbstractModel):
15720
15753
  def ClusterIntranetSubnetId(self, ClusterIntranetSubnetId):
15721
15754
  self._ClusterIntranetSubnetId = ClusterIntranetSubnetId
15722
15755
 
15756
+ @property
15757
+ def IntranetSecurityGroup(self):
15758
+ r"""内网安全组
15759
+ :rtype: str
15760
+ """
15761
+ return self._IntranetSecurityGroup
15762
+
15763
+ @IntranetSecurityGroup.setter
15764
+ def IntranetSecurityGroup(self, IntranetSecurityGroup):
15765
+ self._IntranetSecurityGroup = IntranetSecurityGroup
15766
+
15723
15767
  @property
15724
15768
  def RequestId(self):
15725
15769
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -15742,6 +15786,7 @@ class DescribeClusterEndpointsResponse(AbstractModel):
15742
15786
  self._ClusterIntranetDomain = params.get("ClusterIntranetDomain")
15743
15787
  self._SecurityGroup = params.get("SecurityGroup")
15744
15788
  self._ClusterIntranetSubnetId = params.get("ClusterIntranetSubnetId")
15789
+ self._IntranetSecurityGroup = params.get("IntranetSecurityGroup")
15745
15790
  self._RequestId = params.get("RequestId")
15746
15791
 
15747
15792
 
@@ -36648,6 +36693,8 @@ class ModifyClusterAttributeRequest(AbstractModel):
36648
36693
  :type QGPUShareEnable: bool
36649
36694
  :param _ClusterProperty: 集群属性
36650
36695
  :type ClusterProperty: :class:`tencentcloud.tke.v20180525.models.ClusterProperty`
36696
+ :param _IsHighAvailability: 集群是否启用高可用模式。用于指导跨可用区资源打散等高可用策略的执行
36697
+ :type IsHighAvailability: bool
36651
36698
  """
36652
36699
  self._ClusterId = None
36653
36700
  self._ProjectId = None
@@ -36657,6 +36704,7 @@ class ModifyClusterAttributeRequest(AbstractModel):
36657
36704
  self._AutoUpgradeClusterLevel = None
36658
36705
  self._QGPUShareEnable = None
36659
36706
  self._ClusterProperty = None
36707
+ self._IsHighAvailability = None
36660
36708
 
36661
36709
  @property
36662
36710
  def ClusterId(self):
@@ -36746,6 +36794,17 @@ class ModifyClusterAttributeRequest(AbstractModel):
36746
36794
  def ClusterProperty(self, ClusterProperty):
36747
36795
  self._ClusterProperty = ClusterProperty
36748
36796
 
36797
+ @property
36798
+ def IsHighAvailability(self):
36799
+ r"""集群是否启用高可用模式。用于指导跨可用区资源打散等高可用策略的执行
36800
+ :rtype: bool
36801
+ """
36802
+ return self._IsHighAvailability
36803
+
36804
+ @IsHighAvailability.setter
36805
+ def IsHighAvailability(self, IsHighAvailability):
36806
+ self._IsHighAvailability = IsHighAvailability
36807
+
36749
36808
 
36750
36809
  def _deserialize(self, params):
36751
36810
  self._ClusterId = params.get("ClusterId")
@@ -36760,6 +36819,7 @@ class ModifyClusterAttributeRequest(AbstractModel):
36760
36819
  if params.get("ClusterProperty") is not None:
36761
36820
  self._ClusterProperty = ClusterProperty()
36762
36821
  self._ClusterProperty._deserialize(params.get("ClusterProperty"))
36822
+ self._IsHighAvailability = params.get("IsHighAvailability")
36763
36823
  memeber_set = set(params.keys())
36764
36824
  for name, value in vars(self).items():
36765
36825
  property_name = name[1:]
@@ -36791,6 +36851,8 @@ class ModifyClusterAttributeResponse(AbstractModel):
36791
36851
  :type QGPUShareEnable: bool
36792
36852
  :param _ClusterProperty: 集群属性
36793
36853
  :type ClusterProperty: :class:`tencentcloud.tke.v20180525.models.ClusterProperty`
36854
+ :param _IsHighAvailability: 集群是否启用高可用模式。用于指导跨可用区资源打散等高可用策略的执行
36855
+ :type IsHighAvailability: bool
36794
36856
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
36795
36857
  :type RequestId: str
36796
36858
  """
@@ -36801,6 +36863,7 @@ class ModifyClusterAttributeResponse(AbstractModel):
36801
36863
  self._AutoUpgradeClusterLevel = None
36802
36864
  self._QGPUShareEnable = None
36803
36865
  self._ClusterProperty = None
36866
+ self._IsHighAvailability = None
36804
36867
  self._RequestId = None
36805
36868
 
36806
36869
  @property
@@ -36880,6 +36943,17 @@ class ModifyClusterAttributeResponse(AbstractModel):
36880
36943
  def ClusterProperty(self, ClusterProperty):
36881
36944
  self._ClusterProperty = ClusterProperty
36882
36945
 
36946
+ @property
36947
+ def IsHighAvailability(self):
36948
+ r"""集群是否启用高可用模式。用于指导跨可用区资源打散等高可用策略的执行
36949
+ :rtype: bool
36950
+ """
36951
+ return self._IsHighAvailability
36952
+
36953
+ @IsHighAvailability.setter
36954
+ def IsHighAvailability(self, IsHighAvailability):
36955
+ self._IsHighAvailability = IsHighAvailability
36956
+
36883
36957
  @property
36884
36958
  def RequestId(self):
36885
36959
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -36904,6 +36978,7 @@ class ModifyClusterAttributeResponse(AbstractModel):
36904
36978
  if params.get("ClusterProperty") is not None:
36905
36979
  self._ClusterProperty = ClusterProperty()
36906
36980
  self._ClusterProperty._deserialize(params.get("ClusterProperty"))
36981
+ self._IsHighAvailability = params.get("IsHighAvailability")
36907
36982
  self._RequestId = params.get("RequestId")
36908
36983
 
36909
36984
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-tke
3
- Version: 3.1.39
3
+ Version: 3.1.49
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.39
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.49
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.49
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.39