tencentcloud-sdk-python-dbbrain 3.1.130__tar.gz → 3.1.145__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_dbbrain-3.1.130 → tencentcloud_sdk_python_dbbrain-3.1.145}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_dbbrain-3.1.130 → tencentcloud_sdk_python_dbbrain-3.1.145}/setup.py +1 -1
- {tencentcloud_sdk_python_dbbrain-3.1.130 → tencentcloud_sdk_python_dbbrain-3.1.145}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_dbbrain-3.1.130 → tencentcloud_sdk_python_dbbrain-3.1.145}/tencentcloud/dbbrain/v20210527/dbbrain_client.py +46 -0
- {tencentcloud_sdk_python_dbbrain-3.1.130 → tencentcloud_sdk_python_dbbrain-3.1.145}/tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +36 -0
- {tencentcloud_sdk_python_dbbrain-3.1.130 → tencentcloud_sdk_python_dbbrain-3.1.145}/tencentcloud/dbbrain/v20210527/models.py +718 -108
- {tencentcloud_sdk_python_dbbrain-3.1.130 → tencentcloud_sdk_python_dbbrain-3.1.145}/tencentcloud_sdk_python_dbbrain.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_dbbrain-3.1.145/tencentcloud_sdk_python_dbbrain.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_dbbrain-3.1.130/tencentcloud_sdk_python_dbbrain.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_dbbrain-3.1.130 → tencentcloud_sdk_python_dbbrain-3.1.145}/README.rst +0 -0
- {tencentcloud_sdk_python_dbbrain-3.1.130 → tencentcloud_sdk_python_dbbrain-3.1.145}/setup.cfg +0 -0
- {tencentcloud_sdk_python_dbbrain-3.1.130 → tencentcloud_sdk_python_dbbrain-3.1.145}/tencentcloud/dbbrain/__init__.py +0 -0
- {tencentcloud_sdk_python_dbbrain-3.1.130 → tencentcloud_sdk_python_dbbrain-3.1.145}/tencentcloud/dbbrain/v20191016/__init__.py +0 -0
- {tencentcloud_sdk_python_dbbrain-3.1.130 → tencentcloud_sdk_python_dbbrain-3.1.145}/tencentcloud/dbbrain/v20191016/dbbrain_client.py +0 -0
- {tencentcloud_sdk_python_dbbrain-3.1.130 → tencentcloud_sdk_python_dbbrain-3.1.145}/tencentcloud/dbbrain/v20191016/dbbrain_client_async.py +0 -0
- {tencentcloud_sdk_python_dbbrain-3.1.130 → tencentcloud_sdk_python_dbbrain-3.1.145}/tencentcloud/dbbrain/v20191016/errorcodes.py +0 -0
- {tencentcloud_sdk_python_dbbrain-3.1.130 → tencentcloud_sdk_python_dbbrain-3.1.145}/tencentcloud/dbbrain/v20191016/models.py +0 -0
- {tencentcloud_sdk_python_dbbrain-3.1.130 → tencentcloud_sdk_python_dbbrain-3.1.145}/tencentcloud/dbbrain/v20210527/__init__.py +0 -0
- {tencentcloud_sdk_python_dbbrain-3.1.130 → tencentcloud_sdk_python_dbbrain-3.1.145}/tencentcloud/dbbrain/v20210527/errorcodes.py +0 -0
- {tencentcloud_sdk_python_dbbrain-3.1.130 → tencentcloud_sdk_python_dbbrain-3.1.145}/tencentcloud_sdk_python_dbbrain.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_dbbrain-3.1.130 → tencentcloud_sdk_python_dbbrain-3.1.145}/tencentcloud_sdk_python_dbbrain.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_dbbrain-3.1.130 → tencentcloud_sdk_python_dbbrain-3.1.145}/tencentcloud_sdk_python_dbbrain.egg-info/top_level.txt +0 -0
{tencentcloud_sdk_python_dbbrain-3.1.130 → tencentcloud_sdk_python_dbbrain-3.1.145}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-dbbrain
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.145
|
|
4
4
|
Summary: Tencent Cloud Dbbrain SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.145
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
{tencentcloud_sdk_python_dbbrain-3.1.130 → tencentcloud_sdk_python_dbbrain-3.1.145}/setup.py
RENAMED
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-dbbrain',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.145,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Dbbrain SDK for Python',
|
|
@@ -233,6 +233,29 @@ class DbbrainClient(AbstractClient):
|
|
|
233
233
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
234
234
|
|
|
235
235
|
|
|
236
|
+
def CreateDBDiagReportUrls(self, request):
|
|
237
|
+
r"""批量创建健康报告的PDF下载链接,支持一次获取多个报告的下载地址。
|
|
238
|
+
|
|
239
|
+
:param request: Request instance for CreateDBDiagReportUrls.
|
|
240
|
+
:type request: :class:`tencentcloud.dbbrain.v20210527.models.CreateDBDiagReportUrlsRequest`
|
|
241
|
+
:rtype: :class:`tencentcloud.dbbrain.v20210527.models.CreateDBDiagReportUrlsResponse`
|
|
242
|
+
|
|
243
|
+
"""
|
|
244
|
+
try:
|
|
245
|
+
params = request._serialize()
|
|
246
|
+
headers = request.headers
|
|
247
|
+
body = self.call("CreateDBDiagReportUrls", params, headers=headers)
|
|
248
|
+
response = json.loads(body)
|
|
249
|
+
model = models.CreateDBDiagReportUrlsResponse()
|
|
250
|
+
model._deserialize(response["Response"])
|
|
251
|
+
return model
|
|
252
|
+
except Exception as e:
|
|
253
|
+
if isinstance(e, TencentCloudSDKException):
|
|
254
|
+
raise
|
|
255
|
+
else:
|
|
256
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
257
|
+
|
|
258
|
+
|
|
236
259
|
def CreateIgnoreDiagRecord(self, request):
|
|
237
260
|
r"""对实例的某个诊断项设置忽略或取消忽略状态。
|
|
238
261
|
|
|
@@ -900,6 +923,29 @@ class DbbrainClient(AbstractClient):
|
|
|
900
923
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
901
924
|
|
|
902
925
|
|
|
926
|
+
def DescribeDBInstances(self, request):
|
|
927
|
+
r"""根据实例ID列表查询数据库实例基本信息,支持跨产品查询(MySQL、CynosDB、MariaDB、DCDB、MongoDB、PostgreSQL、Redis、TDStore等)。不支持分页,通过InstanceIds限制查询数量(最多100条)。
|
|
928
|
+
|
|
929
|
+
:param request: Request instance for DescribeDBInstances.
|
|
930
|
+
:type request: :class:`tencentcloud.dbbrain.v20210527.models.DescribeDBInstancesRequest`
|
|
931
|
+
:rtype: :class:`tencentcloud.dbbrain.v20210527.models.DescribeDBInstancesResponse`
|
|
932
|
+
|
|
933
|
+
"""
|
|
934
|
+
try:
|
|
935
|
+
params = request._serialize()
|
|
936
|
+
headers = request.headers
|
|
937
|
+
body = self.call("DescribeDBInstances", params, headers=headers)
|
|
938
|
+
response = json.loads(body)
|
|
939
|
+
model = models.DescribeDBInstancesResponse()
|
|
940
|
+
model._deserialize(response["Response"])
|
|
941
|
+
return model
|
|
942
|
+
except Exception as e:
|
|
943
|
+
if isinstance(e, TencentCloudSDKException):
|
|
944
|
+
raise
|
|
945
|
+
else:
|
|
946
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
947
|
+
|
|
948
|
+
|
|
903
949
|
def DescribeDBPerfTimeSeries(self, request):
|
|
904
950
|
r"""根据实例ID获取指定时间段的性能趋势。
|
|
905
951
|
|
|
@@ -187,6 +187,24 @@ class DbbrainClient(AbstractClient):
|
|
|
187
187
|
|
|
188
188
|
return await self.call_and_deserialize(**kwargs)
|
|
189
189
|
|
|
190
|
+
async def CreateDBDiagReportUrls(
|
|
191
|
+
self,
|
|
192
|
+
request: models.CreateDBDiagReportUrlsRequest,
|
|
193
|
+
opts: Dict = None,
|
|
194
|
+
) -> models.CreateDBDiagReportUrlsResponse:
|
|
195
|
+
"""
|
|
196
|
+
批量创建健康报告的PDF下载链接,支持一次获取多个报告的下载地址。
|
|
197
|
+
"""
|
|
198
|
+
|
|
199
|
+
kwargs = {}
|
|
200
|
+
kwargs["action"] = "CreateDBDiagReportUrls"
|
|
201
|
+
kwargs["params"] = request._serialize()
|
|
202
|
+
kwargs["resp_cls"] = models.CreateDBDiagReportUrlsResponse
|
|
203
|
+
kwargs["headers"] = request.headers
|
|
204
|
+
kwargs["opts"] = opts or {}
|
|
205
|
+
|
|
206
|
+
return await self.call_and_deserialize(**kwargs)
|
|
207
|
+
|
|
190
208
|
async def CreateIgnoreDiagRecord(
|
|
191
209
|
self,
|
|
192
210
|
request: models.CreateIgnoreDiagRecordRequest,
|
|
@@ -709,6 +727,24 @@ class DbbrainClient(AbstractClient):
|
|
|
709
727
|
|
|
710
728
|
return await self.call_and_deserialize(**kwargs)
|
|
711
729
|
|
|
730
|
+
async def DescribeDBInstances(
|
|
731
|
+
self,
|
|
732
|
+
request: models.DescribeDBInstancesRequest,
|
|
733
|
+
opts: Dict = None,
|
|
734
|
+
) -> models.DescribeDBInstancesResponse:
|
|
735
|
+
"""
|
|
736
|
+
根据实例ID列表查询数据库实例基本信息,支持跨产品查询(MySQL、CynosDB、MariaDB、DCDB、MongoDB、PostgreSQL、Redis、TDStore等)。不支持分页,通过InstanceIds限制查询数量(最多100条)。
|
|
737
|
+
"""
|
|
738
|
+
|
|
739
|
+
kwargs = {}
|
|
740
|
+
kwargs["action"] = "DescribeDBInstances"
|
|
741
|
+
kwargs["params"] = request._serialize()
|
|
742
|
+
kwargs["resp_cls"] = models.DescribeDBInstancesResponse
|
|
743
|
+
kwargs["headers"] = request.headers
|
|
744
|
+
kwargs["opts"] = opts or {}
|
|
745
|
+
|
|
746
|
+
return await self.call_and_deserialize(**kwargs)
|
|
747
|
+
|
|
712
748
|
async def DescribeDBPerfTimeSeries(
|
|
713
749
|
self,
|
|
714
750
|
request: models.DescribeDBPerfTimeSeriesRequest,
|