tencentcloud-sdk-python-dbbrain 3.1.97__tar.gz → 3.1.102__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.97 → tencentcloud_sdk_python_dbbrain-3.1.102}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_dbbrain-3.1.97 → tencentcloud_sdk_python_dbbrain-3.1.102}/setup.py +1 -1
- {tencentcloud_sdk_python_dbbrain-3.1.97 → tencentcloud_sdk_python_dbbrain-3.1.102}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_dbbrain-3.1.97 → tencentcloud_sdk_python_dbbrain-3.1.102}/tencentcloud/dbbrain/v20191016/models.py +4 -4
- {tencentcloud_sdk_python_dbbrain-3.1.97 → tencentcloud_sdk_python_dbbrain-3.1.102}/tencentcloud/dbbrain/v20210527/models.py +80 -72
- {tencentcloud_sdk_python_dbbrain-3.1.97 → tencentcloud_sdk_python_dbbrain-3.1.102}/tencentcloud_sdk_python_dbbrain.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_dbbrain-3.1.102/tencentcloud_sdk_python_dbbrain.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_dbbrain-3.1.97/tencentcloud_sdk_python_dbbrain.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_dbbrain-3.1.97 → tencentcloud_sdk_python_dbbrain-3.1.102}/README.rst +0 -0
- {tencentcloud_sdk_python_dbbrain-3.1.97 → tencentcloud_sdk_python_dbbrain-3.1.102}/setup.cfg +0 -0
- {tencentcloud_sdk_python_dbbrain-3.1.97 → tencentcloud_sdk_python_dbbrain-3.1.102}/tencentcloud/dbbrain/__init__.py +0 -0
- {tencentcloud_sdk_python_dbbrain-3.1.97 → tencentcloud_sdk_python_dbbrain-3.1.102}/tencentcloud/dbbrain/v20191016/__init__.py +0 -0
- {tencentcloud_sdk_python_dbbrain-3.1.97 → tencentcloud_sdk_python_dbbrain-3.1.102}/tencentcloud/dbbrain/v20191016/dbbrain_client.py +0 -0
- {tencentcloud_sdk_python_dbbrain-3.1.97 → tencentcloud_sdk_python_dbbrain-3.1.102}/tencentcloud/dbbrain/v20191016/dbbrain_client_async.py +0 -0
- {tencentcloud_sdk_python_dbbrain-3.1.97 → tencentcloud_sdk_python_dbbrain-3.1.102}/tencentcloud/dbbrain/v20191016/errorcodes.py +0 -0
- {tencentcloud_sdk_python_dbbrain-3.1.97 → tencentcloud_sdk_python_dbbrain-3.1.102}/tencentcloud/dbbrain/v20210527/__init__.py +0 -0
- {tencentcloud_sdk_python_dbbrain-3.1.97 → tencentcloud_sdk_python_dbbrain-3.1.102}/tencentcloud/dbbrain/v20210527/dbbrain_client.py +0 -0
- {tencentcloud_sdk_python_dbbrain-3.1.97 → tencentcloud_sdk_python_dbbrain-3.1.102}/tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +0 -0
- {tencentcloud_sdk_python_dbbrain-3.1.97 → tencentcloud_sdk_python_dbbrain-3.1.102}/tencentcloud/dbbrain/v20210527/errorcodes.py +0 -0
- {tencentcloud_sdk_python_dbbrain-3.1.97 → tencentcloud_sdk_python_dbbrain-3.1.102}/tencentcloud_sdk_python_dbbrain.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_dbbrain-3.1.97 → tencentcloud_sdk_python_dbbrain-3.1.102}/tencentcloud_sdk_python_dbbrain.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_dbbrain-3.1.97 → tencentcloud_sdk_python_dbbrain-3.1.102}/tencentcloud_sdk_python_dbbrain.egg-info/top_level.txt +0 -0
|
@@ -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.102
|
|
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.102
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -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.102,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Dbbrain SDK for Python',
|
|
@@ -4548,9 +4548,9 @@ class EventInfo(AbstractModel):
|
|
|
4548
4548
|
:type EventId: int
|
|
4549
4549
|
:param _DiagType: 诊断类型。
|
|
4550
4550
|
:type DiagType: str
|
|
4551
|
-
:param _StartTime:
|
|
4551
|
+
:param _StartTime: 开始时间。格式: "yyyy-MM-dd'T'HH:mm:ssXXX"
|
|
4552
4552
|
:type StartTime: str
|
|
4553
|
-
:param _EndTime:
|
|
4553
|
+
:param _EndTime: 结束时间。格式: "yyyy-MM-dd'T'HH:mm:ssXXX"
|
|
4554
4554
|
:type EndTime: str
|
|
4555
4555
|
:param _Outline: 概要。
|
|
4556
4556
|
:type Outline: str
|
|
@@ -4597,7 +4597,7 @@ class EventInfo(AbstractModel):
|
|
|
4597
4597
|
|
|
4598
4598
|
@property
|
|
4599
4599
|
def StartTime(self):
|
|
4600
|
-
r"""
|
|
4600
|
+
r"""开始时间。格式: "yyyy-MM-dd'T'HH:mm:ssXXX"
|
|
4601
4601
|
:rtype: str
|
|
4602
4602
|
"""
|
|
4603
4603
|
return self._StartTime
|
|
@@ -4608,7 +4608,7 @@ class EventInfo(AbstractModel):
|
|
|
4608
4608
|
|
|
4609
4609
|
@property
|
|
4610
4610
|
def EndTime(self):
|
|
4611
|
-
r"""
|
|
4611
|
+
r"""结束时间。格式: "yyyy-MM-dd'T'HH:mm:ssXXX"
|
|
4612
4612
|
:rtype: str
|
|
4613
4613
|
"""
|
|
4614
4614
|
return self._EndTime
|
|
@@ -2524,19 +2524,19 @@ class CreateDBDiagReportTaskRequest(AbstractModel):
|
|
|
2524
2524
|
|
|
2525
2525
|
def __init__(self):
|
|
2526
2526
|
r"""
|
|
2527
|
-
:param _InstanceId:
|
|
2527
|
+
:param _InstanceId: <p>实例 ID。可通过 <a href="https://cloud.tencent.com/document/api/1130/57798">DescribeDiagDBInstances</a> 接口获取。TDSQL MySQL数据库类型,实例ID应填写为“实例ID&分片ID”的格式。</p>
|
|
2528
2528
|
:type InstanceId: str
|
|
2529
|
-
:param _StartTime:
|
|
2529
|
+
:param _StartTime: <p>开始时间,如“2020-11-08T14:00:00+08:00”。</p>
|
|
2530
2530
|
:type StartTime: str
|
|
2531
|
-
:param _EndTime:
|
|
2531
|
+
:param _EndTime: <p>结束时间,如“2020-11-09T14:00:00+08:00”。</p>
|
|
2532
2532
|
:type EndTime: str
|
|
2533
|
-
:param _SendMailFlag:
|
|
2533
|
+
:param _SendMailFlag: <p>是否发送邮件: 0 - 否,1 - 是。</p>
|
|
2534
2534
|
:type SendMailFlag: int
|
|
2535
|
-
:param _ContactPerson:
|
|
2535
|
+
:param _ContactPerson: <p>接收邮件的联系人ID数组。</p>
|
|
2536
2536
|
:type ContactPerson: list of int
|
|
2537
|
-
:param _ContactGroup:
|
|
2537
|
+
:param _ContactGroup: <p>接收邮件的联系组ID数组。</p>
|
|
2538
2538
|
:type ContactGroup: list of int
|
|
2539
|
-
:param _Product:
|
|
2539
|
+
:param _Product: <p>服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,"redis" - 云数据库 Redis,"mongodb" - 云数据库 MongoDB,"mariadb" - 云数据库 MariaDB,"dcdb" - 云数据库 TDSQL MySQL,默认为"mysql"。</p>
|
|
2540
2540
|
:type Product: str
|
|
2541
2541
|
"""
|
|
2542
2542
|
self._InstanceId = None
|
|
@@ -2549,7 +2549,7 @@ class CreateDBDiagReportTaskRequest(AbstractModel):
|
|
|
2549
2549
|
|
|
2550
2550
|
@property
|
|
2551
2551
|
def InstanceId(self):
|
|
2552
|
-
r"""
|
|
2552
|
+
r"""<p>实例 ID。可通过 <a href="https://cloud.tencent.com/document/api/1130/57798">DescribeDiagDBInstances</a> 接口获取。TDSQL MySQL数据库类型,实例ID应填写为“实例ID&分片ID”的格式。</p>
|
|
2553
2553
|
:rtype: str
|
|
2554
2554
|
"""
|
|
2555
2555
|
return self._InstanceId
|
|
@@ -2560,7 +2560,7 @@ class CreateDBDiagReportTaskRequest(AbstractModel):
|
|
|
2560
2560
|
|
|
2561
2561
|
@property
|
|
2562
2562
|
def StartTime(self):
|
|
2563
|
-
r"""
|
|
2563
|
+
r"""<p>开始时间,如“2020-11-08T14:00:00+08:00”。</p>
|
|
2564
2564
|
:rtype: str
|
|
2565
2565
|
"""
|
|
2566
2566
|
return self._StartTime
|
|
@@ -2571,7 +2571,7 @@ class CreateDBDiagReportTaskRequest(AbstractModel):
|
|
|
2571
2571
|
|
|
2572
2572
|
@property
|
|
2573
2573
|
def EndTime(self):
|
|
2574
|
-
r"""
|
|
2574
|
+
r"""<p>结束时间,如“2020-11-09T14:00:00+08:00”。</p>
|
|
2575
2575
|
:rtype: str
|
|
2576
2576
|
"""
|
|
2577
2577
|
return self._EndTime
|
|
@@ -2582,7 +2582,7 @@ class CreateDBDiagReportTaskRequest(AbstractModel):
|
|
|
2582
2582
|
|
|
2583
2583
|
@property
|
|
2584
2584
|
def SendMailFlag(self):
|
|
2585
|
-
r"""
|
|
2585
|
+
r"""<p>是否发送邮件: 0 - 否,1 - 是。</p>
|
|
2586
2586
|
:rtype: int
|
|
2587
2587
|
"""
|
|
2588
2588
|
return self._SendMailFlag
|
|
@@ -2593,7 +2593,7 @@ class CreateDBDiagReportTaskRequest(AbstractModel):
|
|
|
2593
2593
|
|
|
2594
2594
|
@property
|
|
2595
2595
|
def ContactPerson(self):
|
|
2596
|
-
r"""
|
|
2596
|
+
r"""<p>接收邮件的联系人ID数组。</p>
|
|
2597
2597
|
:rtype: list of int
|
|
2598
2598
|
"""
|
|
2599
2599
|
return self._ContactPerson
|
|
@@ -2604,7 +2604,7 @@ class CreateDBDiagReportTaskRequest(AbstractModel):
|
|
|
2604
2604
|
|
|
2605
2605
|
@property
|
|
2606
2606
|
def ContactGroup(self):
|
|
2607
|
-
r"""
|
|
2607
|
+
r"""<p>接收邮件的联系组ID数组。</p>
|
|
2608
2608
|
:rtype: list of int
|
|
2609
2609
|
"""
|
|
2610
2610
|
return self._ContactGroup
|
|
@@ -2615,7 +2615,7 @@ class CreateDBDiagReportTaskRequest(AbstractModel):
|
|
|
2615
2615
|
|
|
2616
2616
|
@property
|
|
2617
2617
|
def Product(self):
|
|
2618
|
-
r"""
|
|
2618
|
+
r"""<p>服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,"redis" - 云数据库 Redis,"mongodb" - 云数据库 MongoDB,"mariadb" - 云数据库 MariaDB,"dcdb" - 云数据库 TDSQL MySQL,默认为"mysql"。</p>
|
|
2619
2619
|
:rtype: str
|
|
2620
2620
|
"""
|
|
2621
2621
|
return self._Product
|
|
@@ -2650,7 +2650,7 @@ class CreateDBDiagReportTaskResponse(AbstractModel):
|
|
|
2650
2650
|
|
|
2651
2651
|
def __init__(self):
|
|
2652
2652
|
r"""
|
|
2653
|
-
:param _AsyncRequestId:
|
|
2653
|
+
:param _AsyncRequestId: <p>异步任务的请求 ID,可使用此 ID 查询异步任务的执行结果。</p>
|
|
2654
2654
|
:type AsyncRequestId: int
|
|
2655
2655
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2656
2656
|
:type RequestId: str
|
|
@@ -2660,7 +2660,7 @@ class CreateDBDiagReportTaskResponse(AbstractModel):
|
|
|
2660
2660
|
|
|
2661
2661
|
@property
|
|
2662
2662
|
def AsyncRequestId(self):
|
|
2663
|
-
r"""
|
|
2663
|
+
r"""<p>异步任务的请求 ID,可使用此 ID 查询异步任务的执行结果。</p>
|
|
2664
2664
|
:rtype: int
|
|
2665
2665
|
"""
|
|
2666
2666
|
return self._AsyncRequestId
|
|
@@ -6242,20 +6242,19 @@ class DescribeDBDiagEventsRequest(AbstractModel):
|
|
|
6242
6242
|
|
|
6243
6243
|
def __init__(self):
|
|
6244
6244
|
r"""
|
|
6245
|
-
:param _StartTime:
|
|
6245
|
+
:param _StartTime: <p>开始时间,如“2021-05-27 00:00:00”,支持的最早查询时间为当前时间的前30天。</p>
|
|
6246
6246
|
:type StartTime: str
|
|
6247
|
-
:param _EndTime:
|
|
6247
|
+
:param _EndTime: <p>结束时间,如“2021-05-27 01:00:00”,支持的最早查询时间为当前时间的前30天。</p>
|
|
6248
6248
|
:type EndTime: str
|
|
6249
|
-
:param _Severities:
|
|
6249
|
+
:param _Severities: <p>风险等级列表,取值按影响程度从高至低分别为:1 - 致命、2 -严重、3 - 告警、4 - 提示、5 -健康。</p>
|
|
6250
6250
|
:type Severities: list of int
|
|
6251
|
-
:param _InstanceIds:
|
|
6252
|
-
查询TDSQL MySQL分布式实例:Instanceld:填写集群ID&Shard实例ID,如:dcdbt-157xxxk&shard-qxxxx
|
|
6251
|
+
:param _InstanceIds: <p>实例ID列表。可通过 <a href="https://cloud.tencent.com/document/api/1130/57798">DescribeDiagDBInstances</a> 接口获取。<br>查询TDSQL MySQL分布式实例:Instanceld:填写集群ID&Shard实例ID,如:dcdbt-157xxxk&shard-qxxxx</p>
|
|
6253
6252
|
:type InstanceIds: list of str
|
|
6254
|
-
:param _Product:
|
|
6253
|
+
:param _Product: <p>服务产品类型,支持值包括:"mysql" - 云数据库 MySQL,"redis" - 云数据库 Redis,"mariadb"-数据库mariadb,"cynosdb"-数据库 TDSQL-C, "dcdb"-数据库TDSQL MySQL 默认为"mysql"。</p>
|
|
6255
6254
|
:type Product: str
|
|
6256
|
-
:param _Offset:
|
|
6255
|
+
:param _Offset: <p>偏移量,默认0。</p>
|
|
6257
6256
|
:type Offset: int
|
|
6258
|
-
:param _Limit:
|
|
6257
|
+
:param _Limit: <p>返回数量,默认20,最大值为50。</p>
|
|
6259
6258
|
:type Limit: int
|
|
6260
6259
|
"""
|
|
6261
6260
|
self._StartTime = None
|
|
@@ -6268,7 +6267,7 @@ class DescribeDBDiagEventsRequest(AbstractModel):
|
|
|
6268
6267
|
|
|
6269
6268
|
@property
|
|
6270
6269
|
def StartTime(self):
|
|
6271
|
-
r"""
|
|
6270
|
+
r"""<p>开始时间,如“2021-05-27 00:00:00”,支持的最早查询时间为当前时间的前30天。</p>
|
|
6272
6271
|
:rtype: str
|
|
6273
6272
|
"""
|
|
6274
6273
|
return self._StartTime
|
|
@@ -6279,7 +6278,7 @@ class DescribeDBDiagEventsRequest(AbstractModel):
|
|
|
6279
6278
|
|
|
6280
6279
|
@property
|
|
6281
6280
|
def EndTime(self):
|
|
6282
|
-
r"""
|
|
6281
|
+
r"""<p>结束时间,如“2021-05-27 01:00:00”,支持的最早查询时间为当前时间的前30天。</p>
|
|
6283
6282
|
:rtype: str
|
|
6284
6283
|
"""
|
|
6285
6284
|
return self._EndTime
|
|
@@ -6290,7 +6289,7 @@ class DescribeDBDiagEventsRequest(AbstractModel):
|
|
|
6290
6289
|
|
|
6291
6290
|
@property
|
|
6292
6291
|
def Severities(self):
|
|
6293
|
-
r"""
|
|
6292
|
+
r"""<p>风险等级列表,取值按影响程度从高至低分别为:1 - 致命、2 -严重、3 - 告警、4 - 提示、5 -健康。</p>
|
|
6294
6293
|
:rtype: list of int
|
|
6295
6294
|
"""
|
|
6296
6295
|
return self._Severities
|
|
@@ -6301,8 +6300,7 @@ class DescribeDBDiagEventsRequest(AbstractModel):
|
|
|
6301
6300
|
|
|
6302
6301
|
@property
|
|
6303
6302
|
def InstanceIds(self):
|
|
6304
|
-
r"""
|
|
6305
|
-
查询TDSQL MySQL分布式实例:Instanceld:填写集群ID&Shard实例ID,如:dcdbt-157xxxk&shard-qxxxx
|
|
6303
|
+
r"""<p>实例ID列表。可通过 <a href="https://cloud.tencent.com/document/api/1130/57798">DescribeDiagDBInstances</a> 接口获取。<br>查询TDSQL MySQL分布式实例:Instanceld:填写集群ID&Shard实例ID,如:dcdbt-157xxxk&shard-qxxxx</p>
|
|
6306
6304
|
:rtype: list of str
|
|
6307
6305
|
"""
|
|
6308
6306
|
return self._InstanceIds
|
|
@@ -6313,7 +6311,7 @@ class DescribeDBDiagEventsRequest(AbstractModel):
|
|
|
6313
6311
|
|
|
6314
6312
|
@property
|
|
6315
6313
|
def Product(self):
|
|
6316
|
-
r"""
|
|
6314
|
+
r"""<p>服务产品类型,支持值包括:"mysql" - 云数据库 MySQL,"redis" - 云数据库 Redis,"mariadb"-数据库mariadb,"cynosdb"-数据库 TDSQL-C, "dcdb"-数据库TDSQL MySQL 默认为"mysql"。</p>
|
|
6317
6315
|
:rtype: str
|
|
6318
6316
|
"""
|
|
6319
6317
|
return self._Product
|
|
@@ -6324,7 +6322,7 @@ class DescribeDBDiagEventsRequest(AbstractModel):
|
|
|
6324
6322
|
|
|
6325
6323
|
@property
|
|
6326
6324
|
def Offset(self):
|
|
6327
|
-
r"""
|
|
6325
|
+
r"""<p>偏移量,默认0。</p>
|
|
6328
6326
|
:rtype: int
|
|
6329
6327
|
"""
|
|
6330
6328
|
return self._Offset
|
|
@@ -6335,7 +6333,7 @@ class DescribeDBDiagEventsRequest(AbstractModel):
|
|
|
6335
6333
|
|
|
6336
6334
|
@property
|
|
6337
6335
|
def Limit(self):
|
|
6338
|
-
r"""
|
|
6336
|
+
r"""<p>返回数量,默认20,最大值为50。</p>
|
|
6339
6337
|
:rtype: int
|
|
6340
6338
|
"""
|
|
6341
6339
|
return self._Limit
|
|
@@ -6370,9 +6368,9 @@ class DescribeDBDiagEventsResponse(AbstractModel):
|
|
|
6370
6368
|
|
|
6371
6369
|
def __init__(self):
|
|
6372
6370
|
r"""
|
|
6373
|
-
:param _TotalCount:
|
|
6371
|
+
:param _TotalCount: <p>诊断事件的总数目。</p>
|
|
6374
6372
|
:type TotalCount: int
|
|
6375
|
-
:param _Items:
|
|
6373
|
+
:param _Items: <p>诊断事件的列表。</p>
|
|
6376
6374
|
:type Items: list of DiagHistoryEventItem
|
|
6377
6375
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6378
6376
|
:type RequestId: str
|
|
@@ -6383,7 +6381,7 @@ class DescribeDBDiagEventsResponse(AbstractModel):
|
|
|
6383
6381
|
|
|
6384
6382
|
@property
|
|
6385
6383
|
def TotalCount(self):
|
|
6386
|
-
r"""
|
|
6384
|
+
r"""<p>诊断事件的总数目。</p>
|
|
6387
6385
|
:rtype: int
|
|
6388
6386
|
"""
|
|
6389
6387
|
return self._TotalCount
|
|
@@ -6394,7 +6392,7 @@ class DescribeDBDiagEventsResponse(AbstractModel):
|
|
|
6394
6392
|
|
|
6395
6393
|
@property
|
|
6396
6394
|
def Items(self):
|
|
6397
|
-
r"""
|
|
6395
|
+
r"""<p>诊断事件的列表。</p>
|
|
6398
6396
|
:rtype: list of DiagHistoryEventItem
|
|
6399
6397
|
"""
|
|
6400
6398
|
return self._Items
|
|
@@ -7468,11 +7466,11 @@ class DescribeHealthScoreRequest(AbstractModel):
|
|
|
7468
7466
|
|
|
7469
7467
|
def __init__(self):
|
|
7470
7468
|
r"""
|
|
7471
|
-
:param _InstanceId:
|
|
7469
|
+
:param _InstanceId: <p>需要获取健康得分的实例ID。可通过 <a href="https://cloud.tencent.com/document/api/1130/57798">DescribeDiagDBInstances</a> 接口获取。如果是dcdb(TDSQL MySQL),请使用 <code>{ClusterId}&{InstanceId}</code> 拼接结果代替入参</p>
|
|
7472
7470
|
:type InstanceId: str
|
|
7473
|
-
:param _Time:
|
|
7471
|
+
:param _Time: <p>获取健康得分的时间,时间格式如:2019-09-10 12:13:14。</p>
|
|
7474
7472
|
:type Time: str
|
|
7475
|
-
:param _Product:
|
|
7473
|
+
:param _Product: <p>服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 TDSQL-C for MySQL,"redis" - 云数据库 Redis,默认为"mysql"。</p>
|
|
7476
7474
|
:type Product: str
|
|
7477
7475
|
"""
|
|
7478
7476
|
self._InstanceId = None
|
|
@@ -7481,7 +7479,7 @@ class DescribeHealthScoreRequest(AbstractModel):
|
|
|
7481
7479
|
|
|
7482
7480
|
@property
|
|
7483
7481
|
def InstanceId(self):
|
|
7484
|
-
r"""
|
|
7482
|
+
r"""<p>需要获取健康得分的实例ID。可通过 <a href="https://cloud.tencent.com/document/api/1130/57798">DescribeDiagDBInstances</a> 接口获取。如果是dcdb(TDSQL MySQL),请使用 <code>{ClusterId}&{InstanceId}</code> 拼接结果代替入参</p>
|
|
7485
7483
|
:rtype: str
|
|
7486
7484
|
"""
|
|
7487
7485
|
return self._InstanceId
|
|
@@ -7492,7 +7490,7 @@ class DescribeHealthScoreRequest(AbstractModel):
|
|
|
7492
7490
|
|
|
7493
7491
|
@property
|
|
7494
7492
|
def Time(self):
|
|
7495
|
-
r"""
|
|
7493
|
+
r"""<p>获取健康得分的时间,时间格式如:2019-09-10 12:13:14。</p>
|
|
7496
7494
|
:rtype: str
|
|
7497
7495
|
"""
|
|
7498
7496
|
return self._Time
|
|
@@ -7503,7 +7501,7 @@ class DescribeHealthScoreRequest(AbstractModel):
|
|
|
7503
7501
|
|
|
7504
7502
|
@property
|
|
7505
7503
|
def Product(self):
|
|
7506
|
-
r"""
|
|
7504
|
+
r"""<p>服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 TDSQL-C for MySQL,"redis" - 云数据库 Redis,默认为"mysql"。</p>
|
|
7507
7505
|
:rtype: str
|
|
7508
7506
|
"""
|
|
7509
7507
|
return self._Product
|
|
@@ -7534,7 +7532,7 @@ class DescribeHealthScoreResponse(AbstractModel):
|
|
|
7534
7532
|
|
|
7535
7533
|
def __init__(self):
|
|
7536
7534
|
r"""
|
|
7537
|
-
:param _Data:
|
|
7535
|
+
:param _Data: <p>健康得分以及异常扣分项。</p>
|
|
7538
7536
|
:type Data: :class:`tencentcloud.dbbrain.v20210527.models.HealthScoreInfo`
|
|
7539
7537
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7540
7538
|
:type RequestId: str
|
|
@@ -7544,7 +7542,7 @@ class DescribeHealthScoreResponse(AbstractModel):
|
|
|
7544
7542
|
|
|
7545
7543
|
@property
|
|
7546
7544
|
def Data(self):
|
|
7547
|
-
r"""
|
|
7545
|
+
r"""<p>健康得分以及异常扣分项。</p>
|
|
7548
7546
|
:rtype: :class:`tencentcloud.dbbrain.v20210527.models.HealthScoreInfo`
|
|
7549
7547
|
"""
|
|
7550
7548
|
return self._Data
|
|
@@ -13619,13 +13617,13 @@ class DescribeUserSqlAdviceRequest(AbstractModel):
|
|
|
13619
13617
|
|
|
13620
13618
|
def __init__(self):
|
|
13621
13619
|
r"""
|
|
13622
|
-
:param _InstanceId:
|
|
13620
|
+
:param _InstanceId: <p>实例 ID。可通过 <a href="https://cloud.tencent.com/document/api/1130/57798">DescribeDiagDBInstances</a> 接口获取。</p>
|
|
13623
13621
|
:type InstanceId: str
|
|
13624
|
-
:param _SqlText: SQL
|
|
13622
|
+
:param _SqlText: <p>SQL语句。</p>
|
|
13625
13623
|
:type SqlText: str
|
|
13626
|
-
:param _Schema:
|
|
13624
|
+
:param _Schema: <p>库名。</p>
|
|
13627
13625
|
:type Schema: str
|
|
13628
|
-
:param _Product:
|
|
13626
|
+
:param _Product: <p>服务产品类型,支持值"dcdb" - 云数据库TDSQL MySQL;"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL;"dbbrain-mysql" - 自建 MySQL,默认为"mysql"。</p>
|
|
13629
13627
|
:type Product: str
|
|
13630
13628
|
"""
|
|
13631
13629
|
self._InstanceId = None
|
|
@@ -13635,7 +13633,7 @@ class DescribeUserSqlAdviceRequest(AbstractModel):
|
|
|
13635
13633
|
|
|
13636
13634
|
@property
|
|
13637
13635
|
def InstanceId(self):
|
|
13638
|
-
r"""
|
|
13636
|
+
r"""<p>实例 ID。可通过 <a href="https://cloud.tencent.com/document/api/1130/57798">DescribeDiagDBInstances</a> 接口获取。</p>
|
|
13639
13637
|
:rtype: str
|
|
13640
13638
|
"""
|
|
13641
13639
|
return self._InstanceId
|
|
@@ -13646,7 +13644,7 @@ class DescribeUserSqlAdviceRequest(AbstractModel):
|
|
|
13646
13644
|
|
|
13647
13645
|
@property
|
|
13648
13646
|
def SqlText(self):
|
|
13649
|
-
r"""SQL
|
|
13647
|
+
r"""<p>SQL语句。</p>
|
|
13650
13648
|
:rtype: str
|
|
13651
13649
|
"""
|
|
13652
13650
|
return self._SqlText
|
|
@@ -13657,7 +13655,7 @@ class DescribeUserSqlAdviceRequest(AbstractModel):
|
|
|
13657
13655
|
|
|
13658
13656
|
@property
|
|
13659
13657
|
def Schema(self):
|
|
13660
|
-
r"""
|
|
13658
|
+
r"""<p>库名。</p>
|
|
13661
13659
|
:rtype: str
|
|
13662
13660
|
"""
|
|
13663
13661
|
return self._Schema
|
|
@@ -13668,7 +13666,7 @@ class DescribeUserSqlAdviceRequest(AbstractModel):
|
|
|
13668
13666
|
|
|
13669
13667
|
@property
|
|
13670
13668
|
def Product(self):
|
|
13671
|
-
r"""
|
|
13669
|
+
r"""<p>服务产品类型,支持值"dcdb" - 云数据库TDSQL MySQL;"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL;"dbbrain-mysql" - 自建 MySQL,默认为"mysql"。</p>
|
|
13672
13670
|
:rtype: str
|
|
13673
13671
|
"""
|
|
13674
13672
|
return self._Product
|
|
@@ -13700,19 +13698,19 @@ class DescribeUserSqlAdviceResponse(AbstractModel):
|
|
|
13700
13698
|
|
|
13701
13699
|
def __init__(self):
|
|
13702
13700
|
r"""
|
|
13703
|
-
:param _Advices: SQL优化建议,可解析为JSON
|
|
13701
|
+
:param _Advices: <p>SQL优化建议,可解析为JSON数组,无需优化时输出为空。</p>
|
|
13704
13702
|
:type Advices: str
|
|
13705
|
-
:param _Comments: SQL优化建议备注,可解析为String
|
|
13703
|
+
:param _Comments: <p>SQL优化建议备注,可解析为String数组,无需优化时输出为空。</p>
|
|
13706
13704
|
:type Comments: str
|
|
13707
|
-
:param _SqlText: SQL
|
|
13705
|
+
:param _SqlText: <p>SQL语句。</p>
|
|
13708
13706
|
:type SqlText: str
|
|
13709
|
-
:param _Schema:
|
|
13707
|
+
:param _Schema: <p>库名。</p>
|
|
13710
13708
|
:type Schema: str
|
|
13711
|
-
:param _Tables:
|
|
13709
|
+
:param _Tables: <p>相关表的DDL信息,可解析为JSON数组。</p>
|
|
13712
13710
|
:type Tables: str
|
|
13713
|
-
:param _SqlPlan: SQL执行计划,可解析为JSON
|
|
13711
|
+
:param _SqlPlan: <p>SQL执行计划,可解析为JSON,无需优化时输出为空。</p>
|
|
13714
13712
|
:type SqlPlan: str
|
|
13715
|
-
:param _Cost: SQL优化后的成本节约详情,可解析为JSON
|
|
13713
|
+
:param _Cost: <p>SQL优化后的成本节约详情,可解析为JSON,无需优化时输出为空。</p>
|
|
13716
13714
|
:type Cost: str
|
|
13717
13715
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13718
13716
|
:type RequestId: str
|
|
@@ -13728,7 +13726,7 @@ class DescribeUserSqlAdviceResponse(AbstractModel):
|
|
|
13728
13726
|
|
|
13729
13727
|
@property
|
|
13730
13728
|
def Advices(self):
|
|
13731
|
-
r"""SQL优化建议,可解析为JSON
|
|
13729
|
+
r"""<p>SQL优化建议,可解析为JSON数组,无需优化时输出为空。</p>
|
|
13732
13730
|
:rtype: str
|
|
13733
13731
|
"""
|
|
13734
13732
|
return self._Advices
|
|
@@ -13739,7 +13737,7 @@ class DescribeUserSqlAdviceResponse(AbstractModel):
|
|
|
13739
13737
|
|
|
13740
13738
|
@property
|
|
13741
13739
|
def Comments(self):
|
|
13742
|
-
r"""SQL优化建议备注,可解析为String
|
|
13740
|
+
r"""<p>SQL优化建议备注,可解析为String数组,无需优化时输出为空。</p>
|
|
13743
13741
|
:rtype: str
|
|
13744
13742
|
"""
|
|
13745
13743
|
return self._Comments
|
|
@@ -13750,7 +13748,7 @@ class DescribeUserSqlAdviceResponse(AbstractModel):
|
|
|
13750
13748
|
|
|
13751
13749
|
@property
|
|
13752
13750
|
def SqlText(self):
|
|
13753
|
-
r"""SQL
|
|
13751
|
+
r"""<p>SQL语句。</p>
|
|
13754
13752
|
:rtype: str
|
|
13755
13753
|
"""
|
|
13756
13754
|
return self._SqlText
|
|
@@ -13761,7 +13759,7 @@ class DescribeUserSqlAdviceResponse(AbstractModel):
|
|
|
13761
13759
|
|
|
13762
13760
|
@property
|
|
13763
13761
|
def Schema(self):
|
|
13764
|
-
r"""
|
|
13762
|
+
r"""<p>库名。</p>
|
|
13765
13763
|
:rtype: str
|
|
13766
13764
|
"""
|
|
13767
13765
|
return self._Schema
|
|
@@ -13772,7 +13770,7 @@ class DescribeUserSqlAdviceResponse(AbstractModel):
|
|
|
13772
13770
|
|
|
13773
13771
|
@property
|
|
13774
13772
|
def Tables(self):
|
|
13775
|
-
r"""
|
|
13773
|
+
r"""<p>相关表的DDL信息,可解析为JSON数组。</p>
|
|
13776
13774
|
:rtype: str
|
|
13777
13775
|
"""
|
|
13778
13776
|
return self._Tables
|
|
@@ -13783,7 +13781,7 @@ class DescribeUserSqlAdviceResponse(AbstractModel):
|
|
|
13783
13781
|
|
|
13784
13782
|
@property
|
|
13785
13783
|
def SqlPlan(self):
|
|
13786
|
-
r"""SQL执行计划,可解析为JSON
|
|
13784
|
+
r"""<p>SQL执行计划,可解析为JSON,无需优化时输出为空。</p>
|
|
13787
13785
|
:rtype: str
|
|
13788
13786
|
"""
|
|
13789
13787
|
return self._SqlPlan
|
|
@@ -13794,7 +13792,7 @@ class DescribeUserSqlAdviceResponse(AbstractModel):
|
|
|
13794
13792
|
|
|
13795
13793
|
@property
|
|
13796
13794
|
def Cost(self):
|
|
13797
|
-
r"""SQL优化后的成本节约详情,可解析为JSON
|
|
13795
|
+
r"""<p>SQL优化后的成本节约详情,可解析为JSON,无需优化时输出为空。</p>
|
|
13798
13796
|
:rtype: str
|
|
13799
13797
|
"""
|
|
13800
13798
|
return self._Cost
|
|
@@ -14066,11 +14064,11 @@ class EventInfo(AbstractModel):
|
|
|
14066
14064
|
r"""
|
|
14067
14065
|
:param _EventId: 事件 ID 。
|
|
14068
14066
|
:type EventId: int
|
|
14069
|
-
:param _DiagType:
|
|
14067
|
+
:param _DiagType: 诊断类型。包含以下值:内存利用率,CPU利用率,磁盘空间利用率,复制,复制IO线程中断。
|
|
14070
14068
|
:type DiagType: str
|
|
14071
|
-
:param _StartTime:
|
|
14069
|
+
:param _StartTime: 开始时间。格式: "yyyy-MM-dd'T'HH:mm:ssXXX"
|
|
14072
14070
|
:type StartTime: str
|
|
14073
|
-
:param _EndTime:
|
|
14071
|
+
:param _EndTime: 结束时间。格式: "yyyy-MM-dd'T'HH:mm:ssXXX"
|
|
14074
14072
|
:type EndTime: str
|
|
14075
14073
|
:param _Outline: 概要。
|
|
14076
14074
|
:type Outline: str
|
|
@@ -14106,7 +14104,7 @@ class EventInfo(AbstractModel):
|
|
|
14106
14104
|
|
|
14107
14105
|
@property
|
|
14108
14106
|
def DiagType(self):
|
|
14109
|
-
r"""
|
|
14107
|
+
r"""诊断类型。包含以下值:内存利用率,CPU利用率,磁盘空间利用率,复制,复制IO线程中断。
|
|
14110
14108
|
:rtype: str
|
|
14111
14109
|
"""
|
|
14112
14110
|
return self._DiagType
|
|
@@ -14117,7 +14115,7 @@ class EventInfo(AbstractModel):
|
|
|
14117
14115
|
|
|
14118
14116
|
@property
|
|
14119
14117
|
def StartTime(self):
|
|
14120
|
-
r"""
|
|
14118
|
+
r"""开始时间。格式: "yyyy-MM-dd'T'HH:mm:ssXXX"
|
|
14121
14119
|
:rtype: str
|
|
14122
14120
|
"""
|
|
14123
14121
|
return self._StartTime
|
|
@@ -14128,7 +14126,7 @@ class EventInfo(AbstractModel):
|
|
|
14128
14126
|
|
|
14129
14127
|
@property
|
|
14130
14128
|
def EndTime(self):
|
|
14131
|
-
r"""
|
|
14129
|
+
r"""结束时间。格式: "yyyy-MM-dd'T'HH:mm:ssXXX"
|
|
14132
14130
|
:rtype: str
|
|
14133
14131
|
"""
|
|
14134
14132
|
return self._EndTime
|
|
@@ -14438,6 +14436,11 @@ class HealthScoreInfo(AbstractModel):
|
|
|
14438
14436
|
:param _HealthScore: 健康得分。
|
|
14439
14437
|
:type HealthScore: int
|
|
14440
14438
|
:param _HealthLevel: 健康等级, 如:"HEALTH", "SUB_HEALTH", "RISK", "HIGH_RISK"。
|
|
14439
|
+
其中:
|
|
14440
|
+
HEALTH - 健康
|
|
14441
|
+
SUB_HEALTH - 亚健康
|
|
14442
|
+
RISK - 危险
|
|
14443
|
+
HIGH_RISK - 高危
|
|
14441
14444
|
:type HealthLevel: str
|
|
14442
14445
|
"""
|
|
14443
14446
|
self._IssueTypes = None
|
|
@@ -14481,6 +14484,11 @@ class HealthScoreInfo(AbstractModel):
|
|
|
14481
14484
|
@property
|
|
14482
14485
|
def HealthLevel(self):
|
|
14483
14486
|
r"""健康等级, 如:"HEALTH", "SUB_HEALTH", "RISK", "HIGH_RISK"。
|
|
14487
|
+
其中:
|
|
14488
|
+
HEALTH - 健康
|
|
14489
|
+
SUB_HEALTH - 亚健康
|
|
14490
|
+
RISK - 危险
|
|
14491
|
+
HIGH_RISK - 高危
|
|
14484
14492
|
:rtype: str
|
|
14485
14493
|
"""
|
|
14486
14494
|
return self._HealthLevel
|
|
@@ -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.102
|
|
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.102
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.102
|
tencentcloud_sdk_python_dbbrain-3.1.97/tencentcloud_sdk_python_dbbrain.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.97
|
{tencentcloud_sdk_python_dbbrain-3.1.97 → tencentcloud_sdk_python_dbbrain-3.1.102}/README.rst
RENAMED
|
File without changes
|
{tencentcloud_sdk_python_dbbrain-3.1.97 → tencentcloud_sdk_python_dbbrain-3.1.102}/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
|
|
File without changes
|
|
File without changes
|