tencentcloud-sdk-python-dbbrain 3.0.1186__tar.gz → 3.0.1214__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.
Potentially problematic release.
This version of tencentcloud-sdk-python-dbbrain might be problematic. Click here for more details.
- {tencentcloud-sdk-python-dbbrain-3.0.1186 → tencentcloud-sdk-python-dbbrain-3.0.1214}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-dbbrain-3.0.1186 → tencentcloud-sdk-python-dbbrain-3.0.1214}/setup.py +1 -1
- {tencentcloud-sdk-python-dbbrain-3.0.1186 → tencentcloud-sdk-python-dbbrain-3.0.1214}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-dbbrain-3.0.1186 → tencentcloud-sdk-python-dbbrain-3.0.1214}/tencentcloud/dbbrain/v20210527/models.py +222 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1186 → tencentcloud-sdk-python-dbbrain-3.0.1214}/tencentcloud_sdk_python_dbbrain.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-dbbrain-3.0.1214/tencentcloud_sdk_python_dbbrain.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-dbbrain-3.0.1186/tencentcloud_sdk_python_dbbrain.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-dbbrain-3.0.1186 → tencentcloud-sdk-python-dbbrain-3.0.1214}/README.rst +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1186 → tencentcloud-sdk-python-dbbrain-3.0.1214}/setup.cfg +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1186 → tencentcloud-sdk-python-dbbrain-3.0.1214}/tencentcloud/dbbrain/__init__.py +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1186 → tencentcloud-sdk-python-dbbrain-3.0.1214}/tencentcloud/dbbrain/v20191016/__init__.py +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1186 → tencentcloud-sdk-python-dbbrain-3.0.1214}/tencentcloud/dbbrain/v20191016/dbbrain_client.py +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1186 → tencentcloud-sdk-python-dbbrain-3.0.1214}/tencentcloud/dbbrain/v20191016/errorcodes.py +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1186 → tencentcloud-sdk-python-dbbrain-3.0.1214}/tencentcloud/dbbrain/v20191016/models.py +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1186 → tencentcloud-sdk-python-dbbrain-3.0.1214}/tencentcloud/dbbrain/v20210527/__init__.py +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1186 → tencentcloud-sdk-python-dbbrain-3.0.1214}/tencentcloud/dbbrain/v20210527/dbbrain_client.py +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1186 → tencentcloud-sdk-python-dbbrain-3.0.1214}/tencentcloud/dbbrain/v20210527/errorcodes.py +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1186 → tencentcloud-sdk-python-dbbrain-3.0.1214}/tencentcloud_sdk_python_dbbrain.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1186 → tencentcloud-sdk-python-dbbrain-3.0.1214}/tencentcloud_sdk_python_dbbrain.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1186 → tencentcloud-sdk-python-dbbrain-3.0.1214}/tencentcloud_sdk_python_dbbrain.egg-info/top_level.txt +0 -0
{tencentcloud-sdk-python-dbbrain-3.0.1186 → tencentcloud-sdk-python-dbbrain-3.0.1214}/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.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1214"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Dbbrain SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -1667,6 +1667,8 @@ class CreateKillTaskRequest(AbstractModel):
|
|
|
1667
1667
|
:type Command: str
|
|
1668
1668
|
:param _Info: 任务过滤条件,支持单条件前缀匹配。
|
|
1669
1669
|
:type Info: str
|
|
1670
|
+
:param _Infos: 任务过滤条件,支持多个关键字匹配,与Info参数互斥。
|
|
1671
|
+
:type Infos: list of str
|
|
1670
1672
|
:param _User: 任务过滤条件,用户类型。
|
|
1671
1673
|
:type User: str
|
|
1672
1674
|
:param _Time: 任务过滤条件,会话持续时长,单位秒。
|
|
@@ -1680,6 +1682,7 @@ class CreateKillTaskRequest(AbstractModel):
|
|
|
1680
1682
|
self._DB = None
|
|
1681
1683
|
self._Command = None
|
|
1682
1684
|
self._Info = None
|
|
1685
|
+
self._Infos = None
|
|
1683
1686
|
self._User = None
|
|
1684
1687
|
self._Time = None
|
|
1685
1688
|
self._Product = None
|
|
@@ -1732,6 +1735,14 @@ class CreateKillTaskRequest(AbstractModel):
|
|
|
1732
1735
|
def Info(self, Info):
|
|
1733
1736
|
self._Info = Info
|
|
1734
1737
|
|
|
1738
|
+
@property
|
|
1739
|
+
def Infos(self):
|
|
1740
|
+
return self._Infos
|
|
1741
|
+
|
|
1742
|
+
@Infos.setter
|
|
1743
|
+
def Infos(self, Infos):
|
|
1744
|
+
self._Infos = Infos
|
|
1745
|
+
|
|
1735
1746
|
@property
|
|
1736
1747
|
def User(self):
|
|
1737
1748
|
return self._User
|
|
@@ -1764,6 +1775,7 @@ class CreateKillTaskRequest(AbstractModel):
|
|
|
1764
1775
|
self._DB = params.get("DB")
|
|
1765
1776
|
self._Command = params.get("Command")
|
|
1766
1777
|
self._Info = params.get("Info")
|
|
1778
|
+
self._Infos = params.get("Infos")
|
|
1767
1779
|
self._User = params.get("User")
|
|
1768
1780
|
self._Time = params.get("Time")
|
|
1769
1781
|
self._Product = params.get("Product")
|
|
@@ -5050,6 +5062,8 @@ class DescribeMySqlProcessListRequest(AbstractModel):
|
|
|
5050
5062
|
:type Limit: int
|
|
5051
5063
|
:param _Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
|
5052
5064
|
:type Product: str
|
|
5065
|
+
:param _StatDimensions: 会话统计的维度信息,可以多个维度。
|
|
5066
|
+
:type StatDimensions: list of StatDimension
|
|
5053
5067
|
"""
|
|
5054
5068
|
self._InstanceId = None
|
|
5055
5069
|
self._ID = None
|
|
@@ -5062,6 +5076,7 @@ class DescribeMySqlProcessListRequest(AbstractModel):
|
|
|
5062
5076
|
self._Info = None
|
|
5063
5077
|
self._Limit = None
|
|
5064
5078
|
self._Product = None
|
|
5079
|
+
self._StatDimensions = None
|
|
5065
5080
|
|
|
5066
5081
|
@property
|
|
5067
5082
|
def InstanceId(self):
|
|
@@ -5151,6 +5166,14 @@ class DescribeMySqlProcessListRequest(AbstractModel):
|
|
|
5151
5166
|
def Product(self, Product):
|
|
5152
5167
|
self._Product = Product
|
|
5153
5168
|
|
|
5169
|
+
@property
|
|
5170
|
+
def StatDimensions(self):
|
|
5171
|
+
return self._StatDimensions
|
|
5172
|
+
|
|
5173
|
+
@StatDimensions.setter
|
|
5174
|
+
def StatDimensions(self, StatDimensions):
|
|
5175
|
+
self._StatDimensions = StatDimensions
|
|
5176
|
+
|
|
5154
5177
|
|
|
5155
5178
|
def _deserialize(self, params):
|
|
5156
5179
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -5164,6 +5187,12 @@ class DescribeMySqlProcessListRequest(AbstractModel):
|
|
|
5164
5187
|
self._Info = params.get("Info")
|
|
5165
5188
|
self._Limit = params.get("Limit")
|
|
5166
5189
|
self._Product = params.get("Product")
|
|
5190
|
+
if params.get("StatDimensions") is not None:
|
|
5191
|
+
self._StatDimensions = []
|
|
5192
|
+
for item in params.get("StatDimensions"):
|
|
5193
|
+
obj = StatDimension()
|
|
5194
|
+
obj._deserialize(item)
|
|
5195
|
+
self._StatDimensions.append(obj)
|
|
5167
5196
|
memeber_set = set(params.keys())
|
|
5168
5197
|
for name, value in vars(self).items():
|
|
5169
5198
|
property_name = name[1:]
|
|
@@ -5183,10 +5212,14 @@ class DescribeMySqlProcessListResponse(AbstractModel):
|
|
|
5183
5212
|
r"""
|
|
5184
5213
|
:param _ProcessList: 实时线程列表。
|
|
5185
5214
|
:type ProcessList: list of MySqlProcess
|
|
5215
|
+
:param _Statistics: sql会话统计信息。
|
|
5216
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5217
|
+
:type Statistics: list of StatisticInfo
|
|
5186
5218
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5187
5219
|
:type RequestId: str
|
|
5188
5220
|
"""
|
|
5189
5221
|
self._ProcessList = None
|
|
5222
|
+
self._Statistics = None
|
|
5190
5223
|
self._RequestId = None
|
|
5191
5224
|
|
|
5192
5225
|
@property
|
|
@@ -5197,6 +5230,14 @@ class DescribeMySqlProcessListResponse(AbstractModel):
|
|
|
5197
5230
|
def ProcessList(self, ProcessList):
|
|
5198
5231
|
self._ProcessList = ProcessList
|
|
5199
5232
|
|
|
5233
|
+
@property
|
|
5234
|
+
def Statistics(self):
|
|
5235
|
+
return self._Statistics
|
|
5236
|
+
|
|
5237
|
+
@Statistics.setter
|
|
5238
|
+
def Statistics(self, Statistics):
|
|
5239
|
+
self._Statistics = Statistics
|
|
5240
|
+
|
|
5200
5241
|
@property
|
|
5201
5242
|
def RequestId(self):
|
|
5202
5243
|
return self._RequestId
|
|
@@ -5213,6 +5254,12 @@ class DescribeMySqlProcessListResponse(AbstractModel):
|
|
|
5213
5254
|
obj = MySqlProcess()
|
|
5214
5255
|
obj._deserialize(item)
|
|
5215
5256
|
self._ProcessList.append(obj)
|
|
5257
|
+
if params.get("Statistics") is not None:
|
|
5258
|
+
self._Statistics = []
|
|
5259
|
+
for item in params.get("Statistics"):
|
|
5260
|
+
obj = StatisticInfo()
|
|
5261
|
+
obj._deserialize(item)
|
|
5262
|
+
self._Statistics.append(obj)
|
|
5216
5263
|
self._RequestId = params.get("RequestId")
|
|
5217
5264
|
|
|
5218
5265
|
|
|
@@ -12922,6 +12969,181 @@ class SlowLogUser(AbstractModel):
|
|
|
12922
12969
|
|
|
12923
12970
|
|
|
12924
12971
|
|
|
12972
|
+
class StatDimension(AbstractModel):
|
|
12973
|
+
"""会话统计的维度信息,可以多个维度
|
|
12974
|
+
|
|
12975
|
+
"""
|
|
12976
|
+
|
|
12977
|
+
def __init__(self):
|
|
12978
|
+
r"""
|
|
12979
|
+
:param _Dimension: 维度名称,目前仅支持:SqlTag。
|
|
12980
|
+
:type Dimension: str
|
|
12981
|
+
:param _Data: SQL 标签过滤与统计信息
|
|
12982
|
+
示例:
|
|
12983
|
+
|
|
12984
|
+
示例 1:[p=position] 统计包含 p=position 标签的 SQL 会话。
|
|
12985
|
+
示例 2:[p] 统计包含 p 标签的 SQL 会话。
|
|
12986
|
+
示例 3:[p=position, c=idCard] 统计同时包含 p=position 标签和 c=idCard 标签的 SQL 会话。
|
|
12987
|
+
:type Data: list of str
|
|
12988
|
+
"""
|
|
12989
|
+
self._Dimension = None
|
|
12990
|
+
self._Data = None
|
|
12991
|
+
|
|
12992
|
+
@property
|
|
12993
|
+
def Dimension(self):
|
|
12994
|
+
return self._Dimension
|
|
12995
|
+
|
|
12996
|
+
@Dimension.setter
|
|
12997
|
+
def Dimension(self, Dimension):
|
|
12998
|
+
self._Dimension = Dimension
|
|
12999
|
+
|
|
13000
|
+
@property
|
|
13001
|
+
def Data(self):
|
|
13002
|
+
return self._Data
|
|
13003
|
+
|
|
13004
|
+
@Data.setter
|
|
13005
|
+
def Data(self, Data):
|
|
13006
|
+
self._Data = Data
|
|
13007
|
+
|
|
13008
|
+
|
|
13009
|
+
def _deserialize(self, params):
|
|
13010
|
+
self._Dimension = params.get("Dimension")
|
|
13011
|
+
self._Data = params.get("Data")
|
|
13012
|
+
memeber_set = set(params.keys())
|
|
13013
|
+
for name, value in vars(self).items():
|
|
13014
|
+
property_name = name[1:]
|
|
13015
|
+
if property_name in memeber_set:
|
|
13016
|
+
memeber_set.remove(property_name)
|
|
13017
|
+
if len(memeber_set) > 0:
|
|
13018
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
13019
|
+
|
|
13020
|
+
|
|
13021
|
+
|
|
13022
|
+
class StatisticDataInfo(AbstractModel):
|
|
13023
|
+
"""统计分析维度下的统计数据详情
|
|
13024
|
+
|
|
13025
|
+
"""
|
|
13026
|
+
|
|
13027
|
+
def __init__(self):
|
|
13028
|
+
r"""
|
|
13029
|
+
:param _Name: 统计维度的值。
|
|
13030
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13031
|
+
:type Name: str
|
|
13032
|
+
:param _TimeAvg: 平均时间。
|
|
13033
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13034
|
+
:type TimeAvg: float
|
|
13035
|
+
:param _TimeSum: 总时间。
|
|
13036
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13037
|
+
:type TimeSum: float
|
|
13038
|
+
:param _Count: 数量。
|
|
13039
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13040
|
+
:type Count: int
|
|
13041
|
+
"""
|
|
13042
|
+
self._Name = None
|
|
13043
|
+
self._TimeAvg = None
|
|
13044
|
+
self._TimeSum = None
|
|
13045
|
+
self._Count = None
|
|
13046
|
+
|
|
13047
|
+
@property
|
|
13048
|
+
def Name(self):
|
|
13049
|
+
return self._Name
|
|
13050
|
+
|
|
13051
|
+
@Name.setter
|
|
13052
|
+
def Name(self, Name):
|
|
13053
|
+
self._Name = Name
|
|
13054
|
+
|
|
13055
|
+
@property
|
|
13056
|
+
def TimeAvg(self):
|
|
13057
|
+
return self._TimeAvg
|
|
13058
|
+
|
|
13059
|
+
@TimeAvg.setter
|
|
13060
|
+
def TimeAvg(self, TimeAvg):
|
|
13061
|
+
self._TimeAvg = TimeAvg
|
|
13062
|
+
|
|
13063
|
+
@property
|
|
13064
|
+
def TimeSum(self):
|
|
13065
|
+
return self._TimeSum
|
|
13066
|
+
|
|
13067
|
+
@TimeSum.setter
|
|
13068
|
+
def TimeSum(self, TimeSum):
|
|
13069
|
+
self._TimeSum = TimeSum
|
|
13070
|
+
|
|
13071
|
+
@property
|
|
13072
|
+
def Count(self):
|
|
13073
|
+
return self._Count
|
|
13074
|
+
|
|
13075
|
+
@Count.setter
|
|
13076
|
+
def Count(self, Count):
|
|
13077
|
+
self._Count = Count
|
|
13078
|
+
|
|
13079
|
+
|
|
13080
|
+
def _deserialize(self, params):
|
|
13081
|
+
self._Name = params.get("Name")
|
|
13082
|
+
self._TimeAvg = params.get("TimeAvg")
|
|
13083
|
+
self._TimeSum = params.get("TimeSum")
|
|
13084
|
+
self._Count = params.get("Count")
|
|
13085
|
+
memeber_set = set(params.keys())
|
|
13086
|
+
for name, value in vars(self).items():
|
|
13087
|
+
property_name = name[1:]
|
|
13088
|
+
if property_name in memeber_set:
|
|
13089
|
+
memeber_set.remove(property_name)
|
|
13090
|
+
if len(memeber_set) > 0:
|
|
13091
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
13092
|
+
|
|
13093
|
+
|
|
13094
|
+
|
|
13095
|
+
class StatisticInfo(AbstractModel):
|
|
13096
|
+
"""sql会话统计信息
|
|
13097
|
+
|
|
13098
|
+
"""
|
|
13099
|
+
|
|
13100
|
+
def __init__(self):
|
|
13101
|
+
r"""
|
|
13102
|
+
:param _Dimension: 统计分析的维度。
|
|
13103
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13104
|
+
:type Dimension: str
|
|
13105
|
+
:param _Data: 统计分析的维度下的统计数据详情。
|
|
13106
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13107
|
+
:type Data: list of StatisticDataInfo
|
|
13108
|
+
"""
|
|
13109
|
+
self._Dimension = None
|
|
13110
|
+
self._Data = None
|
|
13111
|
+
|
|
13112
|
+
@property
|
|
13113
|
+
def Dimension(self):
|
|
13114
|
+
return self._Dimension
|
|
13115
|
+
|
|
13116
|
+
@Dimension.setter
|
|
13117
|
+
def Dimension(self, Dimension):
|
|
13118
|
+
self._Dimension = Dimension
|
|
13119
|
+
|
|
13120
|
+
@property
|
|
13121
|
+
def Data(self):
|
|
13122
|
+
return self._Data
|
|
13123
|
+
|
|
13124
|
+
@Data.setter
|
|
13125
|
+
def Data(self, Data):
|
|
13126
|
+
self._Data = Data
|
|
13127
|
+
|
|
13128
|
+
|
|
13129
|
+
def _deserialize(self, params):
|
|
13130
|
+
self._Dimension = params.get("Dimension")
|
|
13131
|
+
if params.get("Data") is not None:
|
|
13132
|
+
self._Data = []
|
|
13133
|
+
for item in params.get("Data"):
|
|
13134
|
+
obj = StatisticDataInfo()
|
|
13135
|
+
obj._deserialize(item)
|
|
13136
|
+
self._Data.append(obj)
|
|
13137
|
+
memeber_set = set(params.keys())
|
|
13138
|
+
for name, value in vars(self).items():
|
|
13139
|
+
property_name = name[1:]
|
|
13140
|
+
if property_name in memeber_set:
|
|
13141
|
+
memeber_set.remove(property_name)
|
|
13142
|
+
if len(memeber_set) > 0:
|
|
13143
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
13144
|
+
|
|
13145
|
+
|
|
13146
|
+
|
|
12925
13147
|
class Table(AbstractModel):
|
|
12926
13148
|
"""表结构。
|
|
12927
13149
|
|
tencentcloud-sdk-python-dbbrain-3.0.1214/tencentcloud_sdk_python_dbbrain.egg-info/requires.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1214
|
tencentcloud-sdk-python-dbbrain-3.0.1186/tencentcloud_sdk_python_dbbrain.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1186
|
{tencentcloud-sdk-python-dbbrain-3.0.1186 → tencentcloud-sdk-python-dbbrain-3.0.1214}/README.rst
RENAMED
|
File without changes
|
{tencentcloud-sdk-python-dbbrain-3.0.1186 → tencentcloud-sdk-python-dbbrain-3.0.1214}/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
|