tencentcloud-sdk-python-intl-en 3.0.1077__py2.py3-none-any.whl → 3.0.1079__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.

@@ -187,6 +187,29 @@ class TkeClient(AbstractClient):
187
187
  raise TencentCloudSDKException(type(e).__name__, str(e))
188
188
 
189
189
 
190
+ def CreateCLSLogConfig(self, request):
191
+ """This API is used to create log collection configuration.
192
+
193
+ :param request: Request instance for CreateCLSLogConfig.
194
+ :type request: :class:`tencentcloud.tke.v20180525.models.CreateCLSLogConfigRequest`
195
+ :rtype: :class:`tencentcloud.tke.v20180525.models.CreateCLSLogConfigResponse`
196
+
197
+ """
198
+ try:
199
+ params = request._serialize()
200
+ headers = request.headers
201
+ body = self.call("CreateCLSLogConfig", params, headers=headers)
202
+ response = json.loads(body)
203
+ model = models.CreateCLSLogConfigResponse()
204
+ model._deserialize(response["Response"])
205
+ return model
206
+ except Exception as e:
207
+ if isinstance(e, TencentCloudSDKException):
208
+ raise
209
+ else:
210
+ raise TencentCloudSDKException(type(e).__name__, str(e))
211
+
212
+
190
213
  def CreateCluster(self, request):
191
214
  """This API is used to create a cluster.
192
215
 
@@ -326,7 +349,7 @@ class TkeClient(AbstractClient):
326
349
 
327
350
 
328
351
  def CreateClusterVirtualNode(self, request):
329
- """This API is used to create a virtual node.
352
+ """This API is used to create the Pay-as-you-go Super Node.
330
353
 
331
354
  :param request: Request instance for CreateClusterVirtualNode.
332
355
  :type request: :class:`tencentcloud.tke.v20180525.models.CreateClusterVirtualNodeRequest`
@@ -349,7 +372,7 @@ class TkeClient(AbstractClient):
349
372
 
350
373
 
351
374
  def CreateClusterVirtualNodePool(self, request):
352
- """This API is used to create a virtual node pool.
375
+ """This API is used to create the Super Node Pool.
353
376
 
354
377
  :param request: Request instance for CreateClusterVirtualNodePool.
355
378
  :type request: :class:`tencentcloud.tke.v20180525.models.CreateClusterVirtualNodePoolRequest`
@@ -440,6 +463,29 @@ class TkeClient(AbstractClient):
440
463
  raise TencentCloudSDKException(type(e).__name__, str(e))
441
464
 
442
465
 
466
+ def CreateEksLogConfig(self, request):
467
+ """This API is used to create Log Collection Configuration for Elastic Cluster.
468
+
469
+ :param request: Request instance for CreateEksLogConfig.
470
+ :type request: :class:`tencentcloud.tke.v20180525.models.CreateEksLogConfigRequest`
471
+ :rtype: :class:`tencentcloud.tke.v20180525.models.CreateEksLogConfigResponse`
472
+
473
+ """
474
+ try:
475
+ params = request._serialize()
476
+ headers = request.headers
477
+ body = self.call("CreateEksLogConfig", params, headers=headers)
478
+ response = json.loads(body)
479
+ model = models.CreateEksLogConfigResponse()
480
+ model._deserialize(response["Response"])
481
+ return model
482
+ except Exception as e:
483
+ if isinstance(e, TencentCloudSDKException):
484
+ raise
485
+ else:
486
+ raise TencentCloudSDKException(type(e).__name__, str(e))
487
+
488
+
443
489
  def CreatePrometheusAlertRule(self, request):
444
490
  """This API is used to create an alarm rule.
445
491
 
@@ -717,7 +763,7 @@ class TkeClient(AbstractClient):
717
763
 
718
764
 
719
765
  def DeleteClusterVirtualNode(self, request):
720
- """This API is used to delete a virtual node.
766
+ """This API is used to delete the super node.
721
767
 
722
768
  :param request: Request instance for DeleteClusterVirtualNode.
723
769
  :type request: :class:`tencentcloud.tke.v20180525.models.DeleteClusterVirtualNodeRequest`
@@ -740,7 +786,7 @@ class TkeClient(AbstractClient):
740
786
 
741
787
 
742
788
  def DeleteClusterVirtualNodePool(self, request):
743
- """This API is used to delete a virtual node pool.
789
+ """This API is used to delete the Super Node Pool.
744
790
 
745
791
  :param request: Request instance for DeleteClusterVirtualNodePool.
746
792
  :type request: :class:`tencentcloud.tke.v20180525.models.DeleteClusterVirtualNodePoolRequest`
@@ -831,6 +877,29 @@ class TkeClient(AbstractClient):
831
877
  raise TencentCloudSDKException(type(e).__name__, str(e))
