tencentcloud-sdk-python 3.0.1081__py2.py3-none-any.whl → 3.0.1082__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 might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/errorcodes.py +3 -0
- tencentcloud/cdb/v20170320/models.py +38 -1
- tencentcloud/cdwdoris/v20211228/models.py +39 -0
- tencentcloud/cfw/v20190904/models.py +316 -26
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +23 -0
- tencentcloud/cynosdb/v20190107/models.py +440 -0
- tencentcloud/dasb/v20191018/models.py +26 -0
- tencentcloud/emr/v20190103/models.py +26 -0
- tencentcloud/es/v20180416/models.py +12 -0
- tencentcloud/ess/v20201111/ess_client.py +36 -2
- tencentcloud/ess/v20201111/models.py +145 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +33 -0
- tencentcloud/essbasic/v20210526/models.py +119 -8
- tencentcloud/hai/v20230812/errorcodes.py +3 -0
- tencentcloud/kms/v20190118/models.py +1 -1
- tencentcloud/monitor/v20180724/models.py +26 -0
- tencentcloud/ocr/v20181119/models.py +2 -2
- tencentcloud/postgres/v20170312/models.py +5 -5
- tencentcloud/scf/v20180416/errorcodes.py +3 -0
- tencentcloud/tione/v20211111/errorcodes.py +9 -0
- tencentcloud/tione/v20211111/models.py +53 -34
- tencentcloud/tione/v20211111/tione_client.py +6 -6
- tencentcloud/tmt/v20180321/models.py +1 -1
- tencentcloud/tmt/v20180321/tmt_client.py +1 -1
- tencentcloud/trtc/v20190722/models.py +15 -3
- tencentcloud/trtc/v20190722/trtc_client.py +2 -2
- tencentcloud/vod/v20180717/models.py +67 -0
- tencentcloud/waf/v20180125/models.py +710 -162
- tencentcloud/waf/v20180125/waf_client.py +6 -7
- tencentcloud/wedata/v20210820/models.py +77152 -44096
- tencentcloud/wedata/v20210820/wedata_client.py +4504 -1488
- {tencentcloud_sdk_python-3.0.1081.dist-info → tencentcloud_sdk_python-3.0.1082.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1081.dist-info → tencentcloud_sdk_python-3.0.1082.dist-info}/RECORD +38 -38
- {tencentcloud_sdk_python-3.0.1081.dist-info → tencentcloud_sdk_python-3.0.1082.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1081.dist-info → tencentcloud_sdk_python-3.0.1082.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1081.dist-info → tencentcloud_sdk_python-3.0.1082.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -1564,7 +1564,7 @@ class CdbClient(AbstractClient):
|
|
|
1564
1564
|
|
|
1565
1565
|
|
|
1566
1566
|
def DescribeDBInstanceLogToCLS(self, request):
|
|
1567
|
-
"""本接口(DescribeDBInstanceLogToCLS)用于查询实例慢日志、错误日志投递CLS的配置,通过
|
|
1567
|
+
"""本接口(DescribeDBInstanceLogToCLS)用于查询实例慢日志、错误日志投递CLS的配置,通过AppId、Region以及实例ID过滤出当前实例日志投递CLS的配置。
|
|
1568
1568
|
|
|
1569
1569
|
:param request: Request instance for DescribeDBInstanceLogToCLS.
|
|
1570
1570
|
:type request: :class:`tencentcloud.cdb.v20170320.models.DescribeDBInstanceLogToCLSRequest`
|
|
@@ -89,6 +89,9 @@ FAILEDOPERATION_JSONMARSHALERROR = 'FailedOperation.JsonMarshalError'
|
|
|
89
89
|
# json反序列化失败。
|
|
90
90
|
FAILEDOPERATION_JSONUNMARSHALERROR = 'FailedOperation.JsonUnmarshalError'
|
|
91
91
|
|
|
92
|
+
# 返回数据量过大,请缩减数据查询范围
|
|
93
|
+
FAILEDOPERATION_LOGCONTENTOVERLIMIT = 'FailedOperation.LogContentOverLimit'
|
|
94
|
+
|
|
92
95
|
# 检查到改动前后策略一致,无改动点。
|
|
93
96
|
FAILEDOPERATION_NOTCHANGESTRATEGY = 'FailedOperation.NotChangeStrategy'
|
|
94
97
|
|
|
@@ -12438,8 +12438,11 @@ class DescribeDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
12438
12438
|
r"""
|
|
12439
12439
|
:param _InstanceId: 实例ID
|
|
12440
12440
|
:type InstanceId: str
|
|
12441
|
+
:param _ClsRegion: CLS服务所在地域
|
|
12442
|
+
:type ClsRegion: str
|
|
12441
12443
|
"""
|
|
12442
12444
|
self._InstanceId = None
|
|
12445
|
+
self._ClsRegion = None
|
|
12443
12446
|
|
|
12444
12447
|
@property
|
|
12445
12448
|
def InstanceId(self):
|
|
@@ -12449,9 +12452,18 @@ class DescribeDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
12449
12452
|
def InstanceId(self, InstanceId):
|
|
12450
12453
|
self._InstanceId = InstanceId
|
|
12451
12454
|
|
|
12455
|
+
@property
|
|
12456
|
+
def ClsRegion(self):
|
|
12457
|
+
return self._ClsRegion
|
|
12458
|
+
|
|
12459
|
+
@ClsRegion.setter
|
|
12460
|
+
def ClsRegion(self, ClsRegion):
|
|
12461
|
+
self._ClsRegion = ClsRegion
|
|
12462
|
+
|
|
12452
12463
|
|
|
12453
12464
|
def _deserialize(self, params):
|
|
12454
12465
|
self._InstanceId = params.get("InstanceId")
|
|
12466
|
+
self._ClsRegion = params.get("ClsRegion")
|
|
12455
12467
|
memeber_set = set(params.keys())
|
|
12456
12468
|
for name, value in vars(self).items():
|
|
12457
12469
|
property_name = name[1:]
|
|
@@ -19373,10 +19385,14 @@ class LogToCLSConfig(AbstractModel):
|
|
|
19373
19385
|
:param _LogTopicId: 日志主题ID
|
|
19374
19386
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
19375
19387
|
:type LogTopicId: str
|
|
19388
|
+
:param _ClsRegion: CLS服务所在地域
|
|
19389
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
19390
|
+
:type ClsRegion: str
|
|
19376
19391
|
"""
|
|
19377
19392
|
self._Status = None
|
|
19378
19393
|
self._LogSetId = None
|
|
19379
19394
|
self._LogTopicId = None
|
|
19395
|
+
self._ClsRegion = None
|
|
19380
19396
|
|
|
19381
19397
|
@property
|
|
19382
19398
|
def Status(self):
|
|
@@ -19402,11 +19418,20 @@ class LogToCLSConfig(AbstractModel):
|
|
|
19402
19418
|
def LogTopicId(self, LogTopicId):
|
|
19403
19419
|
self._LogTopicId = LogTopicId
|
|
19404
19420
|
|
|
19421
|
+
@property
|
|
19422
|
+
def ClsRegion(self):
|
|
19423
|
+
return self._ClsRegion
|
|
19424
|
+
|
|
19425
|
+
@ClsRegion.setter
|
|
19426
|
+
def ClsRegion(self, ClsRegion):
|
|
19427
|
+
self._ClsRegion = ClsRegion
|
|
19428
|
+
|
|
19405
19429
|
|
|
19406
19430
|
def _deserialize(self, params):
|
|
19407
19431
|
self._Status = params.get("Status")
|
|
19408
19432
|
self._LogSetId = params.get("LogSetId")
|
|
19409
19433
|
self._LogTopicId = params.get("LogTopicId")
|
|
19434
|
+
self._ClsRegion = params.get("ClsRegion")
|
|
19410
19435
|
memeber_set = set(params.keys())
|
|
19411
19436
|
for name, value in vars(self).items():
|
|
19412
19437
|
property_name = name[1:]
|
|
@@ -21530,7 +21555,7 @@ class ModifyDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
21530
21555
|
r"""
|
|
21531
21556
|
:param _InstanceId: 实例ID
|
|
21532
21557
|
:type InstanceId: str
|
|
21533
|
-
:param _LogType: 日志类型:error/
|
|
21558
|
+
:param _LogType: 日志类型:error/slowlog
|
|
21534
21559
|
:type LogType: str
|
|
21535
21560
|
:param _Status: 投递状态:ON/OFF
|
|
21536
21561
|
:type Status: str
|
|
@@ -21546,6 +21571,8 @@ class ModifyDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
21546
21571
|
:type Period: int
|
|
21547
21572
|
:param _CreateIndex: 创建日志主题时,是否创建索引
|
|
21548
21573
|
:type CreateIndex: bool
|
|
21574
|
+
:param _ClsRegion: CLS所在地域
|
|
21575
|
+
:type ClsRegion: str
|
|
21549
21576
|
"""
|
|
21550
21577
|
self._InstanceId = None
|
|
21551
21578
|
self._LogType = None
|
|
@@ -21556,6 +21583,7 @@ class ModifyDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
21556
21583
|
self._LogTopic = None
|
|
21557
21584
|
self._Period = None
|
|
21558
21585
|
self._CreateIndex = None
|
|
21586
|
+
self._ClsRegion = None
|
|
21559
21587
|
|
|
21560
21588
|
@property
|
|
21561
21589
|
def InstanceId(self):
|
|
@@ -21629,6 +21657,14 @@ class ModifyDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
21629
21657
|
def CreateIndex(self, CreateIndex):
|
|
21630
21658
|
self._CreateIndex = CreateIndex
|
|
21631
21659
|
|
|
21660
|
+
@property
|
|
21661
|
+
def ClsRegion(self):
|
|
21662
|
+
return self._ClsRegion
|
|
21663
|
+
|
|
21664
|
+
@ClsRegion.setter
|
|
21665
|
+
def ClsRegion(self, ClsRegion):
|
|
21666
|
+
self._ClsRegion = ClsRegion
|
|
21667
|
+
|
|
21632
21668
|
|
|
21633
21669
|
def _deserialize(self, params):
|
|
21634
21670
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -21640,6 +21676,7 @@ class ModifyDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
21640
21676
|
self._LogTopic = params.get("LogTopic")
|
|
21641
21677
|
self._Period = params.get("Period")
|
|
21642
21678
|
self._CreateIndex = params.get("CreateIndex")
|
|
21679
|
+
self._ClsRegion = params.get("ClsRegion")
|
|
21643
21680
|
memeber_set = set(params.keys())
|
|
21644
21681
|
for name, value in vars(self).items():
|
|
21645
21682
|
property_name = name[1:]
|
|
@@ -4155,6 +4155,15 @@ class SlowQueryRecord(AbstractModel):
|
|
|
4155
4155
|
:param _IsQuery: 是否是查询,0:否,1:查询语句
|
|
4156
4156
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4157
4157
|
:type IsQuery: int
|
|
4158
|
+
:param _ResultBytesMB: ResultBytes的MB格式
|
|
4159
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4160
|
+
:type ResultBytesMB: float
|
|
4161
|
+
:param _MemoryUsageMB: MemoryUsage的MB表示
|
|
4162
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4163
|
+
:type MemoryUsageMB: float
|
|
4164
|
+
:param _DurationSec: DurationMs的秒表示
|
|
4165
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4166
|
+
:type DurationSec: float
|
|
4158
4167
|
"""
|
|
4159
4168
|
self._OsUser = None
|
|
4160
4169
|
self._InitialQueryId = None
|
|
@@ -4168,6 +4177,9 @@ class SlowQueryRecord(AbstractModel):
|
|
|
4168
4177
|
self._InitialAddress = None
|
|
4169
4178
|
self._DbName = None
|
|
4170
4179
|
self._IsQuery = None
|
|
4180
|
+
self._ResultBytesMB = None
|
|
4181
|
+
self._MemoryUsageMB = None
|
|
4182
|
+
self._DurationSec = None
|
|
4171
4183
|
|
|
4172
4184
|
@property
|
|
4173
4185
|
def OsUser(self):
|
|
@@ -4265,6 +4277,30 @@ class SlowQueryRecord(AbstractModel):
|
|
|
4265
4277
|
def IsQuery(self, IsQuery):
|
|
4266
4278
|
self._IsQuery = IsQuery
|
|
4267
4279
|
|
|
4280
|
+
@property
|
|
4281
|
+
def ResultBytesMB(self):
|
|
4282
|
+
return self._ResultBytesMB
|
|
4283
|
+
|
|
4284
|
+
@ResultBytesMB.setter
|
|
4285
|
+
def ResultBytesMB(self, ResultBytesMB):
|
|
4286
|
+
self._ResultBytesMB = ResultBytesMB
|
|
4287
|
+
|
|
4288
|
+
@property
|
|
4289
|
+
def MemoryUsageMB(self):
|
|
4290
|
+
return self._MemoryUsageMB
|
|
4291
|
+
|
|
4292
|
+
@MemoryUsageMB.setter
|
|
4293
|
+
def MemoryUsageMB(self, MemoryUsageMB):
|
|
4294
|
+
self._MemoryUsageMB = MemoryUsageMB
|
|
4295
|
+
|
|
4296
|
+
@property
|
|
4297
|
+
def DurationSec(self):
|
|
4298
|
+
return self._DurationSec
|
|
4299
|
+
|
|
4300
|
+
@DurationSec.setter
|
|
4301
|
+
def DurationSec(self, DurationSec):
|
|
4302
|
+
self._DurationSec = DurationSec
|
|
4303
|
+
|
|
4268
4304
|
|
|
4269
4305
|
def _deserialize(self, params):
|
|
4270
4306
|
self._OsUser = params.get("OsUser")
|
|
@@ -4279,6 +4315,9 @@ class SlowQueryRecord(AbstractModel):
|
|
|
4279
4315
|
self._InitialAddress = params.get("InitialAddress")
|
|
4280
4316
|
self._DbName = params.get("DbName")
|
|
4281
4317
|
self._IsQuery = params.get("IsQuery")
|
|
4318
|
+
self._ResultBytesMB = params.get("ResultBytesMB")
|
|
4319
|
+
self._MemoryUsageMB = params.get("MemoryUsageMB")
|
|
4320
|
+
self._DurationSec = params.get("DurationSec")
|
|
4282
4321
|
memeber_set = set(params.keys())
|
|
4283
4322
|
for name, value in vars(self).items():
|
|
4284
4323
|
property_name = name[1:]
|