tencentcloud-sdk-python-mongodb 3.0.1338__tar.gz → 3.0.1339__tar.gz
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.
- {tencentcloud-sdk-python-mongodb-3.0.1338 → tencentcloud-sdk-python-mongodb-3.0.1339}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-mongodb-3.0.1338 → tencentcloud-sdk-python-mongodb-3.0.1339}/setup.py +1 -1
- {tencentcloud-sdk-python-mongodb-3.0.1338 → tencentcloud-sdk-python-mongodb-3.0.1339}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-mongodb-3.0.1338 → tencentcloud-sdk-python-mongodb-3.0.1339}/tencentcloud/mongodb/v20190725/models.py +109 -0
- {tencentcloud-sdk-python-mongodb-3.0.1338 → tencentcloud-sdk-python-mongodb-3.0.1339}/tencentcloud/mongodb/v20190725/mongodb_client.py +23 -0
- {tencentcloud-sdk-python-mongodb-3.0.1338 → tencentcloud-sdk-python-mongodb-3.0.1339}/tencentcloud_sdk_python_mongodb.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-mongodb-3.0.1339/tencentcloud_sdk_python_mongodb.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-mongodb-3.0.1338/tencentcloud_sdk_python_mongodb.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-mongodb-3.0.1338 → tencentcloud-sdk-python-mongodb-3.0.1339}/README.rst +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1338 → tencentcloud-sdk-python-mongodb-3.0.1339}/setup.cfg +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1338 → tencentcloud-sdk-python-mongodb-3.0.1339}/tencentcloud/mongodb/__init__.py +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1338 → tencentcloud-sdk-python-mongodb-3.0.1339}/tencentcloud/mongodb/v20180408/__init__.py +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1338 → tencentcloud-sdk-python-mongodb-3.0.1339}/tencentcloud/mongodb/v20180408/errorcodes.py +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1338 → tencentcloud-sdk-python-mongodb-3.0.1339}/tencentcloud/mongodb/v20180408/models.py +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1338 → tencentcloud-sdk-python-mongodb-3.0.1339}/tencentcloud/mongodb/v20180408/mongodb_client.py +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1338 → tencentcloud-sdk-python-mongodb-3.0.1339}/tencentcloud/mongodb/v20190725/__init__.py +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1338 → tencentcloud-sdk-python-mongodb-3.0.1339}/tencentcloud/mongodb/v20190725/errorcodes.py +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1338 → tencentcloud-sdk-python-mongodb-3.0.1339}/tencentcloud_sdk_python_mongodb.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1338 → tencentcloud-sdk-python-mongodb-3.0.1339}/tencentcloud_sdk_python_mongodb.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1338 → tencentcloud-sdk-python-mongodb-3.0.1339}/tencentcloud_sdk_python_mongodb.egg-info/top_level.txt +0 -0
{tencentcloud-sdk-python-mongodb-3.0.1338 → tencentcloud-sdk-python-mongodb-3.0.1339}/setup.py
RENAMED
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-mongodb',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1339"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Mongodb SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -4075,6 +4075,115 @@ class DescribeDBInstanceDealResponse(AbstractModel):
|
|
|
4075
4075
|
self._RequestId = params.get("RequestId")
|
|
4076
4076
|
|
|
4077
4077
|
|
|
4078
|
+
class DescribeDBInstanceNamespaceRequest(AbstractModel):
|
|
4079
|
+
"""DescribeDBInstanceNamespace请求参数结构体
|
|
4080
|
+
|
|
4081
|
+
"""
|
|
4082
|
+
|
|
4083
|
+
def __init__(self):
|
|
4084
|
+
r"""
|
|
4085
|
+
:param _InstanceId: 指定查询数据库所属的实例 ID,支持批量查询。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
|
|
4086
|
+
:type InstanceId: str
|
|
4087
|
+
:param _DbName: 指定查询的数据库名。为空时,返回当前实例的全部数据库列表。
|
|
4088
|
+
:type DbName: str
|
|
4089
|
+
"""
|
|
4090
|
+
self._InstanceId = None
|
|
4091
|
+
self._DbName = None
|
|
4092
|
+
|
|
4093
|
+
@property
|
|
4094
|
+
def InstanceId(self):
|
|
4095
|
+
"""指定查询数据库所属的实例 ID,支持批量查询。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
|
|
4096
|
+
:rtype: str
|
|
4097
|
+
"""
|
|
4098
|
+
return self._InstanceId
|
|
4099
|
+
|
|
4100
|
+
@InstanceId.setter
|
|
4101
|
+
def InstanceId(self, InstanceId):
|
|
4102
|
+
self._InstanceId = InstanceId
|
|
4103
|
+
|
|
4104
|
+
@property
|
|
4105
|
+
def DbName(self):
|
|
4106
|
+
"""指定查询的数据库名。为空时,返回当前实例的全部数据库列表。
|
|
4107
|
+
:rtype: str
|
|
4108
|
+
"""
|
|
4109
|
+
return self._DbName
|
|
4110
|
+
|
|
4111
|
+
@DbName.setter
|
|
4112
|
+
def DbName(self, DbName):
|
|
4113
|
+
self._DbName = DbName
|
|
4114
|
+
|
|
4115
|
+
|
|
4116
|
+
def _deserialize(self, params):
|
|
4117
|
+
self._InstanceId = params.get("InstanceId")
|
|
4118
|
+
self._DbName = params.get("DbName")
|
|
4119
|
+
memeber_set = set(params.keys())
|
|
4120
|
+
for name, value in vars(self).items():
|
|
4121
|
+
property_name = name[1:]
|
|
4122
|
+
if property_name in memeber_set:
|
|
4123
|
+
memeber_set.remove(property_name)
|
|
4124
|
+
if len(memeber_set) > 0:
|
|
4125
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4126
|
+
|
|
4127
|
+
|
|
4128
|
+
|
|
4129
|
+
class DescribeDBInstanceNamespaceResponse(AbstractModel):
|
|
4130
|
+
"""DescribeDBInstanceNamespace返回参数结构体
|
|
4131
|
+
|
|
4132
|
+
"""
|
|
4133
|
+
|
|
4134
|
+
def __init__(self):
|
|
4135
|
+
r"""
|
|
4136
|
+
:param _Databases: 查询实例的数据库列表。若未使用 DbName 指定具体查询的数据库,则仅返回查询实例所有的数据库列表,而不返回 Collections 集合信息。
|
|
4137
|
+
:type Databases: list of str
|
|
4138
|
+
:param _Collections: 查询的集合信息。指定 DbName 时,则仅返回该数据库下的集合列表。
|
|
4139
|
+
:type Collections: list of str
|
|
4140
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4141
|
+
:type RequestId: str
|
|
4142
|
+
"""
|
|
4143
|
+
self._Databases = None
|
|
4144
|
+
self._Collections = None
|
|
4145
|
+
self._RequestId = None
|
|
4146
|
+
|
|
4147
|
+
@property
|
|
4148
|
+
def Databases(self):
|
|
4149
|
+
"""查询实例的数据库列表。若未使用 DbName 指定具体查询的数据库,则仅返回查询实例所有的数据库列表,而不返回 Collections 集合信息。
|
|
4150
|
+
:rtype: list of str
|
|
4151
|
+
"""
|
|
4152
|
+
return self._Databases
|
|
4153
|
+
|
|
4154
|
+
@Databases.setter
|
|
4155
|
+
def Databases(self, Databases):
|
|
4156
|
+
self._Databases = Databases
|
|
4157
|
+
|
|
4158
|
+
@property
|
|
4159
|
+
def Collections(self):
|
|
4160
|
+
"""查询的集合信息。指定 DbName 时,则仅返回该数据库下的集合列表。
|
|
4161
|
+
:rtype: list of str
|
|
4162
|
+
"""
|
|
4163
|
+
return self._Collections
|
|
4164
|
+
|
|
4165
|
+
@Collections.setter
|
|
4166
|
+
def Collections(self, Collections):
|
|
4167
|
+
self._Collections = Collections
|
|
4168
|
+
|
|
4169
|
+
@property
|
|
4170
|
+
def RequestId(self):
|
|
4171
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4172
|
+
:rtype: str
|
|
4173
|
+
"""
|
|
4174
|
+
return self._RequestId
|
|
4175
|
+
|
|
4176
|
+
@RequestId.setter
|
|
4177
|
+
def RequestId(self, RequestId):
|
|
4178
|
+
self._RequestId = RequestId
|
|
4179
|
+
|
|
4180
|
+
|
|
4181
|
+
def _deserialize(self, params):
|
|
4182
|
+
self._Databases = params.get("Databases")
|
|
4183
|
+
self._Collections = params.get("Collections")
|
|
4184
|
+
self._RequestId = params.get("RequestId")
|
|
4185
|
+
|
|
4186
|
+
|
|
4078
4187
|
class DescribeDBInstanceNodePropertyRequest(AbstractModel):
|
|
4079
4188
|
"""DescribeDBInstanceNodeProperty请求参数结构体
|
|
4080
4189
|
|
|
@@ -395,6 +395,29 @@ class MongodbClient(AbstractClient):
|
|
|
395
395
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
396
396
|
|
|
397
397
|
|
|
398
|
+
def DescribeDBInstanceNamespace(self, request):
|
|
399
|
+
"""本接口(DescribeDBInstanceNamespace)用于查询数据库的表信息。
|
|
400
|
+
|
|
401
|
+
:param request: Request instance for DescribeDBInstanceNamespace.
|
|
402
|
+
:type request: :class:`tencentcloud.mongodb.v20190725.models.DescribeDBInstanceNamespaceRequest`
|
|
403
|
+
:rtype: :class:`tencentcloud.mongodb.v20190725.models.DescribeDBInstanceNamespaceResponse`
|
|
404
|
+
|
|
405
|
+
"""
|
|
406
|
+
try:
|
|
407
|
+
params = request._serialize()
|
|
408
|
+
headers = request.headers
|
|
409
|
+
body = self.call("DescribeDBInstanceNamespace", params, headers=headers)
|
|
410
|
+
response = json.loads(body)
|
|
411
|
+
model = models.DescribeDBInstanceNamespaceResponse()
|
|
412
|
+
model._deserialize(response["Response"])
|
|
413
|
+
return model
|
|
414
|
+
except Exception as e:
|
|
415
|
+
if isinstance(e, TencentCloudSDKException):
|
|
416
|
+
raise
|
|
417
|
+
else:
|
|
418
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
419
|
+
|
|
420
|
+
|
|
398
421
|
def DescribeDBInstanceNodeProperty(self, request):
|
|
399
422
|
"""本接口用于查询节点的属性,包括节点所在可用区、节点名称、地址、角色、状态、主从延迟、优先级、投票权、标签等属性。
|
|
400
423
|
|
tencentcloud-sdk-python-mongodb-3.0.1339/tencentcloud_sdk_python_mongodb.egg-info/requires.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1339
|
tencentcloud-sdk-python-mongodb-3.0.1338/tencentcloud_sdk_python_mongodb.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1338
|
{tencentcloud-sdk-python-mongodb-3.0.1338 → tencentcloud-sdk-python-mongodb-3.0.1339}/README.rst
RENAMED
|
File without changes
|
{tencentcloud-sdk-python-mongodb-3.0.1338 → tencentcloud-sdk-python-mongodb-3.0.1339}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|