832
878
 
833
879
 
880
+ def DeleteLogConfigs(self, request):
881
+ """This API is used to delete collection rules within the cluster.
882
+
883
+ :param request: Request instance for DeleteLogConfigs.
884
+ :type request: :class:`tencentcloud.tke.v20180525.models.DeleteLogConfigsRequest`
885
+ :rtype: :class:`tencentcloud.tke.v20180525.models.DeleteLogConfigsResponse`
886
+
887
+ """
888
+ try:
889
+ params = request._serialize()
890
+ headers = request.headers
891
+ body = self.call("DeleteLogConfigs", params, headers=headers)
892
+ response = json.loads(body)
893
+ model = models.DeleteLogConfigsResponse()
894
+ model._deserialize(response["Response"])
895
+ return model
896
+ except Exception as e:
897
+ if isinstance(e, TencentCloudSDKException):
898
+ raise
899
+ else:
900
+ raise TencentCloudSDKException(type(e).__name__, str(e))
901
+
902
+
834
903
  def DeletePrometheusAlertRule(self, request):
835
904
  """This API is used to delete an alarm rule.
836
905
 
@@ -992,6 +1061,29 @@ class TkeClient(AbstractClient):
992
1061
  raise TencentCloudSDKException(type(e).__name__, str(e))
993
1062
 
994
1063
 
1064
+ def DescribeBatchModifyTagsStatus(self, request):
1065
+ """This API is used to query batch modification Tag status.
1066
+
1067
+ :param request: Request instance for DescribeBatchModifyTagsStatus.
1068
+ :type request: :class:`tencentcloud.tke.v20180525.models.DescribeBatchModifyTagsStatusRequest`
1069
+ :rtype: :class:`tencentcloud.tke.v20180525.models.DescribeBatchModifyTagsStatusResponse`
1070
+
1071
+ """
1072
+ try:
1073
+ params = request._serialize()
1074
+ headers = request.headers
1075
+ body = self.call("DescribeBatchModifyTagsStatus", params, headers=headers)
1076
+ response = json.loads(body)
1077
+ model = models.DescribeBatchModifyTagsStatusResponse()
1078
+ model._deserialize(response["Response"])
1079
+ return model
1080
+ except Exception as e:
1081
+ if isinstance(e, TencentCloudSDKException):
1082
+ raise
1083
+ else:
1084
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1085
+
1086
+
995
1087
  def DescribeClusterAsGroupOption(self, request):
996
1088
  """Cluster auto scaling configuration
997
1089
 
@@ -1153,6 +1245,29 @@ class TkeClient(AbstractClient):
1153
1245
  raise TencentCloudSDKException(type(e).__name__, str(e))
1154
1246
 
1155
1247
 
1248
+ def DescribeClusterExtraArgs(self, request):
1249
+ """This API is used to query custom parameters of a cluster.
1250
+
1251
+ :param request: Request instance for DescribeClusterExtraArgs.
1252
+ :type request: :class:`tencentcloud.tke.v20180525.models.DescribeClusterExtraArgsRequest`
1253
+ :rtype: :class:`tencentcloud.tke.v20180525.models.DescribeClusterExtraArgsResponse`
1254
+
1255
+ """
1256
+ try:
1257
+ params = request._serialize()
1258
+ headers = request.headers
1259
+ body = self.call("DescribeClusterExtraArgs", params, headers=headers)
1260
+ response = json.loads(body)
1261
+ model = models.DescribeClusterExtraArgsResponse()
1262
+ model._deserialize(response["Response"])
1263
+ return model
1264
+ except Exception as e:
1265
+ if isinstance(e, TencentCloudSDKException):
1266
+ raise
1267
+ else:
1268
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1269
+
1270
+
1156
1271
  def DescribeClusterInstances(self, request):
