tencentcloud-sdk-python-intl-en 3.0.1199__py2.py3-none-any.whl → 3.0.1201__py2.py3-none-any.whl

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.

Potentially problematic release.


This version of tencentcloud-sdk-python-intl-en might be problematic. Click here for more details.

tencentcloud/__init__.py CHANGED
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
 
16
- __version__ = '3.0.1199'
16
+ __version__ = '3.0.1201'
@@ -733,6 +733,72 @@ class AnnotationValue(AbstractModel):
733
733
 
734
734
 
735
735
 
736
+ class AppChart(AbstractModel):
737
+ """Supported charts for the app.
738
+
739
+ """
740
+
741
+ def __init__(self):
742
+ r"""
743
+ :param _Name: chart name.
744
+ :type Name: str
745
+ :param _Label: Tag of the chart.
746
+ :type Label: str
747
+ :param _LatestVersion: Version of the chart.
748
+ :type LatestVersion: str
749
+ """
750
+ self._Name = None
751
+ self._Label = None
752
+ self._LatestVersion = None
753
+
754
+ @property
755
+ def Name(self):
756
+ """chart name.
757
+ :rtype: str
758
+ """
759
+ return self._Name
760
+
761
+ @Name.setter
762
+ def Name(self, Name):
763
+ self._Name = Name
764
+
765
+ @property
766
+ def Label(self):
767
+ """Tag of the chart.
768
+ :rtype: str
769
+ """
770
+ return self._Label
771
+
772
+ @Label.setter
773
+ def Label(self, Label):
774
+ self._Label = Label
775
+
776
+ @property
777
+ def LatestVersion(self):
778
+ """Version of the chart.
779
+ :rtype: str
780
+ """
781
+ return self._LatestVersion
782
+
783
+ @LatestVersion.setter
784
+ def LatestVersion(self, LatestVersion):
785
+ self._LatestVersion = LatestVersion
786
+
787
+
788
+ def _deserialize(self, params):
789
+ self._Name = params.get("Name")
790
+ self._Label = params.get("Label")
791
+ self._LatestVersion = params.get("LatestVersion")
792
+ memeber_set = set(params.keys())
793
+ for name, value in vars(self).items():
794
+ property_name = name[1:]
795
+ if property_name in memeber_set:
796
+ memeber_set.remove(property_name)
797
+ if len(memeber_set) > 0:
798
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
799
+
800
+
801
+
736
802
  class AutoScalingGroupRange(AbstractModel):
