tencentcloud-sdk-python-dbbrain 3.0.880__py2.py3-none-any.whl → 3.0.892__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-dbbrain might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +1 -1
- tencentcloud/dbbrain/v20210527/models.py +15 -4
- {tencentcloud_sdk_python_dbbrain-3.0.880.dist-info → tencentcloud_sdk_python_dbbrain-3.0.892.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_dbbrain-3.0.880.dist-info → tencentcloud_sdk_python_dbbrain-3.0.892.dist-info}/RECORD +7 -7
- {tencentcloud_sdk_python_dbbrain-3.0.880.dist-info → tencentcloud_sdk_python_dbbrain-3.0.892.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_dbbrain-3.0.880.dist-info → tencentcloud_sdk_python_dbbrain-3.0.892.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -878,7 +878,7 @@ class DbbrainClient(AbstractClient):
|
|
|
878
878
|
|
|
879
879
|
|
|
880
880
|
def DescribeSlowLogs(self, request):
|
|
881
|
-
"""获取指定时间内某个sql
|
|
881
|
+
"""获取指定时间内某个sql模板的慢日志明细
|
|
882
882
|
|
|
883
883
|
:param request: Request instance for DescribeSlowLogs.
|
|
884
884
|
:type request: :class:`tencentcloud.dbbrain.v20210527.models.DescribeSlowLogsRequest`
|
|
@@ -894,8 +894,7 @@ class DeleteDBDiagReportTasksRequest(AbstractModel):
|
|
|
894
894
|
:type AsyncRequestIds: list of int
|
|
895
895
|
:param InstanceId: 实例ID
|
|
896
896
|
:type InstanceId: str
|
|
897
|
-
:param Product:
|
|
898
|
-
默认值为"mysql"。
|
|
897
|
+
:param Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
|
899
898
|
:type Product: str
|
|
900
899
|
"""
|
|
901
900
|
self.AsyncRequestIds = None
|
|
@@ -999,16 +998,20 @@ class DeleteSqlFiltersRequest(AbstractModel):
|
|
|
999
998
|
:type SessionToken: str
|
|
1000
999
|
:param FilterIds: 限流任务ID列表。
|
|
1001
1000
|
:type FilterIds: list of int
|
|
1001
|
+
:param Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
|
1002
|
+
:type Product: str
|
|
1002
1003
|
"""
|
|
1003
1004
|
self.InstanceId = None
|
|
1004
1005
|
self.SessionToken = None
|
|
1005
1006
|
self.FilterIds = None
|
|
1007
|
+
self.Product = None
|
|
1006
1008
|
|
|
1007
1009
|
|
|
1008
1010
|
def _deserialize(self, params):
|
|
1009
1011
|
self.InstanceId = params.get("InstanceId")
|
|
1010
1012
|
self.SessionToken = params.get("SessionToken")
|
|
1011
1013
|
self.FilterIds = params.get("FilterIds")
|
|
1014
|
+
self.Product = params.get("Product")
|
|
1012
1015
|
memeber_set = set(params.keys())
|
|
1013
1016
|
for name, value in vars(self).items():
|
|
1014
1017
|
if name in memeber_set:
|
|
@@ -2627,7 +2630,7 @@ class DescribeSlowLogsRequest(AbstractModel):
|
|
|
2627
2630
|
:type Product: str
|
|
2628
2631
|
:param InstanceId: 实例id。
|
|
2629
2632
|
:type InstanceId: str
|
|
2630
|
-
:param Md5: sql
|
|
2633
|
+
:param Md5: sql模板的md5值
|
|
2631
2634
|
:type Md5: str
|
|
2632
2635
|
:param StartTime: 开始时间,如“2019-09-10 12:13:14”。
|
|
2633
2636
|
:type StartTime: str
|
|
@@ -2643,7 +2646,7 @@ class DescribeSlowLogsRequest(AbstractModel):
|
|
|
2643
2646
|
:type Key: list of str
|
|
2644
2647
|
:param User: 用户
|
|
2645
2648
|
:type User: list of str
|
|
2646
|
-
:param Ip:
|
|
2649
|
+
:param Ip: IP
|
|
2647
2650
|
:type Ip: list of str
|
|
2648
2651
|
:param Time: 耗时区间,耗时区间的左右边界分别对应数组的第0个元素和第一个元素
|
|
2649
2652
|
:type Time: list of int
|
|
@@ -2731,12 +2734,15 @@ class DescribeSqlFiltersRequest(AbstractModel):
|
|
|
2731
2734
|
:type Offset: int
|
|
2732
2735
|
:param Limit: 返回数量,默认为20,最大值为100。
|
|
2733
2736
|
:type Limit: int
|
|
2737
|
+
:param Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
|
2738
|
+
:type Product: str
|
|
2734
2739
|
"""
|
|
2735
2740
|
self.InstanceId = None
|
|
2736
2741
|
self.FilterIds = None
|
|
2737
2742
|
self.Statuses = None
|
|
2738
2743
|
self.Offset = None
|
|
2739
2744
|
self.Limit = None
|
|
2745
|
+
self.Product = None
|
|
2740
2746
|
|
|
2741
2747
|
|
|
2742
2748
|
def _deserialize(self, params):
|
|
@@ -2745,6 +2751,7 @@ class DescribeSqlFiltersRequest(AbstractModel):
|
|
|
2745
2751
|
self.Statuses = params.get("Statuses")
|
|
2746
2752
|
self.Offset = params.get("Offset")
|
|
2747
2753
|
self.Limit = params.get("Limit")
|
|
2754
|
+
self.Product = params.get("Product")
|
|
2748
2755
|
memeber_set = set(params.keys())
|
|
2749
2756
|
for name, value in vars(self).items():
|
|
2750
2757
|
if name in memeber_set:
|
|
@@ -3777,12 +3784,15 @@ class KillMySqlThreadsRequest(AbstractModel):
|
|
|
3777
3784
|
:type SqlExecId: str
|
|
3778
3785
|
:param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
|
3779
3786
|
:type Product: str
|
|
3787
|
+
:param RecordHistory: 默认是ture, 记录下kill的记录,为了加快kill,可设置为false。
|
|
3788
|
+
:type RecordHistory: bool
|
|
3780
3789
|
"""
|
|
3781
3790
|
self.InstanceId = None
|
|
3782
3791
|
self.Stage = None
|
|
3783
3792
|
self.Threads = None
|
|
3784
3793
|
self.SqlExecId = None
|
|
3785
3794
|
self.Product = None
|
|
3795
|
+
self.RecordHistory = None
|
|
3786
3796
|
|
|
3787
3797
|
|
|
3788
3798
|
def _deserialize(self, params):
|
|
@@ -3791,6 +3801,7 @@ class KillMySqlThreadsRequest(AbstractModel):
|
|
|
3791
3801
|
self.Threads = params.get("Threads")
|
|
3792
3802
|
self.SqlExecId = params.get("SqlExecId")
|
|
3793
3803
|
self.Product = params.get("Product")
|
|
3804
|
+
self.RecordHistory = params.get("RecordHistory")
|
|
3794
3805
|
memeber_set = set(params.keys())
|
|
3795
3806
|
for name, value in vars(self).items():
|
|
3796
3807
|
if name in memeber_set:
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=sLXuY-0XjWJXXnxVAdnIxZTNxNii-h--cCGUNk7Sta4,630
|
|
2
2
|
tencentcloud/dbbrain/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
tencentcloud/dbbrain/v20191016/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
tencentcloud/dbbrain/v20191016/dbbrain_client.py,sha256=qfFcNl_wxvk8a4VeCnIaZrv19EgrWQSEISj9f9XAQl0,27659
|
|
5
5
|
tencentcloud/dbbrain/v20191016/errorcodes.py,sha256=yQhphcNVXRGiYG0cjPEckbaCC5uvoANdL_g4Zu1QYPU,1567
|
|
6
6
|
tencentcloud/dbbrain/v20191016/models.py,sha256=yXkfrfLVqHdUZznL-exkbkezw_NVZmKUZ2XqZICkbxg,111297
|
|
7
7
|
tencentcloud/dbbrain/v20210527/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
|
-
tencentcloud/dbbrain/v20210527/dbbrain_client.py,sha256=
|
|
8
|
+
tencentcloud/dbbrain/v20210527/dbbrain_client.py,sha256=oY5ve5kz8fD8GQ-b8mCTHNQSVrGPFUZZmistCcon-OM,48612
|
|
9
9
|
tencentcloud/dbbrain/v20210527/errorcodes.py,sha256=Othl5EoGeE5fKHVR642777QhI5qFFc18ovYKJRFBIvM,2058
|
|
10
|
-
tencentcloud/dbbrain/v20210527/models.py,sha256=
|
|
11
|
-
tencentcloud_sdk_python_dbbrain-3.0.
|
|
12
|
-
tencentcloud_sdk_python_dbbrain-3.0.
|
|
13
|
-
tencentcloud_sdk_python_dbbrain-3.0.
|
|
14
|
-
tencentcloud_sdk_python_dbbrain-3.0.
|
|
10
|
+
tencentcloud/dbbrain/v20210527/models.py,sha256=Cmrs68preJX42sro_mIRwWonEijbPJyvLqawjBrs654,183066
|
|
11
|
+
tencentcloud_sdk_python_dbbrain-3.0.892.dist-info/METADATA,sha256=jAk5iWUYOhXnYPMxV22ZrtKxd7NNS_55iV3eFB2FwWw,1452
|
|
12
|
+
tencentcloud_sdk_python_dbbrain-3.0.892.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
13
|
+
tencentcloud_sdk_python_dbbrain-3.0.892.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
14
|
+
tencentcloud_sdk_python_dbbrain-3.0.892.dist-info/RECORD,,
|
|
File without changes
|