1157
1272
  """This API is used to query information of node instances in a cluster.
1158
1273
 
@@ -1384,7 +1499,7 @@ class TkeClient(AbstractClient):
1384
1499
 
1385
1500
 
1386
1501
  def DescribeClusterVirtualNode(self, request):
1387
- """This API is used to query the list of virtual nodes.
1502
+ """This API is used to view the Super Node list.
1388
1503
 
1389
1504
  :param request: Request instance for DescribeClusterVirtualNode.
1390
1505
  :type request: :class:`tencentcloud.tke.v20180525.models.DescribeClusterVirtualNodeRequest`
@@ -1407,7 +1522,7 @@ class TkeClient(AbstractClient):
1407
1522
 
1408
1523
 
1409
1524
  def DescribeClusterVirtualNodePools(self, request):
1410
- """This API is used to query the list of virtual node pools.
1525
+ """This API is used to view the Super Node Pool list.
1411
1526
 
1412
1527
  :param request: Request instance for DescribeClusterVirtualNodePools.
1413
1528
  :type request: :class:`tencentcloud.tke.v20180525.models.DescribeClusterVirtualNodePoolsRequest`
@@ -1682,6 +1797,52 @@ class TkeClient(AbstractClient):
1682
1797
  raise TencentCloudSDKException(type(e).__name__, str(e))
1683
1798
 
1684
1799
 
1800
+ def DescribeExternalNodeSupportConfig(self, request):
1801
+ """This API is used to view third-party node pool configuration information.
1802
+
1803
+ :param request: Request instance for DescribeExternalNodeSupportConfig.
1804
+ :type request: :class:`tencentcloud.tke.v20180525.models.DescribeExternalNodeSupportConfigRequest`
1805
+ :rtype: :class:`tencentcloud.tke.v20180525.models.DescribeExternalNodeSupportConfigResponse`
1806
+
1807
+ """
1808
+ try:
1809
+ params = request._serialize()
1810
+ headers = request.headers
1811
+ body = self.call("DescribeExternalNodeSupportConfig", params, headers=headers)
1812
+ response = json.loads(body)
1813
+ model = models.DescribeExternalNodeSupportConfigResponse()
1814
+ model._deserialize(response["Response"])
1815
+ return model
1816
+ except Exception as e:
1817
+ if isinstance(e, TencentCloudSDKException):
1818
+ raise
1819
+ else:
1820
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1821
+
1822
+
1823
+ def DescribeIPAMD(self, request):
1824
+ """This API is used to obtain eniipamd component information.
1825
+
1826
+ :param request: Request instance for DescribeIPAMD.
1827
+ :type request: :class:`tencentcloud.tke.v20180525.models.DescribeIPAMDRequest`
1828
+ :rtype: :class:`tencentcloud.tke.v20180525.models.DescribeIPAMDResponse`
1829
+
1830
+ """
1831
+ try:
1832
+ params = request._serialize()
1833
+ headers = request.headers
1834
+ body = self.call("DescribeIPAMD", params, headers=headers)
1835
+ response = json.loads(body)
1836
+ model = models.DescribeIPAMDResponse()
1837
+ model._deserialize(response["Response"])
1838
+ return model
1839
+ except Exception as e:
1840
+ if isinstance(e, TencentCloudSDKException):
1841
+ raise
1842
+ else:
1843
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1844
+
1845
+
1685
1846
  def DescribeImages(self, request):
1686
1847
  """This API is used to get image information.
1687
1848
 
@@ -1705,6 +1866,75 @@ class TkeClient(AbstractClient):
1705
1866
  raise TencentCloudSDKException(type(e).__name__, str(e))
1706
1867
 
1707
1868
 
1869
+ def DescribeLogConfigs(self, request):
1870
+ """This API is used to query the log collection rules.
1871
+
1872
+ :param request: Request instance for DescribeLogConfigs.
1873
+ :type request: :class:`tencentcloud.tke.v20180525.models.DescribeLogConfigsRequest`
1874
+ :rtype: :class:`tencentcloud.tke.v20180525.models.DescribeLogConfigsResponse`
1875
+
1876
+ """
1877
+ try:
1878
+ params = request._serialize()
1879
+ headers = request.headers
1880
+ body = self.call("DescribeLogConfigs", params, headers=headers)
1881
+ response = json.loads(body)
1882
+ model = models.DescribeLogConfigsResponse()
1883
+ model._deserialize(response["Response"])
1884
+ return model
1885
+ except Exception as e:
1886
+ if isinstance(e, TencentCloudSDKException):
1887
+ raise
1888
+ else:
1889
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1890
+
1891
+
1892
+ def DescribeLogSwitches(self, request):
1893
+ """This API is used to query Cluster Log (Auditing, Event, Common Log) Switch List.
1894
+
1895
+ :param request: Request instance for DescribeLogSwitches.
1896
+ :type request: :class:`tencentcloud.tke.v20180525.models.DescribeLogSwitchesRequest`
1897
+ :rtype: :class:`tencentcloud.tke.v20180525.models.DescribeLogSwitchesResponse`
1898
+
1899
+ """
1900
+ try:
1901
+ params = request._serialize()
1902
+ headers = request.headers
1903
+ body = self.call("DescribeLogSwitches", params, headers=headers)
1904
+ response = json.loads(body)
1905
+ model = models.DescribeLogSwitchesResponse()
1906
+ model._deserialize(response["Response"])
1907
+ return model
1908
+ except Exception as e:
1909
+ if isinstance(e, TencentCloudSDKException):
1910
+ raise
1911
+ else:
1912
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1913
+
1914
+
1915
+ def DescribePodChargeInfo(self, request):
1916
+ """This API is used to query the billing information of running Pods. You can query a specific Pod by Namespace and Name or batch query by Pod Uid.
1917
+
1918
+ :param request: Request instance for DescribePodChargeInfo.
1919
+ :type request: :class:`tencentcloud.tke.v20180525.models.DescribePodChargeInfoRequest`
1920
+ :rtype: :class:`tencentcloud.tke.v20180525.models.DescribePodChargeInfoResponse`
1921
+
1922
+ """
1923
+ try:
1924
+ params = request._serialize()
1925
+ headers = request.headers
1926
+ body = self.call("DescribePodChargeInfo", params, headers=headers)
1927
+ response = json.loads(body)
1928
+ model = models.DescribePodChargeInfoResponse()
1929
+ model._deserialize(response["Response"])
1930
+ return model
1931
+ except Exception as e:
1932
+ if isinstance(e, TencentCloudSDKException):
1933
+ raise
1934
+ else:
1935
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1936
+
1937
+
1708
1938
  def DescribePrometheusInstance(self, request):
