tencentcloud-sdk-python-intl-en 3.0.1289__py2.py3-none-any.whl → 3.0.1291__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 (29) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/ccc/v20200210/ccc_client.py +23 -0
  3. tencentcloud/ccc/v20200210/models.py +184 -0
  4. tencentcloud/clb/v20180317/clb_client.py +4 -4
  5. tencentcloud/clb/v20180317/errorcodes.py +9 -0
  6. tencentcloud/clb/v20180317/models.py +27 -2
  7. tencentcloud/cynosdb/v20190107/cynosdb_client.py +46 -0
  8. tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
  9. tencentcloud/cynosdb/v20190107/models.py +1286 -75
  10. tencentcloud/dlc/v20210125/dlc_client.py +69 -0
  11. tencentcloud/dlc/v20210125/models.py +504 -0
  12. tencentcloud/mdl/v20200326/models.py +191 -0
  13. tencentcloud/mongodb/v20190725/errorcodes.py +15 -0
  14. tencentcloud/mongodb/v20190725/models.py +1276 -463
  15. tencentcloud/mongodb/v20190725/mongodb_client.py +75 -6
  16. tencentcloud/monitor/v20180724/models.py +1351 -124
  17. tencentcloud/monitor/v20180724/monitor_client.py +118 -0
  18. tencentcloud/mps/v20190612/models.py +366 -62
  19. tencentcloud/quota/v20241204/models.py +17 -2
  20. tencentcloud/redis/v20180412/models.py +410 -168
  21. tencentcloud/redis/v20180412/redis_client.py +4 -4
  22. tencentcloud/wedata/v20250806/__init__.py +0 -0
  23. tencentcloud/wedata/v20250806/errorcodes.py +57 -0
  24. tencentcloud/wedata/v20250806/models.py +26375 -0
  25. tencentcloud/wedata/v20250806/wedata_client.py +1797 -0
  26. {tencentcloud_sdk_python_intl_en-3.0.1289.dist-info → tencentcloud_sdk_python_intl_en-3.0.1291.dist-info}/METADATA +1 -1
  27. {tencentcloud_sdk_python_intl_en-3.0.1289.dist-info → tencentcloud_sdk_python_intl_en-3.0.1291.dist-info}/RECORD +29 -25
  28. {tencentcloud_sdk_python_intl_en-3.0.1289.dist-info → tencentcloud_sdk_python_intl_en-3.0.1291.dist-info}/WHEEL +0 -0
  29. {tencentcloud_sdk_python_intl_en-3.0.1289.dist-info → tencentcloud_sdk_python_intl_en-3.0.1291.dist-info}/top_level.txt +0 -0
@@ -96,7 +96,7 @@ class MongodbClient(AbstractClient):
96
96
 
97
97
 
98
98
  def CreateDBInstance(self, request):