737
803
  """Maximum and minimum number of pods in cluster-associated scaling groups
738
804
 
@@ -18378,6 +18444,120 @@ class GetClusterLevelPriceResponse(AbstractModel):
18378
18444
  self._RequestId = params.get("RequestId")
18379
18445
 
18380
18446
 
18447
+ class GetTkeAppChartListRequest(AbstractModel):
18448
+ """GetTkeAppChartList request structure.
18449
+
18450
+ """
18451
+
18452
+ def __init__(self):
18453
+ r"""
18454
+ :param _Kind: Type specifies the application category. valid values include log, scheduler, network, storage, monitor, dns, image, other, and invisible.
18455
+ :type Kind: str
18456
+ :param _Arch: Specifies the supported operating systems of the app. valid values: arm32, arm64, amd64.
18457
+ :type Arch: str
18458
+ :param _ClusterType: ClusterType specifies the type of the cluster. valid values are tke and eks.
18459
+ :type ClusterType: str
18460
+ """
18461
+ self._Kind = None
18462
+ self._Arch = None
18463
+ self._ClusterType = None
18464
+
18465
+ @property
18466
+ def Kind(self):
18467
+ """Type specifies the application category. valid values include log, scheduler, network, storage, monitor, dns, image, other, and invisible.
18468
+ :rtype: str
18469
+ """
18470
+ return self._Kind
18471
+
18472
+ @Kind.setter
18473
+ def Kind(self, Kind):
18474
+ self._Kind = Kind
18475
+
18476
+ @property
18477
+ def Arch(self):
18478
+ """Specifies the supported operating systems of the app. valid values: arm32, arm64, amd64.
18479
+ :rtype: str
18480
+ """
18481
+ return self._Arch
18482
+
18483
+ @Arch.setter
18484
+ def Arch(self, Arch):
18485
+ self._Arch = Arch
18486
+
18487
+ @property
18488
+ def ClusterType(self):
18489
+ """ClusterType specifies the type of the cluster. valid values are tke and eks.
18490
+ :rtype: str
18491
+ """
18492
+ return self._ClusterType
18493
+
18494
+ @ClusterType.setter
18495
+ def ClusterType(self, ClusterType):
18496
+ self._ClusterType = ClusterType
18497
+
18498
+
18499
+ def _deserialize(self, params):
18500
+ self._Kind = params.get("Kind")
18501
+ self._Arch = params.get("Arch")
18502
+ self._ClusterType = params.get("ClusterType")
18503
+ memeber_set = set(params.keys())
18504
+ for name, value in vars(self).items():
18505
+ property_name = name[1:]
18506
+ if property_name in memeber_set:
18507
+ memeber_set.remove(property_name)
18508
+ if len(memeber_set) > 0:
18509
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
18510
+
18511
+
18512
+
18513
+ class GetTkeAppChartListResponse(AbstractModel):
18514
+ """GetTkeAppChartList response structure.
18515
+
18516
+ """
18517
+
18518
+ def __init__(self):
18519
+ r"""
18520
+ :param _AppCharts: Supported chart list.
18521
+ :type AppCharts: list of AppChart
18522
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
18523
+ :type RequestId: str
18524
+ """
18525
+ self._AppCharts = None
18526
+ self._RequestId = None
18527
+
18528
+ @property
18529
+ def AppCharts(self):
18530
+ """Supported chart list.
18531
+ :rtype: list of AppChart
18532
+ """
18533
+ return self._AppCharts
18534
+
18535
+ @AppCharts.setter
18536
+ def AppCharts(self, AppCharts):
18537
+ self._AppCharts = AppCharts
18538
+
18539
+ @property
18540
+ def RequestId(self):
18541
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
18542
+ :rtype: str
18543
+ """
18544
+ return self._RequestId
18545
+
18546
+ @RequestId.setter
18547
+ def RequestId(self, RequestId):
18548
+ self._RequestId = RequestId
18549
+
18550
+
18551
+ def _deserialize(self, params):
18552
+ if params.get("AppCharts") is not None:
18553
+ self._AppCharts = []
18554
+ for item in params.get("AppCharts"):
18555
+ obj = AppChart()
18556
+ obj._deserialize(item)
18557
+ self._AppCharts.append(obj)
18558
+ self._RequestId = params.get("RequestId")
18559
+
18560
+
18381
18561
  class GetUpgradeInstanceProgressRequest(AbstractModel):
18382
18562
  """GetUpgradeInstanceProgress request structure.
18383
18563
 
@@ -18728,7 +18908,7 @@ class InstallAddonRequest(AbstractModel):
18728
18908
 
18729
18909
  def __init__(self):
18730
18910
  r"""
18731
- :param _ClusterId: Cluster ID
18911
+ :param _ClusterId: Cluster ID (only supported for standard tke clusters).
18732
18912
  :type ClusterId: str
18733
18913
  :param _AddonName: Add-on name
18734
18914
  :type AddonName: str
@@ -18736,15 +18916,18 @@ class InstallAddonRequest(AbstractModel):
18736
18916
  :type AddonVersion: str
18737
18917
  :param _RawValues: Add-on parameters in a base64-encoded JSON string. You can query add-on parameters via `DescribeAddonValues`.
18738
18918
  :type RawValues: str