1709
1939
  """This API is used to obtain the instance details.
1710
1940
 
@@ -1751,6 +1981,29 @@ class TkeClient(AbstractClient):
1751
1981
  raise TencentCloudSDKException(type(e).__name__, str(e))
1752
1982
 
1753
1983
 
1984
+ def DescribeReservedInstanceUtilizationRate(self, request):
1985
+ """This API is used to query the usage rate of various types of Reserved Coupons.
1986
+
1987
+ :param request: Request instance for DescribeReservedInstanceUtilizationRate.
1988
+ :type request: :class:`tencentcloud.tke.v20180525.models.DescribeReservedInstanceUtilizationRateRequest`
1989
+ :rtype: :class:`tencentcloud.tke.v20180525.models.DescribeReservedInstanceUtilizationRateResponse`
1990
+
1991
+ """
1992
+ try:
1993
+ params = request._serialize()
1994
+ headers = request.headers
1995
+ body = self.call("DescribeReservedInstanceUtilizationRate", params, headers=headers)
1996
+ response = json.loads(body)
1997
+ model = models.DescribeReservedInstanceUtilizationRateResponse()
1998
+ model._deserialize(response["Response"])
1999
+ return model
2000
+ except Exception as e:
2001
+ if isinstance(e, TencentCloudSDKException):
2002
+ raise
2003
+ else:
2004
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2005
+
2006
+
1754
2007
  def DescribeResourceUsage(self, request):
1755
2008
  """This API is used to query the cluster resource usage.
1756
2009
 
@@ -1797,6 +2050,29 @@ class TkeClient(AbstractClient):
1797
2050
  raise TencentCloudSDKException(type(e).__name__, str(e))
1798
2051
 
1799
2052
 
2053
+ def DescribeSupportedRuntime(self, request):
2054
+ """This API is used to retrieve optional runtime versions based on K8S version.
2055
+
2056
+ :param request: Request instance for DescribeSupportedRuntime.
2057
+ :type request: :class:`tencentcloud.tke.v20180525.models.DescribeSupportedRuntimeRequest`
2058
+ :rtype: :class:`tencentcloud.tke.v20180525.models.DescribeSupportedRuntimeResponse`
2059
+
2060
+ """
2061
+ try:
2062
+ params = request._serialize()
2063
+ headers = request.headers
2064
+ body = self.call("DescribeSupportedRuntime", params, headers=headers)
2065
+ response = json.loads(body)
2066
+ model = models.DescribeSupportedRuntimeResponse()
2067
+ model._deserialize(response["Response"])
2068
+ return model
2069
+ except Exception as e:
2070
+ if isinstance(e, TencentCloudSDKException):
2071
+ raise
2072
+ else:
2073
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2074
+
2075
+
1800
2076
  def DescribeTKEEdgeClusterCredential(self, request):
