tencentcloud-sdk-python-intl-en 3.0.1234__py2.py3-none-any.whl → 3.0.1235__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/mongodb/v20190725/errorcodes.py +8 -2
- tencentcloud/mongodb/v20190725/models.py +1162 -506
- tencentcloud/mongodb/v20190725/mongodb_client.py +34 -11
- {tencentcloud_sdk_python_intl_en-3.0.1234.dist-info → tencentcloud_sdk_python_intl_en-3.0.1235.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1234.dist-info → tencentcloud_sdk_python_intl_en-3.0.1235.dist-info}/RECORD +8 -8
- {tencentcloud_sdk_python_intl_en-3.0.1234.dist-info → tencentcloud_sdk_python_intl_en-3.0.1235.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1234.dist-info → tencentcloud_sdk_python_intl_en-3.0.1235.dist-info}/top_level.txt +0 -0
|
@@ -27,7 +27,7 @@ class MongodbClient(AbstractClient):
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
def AssignProject(self, request):
|
|
30
|
-
"""This API is used to specify the project
|
|
30
|
+
"""This API is used to specify the project of a TencentDB for MongoDB instance.
|
|
31
31
|
|
|
32
32
|
:param request: Request instance for AssignProject.
|
|
33
33
|
:type request: :class:`tencentcloud.mongodb.v20190725.models.AssignProjectRequest`
|
|
@@ -50,7 +50,7 @@ class MongodbClient(AbstractClient):
|
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
def CreateBackupDBInstance(self, request):
|
|
53
|
-
"""This API is used to
|
|
53
|
+
"""This API is used to back up an instance.
|
|
54
54
|
|
|
55
55
|
:param request: Request instance for CreateBackupDBInstance.
|
|
56
56
|
:type request: :class:`tencentcloud.mongodb.v20190725.models.CreateBackupDBInstanceRequest`
|
|
@@ -142,7 +142,7 @@ class MongodbClient(AbstractClient):
|
|
|
142
142
|
|
|
143
143
|
|
|
144
144
|
def DescribeAsyncRequestInfo(self, request):
|
|
145
|
-
"""This API is used to query
|
|
145
|
+
"""This API is used to query the asynchronous task status.
|
|
146
146
|
|
|
147
147
|
:param request: Request instance for DescribeAsyncRequestInfo.
|
|
148
148
|
:type request: :class:`tencentcloud.mongodb.v20190725.models.DescribeAsyncRequestInfoRequest`
|
|
@@ -188,7 +188,7 @@ class MongodbClient(AbstractClient):
|
|
|
188
188
|
|
|
189
189
|
|
|
190
190
|
def DescribeClientConnections(self, request):
|
|
191
|
-
"""This API is used to query the client connection information
|
|
191
|
+
"""This API is used to query the client connection information on an instance, including the IP address for connection and the number of connections.
|
|
192
192
|
|
|
193
193
|
:param request: Request instance for DescribeClientConnections.
|
|
194
194
|
:type request: :class:`tencentcloud.mongodb.v20190725.models.DescribeClientConnectionsRequest`
|
|
@@ -234,7 +234,7 @@ class MongodbClient(AbstractClient):
|
|
|
234
234
|
|
|
235
235
|
|
|
236
236
|
def DescribeDBInstanceDeal(self, request):
|
|
237
|
-
"""This API is used to get details of purchase, renewal, and specification adjustment
|
|
237
|
+
"""This API is used to get order details of purchase, renewal, and specification adjustment of a MongoDB instance.
|
|
238
238
|
|
|
239
239
|
:param request: Request instance for DescribeDBInstanceDeal.
|
|
240
240
|
:type request: :class:`tencentcloud.mongodb.v20190725.models.DescribeDBInstanceDealRequest`
|
|
@@ -256,8 +256,31 @@ class MongodbClient(AbstractClient):
|
|
|
256
256
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
257
257
|
|
|
258
258
|
|
|
259
|
+
def DescribeDBInstanceNamespace(self, request):
|
|
260
|
+
"""This API is used to query the table information on a database.
|
|
261
|
+
|
|
262
|
+
:param request: Request instance for DescribeDBInstanceNamespace.
|
|
263
|
+
:type request: :class:`tencentcloud.mongodb.v20190725.models.DescribeDBInstanceNamespaceRequest`
|
|
264
|
+
:rtype: :class:`tencentcloud.mongodb.v20190725.models.DescribeDBInstanceNamespaceResponse`
|
|
265
|
+
|
|
266
|
+
"""
|
|
267
|
+
try:
|
|
268
|
+
params = request._serialize()
|
|
269
|
+
headers = request.headers
|
|
270
|
+
body = self.call("DescribeDBInstanceNamespace", params, headers=headers)
|
|
271
|
+
response = json.loads(body)
|
|
272
|
+
model = models.DescribeDBInstanceNamespaceResponse()
|
|
273
|
+
model._deserialize(response["Response"])
|
|
274
|
+
return model
|
|
275
|
+
except Exception as e:
|
|
276
|
+
if isinstance(e, TencentCloudSDKException):
|
|
277
|
+
raise
|
|
278
|
+
else:
|
|
279
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
280
|
+
|
|
281
|
+
|
|
259
282
|
def DescribeDBInstances(self, request):
|
|
260
|
-
"""This API is used to query the list of TencentDB instances
|
|
283
|
+
"""This API is used to query the list of TencentDB for MongoDB instances. It supports filtering primary instances, disaster recovery instances, and read-only instances by project ID, instance ID, instance status, and other conditions.
|
|
261
284
|
|
|
262
285
|
:param request: Request instance for DescribeDBInstances.
|
|
263
286
|
:type request: :class:`tencentcloud.mongodb.v20190725.models.DescribeDBInstancesRequest`
|
|
@@ -280,7 +303,7 @@ class MongodbClient(AbstractClient):
|
|
|
280
303
|
|
|
281
304
|
|
|
282
305
|
def DescribeInstanceParams(self, request):
|
|
283
|
-
"""This API is used to query the
|
|
306
|
+
"""This API is used to query the list of parameters that can be modified for the current instance.
|
|
284
307
|
|
|
285
308
|
:param request: Request instance for DescribeInstanceParams.
|
|
286
309
|
:type request: :class:`tencentcloud.mongodb.v20190725.models.DescribeInstanceParamsRequest`
|
|
@@ -303,7 +326,7 @@ class MongodbClient(AbstractClient):
|
|
|
303
326
|
|
|
304
327
|
|
|
305
328
|
def DescribeSecurityGroup(self, request):
|
|
306
|
-
"""This API is used to query
|
|
329
|
+
"""This API is used to query security groups bound to an instance.
|
|
307
330
|
|
|
308
331
|
:param request: Request instance for DescribeSecurityGroup.
|
|
309
332
|
:type request: :class:`tencentcloud.mongodb.v20190725.models.DescribeSecurityGroupRequest`
|
|
@@ -510,7 +533,7 @@ class MongodbClient(AbstractClient):
|
|
|
510
533
|
|
|
511
534
|
|
|
512
535
|
def ModifyDBInstanceNetworkAddress(self, request):
|
|
513
|
-
"""This API is used to modify the network
|
|
536
|
+
"""This API is used to modify the network information on a TencentDB for MongoDB instance. It supports switching from a basic network to a VPC network or from one VPC network to another VPC network.
|
|
514
537
|
|
|
515
538
|
:param request: Request instance for ModifyDBInstanceNetworkAddress.
|
|
516
539
|
:type request: :class:`tencentcloud.mongodb.v20190725.models.ModifyDBInstanceNetworkAddressRequest`
|
|
@@ -533,7 +556,7 @@ class MongodbClient(AbstractClient):
|
|
|
533
556
|
|
|
534
557
|
|
|
535
558
|
def ModifyDBInstanceSecurityGroup(self, request):
|
|
536
|
-
"""This API is used to modify
|
|
559
|
+
"""This API is used to modify security groups bound to an instance.
|
|
537
560
|
|
|
538
561
|
:param request: Request instance for ModifyDBInstanceSecurityGroup.
|
|
539
562
|
:type request: :class:`tencentcloud.mongodb.v20190725.models.ModifyDBInstanceSecurityGroupRequest`
|
|
@@ -556,7 +579,7 @@ class MongodbClient(AbstractClient):
|
|
|
556
579
|
|
|
557
580
|
|
|
558
581
|
def ModifyDBInstanceSpec(self, request):
|
|
559
|
-
"""This API is used to adjust the
|
|
582
|
+
"""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.
|
|
560
583
|
|
|
561
584
|
:param request: Request instance for ModifyDBInstanceSpec.
|
|
562
585
|
:type request: :class:`tencentcloud.mongodb.v20190725.models.ModifyDBInstanceSpecRequest`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=g7U9qr-CVgG2fDzJA-QOivvB2amvhfAfQG34dg-n5tY,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=fiBV7Nao68T0UJdOUt5BxEABWr7mG_J9NPJT2lXDdyw,2897
|
|
@@ -397,9 +397,9 @@ tencentcloud/mdp/v20200527/mdp_client.py,sha256=edZtHiyiPO6RA53VigSLDXSalQAGrwOn
|
|
|
397
397
|
tencentcloud/mdp/v20200527/models.py,sha256=w5v4Yh2hWRO78uThMut574IwmyZa9olWvDr3kJarB8A,314466
|
|
398
398
|
tencentcloud/mongodb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
399
399
|
tencentcloud/mongodb/v20190725/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
400
|
-
tencentcloud/mongodb/v20190725/errorcodes.py,sha256=
|
|
401
|
-
tencentcloud/mongodb/v20190725/models.py,sha256=
|
|
402
|
-
tencentcloud/mongodb/v20190725/mongodb_client.py,sha256=
|
|
400
|
+
tencentcloud/mongodb/v20190725/errorcodes.py,sha256=FY76Gg6i_g7wFuILwh8KcrEb6jAnay2N0r7EbHVbKkE,7405
|
|
401
|
+
tencentcloud/mongodb/v20190725/models.py,sha256=2VmpZu7nw_VHMds7ku62a93fUKDCBMzvmnjGOLfR28U,293346
|
|
402
|
+
tencentcloud/mongodb/v20190725/mongodb_client.py,sha256=IhjjVq3tljylJCDE914NIQNIEm1hYjE4umew23lbR9w,30181
|
|
403
403
|
tencentcloud/monitor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
404
404
|
tencentcloud/monitor/v20180724/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
405
405
|
tencentcloud/monitor/v20180724/errorcodes.py,sha256=3EchwD9TcxSinrrSHQa2akgQC2qyfNAutfOqN9sznWo,11113
|
|
@@ -663,7 +663,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
|
663
663
|
tencentcloud/yunjing/v20180228/errorcodes.py,sha256=g2ac3Fxgbof23WWhGj9VxvuLJZNshnB0Mg7jWUzTh24,3168
|
|
664
664
|
tencentcloud/yunjing/v20180228/models.py,sha256=vFpNnPGWiOLdTut0XPTpRRF5lobWUTkFUO1EHc9RkBk,330643
|
|
665
665
|
tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=PqtaJz4gQ-rIxKXVMNtOKx7kFBQdUn-zKVuH2NcMFcA,67362
|
|
666
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
667
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
668
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
669
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
666
|
+
tencentcloud_sdk_python_intl_en-3.0.1235.dist-info/METADATA,sha256=8bcPSgfu3aKXzKSsAGCivMHCvbXdZKI6P9pAWlr3EYw,1628
|
|
667
|
+
tencentcloud_sdk_python_intl_en-3.0.1235.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
668
|
+
tencentcloud_sdk_python_intl_en-3.0.1235.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
669
|
+
tencentcloud_sdk_python_intl_en-3.0.1235.dist-info/RECORD,,
|
|
File without changes
|