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

Files changed (25) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/apigateway/v20180808/models.py +6 -6
  3. tencentcloud/ciam/v20220331/models.py +39 -7
  4. tencentcloud/gwlb/__init__.py +0 -0
  5. tencentcloud/gwlb/v20240906/__init__.py +0 -0
  6. tencentcloud/gwlb/v20240906/errorcodes.py +48 -0
  7. tencentcloud/gwlb/v20240906/gwlb_client.py +441 -0
  8. tencentcloud/gwlb/v20240906/models.py +3288 -0
  9. tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.py +4 -1
  10. tencentcloud/intlpartnersmgt/v20220928/models.py +22 -8
  11. tencentcloud/mdp/v20200527/mdp_client.py +644 -0
  12. tencentcloud/mdp/v20200527/models.py +7008 -1158
  13. tencentcloud/ocr/v20181119/models.py +2 -2
  14. tencentcloud/teo/v20220901/errorcodes.py +108 -9
  15. tencentcloud/teo/v20220901/models.py +2047 -313
  16. tencentcloud/teo/v20220901/teo_client.py +120 -5
  17. tencentcloud/tke/v20180525/errorcodes.py +76 -1
  18. tencentcloud/tke/v20180525/models.py +4268 -875
  19. tencentcloud/tke/v20180525/tke_client.py +355 -10
  20. tencentcloud/tmt/v20180321/models.py +62 -36
  21. tencentcloud/vpc/v20170312/models.py +17 -2
  22. {tencentcloud_sdk_python_intl_en-3.0.1078.dist-info → tencentcloud_sdk_python_intl_en-3.0.1080.dist-info}/METADATA +1 -1
  23. {tencentcloud_sdk_python_intl_en-3.0.1078.dist-info → tencentcloud_sdk_python_intl_en-3.0.1080.dist-info}/RECORD +25 -20
  24. {tencentcloud_sdk_python_intl_en-3.0.1078.dist-info → tencentcloud_sdk_python_intl_en-3.0.1080.dist-info}/WHEEL +0 -0
  25. {tencentcloud_sdk_python_intl_en-3.0.1078.dist-info → tencentcloud_sdk_python_intl_en-3.0.1080.dist-info}/top_level.txt +0 -0
@@ -373,6 +373,29 @@ class TeoClient(AbstractClient):
373
373
  raise TencentCloudSDKException(type(e).__name__, str(e))
374
374
 
375
375
 
376
+ def CreateLoadBalancer(self, request):
377
+ """This API is used to create a LoadBalancer. For details, see [Quickly Create Load Balancers](https://intl.cloud.tencent.com/document/product/1552/104223?from_cn_redirect=1). The load balancing feature is in beta test. If you need to use it, [contact us](https://intl.cloud.tencent.com/online?from_cn_redirect=1-service).
378
+
379
+ :param request: Request instance for CreateLoadBalancer.
380
+ :type request: :class:`tencentcloud.teo.v20220901.models.CreateLoadBalancerRequest`
381
+ :rtype: :class:`tencentcloud.teo.v20220901.models.CreateLoadBalancerResponse`
382
+
383
+ """
384
+ try:
385
+ params = request._serialize()
386
+ headers = request.headers
387
+ body = self.call("CreateLoadBalancer", params, headers=headers)
388
+ response = json.loads(body)
389
+ model = models.CreateLoadBalancerResponse()
390
+ model._deserialize(response["Response"])
391
+ return model
392
+ except Exception as e:
393
+ if isinstance(e, TencentCloudSDKException):
394
+ raise
395
+ else:
396
+ raise TencentCloudSDKException(type(e).__name__, str(e))
397
+
398
+
376
399
  def CreateOriginGroup(self, request):