1801
2077
  """This API is used to obtain the authentication information of a TKE Edge cluster.
1802
2078
 
@@ -2005,7 +2281,7 @@ class TkeClient(AbstractClient):
2005
2281
 
2006
2282
 
2007
2283
  def DrainClusterVirtualNode(self, request):
2008
- """This API is used to drain a virtual node.
2284
+ """This API is used to evict the Super Node.
2009
2285
 
2010
2286
  :param request: Request instance for DrainClusterVirtualNode.
2011
2287
  :type request: :class:`tencentcloud.tke.v20180525.models.DrainClusterVirtualNodeRequest`
@@ -2051,7 +2327,7 @@ class TkeClient(AbstractClient):
2051
2327
 
2052
2328
 
2053
2329
  def EnableEncryptionProtection(self, request):
2054
- """This API is used to enable encryption protection.
2330
+ """This API is used to enable Encrypted Data Protection, which requires enabling KMS capability and completing KMS authorization.
2055
2331
 
2056
2332
  :param request: Request instance for EnableEncryptionProtection.
2057
2333
  :type request: :class:`tencentcloud.tke.v20180525.models.EnableEncryptionProtectionRequest`
@@ -2143,7 +2419,7 @@ class TkeClient(AbstractClient):
2143
2419
 
2144
2420
 
2145
2421
  def GetUpgradeInstanceProgress(self, request):
2146
- """This API is used to obtain the current progress of the node upgrade.
2422
+ """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.
2147
2423
 
2148
2424
  :param request: Request instance for GetUpgradeInstanceProgress.
2149
2425
  :type request: :class:`tencentcloud.tke.v20180525.models.GetUpgradeInstanceProgressRequest`
@@ -2326,6 +2602,29 @@ class TkeClient(AbstractClient):
2326
2602
  raise TencentCloudSDKException(type(e).__name__, str(e))
2327
2603
 
2328
2604
 
2605
+ def ModifyClusterImage(self, request):
2606
+ """This API is used to modify the cluster image.
2607
+
2608
+ :param request: Request instance for ModifyClusterImage.
2609
+ :type request: :class:`tencentcloud.tke.v20180525.models.ModifyClusterImageRequest`
2610
+ :rtype: :class:`tencentcloud.tke.v20180525.models.ModifyClusterImageResponse`
2611
+
2612
+ """
2613
+ try:
2614
+ params = request._serialize()
2615
+ headers = request.headers
2616
+ body = self.call("ModifyClusterImage", params, headers=headers)
2617
+ response = json.loads(body)
2618
+ model = models.ModifyClusterImageResponse()
2619
+ model._deserialize(response["Response"])
2620
+ return model
2621
+ except Exception as e:
2622
+ if isinstance(e, TencentCloudSDKException):
2623
+ raise
2624
+ else:
2625
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2626
+
2627
+
2329
2628
  def ModifyClusterNodePool(self, request):
2330
2629
  """This API is used to edit a node pool.
2331
2630
 
@@ -2349,8 +2648,54 @@ class TkeClient(AbstractClient):
2349
2648
  raise TencentCloudSDKException(type(e).__name__, str(e))
2350
2649
 
2351
2650
 
2651
+ def ModifyClusterRuntimeConfig(self, request):
2652
+ """This API is used to modify the latitude runtime configuration of clusters and node pools.
2653
+
2654
+ :param request: Request instance for ModifyClusterRuntimeConfig.
2655
+ :type request: :class:`tencentcloud.tke.v20180525.models.ModifyClusterRuntimeConfigRequest`
2656
+ :rtype: :class:`tencentcloud.tke.v20180525.models.ModifyClusterRuntimeConfigResponse`
2657
+
2658
+ """
2659
+ try:
2660
+ params = request._serialize()
2661
+ headers = request.headers
2662
+ body = self.call("ModifyClusterRuntimeConfig", params, headers=headers)
2663
+ response = json.loads(body)
2664
+ model = models.ModifyClusterRuntimeConfigResponse()
2665
+ model._deserialize(response["Response"])
2666
+ return model
2667
+ except Exception as e:
2668
+ if isinstance(e, TencentCloudSDKException):
2669
+ raise
2670
+ else:
2671
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2672
+
2673
+
2674
+ def ModifyClusterTags(self, request):
2675
+ """This API is used to modify cluster tags.
2676
+
2677
+ :param request: Request instance for ModifyClusterTags.
2678
+ :type request: :class:`tencentcloud.tke.v20180525.models.ModifyClusterTagsRequest`
2679
+ :rtype: :class:`tencentcloud.tke.v20180525.models.ModifyClusterTagsResponse`
2680
+
2681
+ """
2682
+ try:
2683
+ params = request._serialize()
2684
+ headers = request.headers
2685
+ body = self.call("ModifyClusterTags", params, headers=headers)
2686
+ response = json.loads(body)
2687
+ model = models.ModifyClusterTagsResponse()
2688
+ model._deserialize(response["Response"])
2689
+ return model
2690
+ except Exception as e:
2691
+ if isinstance(e, TencentCloudSDKException):
2692
+ raise
2693
+ else:
2694
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2695
+
2696
+
2352
2697
  def ModifyClusterVirtualNodePool(self, request):
2353
- """This API is used to modify a virtual node pool.
2698
+ """This API is used to modify the Super Node Pool.
2354
2699
 
2355
2700
  :param request: Request instance for ModifyClusterVirtualNodePool.
2356
2701
  :type request: :class:`tencentcloud.tke.v20180525.models.ModifyClusterVirtualNodePoolRequest`