99
- r"""This API is used to create a monthly subscription TencentDB for MongoDB instance. The purchasable specifications supported by this API can be obtained through the `DescribeSpecInfo` API.
99
+ r"""This API is used to create a yearly/monthly subscription TencentDB for MongoDB instance. The [DescribeSpecInfo](https://www.tencentcloud.comom/document/product/240/35767?from_cn_redirect=1) API can be called to query and obtain the supported sales specifications.
100
100
 
101
101
  :param request: Request instance for CreateDBInstance.
102
102
  :type request: :class:`tencentcloud.mongodb.v20190725.models.CreateDBInstanceRequest`
@@ -165,7 +165,7 @@ class MongodbClient(AbstractClient):
165
165
 
166
166
 
167
167
  def DescribeBackupDownloadTask(self, request):
168
- r"""This API is used to query backup download task information.
168
+ r"""This API is used to query information about the backup download task.
169
169
 
170
170
  :param request: Request instance for DescribeBackupDownloadTask.
171
171
  :type request: :class:`tencentcloud.mongodb.v20190725.models.DescribeBackupDownloadTaskRequest`
@@ -302,6 +302,29 @@ class MongodbClient(AbstractClient):
302
302
  raise TencentCloudSDKException(type(e).__name__, str(e))
303
303
 
304
304
 
305
+ def DescribeDetailedSlowLogs(self, request):
306
+ r"""This API is used to query slow log details of the instance.
307
+
308
+ :param request: Request instance for DescribeDetailedSlowLogs.
309
+ :type request: :class:`tencentcloud.mongodb.v20190725.models.DescribeDetailedSlowLogsRequest`
310
+ :rtype: :class:`tencentcloud.mongodb.v20190725.models.DescribeDetailedSlowLogsResponse`
311
+
312
+ """
313
+ try:
314
+ params = request._serialize()
315
+ headers = request.headers
316
+ body = self.call("DescribeDetailedSlowLogs", params, headers=headers)
317
+ response = json.loads(body)
318
+ model = models.DescribeDetailedSlowLogsResponse()
319
+ model._deserialize(response["Response"])
320
+ return model
321
+ except Exception as e:
322
+ if isinstance(e, TencentCloudSDKException):
323
+ raise
324
+ else:
325
+ raise TencentCloudSDKException(type(e).__name__, str(e))
326
+
327
+
305
328
  def DescribeInstanceParams(self, request):
306
329
  r"""This API is used to query the list of parameters that can be modified for the current instance.
307
330
 
@@ -395,7 +418,7 @@ class MongodbClient(AbstractClient):
395
418
 
396
419
 
397
420
  def DescribeSpecInfo(self, request):
398
- r"""This API is used to query the purchasable instance specifications.
421
+ r"""This API is used to query the sales specification of an instance.
399
422
 
400
423
  :param request: Request instance for DescribeSpecInfo.
401
424
  :type request: :class:`tencentcloud.mongodb.v20190725.models.DescribeSpecInfoRequest`
@@ -510,7 +533,7 @@ class MongodbClient(AbstractClient):
510
533
 
511
534
 
512
535
  def IsolateDBInstance(self, request):
513
- r"""This API is used to isolate a pay-as-you-go TencentDB for MongoDB instance. An isolated instance is retained in the recycle bin and data can no longer be written to it. After it is isolated for a certain period of time, it will be completely deleted. For the retention period in the recycle bin, please see the terms of service for pay-as-you-go billing. Isolated pay-as-you-go instances cannot be recovered, so please proceed with caution.
536
+ r"""This API is used to isolate a pay-as-you-go TencentDB for MongoDB instance. After isolation, the instance is retained in the recycle bin, and data cannot be written into it. After a certain period of isolation, the instance is deleted permanently. For the retention time in the recycle bin, see the pay-as-you-go service terms. The deleted pay-as-you-go instance cannot be recovered. Proceed with caution.
514
537
 
515
538
  :param request: Request instance for IsolateDBInstance.
516
539
  :type request: :class:`tencentcloud.mongodb.v20190725.models.IsolateDBInstanceRequest`
@@ -579,7 +602,7 @@ class MongodbClient(AbstractClient):
579
602
 
580
603
 
581
604
  def ModifyDBInstanceSpec(self, request):
582
- r"""This API is used to adjust the configuration of a TencentDB for MongoDB instance. Saleable specifications supported for this API can be obtained from the DescribeSpecInfo API for querying saleable TencentDB for MongoDB specifications.
605
+ r"""This API is used to adjust the TencentDB for MongoDB instance configuration. The [DescribeSpecInfo](https://www.tencentcloud.comom/document/product/240/38567?from_cn_redirect=1) API can be called to query and obtain the supported sales specifications.
583
606
 
584
607
  :param request: Request instance for ModifyDBInstanceSpec.
585
608
  :type request: :class:`tencentcloud.mongodb.v20190725.models.ModifyDBInstanceSpecRequest`
@@ -671,7 +694,7 @@ class MongodbClient(AbstractClient):
671
694
 
672
695
 
673
696
  def ResetDBInstancePassword(self, request):
674
- r"""This API is used to modify instance password.
697
+ r"""This API is used to reset the instance access password.
675
698
 
676
699
  :param request: Request instance for ResetDBInstancePassword.
677
700
  :type request: :class:`tencentcloud.mongodb.v20190725.models.ResetDBInstancePasswordRequest`
@@ -686,6 +709,52 @@ class MongodbClient(AbstractClient):
686
709
  model = models.ResetDBInstancePasswordResponse()
687
710
  model._deserialize(response["Response"])
688
711
  return model
712
+ except Exception as e:
713
+ if isinstance(e, TencentCloudSDKException):
714
+ raise
715
+ else:
716
+ raise TencentCloudSDKException(type(e).__name__, str(e))
717
+
718
+
719
+ def SetDBInstanceDeletionProtection(self, request):
720
+ r"""This API is used to set instance termination protection.
721
+
722
+ :param request: Request instance for SetDBInstanceDeletionProtection.
723
+ :type request: :class:`tencentcloud.mongodb.v20190725.models.SetDBInstanceDeletionProtectionRequest`
724
+ :rtype: :class:`tencentcloud.mongodb.v20190725.models.SetDBInstanceDeletionProtectionResponse`
725
+
726
+ """
727
+ try:
728
+ params = request._serialize()
729
+ headers = request.headers
730
+ body = self.call("SetDBInstanceDeletionProtection", params, headers=headers)
731
+ response = json.loads(body)
732
+ model = models.SetDBInstanceDeletionProtectionResponse()
733
+ model._deserialize(response["Response"])
734
+ return model
735
+ except Exception as e:
736
+ if isinstance(e, TencentCloudSDKException):
737
+ raise
738
+ else:
739
+ raise TencentCloudSDKException(type(e).__name__, str(e))
740
+
741
+
742
+ def TerminateDBInstances(self, request):
743
+ r"""This API is used to terminate monthly subscription billing instances.
744
+
745
+ :param request: Request instance for TerminateDBInstances.
746
+ :type request: :class:`tencentcloud.mongodb.v20190725.models.TerminateDBInstancesRequest`
747
+ :rtype: :class:`tencentcloud.mongodb.v20190725.models.TerminateDBInstancesResponse`
748
+
749
+ """
750
+ try:
751
+ params = request._serialize()
752
+ headers = request.headers
753
+ body = self.call("TerminateDBInstances", params, headers=headers)
754
+ response = json.loads(body)
755
+ model = models.TerminateDBInstancesResponse()
756
+ model._deserialize(response["Response"])
757
+ return model
689
758
  except Exception as e:
690
759
  if isinstance(e, TencentCloudSDKException):
691
760
  raise