377
400
  """This API is used to create an origin group for easy management. The created origin server group can be used for **adding acceleration domain names** and **layer-4 proxy configuration**.
378
401
 
@@ -816,6 +839,29 @@ class TeoClient(AbstractClient):
816
839
  raise TencentCloudSDKException(type(e).__name__, str(e))
817
840
 
818
841
 
842
+ def DeleteLoadBalancer(self, request):
843
+ """This API is used to delete a LoadBalancer. If the LoadBalancer is referenced by other services (for example, Layer-4 proxy), the LoadBalancer cannot be deleted until the reference relationship is removed. The load balancing feature is in beta test. If you need to use it, [contact us](https://intl.cloud.tencent.com/online?from_cn_redirect=1-service).
844
+
845
+ :param request: Request instance for DeleteLoadBalancer.
846
+ :type request: :class:`tencentcloud.teo.v20220901.models.DeleteLoadBalancerRequest`
847
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DeleteLoadBalancerResponse`
848
+
849
+ """
850
+ try:
851
+ params = request._serialize()
852
+ headers = request.headers
853
+ body = self.call("DeleteLoadBalancer", params, headers=headers)
854
+ response = json.loads(body)
855
+ model = models.DeleteLoadBalancerResponse()
856
+ model._deserialize(response["Response"])
857
+ return model
858
+ except Exception as e:
859
+ if isinstance(e, TencentCloudSDKException):
860
+ raise
861
+ else:
862
+ raise TencentCloudSDKException(type(e).__name__, str(e))
863
+
864
+
819
865
  def DeleteOriginGroup(self, request):
820
866
  """This API is used to delete an origin group. Note that an origin group can not be deleted if it is referenced by services (e.g. L4 Proxy, domain name service, load balancing, rule engines).
821
867
 
@@ -1506,6 +1552,29 @@ class TeoClient(AbstractClient):
1506
1552
  raise TencentCloudSDKException(type(e).__name__, str(e))
1507
1553
 
1508
1554
 
1555
+ def DescribeLoadBalancerList(self, request):
1556
+ """This API is used to query the LoadBalancer list. The load balancing feature is in beta test. If you need to use it, [contact us](https://intl.cloud.tencent.com/online?from_cn_redirect=1-service).
1557
+
1558
+ :param request: Request instance for DescribeLoadBalancerList.
1559
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribeLoadBalancerListRequest`
1560
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeLoadBalancerListResponse`
1561
+
1562
+ """
1563
+ try:
1564
+ params = request._serialize()
1565
+ headers = request.headers
1566
+ body = self.call("DescribeLoadBalancerList", params, headers=headers)
1567
+ response = json.loads(body)
1568
+ model = models.DescribeLoadBalancerListResponse()
1569
+ model._deserialize(response["Response"])
1570
+ return model
1571
+ except Exception as e:
1572
+ if isinstance(e, TencentCloudSDKException):
1573
+ raise
1574
+ else:
1575
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1576
+
1577
+
1509
1578
  def DescribeOriginGroup(self, request):
1510
1579
  """This API is used to obtain a list of origin groups.
1511
1580
 
@@ -1529,6 +1598,29 @@ class TeoClient(AbstractClient):
1529
1598
  raise TencentCloudSDKException(type(e).__name__, str(e))
1530
1599
 
1531
1600
 
1601
+ def DescribeOriginGroupHealthStatus(self, request):
1602
+ """This API is used to query the health status of origin server groups under a LoadBalancer. The load balancing feature is in beta test. If you need to use it, [contact us](https://intl.cloud.tencent.com/online?from_cn_redirect=1-service).
1603
+
1604
+ :param request: Request instance for DescribeOriginGroupHealthStatus.
1605
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribeOriginGroupHealthStatusRequest`
1606
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeOriginGroupHealthStatusResponse`
1607
+
1608
+ """
1609
+ try:
1610
+ params = request._serialize()
1611
+ headers = request.headers
1612
+ body = self.call("DescribeOriginGroupHealthStatus", params, headers=headers)
1613
+ response = json.loads(body)
1614
+ model = models.DescribeOriginGroupHealthStatusResponse()
1615
+ model._deserialize(response["Response"])
1616
+ return model
1617
+ except Exception as e:
1618
+ if isinstance(e, TencentCloudSDKException):
1619
+ raise
1620
+ else:
1621
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1622
+
1623
+
1532
1624
  def DescribeOriginProtection(self, request):
1533
1625
  """This API is used to query the origin protection configuration.
1534
1626
 
@@ -1786,7 +1878,7 @@ class TeoClient(AbstractClient):
1786
1878
 
1787
1879
 
1788
1880
  def DescribeTimingL7AnalysisData(self, request):
1789
- """This API is used to query the L7 data recorded over time.
1881
+ """This API is used to query the time series data of the L7 domain name. Note that there is a delay of about 10 minutes for this API. It is recommended to pull data from 10 minutes before the current time.
1790
1882
 
1791
1883
  :param request: Request instance for DescribeTimingL7AnalysisData.
1792
1884
  :type request: :class:`tencentcloud.teo.v20220901.models.DescribeTimingL7AnalysisDataRequest`
@@ -1809,7 +1901,7 @@ class TeoClient(AbstractClient):
1809
1901
 
1810
1902
 
1811
1903
  def DescribeTimingL7CacheData(self, request):
1812
- """This API is used to query the time-series L7 cached data.
1904
+ """This API is used to query the time series traffic data of the L7 cache analysis. It will be deprecated. Use the <a href="https://intl.cloud.tencent.com/document/product/1552/80648?from_cn_redirect=1">DescribeTimingL7AnalysisData</a> API instead.
1813
1905
 
1814
1906
  :param request: Request instance for DescribeTimingL7CacheData.
1815
1907
  :type request: :class:`tencentcloud.teo.v20220901.models.DescribeTimingL7CacheDataRequest`
@@ -1832,7 +1924,7 @@ class TeoClient(AbstractClient):
1832
1924
 
1833
1925
 
1834
1926
  def DescribeTopL7AnalysisData(self, request):
1835
- """This API is used to query the top-ranked L7 traffic data.
1927
+ """This API is used to query the top N data of the L7 domain name by a specified dimension. Note that there is a delay of about 10 minutes for this API. It is recommended to pull data from 10 minutes before the current time.
1836
1928
 
1837
1929
  :param request: Request instance for DescribeTopL7AnalysisData.
1838
1930
  :type request: :class:`tencentcloud.teo.v20220901.models.DescribeTopL7AnalysisDataRequest`
@@ -1855,7 +1947,7 @@ class TeoClient(AbstractClient):
1855
1947
 
1856
1948
 
1857
1949
  def DescribeTopL7CacheData(self, request):
1858
- """This API is used to query the cached L7 top-ranked data.
1950
+ """This API is used to query the top N data of the L7 cache analysis. It will be deprecated. Use the <a href="https://intl.cloud.tencent.com/document/product/1552/80646?from_cn_redirect=1"> DescribeTopL7AnalysisData</a> API instead.
1859
1951
 
1860
1952
  :param request: Request instance for DescribeTopL7CacheData.
1861
1953
  :type request: :class:`tencentcloud.teo.v20220901.models.DescribeTopL7CacheDataRequest`
@@ -2465,6 +2557,29 @@ class TeoClient(AbstractClient):
2465
2557
  raise TencentCloudSDKException(type(e).__name__, str(e))
2466
2558
 
2467
2559
 
2560
+ def ModifyLoadBalancer(self, request):
2561
+ """This API is used to modify LoadBalancer configuration. The load balancing feature is in beta test. If you need to use it, [contact us](https://intl.cloud.tencent.com/online?from_cn_redirect=1-service).
2562
+
2563
+ :param request: Request instance for ModifyLoadBalancer.
2564
+ :type request: :class:`tencentcloud.teo.v20220901.models.ModifyLoadBalancerRequest`
2565
+ :rtype: :class:`tencentcloud.teo.v20220901.models.ModifyLoadBalancerResponse`
2566
+
2567
+ """
2568
+ try:
2569
+ params = request._serialize()
2570
+ headers = request.headers
2571
+ body = self.call("ModifyLoadBalancer", params, headers=headers)
2572
+ response = json.loads(body)
2573
+ model = models.ModifyLoadBalancerResponse()
2574
+ model._deserialize(response["Response"])
2575
+ return model
2576
+ except Exception as e:
2577
+ if isinstance(e, TencentCloudSDKException):
2578
+ raise
2579
+ else:
2580
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2581
+
2582
+
2468
2583
  def ModifyOriginGroup(self, request):
2469
2584
  """This API is used to modify the configuration of an origin group. The original configuration will be overwritten.
2470
2585
 
@@ -2512,7 +2627,7 @@ class TeoClient(AbstractClient):
2512
2627
 
2513
2628
 
2514
2629
  def ModifyRealtimeLogDeliveryTask(self, request):
2515
- """This API is used to modify the real-time log delivery task configuration. This API has the following restrictions:<li>Does not support modifying the destination type of the real-time log delivery task (TaskType);</li><li>Does not support modifying the data delivery type (LogType)</li><li>Does not support modifying the data delivery area (Area)</li><li>Does not support modifying the detailed destination configuration, such as log set and log topic, when the destination of the original real-time log delivery task is Tencent Cloud CLS.</li>
2630
+ """This API is used to modify the real-time log delivery task configuration. This API has the following restrictions:<li>Does not support modifying the destination type of the real-time log delivery task (TaskType);</li><li>Does not support modifying the data delivery type (LogType);</li><li>Does not support modifying the data delivery area (Area);</li><li>Does not support modifying the detailed destination configuration, such as log set and log topic, when the destination of the original real-time log delivery task is Tencent Cloud CLS.</li>
2516
2631
 
2517
2632
  :param request: Request instance for ModifyRealtimeLogDeliveryTask.
2518
2633
  :type request: :class:`tencentcloud.teo.v20220901.models.ModifyRealtimeLogDeliveryTaskRequest`
@@ -14,6 +14,9 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
+ # CAM signature/authentication error.
18
+ AUTHFAILURE = 'AuthFailure'
19
+
17
20
  # Operation failed.
18
21
  FAILEDOPERATION = 'FailedOperation'
19
22
 
@@ -23,6 +26,9 @@ FAILEDOPERATION_ACCOUNTCOMMON = 'FailedOperation.AccountCommon'
23
26
  # The account is not verified.
24
27
  FAILEDOPERATION_ACCOUNTUSERNOTAUTHENTICATED = 'FailedOperation.AccountUserNotAuthenticated'
25
28
 
29
+ # Failed to add VPC-CNI Subnet.
30
+ FAILEDOPERATION_ADDVPCCNISUBNETSFAILED = 'FailedOperation.AddVpcCniSubnetsFailed'
31
+
26
32
  # An error occurs while creating scaling group resources.
27
33
  FAILEDOPERATION_ASCOMMON = 'FailedOperation.AsCommon'
28
34
 
@@ -53,9 +59,30 @@ FAILEDOPERATION_COMPONENTCLIENTUNPACK = 'FailedOperation.ComponentClientUnpack'
53
59
  # Failed to request (HTTP request) other Tencent Cloud services.
54
60
  FAILEDOPERATION_COMPONENTCLINETHTTP = 'FailedOperation.ComponentClinetHttp'
55
61
 
62
+ # Failed to create CLS Client.
63
+ FAILEDOPERATION_CREATECLSCLIENT = 'FailedOperation.CreateClsClient'
64
+
65
+ # Failed to create CLS collection configuration.
66
+ FAILEDOPERATION_CREATECLSCONFIG = 'FailedOperation.CreateClsConfig'
67
+
68
+ # Failed to create CLS index.
69
+ FAILEDOPERATION_CREATECLSINDEX = 'FailedOperation.CreateClsIndex'
70
+
71
+ # Failed to create the CLS log set.
72
+ FAILEDOPERATION_CREATECLSLOGSET = 'FailedOperation.CreateClsLogSet'
73
+
74
+ # Failed to create CLS machine group.
75
+ FAILEDOPERATION_CREATECLSMACHINEGROUP = 'FailedOperation.CreateClsMachineGroup'
76
+
77
+ # Failed to create CLS topic.
78
+ FAILEDOPERATION_CREATECLSTOPIC = 'FailedOperation.CreateClsTopic'
79
+
56
80
  # Failed to create the node due to a CVM error
57
81
  FAILEDOPERATION_CVMCOMMON = 'FailedOperation.CvmCommon'
58
82
 
83
+ # CVM Termination Protection is enabled, and it cannot be removed.
84
+ FAILEDOPERATION_CVMDELETIONPROTECTION = 'FailedOperation.CvmDeletionProtection'
85
+
59
86
  # Some of the specified CVMs are not found.
60
87
  FAILEDOPERATION_CVMNUMBERNOTMATCH = 'FailedOperation.CvmNumberNotMatch'
61
88
 
@@ -74,6 +101,30 @@ FAILEDOPERATION_DFWGETUSGQUOTA = 'FailedOperation.DfwGetUSGQuota'
74
101
  # Failed to enable the VPC-CNI mode.
75
102
  FAILEDOPERATION_ENABLEVPCCNIFAILED = 'FailedOperation.EnableVPCCNIFailed'
76
103
 
104
+ # Failed to obtain CLS collection configuration.
105
+ FAILEDOPERATION_GETCLSCONFIG = 'FailedOperation.GetClsConfig'
106
+
107
+ # Failed to obtain the machine group bound to the CLS collection configuration.
108
+ FAILEDOPERATION_GETCLSCONFIGMACHINEGROUPS = 'FailedOperation.GetClsConfigMachineGroups'
109
+
110
+ # Failed to obtain CLS index configuration.
111
+ FAILEDOPERATION_GETCLSINDEX = 'FailedOperation.GetClsIndex'
112
+
113
+ # Failed to query the topic set.
114
+ FAILEDOPERATION_GETCLSLOGSET = 'FailedOperation.GetClsLogSet'
115
+
116
+ # Failed to obtain the CLS machine group.
117
+ FAILEDOPERATION_GETCLSMACHINEGROUP = 'FailedOperation.GetClsMachineGroup'
118
+
119
+ # Failed to obtain the collection configuration bound to the CLS machine group.
120
+ FAILEDOPERATION_GETCLSMACHINEGROUPCONFIGS = 'FailedOperation.GetClsMachineGroupConfigs'
121
+
122
+ # Failed to obtain CLS log topic.
123
+ FAILEDOPERATION_GETCLSTOPIC = 'FailedOperation.GetClsTopic'
124
+
125
+ # Failed to create the Kubernetes client.
126
+ FAILEDOPERATION_K8SCLIENTBUILDERROR = 'FailedOperation.K8sClientBuildError'
127
+
77
128
  # Failed to connect to the customer Kubernetes cluster.
78
129
  FAILEDOPERATION_KUBECLIENTCONNECTION = 'FailedOperation.KubeClientConnection'
79
130
 
@@ -86,6 +137,9 @@ FAILEDOPERATION_KUBERNETESCLIENTBUILDERROR = 'FailedOperation.KubernetesClientBu
86
137
  # An error occurs while creating the cluster client.
87
138
  FAILEDOPERATION_KUBERNETESCREATEOPERATIONERROR = 'FailedOperation.KubernetesCreateOperationError'
88
139
 
140
+ # Kubernetes Delete operation error.
141
+ FAILEDOPERATION_KUBERNETESDELETEOPERATIONERROR = 'FailedOperation.KubernetesDeleteOperationError'
142
+
89
143
  #
90
144
  FAILEDOPERATION_KUBERNETESGETOPERATIONERROR = 'FailedOperation.KubernetesGetOperationError'
91
145
 
@@ -95,9 +149,21 @@ FAILEDOPERATION_KUBERNETESINTERNAL = 'FailedOperation.KubernetesInternal'
95
149
  # Failed to obtain the kubernetes resource list.
96
150
  FAILEDOPERATION_KUBERNETESLISTOPERATIONERROR = 'FailedOperation.KubernetesListOperationError'
97
151
 
152
+ # Kubernetes is not found.
153
+ FAILEDOPERATION_KUBERNETESRESOURCENOTFOUND = 'FailedOperation.KubernetesResourceNotFound'
154
+
98
155
  # An unknown error occurs while calling the underlying CLB.
99
156
  FAILEDOPERATION_LBCOMMON = 'FailedOperation.LbCommon'
100
157
 
158
+ # Failed to modify CLS collection configuration.
159
+ FAILEDOPERATION_MODIFYCLSCONFIG = 'FailedOperation.ModifyClsConfig'
160
+
161
+ # Failed to modify CLS index.
162
+ FAILEDOPERATION_MODIFYCLSINDEX = 'FailedOperation.ModifyClsIndex'
163
+
164
+ # Failed to modify CLS log topic.
165
+ FAILEDOPERATION_MODIFYCLSTOPIC = 'FailedOperation.ModifyClsTopic'
166
+
101
167
  # Network extension error.
102
168
  FAILEDOPERATION_NETWORKSCALEERROR = 'FailedOperation.NetworkScaleError'
103
169
 
@@ -128,12 +194,18 @@ FAILEDOPERATION_RBACFORBIDDEN = 'FailedOperation.RBACForbidden'
128
194
  # Record not found.
129
195
  FAILEDOPERATION_RECORDNOTFOUND = 'FailedOperation.RecordNotFound'
130
196
 
197
+ # Tag error
198
+ FAILEDOPERATION_TAGCOMMON = 'FailedOperation.TagCommon'
199
+
131
200
  # A same task is in progress.
132
201
  FAILEDOPERATION_TASKALREADYRUNNING = 'FailedOperation.TaskAlreadyRunning'
133
202
 
134
203
  # This operation is not supported when the task is in the current status.
135
204
  FAILEDOPERATION_TASKLIFESTATEERROR = 'FailedOperation.TaskLifeStateError'
136
205
 
206
+ # No task found.
207
+ FAILEDOPERATION_TASKNOTFOUND = 'FailedOperation.TaskNotFound'
208
+
137
209
  # Query failed.
138
210
  FAILEDOPERATION_TRADECOMMON = 'FailedOperation.TradeCommon'
139
211
 
@@ -320,7 +392,7 @@ INTERNALERROR_TASKLIFESTATEERROR = 'InternalError.TaskLifeStateError'
320
392
  # No task found
321
393
  INTERNALERROR_TASKNOTFOUND = 'InternalError.TaskNotFound'
322
394
 
323
- # Query failed
395
+ # Billing error.
324
396
  INTERNALERROR_TRADECOMMON = 'InternalError.TradeCommon'
325
397
 
326
398
  # Insufficient account balance.
@@ -407,6 +479,9 @@ INVALIDPARAMETER_SUBNETINVALIDERROR = 'InvalidParameter.SubnetInvalidError'
407
479
  # The subnet does not exist.
408
480
  INVALIDPARAMETER_SUBNETNOTEXIST = 'InvalidParameter.SubnetNotExist'
409
481
 
482
+ # In customer creation parameters, k8s version, runtime version, or tke-eni-agent version do not support the chosen operating system's CgroupV2.
483
+ INVALIDPARAMETER_VERSIONNOTSUPPORTCGROUPV2 = 'InvalidParameter.VersionNotSupportCgroupV2'
484
+
410
485
  # Quota limit is exceeded.
411
486
  LIMITEXCEEDED = 'LimitExceeded'
412
487