@@ -33,7 +33,6 @@ zh: Simplified Chinese
33
33
  zh_TW: Traditional Chinese
34
34
  en: English
35
35
  ja: Japanese
36
- ko: Korean
37
36
  fr: French
38
37
  es: Spanish
39
38
  it: Italian
@@ -50,35 +49,40 @@ hi: Hindi
50
49
  :type Source: str
51
50
  :param _Target: Supported target languages for the above source languages:
52
51
 
53
- <li> zh (Simplified Chinese): en (English), ja (Japanese), ko (Korean), fr (French), es (Spanish), it (Italian), de (German), tr (Turkish), ru (Russian), pt (Portuguese), vi (Vietnamese), id (Bahasa Indonesian), th (Thai), and ms (Malay)</li>
54
- <li> zh-TW (Traditional Chinese): en (English), ja (Japanese), ko (Korean), fr (French), es (Spanish), it (Italian), de (German), tr (Turkish), ru (Russian), pt (Portuguese), vi (Vietnamese), id (Bahasa Indonesian), th (Thai), and ms (Malay)</li>
55
- <li> en (English): zh (Simplified Chinese), ja (Japanese), ko (Korean), fr (French), es (Spanish), it (Italian), de (German), tr (Turkish), ru (Russian), pt (Portuguese), vi (Vietnamese), id (Bahasa Indonesian), th (Thai), ms (Malay), ar (Arabic), and hi (Hindi)</li>
56
- <li>ja (Japanese): zh (Simplified Chinese), en (English), and ko (Korean)</li>
57
- <li>ko (Korean): zh (Simplified Chinese), en (English), and ja (Japanese)</li>
58
- <li>fr (French): zh (Simplified Chinese), en (English), es (Spanish), it (Italian), de (German), tr (Turkish), ru (Russian), and pt (Portuguese)</li>
59
- <li>es (Spanish): zh (Simplified Chinese), en (English), fr (French), it (Italian), de (German), tr (Turkish), ru (Russian), and pt (Portuguese)</li>
60
- <li>it (Italian): zh (Simplified Chinese), en (English), fr (French), es (Spanish), de (German), tr (Turkish), ru (Russian), and pt (Portuguese)</li>
61
- <li>de (German): zh (Simplified Chinese), en (English), fr (French), es (Spanish), it (Italian), tr (Turkish), ru (Russian), and pt (Portuguese)</li>
62
- <li>tr (Turkish): zh (Simplified Chinese), en (English), fr (French), es (Spanish), it (Italian), de (German), ru (Russian), and pt (Portuguese)</li>
63
- <li>ru (Russian): zh (Simplified Chinese), en (English), fr (French), es (Spanish), it (Italian), de (German), tr (Turkish), and pt (Portuguese)</li>
64
- <li>pt (Portuguese): zh (Simplified Chinese), en (English), fr (French), es (Spanish), it (Italian), de (German), tr (Turkish), and ru (Russian)</li>
65
- <li>vi (Vietnamese): zh (Simplified Chinese) and en (English)</li
66
- <li>id (Bahasa Indonesian): zh (Simplified Chinese) and en (English)</li
67
- <li>th (Thai): zh (Simplified Chinese) and en (English)</li
68
- <li>ms (Malay): zh (Simplified Chinese) and en (English)</li
52
+ <li>zh (Simplified Chinese): en (English), ja (Japanese), fr (French), es (Spanish), it (Italian), de (German), tr (Turkish), ru (Russian), pt (Portuguese), vi (Vietnamese), id (Bahasa Indonesian), th (Thai), and ms (Malay)</li>
53
+ <li>zh-TW (Traditional Chinese): en (English), ja (Japanese), fr (French), es (Spanish), it (Italian), tr (Turkish), ru (Russian), pt (Portuguese), vi (Vietnamese), id (Bahasa Indonesian), th (Thai), and ms (Malay)</li>
54
+ <li>en (English): zh (Simplified Chinese), zh-TW (Traditional Chinese), ja (Japanese), fr (French), es (Spanish), it (Italian), de (German), tr (Turkish), vi (Vietnamese), id (Bahasa Indonesian), th (Thai), ms (Malay), and hi (Hindi)</li>
55
+ <li>fr (French): zh (Simplified Chinese), zh-TW (Traditional Chinese) and en (English)</li>
56
+ <li>it (Italian): zh (Simplified Chinese), zh-TW (Traditional Chinese) and en (English)</li>
57
+ <li>de (German): zh (Simplified Chinese), zh-TW (Traditional Chinese) and en (English)</li>
58
+ <li>ru (Russian): zh (Simplified Chinese) and zh-TW (Traditional Chinese)</li>
59
+ <li>tr (Turkish): zh (Simplified Chinese) and zh-TW (Traditional Chinese)</li>
60
+ <li>pt (Portuguese): zh (Simplified Chinese) and tr (Turkish)</li>
61
+ <li>es (Spanish): zh (Simplified Chinese), zh-TW (Traditional Chinese) and en (English)</li>
62
+ <li>ja (Japanese): zh (Simplified Chinese), zh-TW (Traditional Chinese) and en (English)</li>
63
+ <li>vi (Vietnamese): zh (Simplified Chinese), zh-TW (Traditional Chinese) and en (English)</li>
64
+ <li>th (Thai): zh (Simplified Chinese) and en (English)</li>
65
+ <li>id (Bahasa Indonesian): zh (Simplified Chinese), zh-TW (Traditional Chinese) and en (English)</li>
66
+ <li>ms (Malay): zh (Simplified Chinese) and zh-TW (Traditional Chinese)</li>
69
67
  <li>ar (Arabic): en (English)</li>
