tencentcloud-sdk-python-dbbrain 3.0.883__py2.py3-none-any.whl → 3.0.901__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 CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.883'
17
+ __version__ = '3.0.901'
@@ -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`
@@ -998,16 +998,20 @@ class DeleteSqlFiltersRequest(AbstractModel):
998
998
  :type SessionToken: str
999
999
  :param FilterIds: 限流任务ID列表。
1000
1000
  :type FilterIds: list of int
1001
+ :param Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
1002
+ :type Product: str
1001
1003
  """
1002
1004
  self.InstanceId = None
1003
1005
  self.SessionToken = None
1004
1006
  self.FilterIds = None
1007
+ self.Product = None
1005
1008
 
1006
1009
 
1007
1010
  def _deserialize(self, params):
1008
1011
  self.InstanceId = params.get("InstanceId")
1009
1012
  self.SessionToken = params.get("SessionToken")
1010
1013
  self.FilterIds = params.get("FilterIds")
1014
+ self.Product = params.get("Product")
1011
1015
  memeber_set = set(params.keys())
1012
1016
  for name, value in vars(self).items():
1013
1017
  if name in memeber_set:
@@ -2626,7 +2630,7 @@ class DescribeSlowLogsRequest(AbstractModel):
2626
2630
  :type Product: str
2627
2631
  :param InstanceId: 实例id。
2628
2632
  :type InstanceId: str
2629
- :param Md5: sql模版的md5值
2633
+ :param Md5: sql模板的md5值
2630
2634
  :type Md5: str
2631
2635
  :param StartTime: 开始时间,如“2019-09-10 12:13:14”。
2632
2636
  :type StartTime: str
@@ -2642,7 +2646,7 @@ class DescribeSlowLogsRequest(AbstractModel):
2642
2646
  :type Key: list of str
2643
2647
  :param User: 用户
2644
2648
  :type User: list of str
2645
- :param Ip: ip
2649
+ :param Ip: IP
2646
2650
  :type Ip: list of str
2647
2651
  :param Time: 耗时区间,耗时区间的左右边界分别对应数组的第0个元素和第一个元素
2648
2652
  :type Time: list of int
@@ -2730,12 +2734,15 @@ class DescribeSqlFiltersRequest(AbstractModel):
2730
2734
  :type Offset: int
2731
2735
  :param Limit: 返回数量,默认为20,最大值为100。
2732
2736
  :type Limit: int
2737
+ :param Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
2738
+ :type Product: str
2733
2739
  """
2734
2740
  self.InstanceId = None
2735
2741
  self.FilterIds = None
2736
2742
  self.Statuses = None
2737
2743
  self.Offset = None
2738
2744
  self.Limit = None
2745
+ self.Product = None
2739
2746
 
2740
2747
 
2741
2748
  def _deserialize(self, params):
@@ -2744,6 +2751,7 @@ class DescribeSqlFiltersRequest(AbstractModel):
2744
2751
  self.Statuses = params.get("Statuses")
2745
2752
  self.Offset = params.get("Offset")
2746
2753
  self.Limit = params.get("Limit")
2754
+ self.Product = params.get("Product")
2747
2755
  memeber_set = set(params.keys())
2748
2756
  for name, value in vars(self).items():
2749
2757
  if name in memeber_set:
@@ -3776,12 +3784,15 @@ class KillMySqlThreadsRequest(AbstractModel):
3776
3784
  :type SqlExecId: str
3777
3785
  :param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
3778
3786
  :type Product: str
3787
+ :param RecordHistory: 默认是ture, 记录下kill的记录,为了加快kill,可设置为false。
3788
+ :type RecordHistory: bool
3779
3789
  """
3780
3790
  self.InstanceId = None
3781
3791
  self.Stage = None
3782
3792
  self.Threads = None
3783
3793
  self.SqlExecId = None
3784
3794
  self.Product = None
3795
+ self.RecordHistory = None
3785
3796
 
3786
3797
 
3787
3798
  def _deserialize(self, params):
@@ -3790,6 +3801,7 @@ class KillMySqlThreadsRequest(AbstractModel):
3790
3801
  self.Threads = params.get("Threads")
3791
3802
  self.SqlExecId = params.get("SqlExecId")
3792
3803
  self.Product = params.get("Product")
3804
+ self.RecordHistory = params.get("RecordHistory")
3793
3805
  memeber_set = set(params.keys())
3794
3806
  for name, value in vars(self).items():
3795
3807
  if name in memeber_set:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-dbbrain
3
- Version: 3.0.883
3
+ Version: 3.0.901
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
@@ -1,14 +1,14 @@
1
- tencentcloud/__init__.py,sha256=0CgtNlOAMXe0XmYnaylqCG9k38E7exHcSvFKdVjuBFM,630
1
+ tencentcloud/__init__.py,sha256=YYiWirQxqAWWekONp02AWdn9T3pWE2JjgfViVrXPPmU,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=QZbcox87J5Wc6HxYRMYSAUzd5vKmrI-v1x5AoH_j09Y,48612
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=GvX4umurmKQWub83Q4Rw9YDaL_mQdIPTYyrOzGExpNM,182325
11
- tencentcloud_sdk_python_dbbrain-3.0.883.dist-info/METADATA,sha256=qNIwv_-Z1QtIyJAJkWzl4HIWXR8oVjVa-Gqw0RvYrUM,1452
12
- tencentcloud_sdk_python_dbbrain-3.0.883.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
13
- tencentcloud_sdk_python_dbbrain-3.0.883.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
14
- tencentcloud_sdk_python_dbbrain-3.0.883.dist-info/RECORD,,
10
+ tencentcloud/dbbrain/v20210527/models.py,sha256=Cmrs68preJX42sro_mIRwWonEijbPJyvLqawjBrs654,183066
11
+ tencentcloud_sdk_python_dbbrain-3.0.901.dist-info/METADATA,sha256=E-Q2RD6IMGaUaD1x6xchZ9vqCO7guvDF3S3MCE9TqyE,1452
12
+ tencentcloud_sdk_python_dbbrain-3.0.901.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
13
+ tencentcloud_sdk_python_dbbrain-3.0.901.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
14
+ tencentcloud_sdk_python_dbbrain-3.0.901.dist-info/RECORD,,