18919
+ :param _DryRun: Specifies whether to perform only an installation check. when set to true, only checks are performed without installing components.
18920
+ :type DryRun: bool
18739
18921
  """
18740
18922
  self._ClusterId = None
18741
18923
  self._AddonName = None
18742
18924
  self._AddonVersion = None
18743
18925
  self._RawValues = None
18926
+ self._DryRun = None
18744
18927
 
18745
18928
  @property
18746
18929
  def ClusterId(self):
18747
- """Cluster ID
18930
+ """Cluster ID (only supported for standard tke clusters).
18748
18931
  :rtype: str
18749
18932
  """
18750
18933
  return self._ClusterId
@@ -18786,12 +18969,24 @@ class InstallAddonRequest(AbstractModel):
18786
18969
  def RawValues(self, RawValues):
18787
18970
  self._RawValues = RawValues
18788
18971
 
18972
+ @property
18973
+ def DryRun(self):
18974
+ """Specifies whether to perform only an installation check. when set to true, only checks are performed without installing components.
18975
+ :rtype: bool
18976
+ """
18977
+ return self._DryRun
18978
+
18979
+ @DryRun.setter
18980
+ def DryRun(self, DryRun):
18981
+ self._DryRun = DryRun
18982
+
18789
18983
 
18790
18984
  def _deserialize(self, params):
18791
18985
  self._ClusterId = params.get("ClusterId")
18792
18986
  self._AddonName = params.get("AddonName")
18793
18987
  self._AddonVersion = params.get("AddonVersion")
18794
18988
  self._RawValues = params.get("RawValues")
18989
+ self._DryRun = params.get("DryRun")
18795
18990
  memeber_set = set(params.keys())
18796
18991
  for name, value in vars(self).items():
18797
18992
  property_name = name[1:]
@@ -25648,15 +25843,21 @@ class UpdateAddonRequest(AbstractModel):
25648
25843
  :type ClusterId: str
25649
25844
  :param _AddonName: Add-on name
25650
25845
  :type AddonName: str
25651
- :param _AddonVersion: Add-on version. The add-on version is not updated if this parameter is not specified.
25846
+ :param _AddonVersion: addon version (default does not update if not passed. if AddonVersion is not passed, RawValues must be passed.).
25652
25847
  :type AddonVersion: str
25653
- :param _RawValues: Add-on parameters in a base64-encoded JSON string. You can query add-on parameters via `DescribeAddonValues`.
25848
+ :param _RawValues: Parameters of the addon, which is a base64-transcoded string in json format. (the addon parameters are obtained through DescribeAddonValues. when RawValues is not passed, AddonVersion must be provided.).
25654
25849
  :type RawValues: str
25850
+ :param _UpdateStrategy: The update policy for the addon parameter supports two strategies: replace and merge. the default value is merge, which is compatible with old version apis. replace: use new RawValues to fully replace the original RawValues of the addon. merge: add or update the corresponding parameters in the original RawValues of the addon based on new RawValues.
25851
+ :type UpdateStrategy: str
25852
+ :param _DryRun: Specifies whether to only perform an update check. when set to true, only the check is performed without updating the component.
25853
+ :type DryRun: bool
25655
25854
  """
25656
25855
  self._ClusterId = None
25657
25856
  self._AddonName = None
25658
25857
  self._AddonVersion = None
25659
25858
  self._RawValues = None
25859
+ self._UpdateStrategy = None
25860
+ self._DryRun = None
25660
25861
 
25661
25862
  @property
25662
25863
  def ClusterId(self):
@@ -25682,7 +25883,7 @@ class UpdateAddonRequest(AbstractModel):
25682
25883
 
25683
25884
  @property
25684
25885
  def AddonVersion(self):
25685
- """Add-on version. The add-on version is not updated if this parameter is not specified.
25886
+ """addon version (default does not update if not passed. if AddonVersion is not passed, RawValues must be passed.).
25686
25887
  :rtype: str
25687
25888
  """