70
- <li>hi (Hindi): en (English)</li
68
+ <li>hi (Hindi): en (English)</li>
71
69
  :type Target: str
72
70
  :param _ProjectId: The project ID, which can be obtained from **Console -> Account Center -> Project Management**. If no one is set, enter the default project ID `0`.
73
71
  :type ProjectId: int
74
72
  :param _UntranslatedText: The parameter used to mark the text content that needs to remain untranslated, such as special symbols and names of people and places. You can set only one word for this parameter in each request. Only nouns (like names of people and places) are supported, and verbs or phrases may cause poor translation outcomes.
75
73
  :type UntranslatedText: str
74
+ :param _TermRepoIDList:
75
+ :type TermRepoIDList: list of str
76
+ :param _SentRepoIDList:
77
+ :type SentRepoIDList: list of str
76
78
  """
77
79
  self._SourceText = None
78
80
  self._Source = None
79
81
  self._Target = None
80
82
  self._ProjectId = None
81
83
  self._UntranslatedText = None
84
+ self._TermRepoIDList = None
85
+ self._SentRepoIDList = None
82
86
 
83
87
  @property
84
88
  def SourceText(self):
@@ -99,7 +103,6 @@ zh: Simplified Chinese
99
103
  zh_TW: Traditional Chinese
100
104
  en: English
101
105
  ja: Japanese
102
- ko: Korean
103
106
  fr: French
104
107
  es: Spanish
105
108
  it: Italian
@@ -125,24 +128,23 @@ hi: Hindi
125
128
  def Target(self):
126
129
  """Supported target languages for the above source languages:
127
130
 
