tencentcloud-sdk-python-intl-en 3.0.1288__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ccc/v20200210/ccc_client.py +23 -0
- tencentcloud/ccc/v20200210/models.py +184 -0
- tencentcloud/clb/v20180317/clb_client.py +4 -4
- tencentcloud/clb/v20180317/errorcodes.py +9 -0
- tencentcloud/clb/v20180317/models.py +27 -2
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +46 -0
- tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
- tencentcloud/cynosdb/v20190107/models.py +1286 -75
- tencentcloud/dlc/v20210125/dlc_client.py +69 -0
- tencentcloud/dlc/v20210125/models.py +504 -0
- tencentcloud/mdl/v20200326/models.py +191 -0
- tencentcloud/mongodb/v20190725/errorcodes.py +15 -0
- tencentcloud/mongodb/v20190725/models.py +1276 -463
- tencentcloud/mongodb/v20190725/mongodb_client.py +75 -6
- tencentcloud/monitor/v20180724/models.py +1351 -124
- tencentcloud/monitor/v20180724/monitor_client.py +118 -0
- tencentcloud/mps/v20190612/models.py +366 -62
- tencentcloud/quota/v20241204/models.py +17 -2
- tencentcloud/redis/v20180412/models.py +410 -168
- tencentcloud/redis/v20180412/redis_client.py +4 -4
- tencentcloud/wedata/v20250806/__init__.py +0 -0
- tencentcloud/wedata/v20250806/errorcodes.py +57 -0
- tencentcloud/wedata/v20250806/models.py +26375 -0
- tencentcloud/wedata/v20250806/wedata_client.py +1797 -0
- {tencentcloud_sdk_python_intl_en-3.0.1288.dist-info → tencentcloud_sdk_python_intl_en-3.0.1291.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1288.dist-info → tencentcloud_sdk_python_intl_en-3.0.1291.dist-info}/RECORD +29 -25
- {tencentcloud_sdk_python_intl_en-3.0.1288.dist-info → tencentcloud_sdk_python_intl_en-3.0.1291.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1288.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
|
|
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
|
|
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
|
|
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.
|
|
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
|
|
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
|
|
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
|