tencentcloud-sdk-python-cdb 3.0.1291__tar.gz → 3.0.1298__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-cdb-3.0.1291 → tencentcloud-sdk-python-cdb-3.0.1298}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cdb-3.0.1291 → tencentcloud-sdk-python-cdb-3.0.1298}/setup.py +1 -1
- {tencentcloud-sdk-python-cdb-3.0.1291 → tencentcloud-sdk-python-cdb-3.0.1298}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cdb-3.0.1291 → tencentcloud-sdk-python-cdb-3.0.1298}/tencentcloud/cdb/v20170320/cdb_client.py +24 -1
- {tencentcloud-sdk-python-cdb-3.0.1291 → tencentcloud-sdk-python-cdb-3.0.1298}/tencentcloud/cdb/v20170320/models.py +132 -468
- {tencentcloud-sdk-python-cdb-3.0.1291 → tencentcloud-sdk-python-cdb-3.0.1298}/tencentcloud_sdk_python_cdb.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cdb-3.0.1298/tencentcloud_sdk_python_cdb.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cdb-3.0.1291/tencentcloud_sdk_python_cdb.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cdb-3.0.1291 → tencentcloud-sdk-python-cdb-3.0.1298}/README.rst +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1291 → tencentcloud-sdk-python-cdb-3.0.1298}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1291 → tencentcloud-sdk-python-cdb-3.0.1298}/tencentcloud/cdb/__init__.py +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1291 → tencentcloud-sdk-python-cdb-3.0.1298}/tencentcloud/cdb/v20170320/__init__.py +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1291 → tencentcloud-sdk-python-cdb-3.0.1298}/tencentcloud/cdb/v20170320/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1291 → tencentcloud-sdk-python-cdb-3.0.1298}/tencentcloud_sdk_python_cdb.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1291 → tencentcloud-sdk-python-cdb-3.0.1298}/tencentcloud_sdk_python_cdb.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1291 → tencentcloud-sdk-python-cdb-3.0.1298}/tencentcloud_sdk_python_cdb.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-cdb',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1298"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cdb SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -1728,7 +1728,7 @@ class CdbClient(AbstractClient):
|
|
|
1728
1728
|
|
|
1729
1729
|
|
|
1730
1730
|
def DescribeDBInstances(self, request):
|
|
1731
|
-
"""
|
|
1731
|
+
"""本接口(DescribeDBInstances)用于查询云数据库实例列表,支持通过项目 ID、实例 ID、访问地址、实例状态等过滤条件来筛选实例。支持查询主实例、灾备实例和只读实例信息列表。
|
|
1732
1732
|
|
|
1733
1733
|
:param request: Request instance for DescribeDBInstances.
|
|
1734
1734
|
:type request: :class:`tencentcloud.cdb.v20170320.models.DescribeDBInstancesRequest`
|
|
@@ -2421,6 +2421,29 @@ class CdbClient(AbstractClient):
|
|
|
2421
2421
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2422
2422
|
|
|
2423
2423
|
|
|
2424
|
+
def DescribeTableColumns(self, request):
|
|
2425
|
+
"""本接口(DescribeTableColumns)用于查询云数据库实例的指定数据库表的列信息,仅支持主实例和灾备实例。
|
|
2426
|
+
|
|
2427
|
+
:param request: Request instance for DescribeTableColumns.
|
|
2428
|
+
:type request: :class:`tencentcloud.cdb.v20170320.models.DescribeTableColumnsRequest`
|
|
2429
|
+
:rtype: :class:`tencentcloud.cdb.v20170320.models.DescribeTableColumnsResponse`
|
|
2430
|
+
|
|
2431
|
+
"""
|
|
2432
|
+
try:
|
|
2433
|
+
params = request._serialize()
|
|
2434
|
+
headers = request.headers
|
|
2435
|
+
body = self.call("DescribeTableColumns", params, headers=headers)
|
|
2436
|
+
response = json.loads(body)
|
|
2437
|
+
model = models.DescribeTableColumnsResponse()
|
|
2438
|
+
model._deserialize(response["Response"])
|
|
2439
|
+
return model
|
|
2440
|
+
except Exception as e:
|
|
2441
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2442
|
+
raise
|
|
2443
|
+
else:
|
|
2444
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2445
|
+
|
|
2446
|
+
|
|
2424
2447
|
def DescribeTables(self, request):
|
|
2425
2448
|
"""本接口(DescribeTables)用于查询云数据库实例的数据库表信息,仅支持主实例和灾备实例,不支持只读实例。
|
|
2426
2449
|
|