25688
25889
  return self._AddonVersion
@@ -25693,7 +25894,7 @@ class UpdateAddonRequest(AbstractModel):
25693
25894
 
25694
25895
  @property
25695
25896
  def RawValues(self):
25696
- """Add-on parameters in a base64-encoded JSON string. You can query add-on parameters via `DescribeAddonValues`.
25897
+ """Parameters of the addon, which is a base64-transcoded string in json format. (the addon parameters are obtained through DescribeAddonValues. when RawValues is not passed, AddonVersion must be provided.).
25697
25898
  :rtype: str
25698
25899
  """
25699
25900
  return self._RawValues
@@ -25702,12 +25903,36 @@ class UpdateAddonRequest(AbstractModel):
25702
25903
  def RawValues(self, RawValues):
25703
25904
  self._RawValues = RawValues
25704
25905
 
25906
+ @property
25907
+ def UpdateStrategy(self):
25908
+ """The update policy for the addon parameter supports two strategies: replace and merge. the default value is merge, which is compatible with old version apis. replace: use new RawValues to fully replace the original RawValues of the addon. merge: add or update the corresponding parameters in the original RawValues of the addon based on new RawValues.
25909
+ :rtype: str
25910
+ """
25911
+ return self._UpdateStrategy
25912
+
25913
+ @UpdateStrategy.setter
25914
+ def UpdateStrategy(self, UpdateStrategy):
25915
+ self._UpdateStrategy = UpdateStrategy
25916
+
25917
+ @property
25918
+ def DryRun(self):
25919
+ """Specifies whether to only perform an update check. when set to true, only the check is performed without updating the component.
25920
+ :rtype: bool
25921
+ """
25922
+ return self._DryRun
25923
+
25924
+ @DryRun.setter
25925
+ def DryRun(self, DryRun):
25926
+ self._DryRun = DryRun
25927
+
25705
25928
 
25706
25929
  def _deserialize(self, params):
25707
25930
  self._ClusterId = params.get("ClusterId")
25708
25931
  self._AddonName = params.get("AddonName")
25709
25932
  self._AddonVersion = params.get("AddonVersion")
25710
25933
  self._RawValues = params.get("RawValues")
25934
+ self._UpdateStrategy = params.get("UpdateStrategy")
25935
+ self._DryRun = params.get("DryRun")
25711
25936
  memeber_set = set(params.keys())
25712
25937
  for name, value in vars(self).items():
25713
25938
  property_name = name[1:]
@@ -2418,6 +2418,29 @@ class TkeClient(AbstractClient):
2418
2418
  raise TencentCloudSDKException(type(e).__name__, str(e))
2419
2419
 
2420
2420
 
2421
+ def GetTkeAppChartList(self, request):
2422
+ """This API is used to retrieve the App List supported by TKE.
2423
+
2424
+ :param request: Request instance for GetTkeAppChartList.
2425
+ :type request: :class:`tencentcloud.tke.v20180525.models.GetTkeAppChartListRequest`
2426
+ :rtype: :class:`tencentcloud.tke.v20180525.models.GetTkeAppChartListResponse`
2427
+
2428
+ """
2429
+ try:
2430
+ params = request._serialize()
2431
+ headers = request.headers
2432
+ body = self.call("GetTkeAppChartList", params, headers=headers)
2433
+ response = json.loads(body)
2434
+ model = models.GetTkeAppChartListResponse()
2435
+ model._deserialize(response["Response"])
2436
+ return model
2437
+ except Exception as e:
2438
+ if isinstance(e, TencentCloudSDKException):
2439
+ raise
2440
+ else:
2441
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2442
+
2443
+
2421
2444
  def GetUpgradeInstanceProgress(self, request):
2422
2445
  """This API is used to obtain the current progress of node upgrade. If the cluster is not in node upgrade status, the API will report an error: Task not found.
