tencentcloud-sdk-python-cls 3.0.1267__tar.gz → 3.0.1282__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-cls-3.0.1267 → tencentcloud-sdk-python-cls-3.0.1282}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cls-3.0.1267 → tencentcloud-sdk-python-cls-3.0.1282}/setup.py +1 -1
- {tencentcloud-sdk-python-cls-3.0.1267 → tencentcloud-sdk-python-cls-3.0.1282}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cls-3.0.1267 → tencentcloud-sdk-python-cls-3.0.1282}/tencentcloud/cls/v20201016/cls_client.py +1 -1
- {tencentcloud-sdk-python-cls-3.0.1267 → tencentcloud-sdk-python-cls-3.0.1282}/tencentcloud/cls/v20201016/models.py +46 -34
- {tencentcloud-sdk-python-cls-3.0.1267 → tencentcloud-sdk-python-cls-3.0.1282}/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cls-3.0.1282/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cls-3.0.1267/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cls-3.0.1267 → tencentcloud-sdk-python-cls-3.0.1282}/README.rst +0 -0
- {tencentcloud-sdk-python-cls-3.0.1267 → tencentcloud-sdk-python-cls-3.0.1282}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cls-3.0.1267 → tencentcloud-sdk-python-cls-3.0.1282}/tencentcloud/cls/__init__.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1267 → tencentcloud-sdk-python-cls-3.0.1282}/tencentcloud/cls/v20201016/__init__.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1267 → tencentcloud-sdk-python-cls-3.0.1282}/tencentcloud/cls/v20201016/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1267 → tencentcloud-sdk-python-cls-3.0.1282}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cls-3.0.1267 → tencentcloud-sdk-python-cls-3.0.1282}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cls-3.0.1267 → tencentcloud-sdk-python-cls-3.0.1282}/tencentcloud_sdk_python_cls.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-cls',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1282"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cls SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -2476,7 +2476,7 @@ class ClsClient(AbstractClient):
|
|
|
2476
2476
|
def SearchLog(self, request):
|
|
2477
2477
|
"""本接口用于检索分析日志,使用该接口时请注意如下事项:
|
|
2478
2478
|
1. 该接口除受默认接口请求频率限制外,针对单个日志主题,查询并发数不能超过15。
|
|
2479
|
-
2.
|
|
2479
|
+
2. 检索语法建议使用日志服务专用检索语法CQL,请使用SyntaxRule参数,将值设置为1,控制台默认也使用该语法规则。
|
|
2480
2480
|
3. API返回数据包最大49MB,建议启用 gzip 压缩(HTTP Request Header Accept-Encoding:gzip)。
|
|
2481
2481
|
|
|
2482
2482
|
:param request: Request instance for SearchLog.
|
|
@@ -2493,25 +2493,47 @@ class Ckafka(AbstractModel):
|
|
|
2493
2493
|
|
|
2494
2494
|
def __init__(self):
|
|
2495
2495
|
r"""
|
|
2496
|
+
:param _InstanceId: Ckafka 的 InstanceId
|
|
2497
|
+
:type InstanceId: str
|
|
2498
|
+
:param _TopicName: Ckafka 的 TopicName
|
|
2499
|
+
:type TopicName: str
|
|
2496
2500
|
:param _Vip: Ckafka 的 Vip
|
|
2497
2501
|
:type Vip: str
|
|
2498
2502
|
:param _Vport: Ckafka 的 Vport
|
|
2499
2503
|
:type Vport: str
|
|
2500
|
-
:param _InstanceId: Ckafka 的 InstanceId
|
|
2501
|
-
:type InstanceId: str
|
|
2502
2504
|
:param _InstanceName: Ckafka 的 InstanceName
|
|
2503
2505
|
:type InstanceName: str
|
|
2504
2506
|
:param _TopicId: Ckafka 的 TopicId
|
|
2505
2507
|
:type TopicId: str
|
|
2506
|
-
:param _TopicName: Ckafka 的 TopicName
|
|
2507
|
-
:type TopicName: str
|
|
2508
2508
|
"""
|
|
2509
|
+
self._InstanceId = None
|
|
2510
|
+
self._TopicName = None
|
|
2509
2511
|
self._Vip = None
|
|
2510
2512
|
self._Vport = None
|
|
2511
|
-
self._InstanceId = None
|
|
2512
2513
|
self._InstanceName = None
|
|
2513
2514
|
self._TopicId = None
|
|
2514
|
-
|
|
2515
|
+
|
|
2516
|
+
@property
|
|
2517
|
+
def InstanceId(self):
|
|
2518
|
+
"""Ckafka 的 InstanceId
|
|
2519
|
+
:rtype: str
|
|
2520
|
+
"""
|
|
2521
|
+
return self._InstanceId
|
|
2522
|
+
|
|
2523
|
+
@InstanceId.setter
|
|
2524
|
+
def InstanceId(self, InstanceId):
|
|
2525
|
+
self._InstanceId = InstanceId
|
|
2526
|
+
|
|
2527
|
+
@property
|
|
2528
|
+
def TopicName(self):
|
|
2529
|
+
"""Ckafka 的 TopicName
|
|
2530
|
+
:rtype: str
|
|
2531
|
+
"""
|
|
2532
|
+
return self._TopicName
|
|
2533
|
+
|
|
2534
|
+
@TopicName.setter
|
|
2535
|
+
def TopicName(self, TopicName):
|
|
2536
|
+
self._TopicName = TopicName
|
|
2515
2537
|
|
|
2516
2538
|
@property
|
|
2517
2539
|
def Vip(self):
|
|
@@ -2535,17 +2557,6 @@ class Ckafka(AbstractModel):
|
|
|
2535
2557
|
def Vport(self, Vport):
|
|
2536
2558
|
self._Vport = Vport
|
|
2537
2559
|
|
|
2538
|
-
@property
|
|
2539
|
-
def InstanceId(self):
|
|
2540
|
-
"""Ckafka 的 InstanceId
|
|
2541
|
-
:rtype: str
|
|
2542
|
-
"""
|
|
2543
|
-
return self._InstanceId
|
|
2544
|
-
|
|
2545
|
-
@InstanceId.setter
|
|
2546
|
-
def InstanceId(self, InstanceId):
|
|
2547
|
-
self._InstanceId = InstanceId
|
|
2548
|
-
|
|
2549
2560
|
@property
|
|
2550
2561
|
def InstanceName(self):
|
|
2551
2562
|
"""Ckafka 的 InstanceName
|
|
@@ -2568,25 +2579,14 @@ class Ckafka(AbstractModel):
|
|
|
2568
2579
|
def TopicId(self, TopicId):
|
|
2569
2580
|
self._TopicId = TopicId
|
|
2570
2581
|
|
|
2571
|
-
@property
|
|
2572
|
-
def TopicName(self):
|
|
2573
|
-
"""Ckafka 的 TopicName
|
|
2574
|
-
:rtype: str
|
|
2575
|
-
"""
|
|
2576
|
-
return self._TopicName
|
|
2577
|
-
|
|
2578
|
-
@TopicName.setter
|
|
2579
|
-
def TopicName(self, TopicName):
|
|
2580
|
-
self._TopicName = TopicName
|
|
2581
|
-
|
|
2582
2582
|
|
|
2583
2583
|
def _deserialize(self, params):
|
|
2584
|
+
self._InstanceId = params.get("InstanceId")
|
|
2585
|
+
self._TopicName = params.get("TopicName")
|
|
2584
2586
|
self._Vip = params.get("Vip")
|
|
2585
2587
|
self._Vport = params.get("Vport")
|
|
2586
|
-
self._InstanceId = params.get("InstanceId")
|
|
2587
2588
|
self._InstanceName = params.get("InstanceName")
|
|
2588
2589
|
self._TopicId = params.get("TopicId")
|
|
2589
|
-
self._TopicName = params.get("TopicName")
|
|
2590
2590
|
memeber_set = set(params.keys())
|
|
2591
2591
|
for name, value in vars(self).items():
|
|
2592
2592
|
property_name = name[1:]
|
|
@@ -27909,8 +27909,11 @@ class SearchLogRequest(AbstractModel):
|
|
|
27909
27909
|
语句由 <a href="https://cloud.tencent.com/document/product/614/47044" target="_blank">[检索条件]</a> | <a href="https://cloud.tencent.com/document/product/614/44061" target="_blank">[SQL语句]</a>构成,无需对日志进行统计分析时,可省略其中的管道符<code> | </code>及SQL语句
|
|
27910
27910
|
使用*或空字符串可查询所有日志
|
|
27911
27911
|
:type Query: str
|
|
27912
|
-
:param _SyntaxRule: 检索语法规则,默认值为0,推荐使用1
|
|
27913
|
-
|
|
27912
|
+
:param _SyntaxRule: 检索语法规则,默认值为0,推荐使用1 。
|
|
27913
|
+
|
|
27914
|
+
- 0:Lucene语法
|
|
27915
|
+
- 1:CQL语法(日志服务专用检索语法,控制台默认也使用该语法规则)。
|
|
27916
|
+
|
|
27914
27917
|
详细说明参见<a href="https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules" target="_blank">检索条件语法规则</a>
|
|
27915
27918
|
:type SyntaxRule: int
|
|
27916
27919
|
:param _TopicId: - 要检索分析的日志主题ID,仅能指定一个日志主题。
|
|
@@ -28008,8 +28011,11 @@ class SearchLogRequest(AbstractModel):
|
|
|
28008
28011
|
|
|
28009
28012
|
@property
|
|
28010
28013
|
def SyntaxRule(self):
|
|
28011
|
-
"""检索语法规则,默认值为0,推荐使用1
|
|
28012
|
-
|
|
28014
|
+
"""检索语法规则,默认值为0,推荐使用1 。
|
|
28015
|
+
|
|
28016
|
+
- 0:Lucene语法
|
|
28017
|
+
- 1:CQL语法(日志服务专用检索语法,控制台默认也使用该语法规则)。
|
|
28018
|
+
|
|
28013
28019
|
详细说明参见<a href="https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules" target="_blank">检索条件语法规则</a>
|
|
28014
28020
|
:rtype: int
|
|
28015
28021
|
"""
|
|
@@ -29323,6 +29329,9 @@ class TopicInfo(AbstractModel):
|
|
|
29323
29329
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
29324
29330
|
:type MaxSplitPartitions: int
|
|
29325
29331
|
:param _StorageType: 主题的存储类型
|
|
29332
|
+
|
|
29333
|
+
- hot: 标准存储
|
|
29334
|
+
- cold: 低频存储
|
|
29326
29335
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
29327
29336
|
:type StorageType: str
|
|
29328
29337
|
:param _Period: 生命周期,单位天,可取值范围1~3600。取值为3640时代表永久保存
|
|
@@ -29514,6 +29523,9 @@ HotPeriod=0为没有开启日志沉降。
|
|
|
29514
29523
|
@property
|
|
29515
29524
|
def StorageType(self):
|
|
29516
29525
|
"""主题的存储类型
|
|
29526
|
+
|
|
29527
|
+
- hot: 标准存储
|
|
29528
|
+
- cold: 低频存储
|
|
29517
29529
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
29518
29530
|
:rtype: str
|
|
29519
29531
|
"""
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1282
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1267
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|