128
- <li> zh (Simplified Chinese): en (English), ja (Japanese), ko (Korean), fr (French), es (Spanish), it (Italian), de (German), tr (Turkish), ru (Russian), pt (Portuguese), vi (Vietnamese), id (Bahasa Indonesian), th (Thai), and ms (Malay)</li>
129
- <li> zh-TW (Traditional Chinese): en (English), ja (Japanese), ko (Korean), fr (French), es (Spanish), it (Italian), de (German), tr (Turkish), ru (Russian), pt (Portuguese), vi (Vietnamese), id (Bahasa Indonesian), th (Thai), and ms (Malay)</li>
130
- <li> en (English): zh (Simplified Chinese), ja (Japanese), ko (Korean), fr (French), es (Spanish), it (Italian), de (German), tr (Turkish), ru (Russian), pt (Portuguese), vi (Vietnamese), id (Bahasa Indonesian), th (Thai), ms (Malay), ar (Arabic), and hi (Hindi)</li>
131
- <li>ja (Japanese): zh (Simplified Chinese), en (English), and ko (Korean)</li>
132
- <li>ko (Korean): zh (Simplified Chinese), en (English), and ja (Japanese)</li>
133
- <li>fr (French): zh (Simplified Chinese), en (English), es (Spanish), it (Italian), de (German), tr (Turkish), ru (Russian), and pt (Portuguese)</li>
134
- <li>es (Spanish): zh (Simplified Chinese), en (English), fr (French), it (Italian), de (German), tr (Turkish), ru (Russian), and pt (Portuguese)</li>
135
- <li>it (Italian): zh (Simplified Chinese), en (English), fr (French), es (Spanish), de (German), tr (Turkish), ru (Russian), and pt (Portuguese)</li>
136
- <li>de (German): zh (Simplified Chinese), en (English), fr (French), es (Spanish), it (Italian), tr (Turkish), ru (Russian), and pt (Portuguese)</li>
137
- <li>tr (Turkish): zh (Simplified Chinese), en (English), fr (French), es (Spanish), it (Italian), de (German), ru (Russian), and pt (Portuguese)</li>
138
- <li>ru (Russian): zh (Simplified Chinese), en (English), fr (French), es (Spanish), it (Italian), de (German), tr (Turkish), and pt (Portuguese)</li>
139
- <li>pt (Portuguese): zh (Simplified Chinese), en (English), fr (French), es (Spanish), it (Italian), de (German), tr (Turkish), and ru (Russian)</li>
140
- <li>vi (Vietnamese): zh (Simplified Chinese) and en (English)</li
141
- <li>id (Bahasa Indonesian): zh (Simplified Chinese) and en (English)</li
142
- <li>th (Thai): zh (Simplified Chinese) and en (English)</li
143
- <li>ms (Malay): zh (Simplified Chinese) and en (English)</li
131
+ <li>zh (Simplified Chinese): en (English), ja (Japanese), fr (French), es (Spanish), it (Italian), de (German), tr (Turkish), ru (Russian), pt (Portuguese), vi (Vietnamese), id (Bahasa Indonesian), th (Thai), and ms (Malay)</li>
132
+ <li>zh-TW (Traditional Chinese): en (English), ja (Japanese), fr (French), es (Spanish), it (Italian), tr (Turkish), ru (Russian), pt (Portuguese), vi (Vietnamese), id (Bahasa Indonesian), th (Thai), and ms (Malay)</li>
133
+ <li>en (English): zh (Simplified Chinese), zh-TW (Traditional Chinese), ja (Japanese), fr (French), es (Spanish), it (Italian), de (German), tr (Turkish), vi (Vietnamese), id (Bahasa Indonesian), th (Thai), ms (Malay), and hi (Hindi)</li>
134
+ <li>fr (French): zh (Simplified Chinese), zh-TW (Traditional Chinese) and en (English)</li>
135
+ <li>it (Italian): zh (Simplified Chinese), zh-TW (Traditional Chinese) and en (English)</li>
136
+ <li>de (German): zh (Simplified Chinese), zh-TW (Traditional Chinese) and en (English)</li>
137
+ <li>ru (Russian): zh (Simplified Chinese) and zh-TW (Traditional Chinese)</li>
138
+ <li>tr (Turkish): zh (Simplified Chinese) and zh-TW (Traditional Chinese)</li>
139
+ <li>pt (Portuguese): zh (Simplified Chinese) and tr (Turkish)</li>
140
+ <li>es (Spanish): zh (Simplified Chinese), zh-TW (Traditional Chinese) and en (English)</li>
141
+ <li>ja (Japanese): zh (Simplified Chinese), zh-TW (Traditional Chinese) and en (English)</li>
142
+ <li>vi (Vietnamese): zh (Simplified Chinese), zh-TW (Traditional Chinese) and en (English)</li>
143
+ <li>th (Thai): zh (Simplified Chinese) and en (English)</li>
144
+ <li>id (Bahasa Indonesian): zh (Simplified Chinese), zh-TW (Traditional Chinese) and en (English)</li>
145
+ <li>ms (Malay): zh (Simplified Chinese) and zh-TW (Traditional Chinese)</li>
144
146
  <li>ar (Arabic): en (English)</li>
145
- <li>hi (Hindi): en (English)</li
147
+ <li>hi (Hindi): en (English)</li>
146
148
  :rtype: str
147
149
  """
148
150
  return self._Target
@@ -173,6 +175,28 @@ hi: Hindi
173
175
  def UntranslatedText(self, UntranslatedText):
174
176
  self._UntranslatedText = UntranslatedText
175
177
 
178
+ @property
179
+ def TermRepoIDList(self):
180
+ """
181
+ :rtype: list of str
182
+ """
183
+ return self._TermRepoIDList
184
+
185
+ @TermRepoIDList.setter
186
+ def TermRepoIDList(self, TermRepoIDList):
187
+ self._TermRepoIDList = TermRepoIDList
188
+
189
+ @property
190
+ def SentRepoIDList(self):
191
+ """
192
+ :rtype: list of str
193
+ """
194
+ return self._SentRepoIDList
195
+
196
+ @SentRepoIDList.setter
197
+ def SentRepoIDList(self, SentRepoIDList):
198
+ self._SentRepoIDList = SentRepoIDList
199
+
176
200
 
177
201
  def _deserialize(self, params):
178
202
  self._SourceText = params.get("SourceText")
@@ -180,6 +204,8 @@ hi: Hindi
180
204
  self._Target = params.get("Target")
181
205
  self._ProjectId = params.get("ProjectId")
182
206
  self._UntranslatedText = params.get("UntranslatedText")
207
+ self._TermRepoIDList = params.get("TermRepoIDList")
208
+ self._SentRepoIDList = params.get("SentRepoIDList")
183
209
  memeber_set = set(params.keys())
184
210
  for name, value in vars(self).items():
185
211
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-intl-en
3
- Version: 3.0.1077
3
+ Version: 3.0.1079
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