tencentcloud-sdk-python-dbbrain 3.1.108__py2.py3-none-any.whl → 3.1.112__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/dbbrain/v20210527/models.py +51 -40
- {tencentcloud_sdk_python_dbbrain-3.1.108.dist-info → tencentcloud_sdk_python_dbbrain-3.1.112.dist-info}/METADATA +2 -2
- {tencentcloud_sdk_python_dbbrain-3.1.108.dist-info → tencentcloud_sdk_python_dbbrain-3.1.112.dist-info}/RECORD +6 -6
- {tencentcloud_sdk_python_dbbrain-3.1.108.dist-info → tencentcloud_sdk_python_dbbrain-3.1.112.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_dbbrain-3.1.108.dist-info → tencentcloud_sdk_python_dbbrain-3.1.112.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -6250,7 +6250,7 @@ class DescribeDBDiagEventsRequest(AbstractModel):
|
|
|
6250
6250
|
:type Severities: list of int
|
|
6251
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>
|
|
6252
6252
|
:type InstanceIds: list of str
|
|
6253
|
-
:param _Product: <p>服务产品类型,支持值包括:"mysql" - 云数据库 MySQL,"redis" - 云数据库 Redis,"mariadb"-数据库mariadb,"cynosdb"-数据库 TDSQL-C, "dcdb"-数据库TDSQL MySQL 默认为"mysql"。</p>
|
|
6253
|
+
:param _Product: <p>服务产品类型,支持值包括:"mysql" - 云数据库 MySQL,"mongodb"- 云数据库MongoDB, "postgres"-云数据库postgres,云数据库"redis" - 云数据库 Redis,"mariadb"-数据库mariadb,"cynosdb"-数据库 TDSQL-C, "dcdb"-数据库TDSQL MySQL 默认为"mysql"。</p>
|
|
6254
6254
|
:type Product: str
|
|
6255
6255
|
:param _Offset: <p>偏移量,默认0。</p>
|
|
6256
6256
|
:type Offset: int
|
|
@@ -6311,7 +6311,7 @@ class DescribeDBDiagEventsRequest(AbstractModel):
|
|
|
6311
6311
|
|
|
6312
6312
|
@property
|
|
6313
6313
|
def Product(self):
|
|
6314
|
-
r"""<p>服务产品类型,支持值包括:"mysql" - 云数据库 MySQL,"redis" - 云数据库 Redis,"mariadb"-数据库mariadb,"cynosdb"-数据库 TDSQL-C, "dcdb"-数据库TDSQL MySQL 默认为"mysql"。</p>
|
|
6314
|
+
r"""<p>服务产品类型,支持值包括:"mysql" - 云数据库 MySQL,"mongodb"- 云数据库MongoDB, "postgres"-云数据库postgres,云数据库"redis" - 云数据库 Redis,"mariadb"-数据库mariadb,"cynosdb"-数据库 TDSQL-C, "dcdb"-数据库TDSQL MySQL 默认为"mysql"。</p>
|
|
6315
6315
|
:rtype: str
|
|
6316
6316
|
"""
|
|
6317
6317
|
return self._Product
|
|
@@ -8633,31 +8633,29 @@ class DescribeMySqlProcessListRequest(AbstractModel):
|
|
|
8633
8633
|
|
|
8634
8634
|
def __init__(self):
|
|
8635
8635
|
r"""
|
|
8636
|
-
:param _InstanceId:
|
|
8636
|
+
:param _InstanceId: <p>实例 ID。可通过 <a href="https://cloud.tencent.com/document/api/1130/57798">DescribeDiagDBInstances</a> 接口获取。<strong>其中 dcdb(即TDSQL MySQL) 的查询入参InstanceId特殊,需要使用 ClusterId + & + InstanceId 来组合代替, 如:<code>tdsqlshard-s1230&shard-abcd</code></strong></p>
|
|
8637
8637
|
:type InstanceId: str
|
|
8638
|
-
:param _ID:
|
|
8638
|
+
:param _ID: <p>线程的ID,用于筛选线程列表。</p>
|
|
8639
8639
|
:type ID: int
|
|
8640
|
-
:param _User:
|
|
8640
|
+
:param _User: <p>线程的操作账号名,用于筛选线程列表。</p>
|
|
8641
8641
|
:type User: str
|
|
8642
|
-
:param _Host:
|
|
8642
|
+
:param _Host: <p>线程的操作主机地址,用于筛选线程列表。</p>
|
|
8643
8643
|
:type Host: str
|
|
8644
|
-
:param _DB:
|
|
8644
|
+
:param _DB: <p>线程的操作数据库,用于筛选线程列表。</p>
|
|
8645
8645
|
:type DB: str
|
|
8646
|
-
:param _State:
|
|
8646
|
+
:param _State: <p>线程的操作状态。包含以下枚举值:Sending data-线程正在处理查询结果, Sorting result-线程正在对查询结果进行排序,Creating tmp table-线程正在创建临时表,Altering table-线程正在执行表结构变更,Updating-线程执行更新中。</p>
|
|
8647
8647
|
:type State: str
|
|
8648
|
-
:param _Command:
|
|
8648
|
+
:param _Command: <p>线程的执行类型。包含以下枚举值:Sleep-线程处于空闲状态,Query-线程正在执行一个查询,Connect-从服务器连接到主服务器,Execute-线程正在执行预处理语句。</p>
|
|
8649
8649
|
:type Command: str
|
|
8650
|
-
:param _Time:
|
|
8650
|
+
:param _Time: <p>线程的操作时长最小值,单位秒,用于筛选操作时长大于该值的线程列表。</p>
|
|
8651
8651
|
:type Time: int
|
|
8652
|
-
:param _Info:
|
|
8652
|
+
:param _Info: <p>线程的操作语句,用于筛选线程列表。</p>
|
|
8653
8653
|
:type Info: str
|
|
8654
|
-
:param _Limit:
|
|
8654
|
+
:param _Limit: <p>返回数量,默认20。</p>
|
|
8655
8655
|
:type Limit: int
|
|
8656
|
-
:param _Product:
|
|
8657
|
-
|
|
8658
|
-
|
|
8656
|
+
:param _Product: <p>服务产品类型,支持值:"mysql" - 云数据库 MySQL;"mariadb"-mariadb;"cynosdb"-TDSQL-C for MySQL ;"dcdb"-TDSQL MySQL 默认为"mysql"。</p>
|
|
8659
8657
|
:type Product: str
|
|
8660
|
-
:param _StatDimensions:
|
|
8658
|
+
:param _StatDimensions: <p>会话统计的维度信息,可以多个维度。</p>
|
|
8661
8659
|
:type StatDimensions: list of StatDimension
|
|
8662
8660
|
"""
|
|
8663
8661
|
self._InstanceId = None
|
|
@@ -8675,7 +8673,7 @@ class DescribeMySqlProcessListRequest(AbstractModel):
|
|
|
8675
8673
|
|
|
8676
8674
|
@property
|
|
8677
8675
|
def InstanceId(self):
|
|
8678
|
-
r"""
|
|
8676
|
+
r"""<p>实例 ID。可通过 <a href="https://cloud.tencent.com/document/api/1130/57798">DescribeDiagDBInstances</a> 接口获取。<strong>其中 dcdb(即TDSQL MySQL) 的查询入参InstanceId特殊,需要使用 ClusterId + & + InstanceId 来组合代替, 如:<code>tdsqlshard-s1230&shard-abcd</code></strong></p>
|
|
8679
8677
|
:rtype: str
|
|
8680
8678
|
"""
|
|
8681
8679
|
return self._InstanceId
|
|
@@ -8686,7 +8684,7 @@ class DescribeMySqlProcessListRequest(AbstractModel):
|
|
|
8686
8684
|
|
|
8687
8685
|
@property
|
|
8688
8686
|
def ID(self):
|
|
8689
|
-
r"""
|
|
8687
|
+
r"""<p>线程的ID,用于筛选线程列表。</p>
|
|
8690
8688
|
:rtype: int
|
|
8691
8689
|
"""
|
|
8692
8690
|
return self._ID
|
|
@@ -8697,7 +8695,7 @@ class DescribeMySqlProcessListRequest(AbstractModel):
|
|
|
8697
8695
|
|
|
8698
8696
|
@property
|
|
8699
8697
|
def User(self):
|
|
8700
|
-
r"""
|
|
8698
|
+
r"""<p>线程的操作账号名,用于筛选线程列表。</p>
|
|
8701
8699
|
:rtype: str
|
|
8702
8700
|
"""
|
|
8703
8701
|
return self._User
|
|
@@ -8708,7 +8706,7 @@ class DescribeMySqlProcessListRequest(AbstractModel):
|
|
|
8708
8706
|
|
|
8709
8707
|
@property
|
|
8710
8708
|
def Host(self):
|
|
8711
|
-
r"""
|
|
8709
|
+
r"""<p>线程的操作主机地址,用于筛选线程列表。</p>
|
|
8712
8710
|
:rtype: str
|
|
8713
8711
|
"""
|
|
8714
8712
|
return self._Host
|
|
@@ -8719,7 +8717,7 @@ class DescribeMySqlProcessListRequest(AbstractModel):
|
|
|
8719
8717
|
|
|
8720
8718
|
@property
|
|
8721
8719
|
def DB(self):
|
|
8722
|
-
r"""
|
|
8720
|
+
r"""<p>线程的操作数据库,用于筛选线程列表。</p>
|
|
8723
8721
|
:rtype: str
|
|
8724
8722
|
"""
|
|
8725
8723
|
return self._DB
|
|
@@ -8730,7 +8728,7 @@ class DescribeMySqlProcessListRequest(AbstractModel):
|
|
|
8730
8728
|
|
|
8731
8729
|
@property
|
|
8732
8730
|
def State(self):
|
|
8733
|
-
r"""
|
|
8731
|
+
r"""<p>线程的操作状态。包含以下枚举值:Sending data-线程正在处理查询结果, Sorting result-线程正在对查询结果进行排序,Creating tmp table-线程正在创建临时表,Altering table-线程正在执行表结构变更,Updating-线程执行更新中。</p>
|
|
8734
8732
|
:rtype: str
|
|
8735
8733
|
"""
|
|
8736
8734
|
return self._State
|
|
@@ -8741,7 +8739,7 @@ class DescribeMySqlProcessListRequest(AbstractModel):
|
|
|
8741
8739
|
|
|
8742
8740
|
@property
|
|
8743
8741
|
def Command(self):
|
|
8744
|
-
r"""
|
|
8742
|
+
r"""<p>线程的执行类型。包含以下枚举值:Sleep-线程处于空闲状态,Query-线程正在执行一个查询,Connect-从服务器连接到主服务器,Execute-线程正在执行预处理语句。</p>
|
|
8745
8743
|
:rtype: str
|
|
8746
8744
|
"""
|
|
8747
8745
|
return self._Command
|
|
@@ -8752,7 +8750,7 @@ class DescribeMySqlProcessListRequest(AbstractModel):
|
|
|
8752
8750
|
|
|
8753
8751
|
@property
|
|
8754
8752
|
def Time(self):
|
|
8755
|
-
r"""
|
|
8753
|
+
r"""<p>线程的操作时长最小值,单位秒,用于筛选操作时长大于该值的线程列表。</p>
|
|
8756
8754
|
:rtype: int
|
|
8757
8755
|
"""
|
|
8758
8756
|
return self._Time
|
|
@@ -8763,7 +8761,7 @@ class DescribeMySqlProcessListRequest(AbstractModel):
|
|
|
8763
8761
|
|
|
8764
8762
|
@property
|
|
8765
8763
|
def Info(self):
|
|
8766
|
-
r"""
|
|
8764
|
+
r"""<p>线程的操作语句,用于筛选线程列表。</p>
|
|
8767
8765
|
:rtype: str
|
|
8768
8766
|
"""
|
|
8769
8767
|
return self._Info
|
|
@@ -8774,7 +8772,7 @@ class DescribeMySqlProcessListRequest(AbstractModel):
|
|
|
8774
8772
|
|
|
8775
8773
|
@property
|
|
8776
8774
|
def Limit(self):
|
|
8777
|
-
r"""
|
|
8775
|
+
r"""<p>返回数量,默认20。</p>
|
|
8778
8776
|
:rtype: int
|
|
8779
8777
|
"""
|
|
8780
8778
|
return self._Limit
|
|
@@ -8785,9 +8783,7 @@ class DescribeMySqlProcessListRequest(AbstractModel):
|
|
|
8785
8783
|
|
|
8786
8784
|
@property
|
|
8787
8785
|
def Product(self):
|
|
8788
|
-
r"""
|
|
8789
|
-
|
|
8790
|
-
|
|
8786
|
+
r"""<p>服务产品类型,支持值:"mysql" - 云数据库 MySQL;"mariadb"-mariadb;"cynosdb"-TDSQL-C for MySQL ;"dcdb"-TDSQL MySQL 默认为"mysql"。</p>
|
|
8791
8787
|
:rtype: str
|
|
8792
8788
|
"""
|
|
8793
8789
|
return self._Product
|
|
@@ -8798,7 +8794,7 @@ class DescribeMySqlProcessListRequest(AbstractModel):
|
|
|
8798
8794
|
|
|
8799
8795
|
@property
|
|
8800
8796
|
def StatDimensions(self):
|
|
8801
|
-
r"""
|
|
8797
|
+
r"""<p>会话统计的维度信息,可以多个维度。</p>
|
|
8802
8798
|
:rtype: list of StatDimension
|
|
8803
8799
|
"""
|
|
8804
8800
|
return self._StatDimensions
|
|
@@ -8843,9 +8839,9 @@ class DescribeMySqlProcessListResponse(AbstractModel):
|
|
|
8843
8839
|
|
|
8844
8840
|
def __init__(self):
|
|
8845
8841
|
r"""
|
|
8846
|
-
:param _ProcessList:
|
|
8842
|
+
:param _ProcessList: <p>实时线程列表。</p>
|
|
8847
8843
|
:type ProcessList: list of MySqlProcess
|
|
8848
|
-
:param _Statistics: sql会话统计信息。如果请求参数中包含StatDimensions
|
|
8844
|
+
:param _Statistics: <p>sql会话统计信息。如果请求参数中包含StatDimensions,该参数则可能返回,否则不返回。</p>
|
|
8849
8845
|
:type Statistics: list of StatisticInfo
|
|
8850
8846
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8851
8847
|
:type RequestId: str
|
|
@@ -8856,7 +8852,7 @@ class DescribeMySqlProcessListResponse(AbstractModel):
|
|
|
8856
8852
|
|
|
8857
8853
|
@property
|
|
8858
8854
|
def ProcessList(self):
|
|
8859
|
-
r"""
|
|
8855
|
+
r"""<p>实时线程列表。</p>
|
|
8860
8856
|
:rtype: list of MySqlProcess
|
|
8861
8857
|
"""
|
|
8862
8858
|
return self._ProcessList
|
|
@@ -8867,7 +8863,7 @@ class DescribeMySqlProcessListResponse(AbstractModel):
|
|
|
8867
8863
|
|
|
8868
8864
|
@property
|
|
8869
8865
|
def Statistics(self):
|
|
8870
|
-
r"""sql会话统计信息。如果请求参数中包含StatDimensions
|
|
8866
|
+
r"""<p>sql会话统计信息。如果请求参数中包含StatDimensions,该参数则可能返回,否则不返回。</p>
|
|
8871
8867
|
:rtype: list of StatisticInfo
|
|
8872
8868
|
"""
|
|
8873
8869
|
return self._Statistics
|
|
@@ -20067,20 +20063,23 @@ class SessionItem(AbstractModel):
|
|
|
20067
20063
|
|
|
20068
20064
|
def __init__(self):
|
|
20069
20065
|
r"""
|
|
20070
|
-
:param _Ip:
|
|
20066
|
+
:param _Ip: <p>访问来源。</p>
|
|
20071
20067
|
:type Ip: str
|
|
20072
|
-
:param _ActiveConn:
|
|
20068
|
+
:param _ActiveConn: <p>当前访问来源活跃连接数</p>
|
|
20073
20069
|
:type ActiveConn: str
|
|
20074
|
-
:param _AllConn:
|
|
20070
|
+
:param _AllConn: <p>当前访问来源总连接数</p>
|
|
20075
20071
|
:type AllConn: int
|
|
20072
|
+
:param _IsInternalIp: <p>是否为内网ip</p>
|
|
20073
|
+
:type IsInternalIp: bool
|
|
20076
20074
|
"""
|
|
20077
20075
|
self._Ip = None
|
|
20078
20076
|
self._ActiveConn = None
|
|
20079
20077
|
self._AllConn = None
|
|
20078
|
+
self._IsInternalIp = None
|
|
20080
20079
|
|
|
20081
20080
|
@property
|
|
20082
20081
|
def Ip(self):
|
|
20083
|
-
r"""
|
|
20082
|
+
r"""<p>访问来源。</p>
|
|
20084
20083
|
:rtype: str
|
|
20085
20084
|
"""
|
|
20086
20085
|
return self._Ip
|
|
@@ -20091,7 +20090,7 @@ class SessionItem(AbstractModel):
|
|
|
20091
20090
|
|
|
20092
20091
|
@property
|
|
20093
20092
|
def ActiveConn(self):
|
|
20094
|
-
r"""
|
|
20093
|
+
r"""<p>当前访问来源活跃连接数</p>
|
|
20095
20094
|
:rtype: str
|
|
20096
20095
|
"""
|
|
20097
20096
|
return self._ActiveConn
|
|
@@ -20102,7 +20101,7 @@ class SessionItem(AbstractModel):
|
|
|
20102
20101
|
|
|
20103
20102
|
@property
|
|
20104
20103
|
def AllConn(self):
|
|
20105
|
-
r"""
|
|
20104
|
+
r"""<p>当前访问来源总连接数</p>
|
|
20106
20105
|
:rtype: int
|
|
20107
20106
|
"""
|
|
20108
20107
|
return self._AllConn
|
|
@@ -20111,11 +20110,23 @@ class SessionItem(AbstractModel):
|
|
|
20111
20110
|
def AllConn(self, AllConn):
|
|
20112
20111
|
self._AllConn = AllConn
|
|
20113
20112
|
|
|
20113
|
+
@property
|
|
20114
|
+
def IsInternalIp(self):
|
|
20115
|
+
r"""<p>是否为内网ip</p>
|
|
20116
|
+
:rtype: bool
|
|
20117
|
+
"""
|
|
20118
|
+
return self._IsInternalIp
|
|
20119
|
+
|
|
20120
|
+
@IsInternalIp.setter
|
|
20121
|
+
def IsInternalIp(self, IsInternalIp):
|
|
20122
|
+
self._IsInternalIp = IsInternalIp
|
|
20123
|
+
|
|
20114
20124
|
|
|
20115
20125
|
def _deserialize(self, params):
|
|
20116
20126
|
self._Ip = params.get("Ip")
|
|
20117
20127
|
self._ActiveConn = params.get("ActiveConn")
|
|
20118
20128
|
self._AllConn = params.get("AllConn")
|
|
20129
|
+
self._IsInternalIp = params.get("IsInternalIp")
|
|
20119
20130
|
memeber_set = set(params.keys())
|
|
20120
20131
|
for name, value in vars(self).items():
|
|
20121
20132
|
property_name = name[1:]
|
|
@@ -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.112
|
|
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.112
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=Mq2JsEBUAoVRWhH2ZdmzNAC82kdYoTWlSdIYTDQ0TH0,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=D8k7Ql1i2UiOCXIfggsfn7IqwcMkuHYuo2nddMygKEI,28717
|
|
@@ -9,8 +9,8 @@ tencentcloud/dbbrain/v20210527/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
|
9
9
|
tencentcloud/dbbrain/v20210527/dbbrain_client.py,sha256=wh2YNCPlLEmGZuEl6WjDQpZUTL6iF3jkVyQdF59fyP0,86629
|
|
10
10
|
tencentcloud/dbbrain/v20210527/dbbrain_client_async.py,sha256=ga8RA0C2Gomdj5jfnegZDDlw9SaJygE-A44NQ9sukEE,58921
|
|
11
11
|
tencentcloud/dbbrain/v20210527/errorcodes.py,sha256=Sh30b_ChoDx9THeOrRvW0NNP7SzDta04u5sUulDMa54,2457
|
|
12
|
-
tencentcloud/dbbrain/v20210527/models.py,sha256=
|
|
13
|
-
tencentcloud_sdk_python_dbbrain-3.1.
|
|
14
|
-
tencentcloud_sdk_python_dbbrain-3.1.
|
|
15
|
-
tencentcloud_sdk_python_dbbrain-3.1.
|
|
16
|
-
tencentcloud_sdk_python_dbbrain-3.1.
|
|
12
|
+
tencentcloud/dbbrain/v20210527/models.py,sha256=EuY5sY31rIjNO2p9WuvVs9wf3oH5oZRxpPljkGomaps,686280
|
|
13
|
+
tencentcloud_sdk_python_dbbrain-3.1.112.dist-info/METADATA,sha256=yGvFcxkRvmtcvYK6ulChZOPD3U3sP4Uddtti8uIkF0Q,1517
|
|
14
|
+
tencentcloud_sdk_python_dbbrain-3.1.112.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
15
|
+
tencentcloud_sdk_python_dbbrain-3.1.112.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
16
|
+
tencentcloud_sdk_python_dbbrain-3.1.112.dist-info/RECORD,,
|
|
File without changes
|