2423
2446
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-intl-en
3
- Version: 3.0.1199
3
+ Version: 3.0.1201
4
4
  Summary: Tencent Cloud SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python-intl-en
6
6
  Author: Tencent Cloud
@@ -1,4 +1,4 @@
1
- tencentcloud/__init__.py,sha256=ExbWWlAHDOelk0k6Fjimvb_bTMqwFuJFgVfr3l9Cp-4,630
1
+ tencentcloud/__init__.py,sha256=_bL8EucgUJ-dUqP2eHVZ_grrEkF149IaI2qp_d8z66k,630
2
2
  tencentcloud/advisor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/advisor/v20200721/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/advisor/v20200721/advisor_client.py,sha256=FuBG5ZJpmnVpDyVC84G_cjEWSa-mm6oyBvOIDe5SP-g,2924
@@ -579,8 +579,8 @@ tencentcloud/tiw/v20190919/tiw_client.py,sha256=6MyATO4tyaFvmUtR_XrH0hW-_sj8o-il
579
579
  tencentcloud/tke/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
580
580
  tencentcloud/tke/v20180525/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
581
581
  tencentcloud/tke/v20180525/errorcodes.py,sha256=5EDpogT1KW1wCpfV6IH4FElHyVkguR9DRB_QOY1WQYw,19933
582
- tencentcloud/tke/v20180525/models.py,sha256=aI7aKwMvRorbwR-anqG6unZwMLohU-lvh5ptWbDD1w0,893974
583
- tencentcloud/tke/v20180525/tke_client.py,sha256=qSoO3r0ZhU36Is662B9_M-sJXd1V0B78_BeU8GPw-Do,123694
582
+ tencentcloud/tke/v20180525/models.py,sha256=SjbaT8yS2votlE9Dg_jVzAPi9dNcw6os1WLo-pStDOM,901843
583
+ tencentcloud/tke/v20180525/tke_client.py,sha256=Fwy1zyPcOyGaA-SyORZVUbqPcIvPY7i1I1T4GRCSG2Q,124610
584
584
  tencentcloud/tke/v20220501/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
585
585
  tencentcloud/tke/v20220501/errorcodes.py,sha256=IRFRoEKQC-N05xlr0NRgkDN7TWS5lK3CXA55XtjCApI,2100
586
586
  tencentcloud/tke/v20220501/models.py,sha256=xdUNX_rBX9AVYnYSnve4nnfuPtB0ltN1Rs0WnG90QnI,202269
@@ -654,7 +654,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
654
654
  tencentcloud/yunjing/v20180228/errorcodes.py,sha256=VEqwMbMBe7F2oAW6ZDu3vAivBr60lbo7FWduFqRTEVg,3195
655
655
  tencentcloud/yunjing/v20180228/models.py,sha256=0rnsJ4JkA5aCTV1cVwCuKnzooe6IhQ0NS3ij6tJ22uw,330670
656
656
  tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=LY01pPiy1k_AXnHgG0FonGekRSFMY3t9pcYH8aE27oQ,67389
657
- tencentcloud_sdk_python_intl_en-3.0.1199.dist-info/METADATA,sha256=qO5EuolnbQUehm_7Cwz-V-AR2MfVx4NBQylLnUKU1RE,1628
658
- tencentcloud_sdk_python_intl_en-3.0.1199.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
659
- tencentcloud_sdk_python_intl_en-3.0.1199.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
660
- tencentcloud_sdk_python_intl_en-3.0.1199.dist-info/RECORD,,
657
+ tencentcloud_sdk_python_intl_en-3.0.1201.dist-info/METADATA,sha256=o02f59PcZKfznRcd2IBO3t7MmAm61vSM6vvfVKxGqcA,1628
658
+ tencentcloud_sdk_python_intl_en-3.0.1201.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
659
+ tencentcloud_sdk_python_intl_en-3.0.1201.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
660
+ tencentcloud_sdk_python_intl_en-3.0.1201.dist-info/RECORD,,