tencentcloud-sdk-python-postgres 3.1.68__tar.gz → 3.1.84__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_postgres-3.1.68 → tencentcloud_sdk_python_postgres-3.1.84}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_postgres-3.1.68 → tencentcloud_sdk_python_postgres-3.1.84}/setup.py +1 -1
- {tencentcloud_sdk_python_postgres-3.1.68 → tencentcloud_sdk_python_postgres-3.1.84}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_postgres-3.1.68 → tencentcloud_sdk_python_postgres-3.1.84}/tencentcloud/postgres/v20170312/errorcodes.py +3 -0
- {tencentcloud_sdk_python_postgres-3.1.68 → tencentcloud_sdk_python_postgres-3.1.84}/tencentcloud/postgres/v20170312/models.py +328 -38
- {tencentcloud_sdk_python_postgres-3.1.68 → tencentcloud_sdk_python_postgres-3.1.84}/tencentcloud_sdk_python_postgres.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_postgres-3.1.84/tencentcloud_sdk_python_postgres.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_postgres-3.1.68/tencentcloud_sdk_python_postgres.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_postgres-3.1.68 → tencentcloud_sdk_python_postgres-3.1.84}/README.rst +0 -0
- {tencentcloud_sdk_python_postgres-3.1.68 → tencentcloud_sdk_python_postgres-3.1.84}/setup.cfg +0 -0
- {tencentcloud_sdk_python_postgres-3.1.68 → tencentcloud_sdk_python_postgres-3.1.84}/tencentcloud/postgres/__init__.py +0 -0
- {tencentcloud_sdk_python_postgres-3.1.68 → tencentcloud_sdk_python_postgres-3.1.84}/tencentcloud/postgres/v20170312/__init__.py +0 -0
- {tencentcloud_sdk_python_postgres-3.1.68 → tencentcloud_sdk_python_postgres-3.1.84}/tencentcloud/postgres/v20170312/postgres_client.py +0 -0
- {tencentcloud_sdk_python_postgres-3.1.68 → tencentcloud_sdk_python_postgres-3.1.84}/tencentcloud/postgres/v20170312/postgres_client_async.py +0 -0
- {tencentcloud_sdk_python_postgres-3.1.68 → tencentcloud_sdk_python_postgres-3.1.84}/tencentcloud_sdk_python_postgres.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_postgres-3.1.68 → tencentcloud_sdk_python_postgres-3.1.84}/tencentcloud_sdk_python_postgres.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_postgres-3.1.68 → tencentcloud_sdk_python_postgres-3.1.84}/tencentcloud_sdk_python_postgres.egg-info/top_level.txt +0 -0
{tencentcloud_sdk_python_postgres-3.1.68 → tencentcloud_sdk_python_postgres-3.1.84}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-postgres
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.84
|
|
4
4
|
Summary: Tencent Cloud Postgres 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.84
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
{tencentcloud_sdk_python_postgres-3.1.68 → tencentcloud_sdk_python_postgres-3.1.84}/setup.py
RENAMED
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-postgres',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.84,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Postgres SDK for Python',
|
|
@@ -269,6 +269,9 @@ INTERNALERROR_INTERNALHTTPSERVERERROR = 'InternalError.InternalHttpServerError'
|
|
|
269
269
|
# Json数据解析失败,请联系客服进行处理。
|
|
270
270
|
INTERNALERROR_JSONPARSEERROR = 'InternalError.JsonParseError'
|
|
271
271
|
|
|
272
|
+
# 查询实例不存在
|
|
273
|
+
INTERNALERROR_LISTINSTANCESERROR = 'InternalError.ListInstancesError'
|
|
274
|
+
|
|
272
275
|
# 后台数据解析失败,请联系客服进行处理。
|
|
273
276
|
INTERNALERROR_MARSHALERROR = 'InternalError.MarshalError'
|
|
274
277
|
|
|
@@ -8177,20 +8177,22 @@ class DescribeDBErrlogsRequest(AbstractModel):
|
|
|
8177
8177
|
|
|
8178
8178
|
def __init__(self):
|
|
8179
8179
|
r"""
|
|
8180
|
-
:param _DBInstanceId:
|
|
8180
|
+
:param _DBInstanceId: <p>实例ID。 可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取</p>
|
|
8181
8181
|
:type DBInstanceId: str
|
|
8182
|
-
:param _StartTime:
|
|
8182
|
+
:param _StartTime: <p>查询起始时间,形如2018-01-01 00:00:00。日志保留时间默认为7天,起始时间不能超出保留时间范围。</p>
|
|
8183
8183
|
:type StartTime: str
|
|
8184
|
-
:param _EndTime:
|
|
8184
|
+
:param _EndTime: <p>查询结束时间,形如2018-01-01 00:00:00。</p>
|
|
8185
8185
|
:type EndTime: str
|
|
8186
|
-
:param _DatabaseName:
|
|
8186
|
+
:param _DatabaseName: <p>数据库名字。</p>
|
|
8187
8187
|
:type DatabaseName: str
|
|
8188
|
-
:param _SearchKeys:
|
|
8188
|
+
:param _SearchKeys: <p>搜索关键字。</p>
|
|
8189
8189
|
:type SearchKeys: list of str
|
|
8190
|
-
:param _Limit:
|
|
8190
|
+
:param _Limit: <p>每页显示数量,取值范围为1-100。默认值为50。</p>
|
|
8191
8191
|
:type Limit: int
|
|
8192
|
-
:param _Offset:
|
|
8192
|
+
:param _Offset: <p>数据偏移量,从0开始。默认值为0。</p>
|
|
8193
8193
|
:type Offset: int
|
|
8194
|
+
:param _LogFilters: <p>日志过滤条件。格式为 [{Type: "ApplicationName", Compare: "INC", Value: ["123"]}]。</p>
|
|
8195
|
+
:type LogFilters: list of LogFilter
|
|
8194
8196
|
"""
|
|
8195
8197
|
self._DBInstanceId = None
|
|
8196
8198
|
self._StartTime = None
|
|
@@ -8199,10 +8201,11 @@ class DescribeDBErrlogsRequest(AbstractModel):
|
|
|
8199
8201
|
self._SearchKeys = None
|
|
8200
8202
|
self._Limit = None
|
|
8201
8203
|
self._Offset = None
|
|
8204
|
+
self._LogFilters = None
|
|
8202
8205
|
|
|
8203
8206
|
@property
|
|
8204
8207
|
def DBInstanceId(self):
|
|
8205
|
-
r"""
|
|
8208
|
+
r"""<p>实例ID。 可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取</p>
|
|
8206
8209
|
:rtype: str
|
|
8207
8210
|
"""
|
|
8208
8211
|
return self._DBInstanceId
|
|
@@ -8213,7 +8216,7 @@ class DescribeDBErrlogsRequest(AbstractModel):
|
|
|
8213
8216
|
|
|
8214
8217
|
@property
|
|
8215
8218
|
def StartTime(self):
|
|
8216
|
-
r"""
|
|
8219
|
+
r"""<p>查询起始时间,形如2018-01-01 00:00:00。日志保留时间默认为7天,起始时间不能超出保留时间范围。</p>
|
|
8217
8220
|
:rtype: str
|
|
8218
8221
|
"""
|
|
8219
8222
|
return self._StartTime
|
|
@@ -8224,7 +8227,7 @@ class DescribeDBErrlogsRequest(AbstractModel):
|
|
|
8224
8227
|
|
|
8225
8228
|
@property
|
|
8226
8229
|
def EndTime(self):
|
|
8227
|
-
r"""
|
|
8230
|
+
r"""<p>查询结束时间,形如2018-01-01 00:00:00。</p>
|
|
8228
8231
|
:rtype: str
|
|
8229
8232
|
"""
|
|
8230
8233
|
return self._EndTime
|
|
@@ -8235,7 +8238,7 @@ class DescribeDBErrlogsRequest(AbstractModel):
|
|
|
8235
8238
|
|
|
8236
8239
|
@property
|
|
8237
8240
|
def DatabaseName(self):
|
|
8238
|
-
r"""
|
|
8241
|
+
r"""<p>数据库名字。</p>
|
|
8239
8242
|
:rtype: str
|
|
8240
8243
|
"""
|
|
8241
8244
|
return self._DatabaseName
|
|
@@ -8246,7 +8249,7 @@ class DescribeDBErrlogsRequest(AbstractModel):
|
|
|
8246
8249
|
|
|
8247
8250
|
@property
|
|
8248
8251
|
def SearchKeys(self):
|
|
8249
|
-
r"""
|
|
8252
|
+
r"""<p>搜索关键字。</p>
|
|
8250
8253
|
:rtype: list of str
|
|
8251
8254
|
"""
|
|
8252
8255
|
return self._SearchKeys
|
|
@@ -8257,7 +8260,7 @@ class DescribeDBErrlogsRequest(AbstractModel):
|
|
|
8257
8260
|
|
|
8258
8261
|
@property
|
|
8259
8262
|
def Limit(self):
|
|
8260
|
-
r"""
|
|
8263
|
+
r"""<p>每页显示数量,取值范围为1-100。默认值为50。</p>
|
|
8261
8264
|
:rtype: int
|
|
8262
8265
|
"""
|
|
8263
8266
|
return self._Limit
|
|
@@ -8268,7 +8271,7 @@ class DescribeDBErrlogsRequest(AbstractModel):
|
|
|
8268
8271
|
|
|
8269
8272
|
@property
|
|
8270
8273
|
def Offset(self):
|
|
8271
|
-
r"""
|
|
8274
|
+
r"""<p>数据偏移量,从0开始。默认值为0。</p>
|
|
8272
8275
|
:rtype: int
|
|
8273
8276
|
"""
|
|
8274
8277
|
return self._Offset
|
|
@@ -8277,6 +8280,17 @@ class DescribeDBErrlogsRequest(AbstractModel):
|
|
|
8277
8280
|
def Offset(self, Offset):
|
|
8278
8281
|
self._Offset = Offset
|
|
8279
8282
|
|
|
8283
|
+
@property
|
|
8284
|
+
def LogFilters(self):
|
|
8285
|
+
r"""<p>日志过滤条件。格式为 [{Type: "ApplicationName", Compare: "INC", Value: ["123"]}]。</p>
|
|
8286
|
+
:rtype: list of LogFilter
|
|
8287
|
+
"""
|
|
8288
|
+
return self._LogFilters
|
|
8289
|
+
|
|
8290
|
+
@LogFilters.setter
|
|
8291
|
+
def LogFilters(self, LogFilters):
|
|
8292
|
+
self._LogFilters = LogFilters
|
|
8293
|
+
|
|
8280
8294
|
|
|
8281
8295
|
def _deserialize(self, params):
|
|
8282
8296
|
self._DBInstanceId = params.get("DBInstanceId")
|
|
@@ -8286,6 +8300,12 @@ class DescribeDBErrlogsRequest(AbstractModel):
|
|
|
8286
8300
|
self._SearchKeys = params.get("SearchKeys")
|
|
8287
8301
|
self._Limit = params.get("Limit")
|
|
8288
8302
|
self._Offset = params.get("Offset")
|
|
8303
|
+
if params.get("LogFilters") is not None:
|
|
8304
|
+
self._LogFilters = []
|
|
8305
|
+
for item in params.get("LogFilters"):
|
|
8306
|
+
obj = LogFilter()
|
|
8307
|
+
obj._deserialize(item)
|
|
8308
|
+
self._LogFilters.append(obj)
|
|
8289
8309
|
memeber_set = set(params.keys())
|
|
8290
8310
|
for name, value in vars(self).items():
|
|
8291
8311
|
property_name = name[1:]
|
|
@@ -8303,9 +8323,9 @@ class DescribeDBErrlogsResponse(AbstractModel):
|
|
|
8303
8323
|
|
|
8304
8324
|
def __init__(self):
|
|
8305
8325
|
r"""
|
|
8306
|
-
:param _TotalCount:
|
|
8326
|
+
:param _TotalCount: <p>查询到的日志数量,最大值为10000条。</p>
|
|
8307
8327
|
:type TotalCount: int
|
|
8308
|
-
:param _Details:
|
|
8328
|
+
:param _Details: <p>错误日志详细信息集合。</p>
|
|
8309
8329
|
:type Details: list of ErrLogDetail
|
|
8310
8330
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8311
8331
|
:type RequestId: str
|
|
@@ -8316,7 +8336,7 @@ class DescribeDBErrlogsResponse(AbstractModel):
|
|
|
8316
8336
|
|
|
8317
8337
|
@property
|
|
8318
8338
|
def TotalCount(self):
|
|
8319
|
-
r"""
|
|
8339
|
+
r"""<p>查询到的日志数量,最大值为10000条。</p>
|
|
8320
8340
|
:rtype: int
|
|
8321
8341
|
"""
|
|
8322
8342
|
return self._TotalCount
|
|
@@ -8327,7 +8347,7 @@ class DescribeDBErrlogsResponse(AbstractModel):
|
|
|
8327
8347
|
|
|
8328
8348
|
@property
|
|
8329
8349
|
def Details(self):
|
|
8330
|
-
r"""
|
|
8350
|
+
r"""<p>错误日志详细信息集合。</p>
|
|
8331
8351
|
:rtype: list of ErrLogDetail
|
|
8332
8352
|
"""
|
|
8333
8353
|
return self._Details
|
|
@@ -12333,23 +12353,51 @@ class ErrLogDetail(AbstractModel):
|
|
|
12333
12353
|
|
|
12334
12354
|
def __init__(self):
|
|
12335
12355
|
r"""
|
|
12336
|
-
:param _UserName:
|
|
12356
|
+
:param _UserName: <p>用户名</p>
|
|
12337
12357
|
:type UserName: str
|
|
12338
|
-
:param _Database:
|
|
12358
|
+
:param _Database: <p>数据库名字</p>
|
|
12339
12359
|
:type Database: str
|
|
12340
|
-
:param _ErrTime:
|
|
12360
|
+
:param _ErrTime: <p>错误发生时间</p>
|
|
12341
12361
|
:type ErrTime: str
|
|
12342
|
-
:param _ErrMsg:
|
|
12362
|
+
:param _ErrMsg: <p>错误消息</p>
|
|
12343
12363
|
:type ErrMsg: str
|
|
12364
|
+
:param _ProcessId: <p>进程ID</p>
|
|
12365
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12366
|
+
:type ProcessId: int
|
|
12367
|
+
:param _ClientAddr: <p>客户端地址</p>
|
|
12368
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12369
|
+
:type ClientAddr: str
|
|
12370
|
+
:param _SessionId: <p>会话ID</p>
|
|
12371
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12372
|
+
:type SessionId: str
|
|
12373
|
+
:param _SessionStartTime: <p>会话开始时间</p>
|
|
12374
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12375
|
+
:type SessionStartTime: str
|
|
12376
|
+
:param _VirtualTransactionId: <p>虚拟事务ID</p>
|
|
12377
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12378
|
+
:type VirtualTransactionId: str
|
|
12379
|
+
:param _SqlStateCode: <p>SQLSTATE错误码</p>
|
|
12380
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12381
|
+
:type SqlStateCode: str
|
|
12382
|
+
:param _ApplicationName: <p>客户端应用名称</p>
|
|
12383
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12384
|
+
:type ApplicationName: str
|
|
12344
12385
|
"""
|
|
12345
12386
|
self._UserName = None
|
|
12346
12387
|
self._Database = None
|
|
12347
12388
|
self._ErrTime = None
|
|
12348
12389
|
self._ErrMsg = None
|
|
12390
|
+
self._ProcessId = None
|
|
12391
|
+
self._ClientAddr = None
|
|
12392
|
+
self._SessionId = None
|
|
12393
|
+
self._SessionStartTime = None
|
|
12394
|
+
self._VirtualTransactionId = None
|
|
12395
|
+
self._SqlStateCode = None
|
|
12396
|
+
self._ApplicationName = None
|
|
12349
12397
|
|
|
12350
12398
|
@property
|
|
12351
12399
|
def UserName(self):
|
|
12352
|
-
r"""
|
|
12400
|
+
r"""<p>用户名</p>
|
|
12353
12401
|
:rtype: str
|
|
12354
12402
|
"""
|
|
12355
12403
|
return self._UserName
|
|
@@ -12360,7 +12408,7 @@ class ErrLogDetail(AbstractModel):
|
|
|
12360
12408
|
|
|
12361
12409
|
@property
|
|
12362
12410
|
def Database(self):
|
|
12363
|
-
r"""
|
|
12411
|
+
r"""<p>数据库名字</p>
|
|
12364
12412
|
:rtype: str
|
|
12365
12413
|
"""
|
|
12366
12414
|
return self._Database
|
|
@@ -12371,7 +12419,7 @@ class ErrLogDetail(AbstractModel):
|
|
|
12371
12419
|
|
|
12372
12420
|
@property
|
|
12373
12421
|
def ErrTime(self):
|
|
12374
|
-
r"""
|
|
12422
|
+
r"""<p>错误发生时间</p>
|
|
12375
12423
|
:rtype: str
|
|
12376
12424
|
"""
|
|
12377
12425
|
return self._ErrTime
|
|
@@ -12382,7 +12430,7 @@ class ErrLogDetail(AbstractModel):
|
|
|
12382
12430
|
|
|
12383
12431
|
@property
|
|
12384
12432
|
def ErrMsg(self):
|
|
12385
|
-
r"""
|
|
12433
|
+
r"""<p>错误消息</p>
|
|
12386
12434
|
:rtype: str
|
|
12387
12435
|
"""
|
|
12388
12436
|
return self._ErrMsg
|
|
@@ -12391,12 +12439,103 @@ class ErrLogDetail(AbstractModel):
|
|
|
12391
12439
|
def ErrMsg(self, ErrMsg):
|
|
12392
12440
|
self._ErrMsg = ErrMsg
|
|
12393
12441
|
|
|
12442
|
+
@property
|
|
12443
|
+
def ProcessId(self):
|
|
12444
|
+
r"""<p>进程ID</p>
|
|
12445
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12446
|
+
:rtype: int
|
|
12447
|
+
"""
|
|
12448
|
+
return self._ProcessId
|
|
12449
|
+
|
|
12450
|
+
@ProcessId.setter
|
|
12451
|
+
def ProcessId(self, ProcessId):
|
|
12452
|
+
self._ProcessId = ProcessId
|
|
12453
|
+
|
|
12454
|
+
@property
|
|
12455
|
+
def ClientAddr(self):
|
|
12456
|
+
r"""<p>客户端地址</p>
|
|
12457
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12458
|
+
:rtype: str
|
|
12459
|
+
"""
|
|
12460
|
+
return self._ClientAddr
|
|
12461
|
+
|
|
12462
|
+
@ClientAddr.setter
|
|
12463
|
+
def ClientAddr(self, ClientAddr):
|
|
12464
|
+
self._ClientAddr = ClientAddr
|
|
12465
|
+
|
|
12466
|
+
@property
|
|
12467
|
+
def SessionId(self):
|
|
12468
|
+
r"""<p>会话ID</p>
|
|
12469
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12470
|
+
:rtype: str
|
|
12471
|
+
"""
|
|
12472
|
+
return self._SessionId
|
|
12473
|
+
|
|
12474
|
+
@SessionId.setter
|
|
12475
|
+
def SessionId(self, SessionId):
|
|
12476
|
+
self._SessionId = SessionId
|
|
12477
|
+
|
|
12478
|
+
@property
|
|
12479
|
+
def SessionStartTime(self):
|
|
12480
|
+
r"""<p>会话开始时间</p>
|
|
12481
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12482
|
+
:rtype: str
|
|
12483
|
+
"""
|
|
12484
|
+
return self._SessionStartTime
|
|
12485
|
+
|
|
12486
|
+
@SessionStartTime.setter
|
|
12487
|
+
def SessionStartTime(self, SessionStartTime):
|
|
12488
|
+
self._SessionStartTime = SessionStartTime
|
|
12489
|
+
|
|
12490
|
+
@property
|
|
12491
|
+
def VirtualTransactionId(self):
|
|
12492
|
+
r"""<p>虚拟事务ID</p>
|
|
12493
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12494
|
+
:rtype: str
|
|
12495
|
+
"""
|
|
12496
|
+
return self._VirtualTransactionId
|
|
12497
|
+
|
|
12498
|
+
@VirtualTransactionId.setter
|
|
12499
|
+
def VirtualTransactionId(self, VirtualTransactionId):
|
|
12500
|
+
self._VirtualTransactionId = VirtualTransactionId
|
|
12501
|
+
|
|
12502
|
+
@property
|
|
12503
|
+
def SqlStateCode(self):
|
|
12504
|
+
r"""<p>SQLSTATE错误码</p>
|
|
12505
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12506
|
+
:rtype: str
|
|
12507
|
+
"""
|
|
12508
|
+
return self._SqlStateCode
|
|
12509
|
+
|
|
12510
|
+
@SqlStateCode.setter
|
|
12511
|
+
def SqlStateCode(self, SqlStateCode):
|
|
12512
|
+
self._SqlStateCode = SqlStateCode
|
|
12513
|
+
|
|
12514
|
+
@property
|
|
12515
|
+
def ApplicationName(self):
|
|
12516
|
+
r"""<p>客户端应用名称</p>
|
|
12517
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12518
|
+
:rtype: str
|
|
12519
|
+
"""
|
|
12520
|
+
return self._ApplicationName
|
|
12521
|
+
|
|
12522
|
+
@ApplicationName.setter
|
|
12523
|
+
def ApplicationName(self, ApplicationName):
|
|
12524
|
+
self._ApplicationName = ApplicationName
|
|
12525
|
+
|
|
12394
12526
|
|
|
12395
12527
|
def _deserialize(self, params):
|
|
12396
12528
|
self._UserName = params.get("UserName")
|
|
12397
12529
|
self._Database = params.get("Database")
|
|
12398
12530
|
self._ErrTime = params.get("ErrTime")
|
|
12399
12531
|
self._ErrMsg = params.get("ErrMsg")
|
|
12532
|
+
self._ProcessId = params.get("ProcessId")
|
|
12533
|
+
self._ClientAddr = params.get("ClientAddr")
|
|
12534
|
+
self._SessionId = params.get("SessionId")
|
|
12535
|
+
self._SessionStartTime = params.get("SessionStartTime")
|
|
12536
|
+
self._VirtualTransactionId = params.get("VirtualTransactionId")
|
|
12537
|
+
self._SqlStateCode = params.get("SqlStateCode")
|
|
12538
|
+
self._ApplicationName = params.get("ApplicationName")
|
|
12400
12539
|
memeber_set = set(params.keys())
|
|
12401
12540
|
for name, value in vars(self).items():
|
|
12402
12541
|
property_name = name[1:]
|
|
@@ -13531,6 +13670,72 @@ class LogBackup(AbstractModel):
|
|
|
13531
13670
|
|
|
13532
13671
|
|
|
13533
13672
|
|
|
13673
|
+
class LogFilter(AbstractModel):
|
|
13674
|
+
r"""日志过滤条件
|
|
13675
|
+
|
|
13676
|
+
"""
|
|
13677
|
+
|
|
13678
|
+
def __init__(self):
|
|
13679
|
+
r"""
|
|
13680
|
+
:param _Type: <p>过滤条件名称。</p><p>如:sql - SQL命令详情</p><p>host – 客户端 IP;<br>user – 数据库账户。</p>
|
|
13681
|
+
:type Type: str
|
|
13682
|
+
:param _Compare: <p>过滤条件匹配类型。支持:<br>INC – 包含; (多个值之间是||的关系)<br>EXC – 不包含; (多个值之间是&&的关系)<br>EQS – 等于; (多个值之间是||的关系)<br>NEQ – 不等于;(多个值之间是&&的关系)<br>RG – 范围;</p>
|
|
13683
|
+
:type Compare: str
|
|
13684
|
+
:param _Value: <p>过滤条件匹配值。当Compare=RG时,例:["1-100","200-300"]</p>
|
|
13685
|
+
:type Value: list of str
|
|
13686
|
+
"""
|
|
13687
|
+
self._Type = None
|
|
13688
|
+
self._Compare = None
|
|
13689
|
+
self._Value = None
|
|
13690
|
+
|
|
13691
|
+
@property
|
|
13692
|
+
def Type(self):
|
|
13693
|
+
r"""<p>过滤条件名称。</p><p>如:sql - SQL命令详情</p><p>host – 客户端 IP;<br>user – 数据库账户。</p>
|
|
13694
|
+
:rtype: str
|
|
13695
|
+
"""
|
|
13696
|
+
return self._Type
|
|
13697
|
+
|
|
13698
|
+
@Type.setter
|
|
13699
|
+
def Type(self, Type):
|
|
13700
|
+
self._Type = Type
|
|
13701
|
+
|
|
13702
|
+
@property
|
|
13703
|
+
def Compare(self):
|
|
13704
|
+
r"""<p>过滤条件匹配类型。支持:<br>INC – 包含; (多个值之间是||的关系)<br>EXC – 不包含; (多个值之间是&&的关系)<br>EQS – 等于; (多个值之间是||的关系)<br>NEQ – 不等于;(多个值之间是&&的关系)<br>RG – 范围;</p>
|
|
13705
|
+
:rtype: str
|
|
13706
|
+
"""
|
|
13707
|
+
return self._Compare
|
|
13708
|
+
|
|
13709
|
+
@Compare.setter
|
|
13710
|
+
def Compare(self, Compare):
|
|
13711
|
+
self._Compare = Compare
|
|
13712
|
+
|
|
13713
|
+
@property
|
|
13714
|
+
def Value(self):
|
|
13715
|
+
r"""<p>过滤条件匹配值。当Compare=RG时,例:["1-100","200-300"]</p>
|
|
13716
|
+
:rtype: list of str
|
|
13717
|
+
"""
|
|
13718
|
+
return self._Value
|
|
13719
|
+
|
|
13720
|
+
@Value.setter
|
|
13721
|
+
def Value(self, Value):
|
|
13722
|
+
self._Value = Value
|
|
13723
|
+
|
|
13724
|
+
|
|
13725
|
+
def _deserialize(self, params):
|
|
13726
|
+
self._Type = params.get("Type")
|
|
13727
|
+
self._Compare = params.get("Compare")
|
|
13728
|
+
self._Value = params.get("Value")
|
|
13729
|
+
memeber_set = set(params.keys())
|
|
13730
|
+
for name, value in vars(self).items():
|
|
13731
|
+
property_name = name[1:]
|
|
13732
|
+
if property_name in memeber_set:
|
|
13733
|
+
memeber_set.remove(property_name)
|
|
13734
|
+
if len(memeber_set) > 0:
|
|
13735
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
13736
|
+
|
|
13737
|
+
|
|
13738
|
+
|
|
13534
13739
|
class ModifyAccountPrivilegesRequest(AbstractModel):
|
|
13535
13740
|
r"""ModifyAccountPrivileges请求参数结构体
|
|
13536
13741
|
|
|
@@ -17555,18 +17760,33 @@ class RawSlowQuery(AbstractModel):
|
|
|
17555
17760
|
|
|
17556
17761
|
def __init__(self):
|
|
17557
17762
|
r"""
|
|
17558
|
-
:param _RawQuery:
|
|
17763
|
+
:param _RawQuery: <p>慢SQL 语句</p>
|
|
17559
17764
|
:type RawQuery: str
|
|
17560
|
-
:param _DatabaseName:
|
|
17765
|
+
:param _DatabaseName: <p>慢SQL 查询的数据库</p>
|
|
17561
17766
|
:type DatabaseName: str
|
|
17562
|
-
:param _Duration:
|
|
17767
|
+
:param _Duration: <p>慢SQL执行 耗时</p>
|
|
17563
17768
|
:type Duration: float
|
|
17564
|
-
:param _ClientAddr:
|
|
17769
|
+
:param _ClientAddr: <p>执行慢SQL的客户端</p>
|
|
17565
17770
|
:type ClientAddr: str
|
|
17566
|
-
:param _UserName:
|
|
17771
|
+
:param _UserName: <p>执行慢SQL的用户名</p>
|
|
17567
17772
|
:type UserName: str
|
|
17568
|
-
:param _SessionStartTime:
|
|
17773
|
+
:param _SessionStartTime: <p>慢SQL执行的开始时间</p>
|
|
17569
17774
|
:type SessionStartTime: str
|
|
17775
|
+
:param _ProcessId: <p>执行慢SQL的进程ID</p>
|
|
17776
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
17777
|
+
:type ProcessId: int
|
|
17778
|
+
:param _SessionId: <p>执行慢SQL的会话ID</p>
|
|
17779
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
17780
|
+
:type SessionId: str
|
|
17781
|
+
:param _VirtualTransactionId: <p>执行慢SQL的事务ID</p>
|
|
17782
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
17783
|
+
:type VirtualTransactionId: str
|
|
17784
|
+
:param _SqlStateCode: <p>执行慢SQL的状态码</p>
|
|
17785
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
17786
|
+
:type SqlStateCode: str
|
|
17787
|
+
:param _ApplicationName: <p>执行慢SQL的客户端名称</p>
|
|
17788
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
17789
|
+
:type ApplicationName: str
|
|
17570
17790
|
"""
|
|
17571
17791
|
self._RawQuery = None
|
|
17572
17792
|
self._DatabaseName = None
|
|
@@ -17574,10 +17794,15 @@ class RawSlowQuery(AbstractModel):
|
|
|
17574
17794
|
self._ClientAddr = None
|
|
17575
17795
|
self._UserName = None
|
|
17576
17796
|
self._SessionStartTime = None
|
|
17797
|
+
self._ProcessId = None
|
|
17798
|
+
self._SessionId = None
|
|
17799
|
+
self._VirtualTransactionId = None
|
|
17800
|
+
self._SqlStateCode = None
|
|
17801
|
+
self._ApplicationName = None
|
|
17577
17802
|
|
|
17578
17803
|
@property
|
|
17579
17804
|
def RawQuery(self):
|
|
17580
|
-
r"""
|
|
17805
|
+
r"""<p>慢SQL 语句</p>
|
|
17581
17806
|
:rtype: str
|
|
17582
17807
|
"""
|
|
17583
17808
|
return self._RawQuery
|
|
@@ -17588,7 +17813,7 @@ class RawSlowQuery(AbstractModel):
|
|
|
17588
17813
|
|
|
17589
17814
|
@property
|
|
17590
17815
|
def DatabaseName(self):
|
|
17591
|
-
r"""
|
|
17816
|
+
r"""<p>慢SQL 查询的数据库</p>
|
|
17592
17817
|
:rtype: str
|
|
17593
17818
|
"""
|
|
17594
17819
|
return self._DatabaseName
|
|
@@ -17599,7 +17824,7 @@ class RawSlowQuery(AbstractModel):
|
|
|
17599
17824
|
|
|
17600
17825
|
@property
|
|
17601
17826
|
def Duration(self):
|
|
17602
|
-
r"""
|
|
17827
|
+
r"""<p>慢SQL执行 耗时</p>
|
|
17603
17828
|
:rtype: float
|
|
17604
17829
|
"""
|
|
17605
17830
|
return self._Duration
|
|
@@ -17610,7 +17835,7 @@ class RawSlowQuery(AbstractModel):
|
|
|
17610
17835
|
|
|
17611
17836
|
@property
|
|
17612
17837
|
def ClientAddr(self):
|
|
17613
|
-
r"""
|
|
17838
|
+
r"""<p>执行慢SQL的客户端</p>
|
|
17614
17839
|
:rtype: str
|
|
17615
17840
|
"""
|
|
17616
17841
|
return self._ClientAddr
|
|
@@ -17621,7 +17846,7 @@ class RawSlowQuery(AbstractModel):
|
|
|
17621
17846
|
|
|
17622
17847
|
@property
|
|
17623
17848
|
def UserName(self):
|
|
17624
|
-
r"""
|
|
17849
|
+
r"""<p>执行慢SQL的用户名</p>
|
|
17625
17850
|
:rtype: str
|
|
17626
17851
|
"""
|
|
17627
17852
|
return self._UserName
|
|
@@ -17632,7 +17857,7 @@ class RawSlowQuery(AbstractModel):
|
|
|
17632
17857
|
|
|
17633
17858
|
@property
|
|
17634
17859
|
def SessionStartTime(self):
|
|
17635
|
-
r"""
|
|
17860
|
+
r"""<p>慢SQL执行的开始时间</p>
|
|
17636
17861
|
:rtype: str
|
|
17637
17862
|
"""
|
|
17638
17863
|
return self._SessionStartTime
|
|
@@ -17641,6 +17866,66 @@ class RawSlowQuery(AbstractModel):
|
|
|
17641
17866
|
def SessionStartTime(self, SessionStartTime):
|
|
17642
17867
|
self._SessionStartTime = SessionStartTime
|
|
17643
17868
|
|
|
17869
|
+
@property
|
|
17870
|
+
def ProcessId(self):
|
|
17871
|
+
r"""<p>执行慢SQL的进程ID</p>
|
|
17872
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
17873
|
+
:rtype: int
|
|
17874
|
+
"""
|
|
17875
|
+
return self._ProcessId
|
|
17876
|
+
|
|
17877
|
+
@ProcessId.setter
|
|
17878
|
+
def ProcessId(self, ProcessId):
|
|
17879
|
+
self._ProcessId = ProcessId
|
|
17880
|
+
|
|
17881
|
+
@property
|
|
17882
|
+
def SessionId(self):
|
|
17883
|
+
r"""<p>执行慢SQL的会话ID</p>
|
|
17884
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
17885
|
+
:rtype: str
|
|
17886
|
+
"""
|
|
17887
|
+
return self._SessionId
|
|
17888
|
+
|
|
17889
|
+
@SessionId.setter
|
|
17890
|
+
def SessionId(self, SessionId):
|
|
17891
|
+
self._SessionId = SessionId
|
|
17892
|
+
|
|
17893
|
+
@property
|
|
17894
|
+
def VirtualTransactionId(self):
|
|
17895
|
+
r"""<p>执行慢SQL的事务ID</p>
|
|
17896
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
17897
|
+
:rtype: str
|
|
17898
|
+
"""
|
|
17899
|
+
return self._VirtualTransactionId
|
|
17900
|
+
|
|
17901
|
+
@VirtualTransactionId.setter
|
|
17902
|
+
def VirtualTransactionId(self, VirtualTransactionId):
|
|
17903
|
+
self._VirtualTransactionId = VirtualTransactionId
|
|
17904
|
+
|
|
17905
|
+
@property
|
|
17906
|
+
def SqlStateCode(self):
|
|
17907
|
+
r"""<p>执行慢SQL的状态码</p>
|
|
17908
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
17909
|
+
:rtype: str
|
|
17910
|
+
"""
|
|
17911
|
+
return self._SqlStateCode
|
|
17912
|
+
|
|
17913
|
+
@SqlStateCode.setter
|
|
17914
|
+
def SqlStateCode(self, SqlStateCode):
|
|
17915
|
+
self._SqlStateCode = SqlStateCode
|
|
17916
|
+
|
|
17917
|
+
@property
|
|
17918
|
+
def ApplicationName(self):
|
|
17919
|
+
r"""<p>执行慢SQL的客户端名称</p>
|
|
17920
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
17921
|
+
:rtype: str
|
|
17922
|
+
"""
|
|
17923
|
+
return self._ApplicationName
|
|
17924
|
+
|
|
17925
|
+
@ApplicationName.setter
|
|
17926
|
+
def ApplicationName(self, ApplicationName):
|
|
17927
|
+
self._ApplicationName = ApplicationName
|
|
17928
|
+
|
|
17644
17929
|
|
|
17645
17930
|
def _deserialize(self, params):
|
|
17646
17931
|
self._RawQuery = params.get("RawQuery")
|
|
@@ -17649,6 +17934,11 @@ class RawSlowQuery(AbstractModel):
|
|
|
17649
17934
|
self._ClientAddr = params.get("ClientAddr")
|
|
17650
17935
|
self._UserName = params.get("UserName")
|
|
17651
17936
|
self._SessionStartTime = params.get("SessionStartTime")
|
|
17937
|
+
self._ProcessId = params.get("ProcessId")
|
|
17938
|
+
self._SessionId = params.get("SessionId")
|
|
17939
|
+
self._VirtualTransactionId = params.get("VirtualTransactionId")
|
|
17940
|
+
self._SqlStateCode = params.get("SqlStateCode")
|
|
17941
|
+
self._ApplicationName = params.get("ApplicationName")
|
|
17652
17942
|
memeber_set = set(params.keys())
|
|
17653
17943
|
for name, value in vars(self).items():
|
|
17654
17944
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-postgres
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.84
|
|
4
4
|
Summary: Tencent Cloud Postgres 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.84
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
tencentcloud_sdk_python_postgres-3.1.84/tencentcloud_sdk_python_postgres.egg-info/requires.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.84
|
tencentcloud_sdk_python_postgres-3.1.68/tencentcloud_sdk_python_postgres.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.68
|
{tencentcloud_sdk_python_postgres-3.1.68 → tencentcloud_sdk_python_postgres-3.1.84}/README.rst
RENAMED
|
File without changes
|
{tencentcloud_sdk_python_postgres-3.1.68 → tencentcloud_sdk_python_postgres-3.1.84}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|