tencentcloud-sdk-python-cls 3.1.111__tar.gz → 3.1.127__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.1.111 → tencentcloud_sdk_python_cls-3.1.127}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cls-3.1.111 → tencentcloud_sdk_python_cls-3.1.127}/setup.py +1 -1
- {tencentcloud_sdk_python_cls-3.1.111 → tencentcloud_sdk_python_cls-3.1.127}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cls-3.1.111 → tencentcloud_sdk_python_cls-3.1.127}/tencentcloud/cls/v20201016/models.py +258 -260
- {tencentcloud_sdk_python_cls-3.1.111 → tencentcloud_sdk_python_cls-3.1.127}/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cls-3.1.127/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cls-3.1.111/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cls-3.1.111 → tencentcloud_sdk_python_cls-3.1.127}/README.rst +0 -0
- {tencentcloud_sdk_python_cls-3.1.111 → tencentcloud_sdk_python_cls-3.1.127}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cls-3.1.111 → tencentcloud_sdk_python_cls-3.1.127}/tencentcloud/cls/__init__.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.111 → tencentcloud_sdk_python_cls-3.1.127}/tencentcloud/cls/v20201016/__init__.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.111 → tencentcloud_sdk_python_cls-3.1.127}/tencentcloud/cls/v20201016/cls_client.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.111 → tencentcloud_sdk_python_cls-3.1.127}/tencentcloud/cls/v20201016/cls_client_async.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.111 → tencentcloud_sdk_python_cls-3.1.127}/tencentcloud/cls/v20201016/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.111 → tencentcloud_sdk_python_cls-3.1.127}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cls-3.1.111 → tencentcloud_sdk_python_cls-3.1.127}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cls-3.1.111 → tencentcloud_sdk_python_cls-3.1.127}/tencentcloud_sdk_python_cls.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cls
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.127
|
|
4
4
|
Summary: Tencent Cloud Cls 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.127
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -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.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.127,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cls SDK for Python',
|
|
@@ -13416,32 +13416,36 @@ class CreateScheduledSqlRequest(AbstractModel):
|
|
|
13416
13416
|
|
|
13417
13417
|
def __init__(self):
|
|
13418
13418
|
r"""
|
|
13419
|
-
:param _SrcTopicId:
|
|
13419
|
+
:param _SrcTopicId: <p>源日志主题ID- 通过<a href="https://cloud.tencent.com/document/product/614/56454">获取日志主题列表</a>获取日志主题Id。</p>
|
|
13420
13420
|
:type SrcTopicId: str
|
|
13421
|
-
:param _Name:
|
|
13421
|
+
:param _Name: <p>任务名称,0~255字符</p>
|
|
13422
13422
|
:type Name: str
|
|
13423
|
-
:param _EnableFlag:
|
|
13423
|
+
:param _EnableFlag: <p>任务启动状态. 1开启, 2关闭</p>
|
|
13424
13424
|
:type EnableFlag: int
|
|
13425
|
-
:param _DstResource:
|
|
13425
|
+
:param _DstResource: <p>定时SQL分析目标日志主题</p>
|
|
13426
13426
|
:type DstResource: :class:`tencentcloud.cls.v20201016.models.ScheduledSqlResouceInfo`
|
|
13427
|
-
:param _ScheduledSqlContent:
|
|
13427
|
+
:param _ScheduledSqlContent: <p>查询语句</p>
|
|
13428
13428
|
:type ScheduledSqlContent: str
|
|
13429
|
-
:param _ProcessStartTime:
|
|
13429
|
+
:param _ProcessStartTime: <p>调度开始时间,Unix时间戳,单位ms</p>
|
|
13430
13430
|
:type ProcessStartTime: int
|
|
13431
|
-
:param _ProcessType:
|
|
13431
|
+
:param _ProcessType: <p>调度类型,1:持续运行 2:指定时间范围</p>
|
|
13432
13432
|
:type ProcessType: int
|
|
13433
|
-
:param _ProcessPeriod:
|
|
13433
|
+
:param _ProcessPeriod: <p>调度周期(分钟),1~1440分钟</p>
|
|
13434
13434
|
:type ProcessPeriod: int
|
|
13435
|
-
:param _ProcessTimeWindow:
|
|
13435
|
+
:param _ProcessTimeWindow: <p>单次查询的时间窗口,如果您的目标主题为指标主题,建议该参数的大小不超过30分钟,否则可能转指标失败。</p>
|
|
13436
13436
|
:type ProcessTimeWindow: str
|
|
13437
|
-
:param _ProcessDelay:
|
|
13437
|
+
:param _ProcessDelay: <p>执行延迟(秒),0~120秒,默认60秒</p>
|
|
13438
13438
|
:type ProcessDelay: int
|
|
13439
|
-
:param _SrcTopicRegion:
|
|
13439
|
+
:param _SrcTopicRegion: <p>源topicId的地域信息,支持地域见 <a href="https://cloud.tencent.com/document/api/614/56474#.E5.9C.B0.E5.9F.9F.E5.88.97.E8.A1.A8">地域列表</a> 文档</p>
|
|
13440
13440
|
:type SrcTopicRegion: str
|
|
13441
|
-
:param _ProcessEndTime:
|
|
13441
|
+
:param _ProcessEndTime: <p>调度结束时间,当ProcessType=2时为必传字段, Unix时间戳,单位ms</p>
|
|
13442
13442
|
:type ProcessEndTime: int
|
|
13443
|
-
:param _SyntaxRule:
|
|
13443
|
+
:param _SyntaxRule: <p>查询语法规则。 默认值为0。0:Lucene语法,1:CQL语法</p>
|
|
13444
13444
|
:type SyntaxRule: int
|
|
13445
|
+
:param _HasServicesLog: <p>是否开启投递服务日志。1:关闭,2:开启。</p>
|
|
13446
|
+
:type HasServicesLog: int
|
|
13447
|
+
:param _FullQuery: <p>全文检索标记。1:关闭,2:打开。默认:1</p>
|
|
13448
|
+
:type FullQuery: int
|
|
13445
13449
|
"""
|
|
13446
13450
|
self._SrcTopicId = None
|
|
13447
13451
|
self._Name = None
|
|
@@ -13456,10 +13460,12 @@ class CreateScheduledSqlRequest(AbstractModel):
|
|
|
13456
13460
|
self._SrcTopicRegion = None
|
|
13457
13461
|
self._ProcessEndTime = None
|
|
13458
13462
|
self._SyntaxRule = None
|
|
13463
|
+
self._HasServicesLog = None
|
|
13464
|
+
self._FullQuery = None
|
|
13459
13465
|
|
|
13460
13466
|
@property
|
|
13461
13467
|
def SrcTopicId(self):
|
|
13462
|
-
r"""
|
|
13468
|
+
r"""<p>源日志主题ID- 通过<a href="https://cloud.tencent.com/document/product/614/56454">获取日志主题列表</a>获取日志主题Id。</p>
|
|
13463
13469
|
:rtype: str
|
|
13464
13470
|
"""
|
|
13465
13471
|
return self._SrcTopicId
|
|
@@ -13470,7 +13476,7 @@ class CreateScheduledSqlRequest(AbstractModel):
|
|
|
13470
13476
|
|
|
13471
13477
|
@property
|
|
13472
13478
|
def Name(self):
|
|
13473
|
-
r"""
|
|
13479
|
+
r"""<p>任务名称,0~255字符</p>
|
|
13474
13480
|
:rtype: str
|
|
13475
13481
|
"""
|
|
13476
13482
|
return self._Name
|
|
@@ -13481,7 +13487,7 @@ class CreateScheduledSqlRequest(AbstractModel):
|
|
|
13481
13487
|
|
|
13482
13488
|
@property
|
|
13483
13489
|
def EnableFlag(self):
|
|
13484
|
-
r"""
|
|
13490
|
+
r"""<p>任务启动状态. 1开启, 2关闭</p>
|
|
13485
13491
|
:rtype: int
|
|
13486
13492
|
"""
|
|
13487
13493
|
return self._EnableFlag
|
|
@@ -13492,7 +13498,7 @@ class CreateScheduledSqlRequest(AbstractModel):
|
|
|
13492
13498
|
|
|
13493
13499
|
@property
|
|
13494
13500
|
def DstResource(self):
|
|
13495
|
-
r"""
|
|
13501
|
+
r"""<p>定时SQL分析目标日志主题</p>
|
|
13496
13502
|
:rtype: :class:`tencentcloud.cls.v20201016.models.ScheduledSqlResouceInfo`
|
|
13497
13503
|
"""
|
|
13498
13504
|
return self._DstResource
|
|
@@ -13503,7 +13509,7 @@ class CreateScheduledSqlRequest(AbstractModel):
|
|
|
13503
13509
|
|
|
13504
13510
|
@property
|
|
13505
13511
|
def ScheduledSqlContent(self):
|
|
13506
|
-
r"""
|
|
13512
|
+
r"""<p>查询语句</p>
|
|
13507
13513
|
:rtype: str
|
|
13508
13514
|
"""
|
|
13509
13515
|
return self._ScheduledSqlContent
|
|
@@ -13514,7 +13520,7 @@ class CreateScheduledSqlRequest(AbstractModel):
|
|
|
13514
13520
|
|
|
13515
13521
|
@property
|
|
13516
13522
|
def ProcessStartTime(self):
|
|
13517
|
-
r"""
|
|
13523
|
+
r"""<p>调度开始时间,Unix时间戳,单位ms</p>
|
|
13518
13524
|
:rtype: int
|
|
13519
13525
|
"""
|
|
13520
13526
|
return self._ProcessStartTime
|
|
@@ -13525,7 +13531,7 @@ class CreateScheduledSqlRequest(AbstractModel):
|
|
|
13525
13531
|
|
|
13526
13532
|
@property
|
|
13527
13533
|
def ProcessType(self):
|
|
13528
|
-
r"""
|
|
13534
|
+
r"""<p>调度类型,1:持续运行 2:指定时间范围</p>
|
|
13529
13535
|
:rtype: int
|
|
13530
13536
|
"""
|
|
13531
13537
|
return self._ProcessType
|
|
@@ -13536,7 +13542,7 @@ class CreateScheduledSqlRequest(AbstractModel):
|
|
|
13536
13542
|
|
|
13537
13543
|
@property
|
|
13538
13544
|
def ProcessPeriod(self):
|
|
13539
|
-
r"""
|
|
13545
|
+
r"""<p>调度周期(分钟),1~1440分钟</p>
|
|
13540
13546
|
:rtype: int
|
|
13541
13547
|
"""
|
|
13542
13548
|
return self._ProcessPeriod
|
|
@@ -13547,7 +13553,7 @@ class CreateScheduledSqlRequest(AbstractModel):
|
|
|
13547
13553
|
|
|
13548
13554
|
@property
|
|
13549
13555
|
def ProcessTimeWindow(self):
|
|
13550
|
-
r"""
|
|
13556
|
+
r"""<p>单次查询的时间窗口,如果您的目标主题为指标主题,建议该参数的大小不超过30分钟,否则可能转指标失败。</p>
|
|
13551
13557
|
:rtype: str
|
|
13552
13558
|
"""
|
|
13553
13559
|
return self._ProcessTimeWindow
|
|
@@ -13558,7 +13564,7 @@ class CreateScheduledSqlRequest(AbstractModel):
|
|
|
13558
13564
|
|
|
13559
13565
|
@property
|
|
13560
13566
|
def ProcessDelay(self):
|
|
13561
|
-
r"""
|
|
13567
|
+
r"""<p>执行延迟(秒),0~120秒,默认60秒</p>
|
|
13562
13568
|
:rtype: int
|
|
13563
13569
|
"""
|
|
13564
13570
|
return self._ProcessDelay
|
|
@@ -13569,7 +13575,7 @@ class CreateScheduledSqlRequest(AbstractModel):
|
|
|
13569
13575
|
|
|
13570
13576
|
@property
|
|
13571
13577
|
def SrcTopicRegion(self):
|
|
13572
|
-
r"""
|
|
13578
|
+
r"""<p>源topicId的地域信息,支持地域见 <a href="https://cloud.tencent.com/document/api/614/56474#.E5.9C.B0.E5.9F.9F.E5.88.97.E8.A1.A8">地域列表</a> 文档</p>
|
|
13573
13579
|
:rtype: str
|
|
13574
13580
|
"""
|
|
13575
13581
|
return self._SrcTopicRegion
|
|
@@ -13580,7 +13586,7 @@ class CreateScheduledSqlRequest(AbstractModel):
|
|
|
13580
13586
|
|
|
13581
13587
|
@property
|
|
13582
13588
|
def ProcessEndTime(self):
|
|
13583
|
-
r"""
|
|
13589
|
+
r"""<p>调度结束时间,当ProcessType=2时为必传字段, Unix时间戳,单位ms</p>
|
|
13584
13590
|
:rtype: int
|
|
13585
13591
|
"""
|
|
13586
13592
|
return self._ProcessEndTime
|
|
@@ -13591,7 +13597,7 @@ class CreateScheduledSqlRequest(AbstractModel):
|
|
|
13591
13597
|
|
|
13592
13598
|
@property
|
|
13593
13599
|
def SyntaxRule(self):
|
|
13594
|
-
r"""
|
|
13600
|
+
r"""<p>查询语法规则。 默认值为0。0:Lucene语法,1:CQL语法</p>
|
|
13595
13601
|
:rtype: int
|
|
13596
13602
|
"""
|
|
13597
13603
|
return self._SyntaxRule
|
|
@@ -13600,6 +13606,28 @@ class CreateScheduledSqlRequest(AbstractModel):
|
|
|
13600
13606
|
def SyntaxRule(self, SyntaxRule):
|
|
13601
13607
|
self._SyntaxRule = SyntaxRule
|
|
13602
13608
|
|
|
13609
|
+
@property
|
|
13610
|
+
def HasServicesLog(self):
|
|
13611
|
+
r"""<p>是否开启投递服务日志。1:关闭,2:开启。</p>
|
|
13612
|
+
:rtype: int
|
|
13613
|
+
"""
|
|
13614
|
+
return self._HasServicesLog
|
|
13615
|
+
|
|
13616
|
+
@HasServicesLog.setter
|
|
13617
|
+
def HasServicesLog(self, HasServicesLog):
|
|
13618
|
+
self._HasServicesLog = HasServicesLog
|
|
13619
|
+
|
|
13620
|
+
@property
|
|
13621
|
+
def FullQuery(self):
|
|
13622
|
+
r"""<p>全文检索标记。1:关闭,2:打开。默认:1</p>
|
|
13623
|
+
:rtype: int
|
|
13624
|
+
"""
|
|
13625
|
+
return self._FullQuery
|
|
13626
|
+
|
|
13627
|
+
@FullQuery.setter
|
|
13628
|
+
def FullQuery(self, FullQuery):
|
|
13629
|
+
self._FullQuery = FullQuery
|
|
13630
|
+
|
|
13603
13631
|
|
|
13604
13632
|
def _deserialize(self, params):
|
|
13605
13633
|
self._SrcTopicId = params.get("SrcTopicId")
|
|
@@ -13617,6 +13645,8 @@ class CreateScheduledSqlRequest(AbstractModel):
|
|
|
13617
13645
|
self._SrcTopicRegion = params.get("SrcTopicRegion")
|
|
13618
13646
|
self._ProcessEndTime = params.get("ProcessEndTime")
|
|
13619
13647
|
self._SyntaxRule = params.get("SyntaxRule")
|
|
13648
|
+
self._HasServicesLog = params.get("HasServicesLog")
|
|
13649
|
+
self._FullQuery = params.get("FullQuery")
|
|
13620
13650
|
memeber_set = set(params.keys())
|
|
13621
13651
|
for name, value in vars(self).items():
|
|
13622
13652
|
property_name = name[1:]
|
|
@@ -13634,7 +13664,7 @@ class CreateScheduledSqlResponse(AbstractModel):
|
|
|
13634
13664
|
|
|
13635
13665
|
def __init__(self):
|
|
13636
13666
|
r"""
|
|
13637
|
-
:param _TaskId:
|
|
13667
|
+
:param _TaskId: <p>任务id</p>
|
|
13638
13668
|
:type TaskId: str
|
|
13639
13669
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13640
13670
|
:type RequestId: str
|
|
@@ -13644,7 +13674,7 @@ class CreateScheduledSqlResponse(AbstractModel):
|
|
|
13644
13674
|
|
|
13645
13675
|
@property
|
|
13646
13676
|
def TaskId(self):
|
|
13647
|
-
r"""
|
|
13677
|
+
r"""<p>任务id</p>
|
|
13648
13678
|
:rtype: str
|
|
13649
13679
|
"""
|
|
13650
13680
|
return self._TaskId
|
|
@@ -32387,6 +32417,105 @@ class InstanceData(AbstractModel):
|
|
|
32387
32417
|
|
|
32388
32418
|
|
|
32389
32419
|
|
|
32420
|
+
class JsonExpandInfo(AbstractModel):
|
|
32421
|
+
r"""**JsonExpandInfo 数据结构描述**:
|
|
32422
|
+
```
|
|
32423
|
+
JSON嵌套展开配置
|
|
32424
|
+
```
|
|
32425
|
+
|
|
32426
|
+
**各字段描述**:
|
|
32427
|
+
|
|
32428
|
+
| 字段 | 描述 |
|
|
32429
|
+
|------|------|
|
|
32430
|
+
| Switch | 是否开启JSON嵌套展开 |
|
|
32431
|
+
| Fields | 待展开的JSON字段列表,1~3个 |
|
|
32432
|
+
| DropOriginal | 展开后是否丢弃原始字段,默认true |
|
|
32433
|
+
| ConflictPolicy | 字段冲突策略,keep_outer:保留外层(默认),keep_inner:保留内层 |
|
|
32434
|
+
|
|
32435
|
+
**LogRechargeRuleInfo 新增字段**:
|
|
32436
|
+
|
|
32437
|
+
| 字段 | 描述 |
|
|
32438
|
+
|------|------|
|
|
32439
|
+
| JsonExpand | JSON嵌套展开配置,仅RechargeType为json_log时生效 |
|
|
32440
|
+
|
|
32441
|
+
"""
|
|
32442
|
+
|
|
32443
|
+
def __init__(self):
|
|
32444
|
+
r"""
|
|
32445
|
+
:param _Switch: <p>是否开启JSON嵌套展开功能。开启后将对指定JSON字段进行扁平化展开处理</p><p>默认值:无(必选参数)</p>
|
|
32446
|
+
:type Switch: bool
|
|
32447
|
+
:param _Fields: <p>待展开的JSON字段名列表,支持1~3个字段,字段名不可为空串且不可重复 </p><p>入参限制:1. 字段数量:1~3个2. 每个字段名长度不超过128个字符3. 字段名不可为空字符串4. 字段名之间不可重复</p><p>默认值:无(必选参数)</p><p>取值参考:取值:message;描述:示例字段名</p><p>示例:["message", "data", "content"]</p>
|
|
32448
|
+
:type Fields: list of str
|
|
32449
|
+
:param _DropOriginal: <p>展开后是否丢弃原始的嵌套字段。true: 丢弃原始字段只保留展开后的平铺字段; false: 保留原始字段同时增加展开后的平铺字段</p><p>枚举值:</p><ul><li>true / false: 丢弃原字段 / 保留原字段</li></ul><p>默认值:true</p><p>非必选,不传时默认为true</p>
|
|
32450
|
+
:type DropOriginal: bool
|
|
32451
|
+
:param _ConflictPolicy: <p>展开后的字段与已有字段发生冲突时的处理策略</p><p>枚举值:</p><ul><li>keep_outer / keep_inner: 保留外层(已存在)字段 / 保留内层(新展开)字段</li></ul><p>默认值:keep_outer</p><p>非必选,不传时默认为keep_outer</p>
|
|
32452
|
+
:type ConflictPolicy: str
|
|
32453
|
+
"""
|
|
32454
|
+
self._Switch = None
|
|
32455
|
+
self._Fields = None
|
|
32456
|
+
self._DropOriginal = None
|
|
32457
|
+
self._ConflictPolicy = None
|
|
32458
|
+
|
|
32459
|
+
@property
|
|
32460
|
+
def Switch(self):
|
|
32461
|
+
r"""<p>是否开启JSON嵌套展开功能。开启后将对指定JSON字段进行扁平化展开处理</p><p>默认值:无(必选参数)</p>
|
|
32462
|
+
:rtype: bool
|
|
32463
|
+
"""
|
|
32464
|
+
return self._Switch
|
|
32465
|
+
|
|
32466
|
+
@Switch.setter
|
|
32467
|
+
def Switch(self, Switch):
|
|
32468
|
+
self._Switch = Switch
|
|
32469
|
+
|
|
32470
|
+
@property
|
|
32471
|
+
def Fields(self):
|
|
32472
|
+
r"""<p>待展开的JSON字段名列表,支持1~3个字段,字段名不可为空串且不可重复 </p><p>入参限制:1. 字段数量:1~3个2. 每个字段名长度不超过128个字符3. 字段名不可为空字符串4. 字段名之间不可重复</p><p>默认值:无(必选参数)</p><p>取值参考:取值:message;描述:示例字段名</p><p>示例:["message", "data", "content"]</p>
|
|
32473
|
+
:rtype: list of str
|
|
32474
|
+
"""
|
|
32475
|
+
return self._Fields
|
|
32476
|
+
|
|
32477
|
+
@Fields.setter
|
|
32478
|
+
def Fields(self, Fields):
|
|
32479
|
+
self._Fields = Fields
|
|
32480
|
+
|
|
32481
|
+
@property
|
|
32482
|
+
def DropOriginal(self):
|
|
32483
|
+
r"""<p>展开后是否丢弃原始的嵌套字段。true: 丢弃原始字段只保留展开后的平铺字段; false: 保留原始字段同时增加展开后的平铺字段</p><p>枚举值:</p><ul><li>true / false: 丢弃原字段 / 保留原字段</li></ul><p>默认值:true</p><p>非必选,不传时默认为true</p>
|
|
32484
|
+
:rtype: bool
|
|
32485
|
+
"""
|
|
32486
|
+
return self._DropOriginal
|
|
32487
|
+
|
|
32488
|
+
@DropOriginal.setter
|
|
32489
|
+
def DropOriginal(self, DropOriginal):
|
|
32490
|
+
self._DropOriginal = DropOriginal
|
|
32491
|
+
|
|
32492
|
+
@property
|
|
32493
|
+
def ConflictPolicy(self):
|
|
32494
|
+
r"""<p>展开后的字段与已有字段发生冲突时的处理策略</p><p>枚举值:</p><ul><li>keep_outer / keep_inner: 保留外层(已存在)字段 / 保留内层(新展开)字段</li></ul><p>默认值:keep_outer</p><p>非必选,不传时默认为keep_outer</p>
|
|
32495
|
+
:rtype: str
|
|
32496
|
+
"""
|
|
32497
|
+
return self._ConflictPolicy
|
|
32498
|
+
|
|
32499
|
+
@ConflictPolicy.setter
|
|
32500
|
+
def ConflictPolicy(self, ConflictPolicy):
|
|
32501
|
+
self._ConflictPolicy = ConflictPolicy
|
|
32502
|
+
|
|
32503
|
+
|
|
32504
|
+
def _deserialize(self, params):
|
|
32505
|
+
self._Switch = params.get("Switch")
|
|
32506
|
+
self._Fields = params.get("Fields")
|
|
32507
|
+
self._DropOriginal = params.get("DropOriginal")
|
|
32508
|
+
self._ConflictPolicy = params.get("ConflictPolicy")
|
|
32509
|
+
memeber_set = set(params.keys())
|
|
32510
|
+
for name, value in vars(self).items():
|
|
32511
|
+
property_name = name[1:]
|
|
32512
|
+
if property_name in memeber_set:
|
|
32513
|
+
memeber_set.remove(property_name)
|
|
32514
|
+
if len(memeber_set) > 0:
|
|
32515
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
32516
|
+
|
|
32517
|
+
|
|
32518
|
+
|
|
32390
32519
|
class JsonInfo(AbstractModel):
|
|
32391
32520
|
r"""JSON类型描述
|
|
32392
32521
|
|
|
@@ -33668,127 +33797,40 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
33668
33797
|
|
|
33669
33798
|
def __init__(self):
|
|
33670
33799
|
r"""
|
|
33671
|
-
:param _RechargeType:
|
|
33800
|
+
:param _RechargeType: <p>导入类型,支持json_log:json格式日志,minimalist_log: 单行全文,fullregex_log: 单行完全正则</p>
|
|
33672
33801
|
:type RechargeType: str
|
|
33673
|
-
:param _EncodingFormat:
|
|
33802
|
+
:param _EncodingFormat: <p>解析编码格式,0: UTF-8(默认值),1: GBK</p>
|
|
33674
33803
|
:type EncodingFormat: int
|
|
33675
|
-
:param _DefaultTimeSwitch:
|
|
33804
|
+
:param _DefaultTimeSwitch: <p>使用默认时间状态。true:开启后将使用系统当前时间或 Kafka 消息时间戳作为日志时间戳;false:关闭将使用日志中的时间字段作为日志时间戳。 默认:true</p>
|
|
33676
33805
|
:type DefaultTimeSwitch: bool
|
|
33677
|
-
:param _LogRegex:
|
|
33806
|
+
:param _LogRegex: <p>整条日志匹配规则,只有RechargeType为fullregex_log时有效</p>
|
|
33678
33807
|
:type LogRegex: str
|
|
33679
|
-
:param _UnMatchLogSwitch:
|
|
33808
|
+
:param _UnMatchLogSwitch: <p>解析失败日志是否上传,true表示上传,false表示不上传</p>
|
|
33680
33809
|
:type UnMatchLogSwitch: bool
|
|
33681
|
-
:param _UnMatchLogKey:
|
|
33810
|
+
:param _UnMatchLogKey: <p>解析失败日志的键名称</p>
|
|
33682
33811
|
:type UnMatchLogKey: str
|
|
33683
|
-
:param _UnMatchLogTimeSrc:
|
|
33812
|
+
:param _UnMatchLogTimeSrc: <p>解析失败日志时间来源,0: 系统当前时间,1: Kafka消息时间戳</p>
|
|
33684
33813
|
:type UnMatchLogTimeSrc: int
|
|
33685
|
-
:param _DefaultTimeSrc:
|
|
33814
|
+
:param _DefaultTimeSrc: <p>默认时间来源,0: 系统当前时间,1: Kafka消息时间戳</p>
|
|
33686
33815
|
:type DefaultTimeSrc: int
|
|
33687
|
-
:param _TimeKey:
|
|
33688
|
-
|
|
33689
|
-
- 当DefaultTimeSwitch为false,且RechargeType数据提取模式为 `json_log` JSON-文件日志 或 `fullregex_log` 单行完全正则-文件日志时, TimeKey不能为空。
|
|
33816
|
+
:param _TimeKey: <p>时间字段,日志中代表时间的字段名。</p><ul><li>当DefaultTimeSwitch为false,且RechargeType数据提取模式为 <code>json_log</code> JSON-文件日志 或 <code>fullregex_log</code> 单行完全正则-文件日志时, TimeKey不能为空。</li></ul>
|
|
33690
33817
|
:type TimeKey: str
|
|
33691
|
-
:param _TimeRegex:
|
|
33692
|
-
- 当DefaultTimeSwitch为false,且RechargeType数据提取模式为 `minimalist_log` 单行全文-文件日志时, TimeRegex不能为空。
|
|
33693
|
-
- 仅需输入日志中代表时间的字段的正则表达式即可;若匹配到多个字段,将使用第一个。
|
|
33694
|
-
例:日志原文为:message with time 2022-08-08 14:20:20,则您可以设置提取时间正则为\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d
|
|
33695
|
-
|
|
33818
|
+
:param _TimeRegex: <p>时间提取正则表达式。</p><ul><li>当DefaultTimeSwitch为false,且RechargeType数据提取模式为 <code>minimalist_log</code> 单行全文-文件日志时, TimeRegex不能为空。</li><li>仅需输入日志中代表时间的字段的正则表达式即可;若匹配到多个字段,将使用第一个。<br> 例:日志原文为:message with time 2022-08-08 14:20:20,则您可以设置提取时间正则为\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d</li></ul>
|
|
33696
33819
|
:type TimeRegex: str
|
|
33697
|
-
:param _TimeFormat:
|
|
33698
|
-
- 当DefaultTimeSwitch为false时, TimeFormat不能为空。
|
|
33820
|
+
:param _TimeFormat: <p>时间字段格式。</p><ul><li>当DefaultTimeSwitch为false时, TimeFormat不能为空。</li></ul>
|
|
33699
33821
|
:type TimeFormat: str
|
|
33700
|
-
:param _TimeZone:
|
|
33701
|
-
- 当DefaultTimeSwitch为false时, TimeZone不能为空。
|
|
33702
|
-
- 时区格式规则
|
|
33703
|
-
前缀:使用 GMT 或 UTC 作为时区基准
|
|
33704
|
-
偏移量:
|
|
33705
|
-
- `-` 表示西时区(比基准时间晚)
|
|
33706
|
-
- `+` 表示东时区(比基准时间早)
|
|
33707
|
-
- 格式为 ±HH:MM(小时:分钟)
|
|
33708
|
-
|
|
33709
|
-
- 当前支持:
|
|
33710
|
-
```
|
|
33711
|
-
"GMT-12:00"
|
|
33712
|
-
"GMT-11:00"
|
|
33713
|
-
"GMT-10:00"
|
|
33714
|
-
"GMT-09:30"
|
|
33715
|
-
"GMT-09:00"
|
|
33716
|
-
"GMT-08:00"
|
|
33717
|
-
"GMT-07:00"
|
|
33718
|
-
"GMT-06:00"
|
|
33719
|
-
"GMT-05:00"
|
|
33720
|
-
"GMT-04:00"
|
|
33721
|
-
"GMT-03:30"
|
|
33722
|
-
"GMT-03:00"
|
|
33723
|
-
"GMT-02:00"
|
|
33724
|
-
"GMT-01:00"
|
|
33725
|
-
"GMT+00:00"
|
|
33726
|
-
"GMT+01:00"
|
|
33727
|
-
"GMT+02:00"
|
|
33728
|
-
"GMT+03:30"
|
|
33729
|
-
"GMT+04:00"
|
|
33730
|
-
"GMT+04:30"
|
|
33731
|
-
"GMT+05:00"
|
|
33732
|
-
"GMT+05:30"
|
|
33733
|
-
"GMT+05:45"
|
|
33734
|
-
"GMT+06:00"
|
|
33735
|
-
"GMT+06:30"
|
|
33736
|
-
"GMT+07:00"
|
|
33737
|
-
"GMT+08:00"
|
|
33738
|
-
"GMT+09:00"
|
|
33739
|
-
"GMT+09:30"
|
|
33740
|
-
"GMT+10:00"
|
|
33741
|
-
"GMT+10:30"
|
|
33742
|
-
"GMT+11:00"
|
|
33743
|
-
"GMT+11:30"
|
|
33744
|
-
"GMT+12:00"
|
|
33745
|
-
"GMT+12:45"
|
|
33746
|
-
"GMT+13:00"
|
|
33747
|
-
"GMT+14:00"
|
|
33748
|
-
"UTC-11:00"
|
|
33749
|
-
"UTC-10:00"
|
|
33750
|
-
"UTC-09:00"
|
|
33751
|
-
"UTC-08:00"
|
|
33752
|
-
"UTC-12:00"
|
|
33753
|
-
"UTC-07:00"
|
|
33754
|
-
"UTC-06:00"
|
|
33755
|
-
"UTC-05:00"
|
|
33756
|
-
"UTC-04:30"
|
|
33757
|
-
"UTC-04:00"
|
|
33758
|
-
"UTC-03:30"
|
|
33759
|
-
"UTC-03:00"
|
|
33760
|
-
"UTC-02:00"
|
|
33761
|
-
"UTC-01:00"
|
|
33762
|
-
"UTC+00:00"
|
|
33763
|
-
"UTC+01:00"
|
|
33764
|
-
"UTC+02:00"
|
|
33765
|
-
"UTC+03:00"
|
|
33766
|
-
"UTC+03:30"
|
|
33767
|
-
"UTC+04:00"
|
|
33768
|
-
"UTC+04:30"
|
|
33769
|
-
"UTC+05:00"
|
|
33770
|
-
"UTC+05:45"
|
|
33771
|
-
"UTC+06:00"
|
|
33772
|
-
"UTC+06:30"
|
|
33773
|
-
"UTC+07:00"
|
|
33774
|
-
"UTC+08:00"
|
|
33775
|
-
"UTC+09:00"
|
|
33776
|
-
"UTC+09:30"
|
|
33777
|
-
"UTC+10:00"
|
|
33778
|
-
"UTC+11:00"
|
|
33779
|
-
"UTC+12:00"
|
|
33780
|
-
"UTC+13:00"
|
|
33781
|
-
```
|
|
33822
|
+
:param _TimeZone: <p>时间字段时区。</p><ul><li><p>当DefaultTimeSwitch为false时, TimeZone不能为空。</p></li><li><p>时区格式规则<br>前缀:使用 GMT 或 UTC 作为时区基准<br>偏移量:</p><ul><li><code>-</code> 表示西时区(比基准时间晚)</li><li><code>+</code> 表示东时区(比基准时间早)</li><li>格式为 ±HH:MM(小时:分钟)</li></ul></li><li><p>当前支持:<br><pre><code>"GMT-12:00" "GMT-11:00" "GMT-10:00" "GMT-09:30" "GMT-09:00" "GMT-08:00" "GMT-07:00" "GMT-06:00" "GMT-05:00" "GMT-04:00" "GMT-03:30" "GMT-03:00" "GMT-02:00" "GMT-01:00" "GMT+00:00""GMT+01:00""GMT+02:00""GMT+03:30""GMT+04:00""GMT+04:30""GMT+05:00""GMT+05:30""GMT+05:45""GMT+06:00""GMT+06:30""GMT+07:00""GMT+08:00""GMT+09:00""GMT+09:30""GMT+10:00""GMT+10:30""GMT+11:00""GMT+11:30""GMT+12:00""GMT+12:45""GMT+13:00""GMT+14:00""UTC-11:00""UTC-10:00""UTC-09:00""UTC-08:00""UTC-12:00""UTC-07:00""UTC-06:00""UTC-05:00""UTC-04:30""UTC-04:00""UTC-03:30""UTC-03:00""UTC-02:00""UTC-01:00""UTC+00:00""UTC+01:00""UTC+02:00""UTC+03:00""UTC+03:30""UTC+04:00""UTC+04:30""UTC+05:00""UTC+05:45""UTC+06:00""UTC+06:30""UTC+07:00""UTC+08:00""UTC+09:00""UTC+09:30""UTC+10:00""UTC+11:00""UTC+12:00""UTC+13:00"</code></pre></p></li></ul>
|
|
33782
33823
|
:type TimeZone: str
|
|
33783
|
-
:param _Metadata:
|
|
33824
|
+
:param _Metadata: <p>元数据信息,Kafka导入支持kafka_topic,kafka_partition,kafka_offset,kafka_timestamp</p>
|
|
33784
33825
|
:type Metadata: list of str
|
|
33785
|
-
:param _Keys:
|
|
33826
|
+
:param _Keys: <p>日志Key列表,RechargeType为full_regex_log、delimiter_log时必填</p>
|
|
33786
33827
|
:type Keys: list of str
|
|
33787
|
-
:param _ParseArray: json
|
|
33828
|
+
:param _ParseArray: <p>json解析模式,开启首层数据解析</p>
|
|
33788
33829
|
:type ParseArray: bool
|
|
33789
|
-
:param _Delimiter:
|
|
33790
|
-
当解析格式为分隔符提取时,该字段必填
|
|
33830
|
+
:param _Delimiter: <p>分隔符解析模式-分隔符<br>当解析格式为分隔符提取时,该字段必填</p>
|
|
33791
33831
|
:type Delimiter: str
|
|
33832
|
+
:param _JsonExpand: <p>JSON嵌套展开配置。仅RechargeType为json_log时生效,不传表示不开启。</p>
|
|
33833
|
+
:type JsonExpand: :class:`tencentcloud.cls.v20201016.models.JsonExpandInfo`
|
|
33792
33834
|
"""
|
|
33793
33835
|
self._RechargeType = None
|
|
33794
33836
|
self._EncodingFormat = None
|
|
@@ -33806,10 +33848,11 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
33806
33848
|
self._Keys = None
|
|
33807
33849
|
self._ParseArray = None
|
|
33808
33850
|
self._Delimiter = None
|
|
33851
|
+
self._JsonExpand = None
|
|
33809
33852
|
|
|
33810
33853
|
@property
|
|
33811
33854
|
def RechargeType(self):
|
|
33812
|
-
r"""
|
|
33855
|
+
r"""<p>导入类型,支持json_log:json格式日志,minimalist_log: 单行全文,fullregex_log: 单行完全正则</p>
|
|
33813
33856
|
:rtype: str
|
|
33814
33857
|
"""
|
|
33815
33858
|
return self._RechargeType
|
|
@@ -33820,7 +33863,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
33820
33863
|
|
|
33821
33864
|
@property
|
|
33822
33865
|
def EncodingFormat(self):
|
|
33823
|
-
r"""
|
|
33866
|
+
r"""<p>解析编码格式,0: UTF-8(默认值),1: GBK</p>
|
|
33824
33867
|
:rtype: int
|
|
33825
33868
|
"""
|
|
33826
33869
|
return self._EncodingFormat
|
|
@@ -33831,7 +33874,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
33831
33874
|
|
|
33832
33875
|
@property
|
|
33833
33876
|
def DefaultTimeSwitch(self):
|
|
33834
|
-
r"""
|
|
33877
|
+
r"""<p>使用默认时间状态。true:开启后将使用系统当前时间或 Kafka 消息时间戳作为日志时间戳;false:关闭将使用日志中的时间字段作为日志时间戳。 默认:true</p>
|
|
33835
33878
|
:rtype: bool
|
|
33836
33879
|
"""
|
|
33837
33880
|
return self._DefaultTimeSwitch
|
|
@@ -33842,7 +33885,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
33842
33885
|
|
|
33843
33886
|
@property
|
|
33844
33887
|
def LogRegex(self):
|
|
33845
|
-
r"""
|
|
33888
|
+
r"""<p>整条日志匹配规则,只有RechargeType为fullregex_log时有效</p>
|
|
33846
33889
|
:rtype: str
|
|
33847
33890
|
"""
|
|
33848
33891
|
return self._LogRegex
|
|
@@ -33853,7 +33896,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
33853
33896
|
|
|
33854
33897
|
@property
|
|
33855
33898
|
def UnMatchLogSwitch(self):
|
|
33856
|
-
r"""
|
|
33899
|
+
r"""<p>解析失败日志是否上传,true表示上传,false表示不上传</p>
|
|
33857
33900
|
:rtype: bool
|
|
33858
33901
|
"""
|
|
33859
33902
|
return self._UnMatchLogSwitch
|
|
@@ -33864,7 +33907,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
33864
33907
|
|
|
33865
33908
|
@property
|
|
33866
33909
|
def UnMatchLogKey(self):
|
|
33867
|
-
r"""
|
|
33910
|
+
r"""<p>解析失败日志的键名称</p>
|
|
33868
33911
|
:rtype: str
|
|
33869
33912
|
"""
|
|
33870
33913
|
return self._UnMatchLogKey
|
|
@@ -33875,7 +33918,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
33875
33918
|
|
|
33876
33919
|
@property
|
|
33877
33920
|
def UnMatchLogTimeSrc(self):
|
|
33878
|
-
r"""
|
|
33921
|
+
r"""<p>解析失败日志时间来源,0: 系统当前时间,1: Kafka消息时间戳</p>
|
|
33879
33922
|
:rtype: int
|
|
33880
33923
|
"""
|
|
33881
33924
|
return self._UnMatchLogTimeSrc
|
|
@@ -33886,7 +33929,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
33886
33929
|
|
|
33887
33930
|
@property
|
|
33888
33931
|
def DefaultTimeSrc(self):
|
|
33889
|
-
r"""
|
|
33932
|
+
r"""<p>默认时间来源,0: 系统当前时间,1: Kafka消息时间戳</p>
|
|
33890
33933
|
:rtype: int
|
|
33891
33934
|
"""
|
|
33892
33935
|
return self._DefaultTimeSrc
|
|
@@ -33897,9 +33940,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
33897
33940
|
|
|
33898
33941
|
@property
|
|
33899
33942
|
def TimeKey(self):
|
|
33900
|
-
r"""
|
|
33901
|
-
|
|
33902
|
-
- 当DefaultTimeSwitch为false,且RechargeType数据提取模式为 `json_log` JSON-文件日志 或 `fullregex_log` 单行完全正则-文件日志时, TimeKey不能为空。
|
|
33943
|
+
r"""<p>时间字段,日志中代表时间的字段名。</p><ul><li>当DefaultTimeSwitch为false,且RechargeType数据提取模式为 <code>json_log</code> JSON-文件日志 或 <code>fullregex_log</code> 单行完全正则-文件日志时, TimeKey不能为空。</li></ul>
|
|
33903
33944
|
:rtype: str
|
|
33904
33945
|
"""
|
|
33905
33946
|
return self._TimeKey
|
|
@@ -33910,11 +33951,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
33910
33951
|
|
|
33911
33952
|
@property
|
|
33912
33953
|
def TimeRegex(self):
|
|
33913
|
-
r"""
|
|
33914
|
-
- 当DefaultTimeSwitch为false,且RechargeType数据提取模式为 `minimalist_log` 单行全文-文件日志时, TimeRegex不能为空。
|
|
33915
|
-
- 仅需输入日志中代表时间的字段的正则表达式即可;若匹配到多个字段,将使用第一个。
|
|
33916
|
-
例:日志原文为:message with time 2022-08-08 14:20:20,则您可以设置提取时间正则为\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d
|
|
33917
|
-
|
|
33954
|
+
r"""<p>时间提取正则表达式。</p><ul><li>当DefaultTimeSwitch为false,且RechargeType数据提取模式为 <code>minimalist_log</code> 单行全文-文件日志时, TimeRegex不能为空。</li><li>仅需输入日志中代表时间的字段的正则表达式即可;若匹配到多个字段,将使用第一个。<br> 例:日志原文为:message with time 2022-08-08 14:20:20,则您可以设置提取时间正则为\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d</li></ul>
|
|
33918
33955
|
:rtype: str
|
|
33919
33956
|
"""
|
|
33920
33957
|
return self._TimeRegex
|
|
@@ -33925,8 +33962,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
33925
33962
|
|
|
33926
33963
|
@property
|
|
33927
33964
|
def TimeFormat(self):
|
|
33928
|
-
r"""
|
|
33929
|
-
- 当DefaultTimeSwitch为false时, TimeFormat不能为空。
|
|
33965
|
+
r"""<p>时间字段格式。</p><ul><li>当DefaultTimeSwitch为false时, TimeFormat不能为空。</li></ul>
|
|
33930
33966
|
:rtype: str
|
|
33931
33967
|
"""
|
|
33932
33968
|
return self._TimeFormat
|
|
@@ -33937,88 +33973,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
33937
33973
|
|
|
33938
33974
|
@property
|
|
33939
33975
|
def TimeZone(self):
|
|
33940
|
-
r"""
|
|
33941
|
-
- 当DefaultTimeSwitch为false时, TimeZone不能为空。
|
|
33942
|
-
- 时区格式规则
|
|
33943
|
-
前缀:使用 GMT 或 UTC 作为时区基准
|
|
33944
|
-
偏移量:
|
|
33945
|
-
- `-` 表示西时区(比基准时间晚)
|
|
33946
|
-
- `+` 表示东时区(比基准时间早)
|
|
33947
|
-
- 格式为 ±HH:MM(小时:分钟)
|
|
33948
|
-
|
|
33949
|
-
- 当前支持:
|
|
33950
|
-
```
|
|
33951
|
-
"GMT-12:00"
|
|
33952
|
-
"GMT-11:00"
|
|
33953
|
-
"GMT-10:00"
|
|
33954
|
-
"GMT-09:30"
|
|
33955
|
-
"GMT-09:00"
|
|
33956
|
-
"GMT-08:00"
|
|
33957
|
-
"GMT-07:00"
|
|
33958
|
-
"GMT-06:00"
|
|
33959
|
-
"GMT-05:00"
|
|
33960
|
-
"GMT-04:00"
|
|
33961
|
-
"GMT-03:30"
|
|
33962
|
-
"GMT-03:00"
|
|
33963
|
-
"GMT-02:00"
|
|
33964
|
-
"GMT-01:00"
|
|
33965
|
-
"GMT+00:00"
|
|
33966
|
-
"GMT+01:00"
|
|
33967
|
-
"GMT+02:00"
|
|
33968
|
-
"GMT+03:30"
|
|
33969
|
-
"GMT+04:00"
|
|
33970
|
-
"GMT+04:30"
|
|
33971
|
-
"GMT+05:00"
|
|
33972
|
-
"GMT+05:30"
|
|
33973
|
-
"GMT+05:45"
|
|
33974
|
-
"GMT+06:00"
|
|
33975
|
-
"GMT+06:30"
|
|
33976
|
-
"GMT+07:00"
|
|
33977
|
-
"GMT+08:00"
|
|
33978
|
-
"GMT+09:00"
|
|
33979
|
-
"GMT+09:30"
|
|
33980
|
-
"GMT+10:00"
|
|
33981
|
-
"GMT+10:30"
|
|
33982
|
-
"GMT+11:00"
|
|
33983
|
-
"GMT+11:30"
|
|
33984
|
-
"GMT+12:00"
|
|
33985
|
-
"GMT+12:45"
|
|
33986
|
-
"GMT+13:00"
|
|
33987
|
-
"GMT+14:00"
|
|
33988
|
-
"UTC-11:00"
|
|
33989
|
-
"UTC-10:00"
|
|
33990
|
-
"UTC-09:00"
|
|
33991
|
-
"UTC-08:00"
|
|
33992
|
-
"UTC-12:00"
|
|
33993
|
-
"UTC-07:00"
|
|
33994
|
-
"UTC-06:00"
|
|
33995
|
-
"UTC-05:00"
|
|
33996
|
-
"UTC-04:30"
|
|
33997
|
-
"UTC-04:00"
|
|
33998
|
-
"UTC-03:30"
|
|
33999
|
-
"UTC-03:00"
|
|
34000
|
-
"UTC-02:00"
|
|
34001
|
-
"UTC-01:00"
|
|
34002
|
-
"UTC+00:00"
|
|
34003
|
-
"UTC+01:00"
|
|
34004
|
-
"UTC+02:00"
|
|
34005
|
-
"UTC+03:00"
|
|
34006
|
-
"UTC+03:30"
|
|
34007
|
-
"UTC+04:00"
|
|
34008
|
-
"UTC+04:30"
|
|
34009
|
-
"UTC+05:00"
|
|
34010
|
-
"UTC+05:45"
|
|
34011
|
-
"UTC+06:00"
|
|
34012
|
-
"UTC+06:30"
|
|
34013
|
-
"UTC+07:00"
|
|
34014
|
-
"UTC+08:00"
|
|
34015
|
-
"UTC+09:00"
|
|
34016
|
-
"UTC+09:30"
|
|
34017
|
-
"UTC+10:00"
|
|
34018
|
-
"UTC+11:00"
|
|
34019
|
-
"UTC+12:00"
|
|
34020
|
-
"UTC+13:00"
|
|
34021
|
-
```
|
|
33976
|
+
r"""<p>时间字段时区。</p><ul><li><p>当DefaultTimeSwitch为false时, TimeZone不能为空。</p></li><li><p>时区格式规则<br>前缀:使用 GMT 或 UTC 作为时区基准<br>偏移量:</p><ul><li><code>-</code> 表示西时区(比基准时间晚)</li><li><code>+</code> 表示东时区(比基准时间早)</li><li>格式为 ±HH:MM(小时:分钟)</li></ul></li><li><p>当前支持:<br><pre><code>"GMT-12:00" "GMT-11:00" "GMT-10:00" "GMT-09:30" "GMT-09:00" "GMT-08:00" "GMT-07:00" "GMT-06:00" "GMT-05:00" "GMT-04:00" "GMT-03:30" "GMT-03:00" "GMT-02:00" "GMT-01:00" "GMT+00:00""GMT+01:00""GMT+02:00""GMT+03:30""GMT+04:00""GMT+04:30""GMT+05:00""GMT+05:30""GMT+05:45""GMT+06:00""GMT+06:30""GMT+07:00""GMT+08:00""GMT+09:00""GMT+09:30""GMT+10:00""GMT+10:30""GMT+11:00""GMT+11:30""GMT+12:00""GMT+12:45""GMT+13:00""GMT+14:00""UTC-11:00""UTC-10:00""UTC-09:00""UTC-08:00""UTC-12:00""UTC-07:00""UTC-06:00""UTC-05:00""UTC-04:30""UTC-04:00""UTC-03:30""UTC-03:00""UTC-02:00""UTC-01:00""UTC+00:00""UTC+01:00""UTC+02:00""UTC+03:00""UTC+03:30""UTC+04:00""UTC+04:30""UTC+05:00""UTC+05:45""UTC+06:00""UTC+06:30""UTC+07:00""UTC+08:00""UTC+09:00""UTC+09:30""UTC+10:00""UTC+11:00""UTC+12:00""UTC+13:00"</code></pre></p></li></ul>
|
|
34022
33977
|
:rtype: str
|
|
34023
33978
|
"""
|
|
34024
33979
|
return self._TimeZone
|
|
@@ -34029,7 +33984,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
34029
33984
|
|
|
34030
33985
|
@property
|
|
34031
33986
|
def Metadata(self):
|
|
34032
|
-
r"""
|
|
33987
|
+
r"""<p>元数据信息,Kafka导入支持kafka_topic,kafka_partition,kafka_offset,kafka_timestamp</p>
|
|
34033
33988
|
:rtype: list of str
|
|
34034
33989
|
"""
|
|
34035
33990
|
return self._Metadata
|
|
@@ -34040,7 +33995,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
34040
33995
|
|
|
34041
33996
|
@property
|
|
34042
33997
|
def Keys(self):
|
|
34043
|
-
r"""
|
|
33998
|
+
r"""<p>日志Key列表,RechargeType为full_regex_log、delimiter_log时必填</p>
|
|
34044
33999
|
:rtype: list of str
|
|
34045
34000
|
"""
|
|
34046
34001
|
return self._Keys
|
|
@@ -34051,7 +34006,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
34051
34006
|
|
|
34052
34007
|
@property
|
|
34053
34008
|
def ParseArray(self):
|
|
34054
|
-
r"""json
|
|
34009
|
+
r"""<p>json解析模式,开启首层数据解析</p>
|
|
34055
34010
|
:rtype: bool
|
|
34056
34011
|
"""
|
|
34057
34012
|
return self._ParseArray
|
|
@@ -34062,8 +34017,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
34062
34017
|
|
|
34063
34018
|
@property
|
|
34064
34019
|
def Delimiter(self):
|
|
34065
|
-
r"""
|
|
34066
|
-
当解析格式为分隔符提取时,该字段必填
|
|
34020
|
+
r"""<p>分隔符解析模式-分隔符<br>当解析格式为分隔符提取时,该字段必填</p>
|
|
34067
34021
|
:rtype: str
|
|
34068
34022
|
"""
|
|
34069
34023
|
return self._Delimiter
|
|
@@ -34072,6 +34026,17 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
34072
34026
|
def Delimiter(self, Delimiter):
|
|
34073
34027
|
self._Delimiter = Delimiter
|
|
34074
34028
|
|
|
34029
|
+
@property
|
|
34030
|
+
def JsonExpand(self):
|
|
34031
|
+
r"""<p>JSON嵌套展开配置。仅RechargeType为json_log时生效,不传表示不开启。</p>
|
|
34032
|
+
:rtype: :class:`tencentcloud.cls.v20201016.models.JsonExpandInfo`
|
|
34033
|
+
"""
|
|
34034
|
+
return self._JsonExpand
|
|
34035
|
+
|
|
34036
|
+
@JsonExpand.setter
|
|
34037
|
+
def JsonExpand(self, JsonExpand):
|
|
34038
|
+
self._JsonExpand = JsonExpand
|
|
34039
|
+
|
|
34075
34040
|
|
|
34076
34041
|
def _deserialize(self, params):
|
|
34077
34042
|
self._RechargeType = params.get("RechargeType")
|
|
@@ -34090,6 +34055,9 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
34090
34055
|
self._Keys = params.get("Keys")
|
|
34091
34056
|
self._ParseArray = params.get("ParseArray")
|
|
34092
34057
|
self._Delimiter = params.get("Delimiter")
|
|
34058
|
+
if params.get("JsonExpand") is not None:
|
|
34059
|
+
self._JsonExpand = JsonExpandInfo()
|
|
34060
|
+
self._JsonExpand._deserialize(params.get("JsonExpand"))
|
|
34093
34061
|
memeber_set = set(params.keys())
|
|
34094
34062
|
for name, value in vars(self).items():
|
|
34095
34063
|
property_name = name[1:]
|
|
@@ -41707,28 +41675,32 @@ class ModifyScheduledSqlRequest(AbstractModel):
|
|
|
41707
41675
|
|
|
41708
41676
|
def __init__(self):
|
|
41709
41677
|
r"""
|
|
41710
|
-
:param _TaskId:
|
|
41678
|
+
:param _TaskId: <p>任务ID,通过<a href="https://cloud.tencent.com/document/product/614/95519">获取定时SQL分析任务列表</a>获取</p>
|
|
41711
41679
|
:type TaskId: str
|
|
41712
|
-
:param _SrcTopicId:
|
|
41680
|
+
:param _SrcTopicId: <p>源日志主题,通过<a href="https://cloud.tencent.com/document/product/614/95519">获取定时SQL分析任务列表</a>获取</p>
|
|
41713
41681
|
:type SrcTopicId: str
|
|
41714
|
-
:param _EnableFlag:
|
|
41682
|
+
:param _EnableFlag: <p>任务启动状态. 1开启, 2关闭</p>
|
|
41715
41683
|
:type EnableFlag: int
|
|
41716
|
-
:param _DstResource:
|
|
41684
|
+
:param _DstResource: <p>定时SQL分析的目标日志主题</p>
|
|
41717
41685
|
:type DstResource: :class:`tencentcloud.cls.v20201016.models.ScheduledSqlResouceInfo`
|
|
41718
|
-
:param _ScheduledSqlContent:
|
|
41686
|
+
:param _ScheduledSqlContent: <p>查询语句</p>
|
|
41719
41687
|
:type ScheduledSqlContent: str
|
|
41720
|
-
:param _ProcessPeriod:
|
|
41688
|
+
:param _ProcessPeriod: <p>调度周期(分钟),1~1440分钟</p>
|
|
41721
41689
|
:type ProcessPeriod: int
|
|
41722
|
-
:param _ProcessTimeWindow:
|
|
41690
|
+
:param _ProcessTimeWindow: <p>单次查询的时间窗口. 例子中为近15分钟</p>
|
|
41723
41691
|
:type ProcessTimeWindow: str
|
|
41724
|
-
:param _ProcessDelay:
|
|
41692
|
+
:param _ProcessDelay: <p>执行延迟(秒),0~120秒,默认60秒</p>
|
|
41725
41693
|
:type ProcessDelay: int
|
|
41726
|
-
:param _SrcTopicRegion:
|
|
41694
|
+
:param _SrcTopicRegion: <p>源topicId的地域信息,支持地域见 <a href="https://cloud.tencent.com/document/api/614/56474#.E5.9C.B0.E5.9F.9F.E5.88.97.E8.A1.A8">地域列表</a> 文档</p>
|
|
41727
41695
|
:type SrcTopicRegion: str
|
|
41728
|
-
:param _Name:
|
|
41696
|
+
:param _Name: <p>任务名称,0~255字符</p>
|
|
41729
41697
|
:type Name: str
|
|
41730
|
-
:param _SyntaxRule:
|
|
41698
|
+
:param _SyntaxRule: <p>语法规则。 默认值为0。 0:Lucene语法,1:CQL语法</p>
|
|
41731
41699
|
:type SyntaxRule: int
|
|
41700
|
+
:param _HasServicesLog: <p>是否开启投递服务日志。1:关闭,2:开启。</p>
|
|
41701
|
+
:type HasServicesLog: int
|
|
41702
|
+
:param _FullQuery: <p>全文检索查询标记。1:关闭,2:打开。</p>
|
|
41703
|
+
:type FullQuery: int
|
|
41732
41704
|
"""
|
|
41733
41705
|
self._TaskId = None
|
|
41734
41706
|
self._SrcTopicId = None
|
|
@@ -41741,10 +41713,12 @@ class ModifyScheduledSqlRequest(AbstractModel):
|
|
|
41741
41713
|
self._SrcTopicRegion = None
|
|
41742
41714
|
self._Name = None
|
|
41743
41715
|
self._SyntaxRule = None
|
|
41716
|
+
self._HasServicesLog = None
|
|
41717
|
+
self._FullQuery = None
|
|
41744
41718
|
|
|
41745
41719
|
@property
|
|
41746
41720
|
def TaskId(self):
|
|
41747
|
-
r"""
|
|
41721
|
+
r"""<p>任务ID,通过<a href="https://cloud.tencent.com/document/product/614/95519">获取定时SQL分析任务列表</a>获取</p>
|
|
41748
41722
|
:rtype: str
|
|
41749
41723
|
"""
|
|
41750
41724
|
return self._TaskId
|
|
@@ -41755,7 +41729,7 @@ class ModifyScheduledSqlRequest(AbstractModel):
|
|
|
41755
41729
|
|
|
41756
41730
|
@property
|
|
41757
41731
|
def SrcTopicId(self):
|
|
41758
|
-
r"""
|
|
41732
|
+
r"""<p>源日志主题,通过<a href="https://cloud.tencent.com/document/product/614/95519">获取定时SQL分析任务列表</a>获取</p>
|
|
41759
41733
|
:rtype: str
|
|
41760
41734
|
"""
|
|
41761
41735
|
return self._SrcTopicId
|
|
@@ -41766,7 +41740,7 @@ class ModifyScheduledSqlRequest(AbstractModel):
|
|
|
41766
41740
|
|
|
41767
41741
|
@property
|
|
41768
41742
|
def EnableFlag(self):
|
|
41769
|
-
r"""
|
|
41743
|
+
r"""<p>任务启动状态. 1开启, 2关闭</p>
|
|
41770
41744
|
:rtype: int
|
|
41771
41745
|
"""
|
|
41772
41746
|
return self._EnableFlag
|
|
@@ -41777,7 +41751,7 @@ class ModifyScheduledSqlRequest(AbstractModel):
|
|
|
41777
41751
|
|
|
41778
41752
|
@property
|
|
41779
41753
|
def DstResource(self):
|
|
41780
|
-
r"""
|
|
41754
|
+
r"""<p>定时SQL分析的目标日志主题</p>
|
|
41781
41755
|
:rtype: :class:`tencentcloud.cls.v20201016.models.ScheduledSqlResouceInfo`
|
|
41782
41756
|
"""
|
|
41783
41757
|
return self._DstResource
|
|
@@ -41788,7 +41762,7 @@ class ModifyScheduledSqlRequest(AbstractModel):
|
|
|
41788
41762
|
|
|
41789
41763
|
@property
|
|
41790
41764
|
def ScheduledSqlContent(self):
|
|
41791
|
-
r"""
|
|
41765
|
+
r"""<p>查询语句</p>
|
|
41792
41766
|
:rtype: str
|
|
41793
41767
|
"""
|
|
41794
41768
|
return self._ScheduledSqlContent
|
|
@@ -41799,7 +41773,7 @@ class ModifyScheduledSqlRequest(AbstractModel):
|
|
|
41799
41773
|
|
|
41800
41774
|
@property
|
|
41801
41775
|
def ProcessPeriod(self):
|
|
41802
|
-
r"""
|
|
41776
|
+
r"""<p>调度周期(分钟),1~1440分钟</p>
|
|
41803
41777
|
:rtype: int
|
|
41804
41778
|
"""
|
|
41805
41779
|
return self._ProcessPeriod
|
|
@@ -41810,7 +41784,7 @@ class ModifyScheduledSqlRequest(AbstractModel):
|
|
|
41810
41784
|
|
|
41811
41785
|
@property
|
|
41812
41786
|
def ProcessTimeWindow(self):
|
|
41813
|
-
r"""
|
|
41787
|
+
r"""<p>单次查询的时间窗口. 例子中为近15分钟</p>
|
|
41814
41788
|
:rtype: str
|
|
41815
41789
|
"""
|
|
41816
41790
|
return self._ProcessTimeWindow
|
|
@@ -41821,7 +41795,7 @@ class ModifyScheduledSqlRequest(AbstractModel):
|
|
|
41821
41795
|
|
|
41822
41796
|
@property
|
|
41823
41797
|
def ProcessDelay(self):
|
|
41824
|
-
r"""
|
|
41798
|
+
r"""<p>执行延迟(秒),0~120秒,默认60秒</p>
|
|
41825
41799
|
:rtype: int
|
|
41826
41800
|
"""
|
|
41827
41801
|
return self._ProcessDelay
|
|
@@ -41832,7 +41806,7 @@ class ModifyScheduledSqlRequest(AbstractModel):
|
|
|
41832
41806
|
|
|
41833
41807
|
@property
|
|
41834
41808
|
def SrcTopicRegion(self):
|
|
41835
|
-
r"""
|
|
41809
|
+
r"""<p>源topicId的地域信息,支持地域见 <a href="https://cloud.tencent.com/document/api/614/56474#.E5.9C.B0.E5.9F.9F.E5.88.97.E8.A1.A8">地域列表</a> 文档</p>
|
|
41836
41810
|
:rtype: str
|
|
41837
41811
|
"""
|
|
41838
41812
|
return self._SrcTopicRegion
|
|
@@ -41843,7 +41817,7 @@ class ModifyScheduledSqlRequest(AbstractModel):
|
|
|
41843
41817
|
|
|
41844
41818
|
@property
|
|
41845
41819
|
def Name(self):
|
|
41846
|
-
r"""
|
|
41820
|
+
r"""<p>任务名称,0~255字符</p>
|
|
41847
41821
|
:rtype: str
|
|
41848
41822
|
"""
|
|
41849
41823
|
return self._Name
|
|
@@ -41854,7 +41828,7 @@ class ModifyScheduledSqlRequest(AbstractModel):
|
|
|
41854
41828
|
|
|
41855
41829
|
@property
|
|
41856
41830
|
def SyntaxRule(self):
|
|
41857
|
-
r"""
|
|
41831
|
+
r"""<p>语法规则。 默认值为0。 0:Lucene语法,1:CQL语法</p>
|
|
41858
41832
|
:rtype: int
|
|
41859
41833
|
"""
|
|
41860
41834
|
return self._SyntaxRule
|
|
@@ -41863,6 +41837,28 @@ class ModifyScheduledSqlRequest(AbstractModel):
|
|
|
41863
41837
|
def SyntaxRule(self, SyntaxRule):
|
|
41864
41838
|
self._SyntaxRule = SyntaxRule
|
|
41865
41839
|
|
|
41840
|
+
@property
|
|
41841
|
+
def HasServicesLog(self):
|
|
41842
|
+
r"""<p>是否开启投递服务日志。1:关闭,2:开启。</p>
|
|
41843
|
+
:rtype: int
|
|
41844
|
+
"""
|
|
41845
|
+
return self._HasServicesLog
|
|
41846
|
+
|
|
41847
|
+
@HasServicesLog.setter
|
|
41848
|
+
def HasServicesLog(self, HasServicesLog):
|
|
41849
|
+
self._HasServicesLog = HasServicesLog
|
|
41850
|
+
|
|
41851
|
+
@property
|
|
41852
|
+
def FullQuery(self):
|
|
41853
|
+
r"""<p>全文检索查询标记。1:关闭,2:打开。</p>
|
|
41854
|
+
:rtype: int
|
|
41855
|
+
"""
|
|
41856
|
+
return self._FullQuery
|
|
41857
|
+
|
|
41858
|
+
@FullQuery.setter
|
|
41859
|
+
def FullQuery(self, FullQuery):
|
|
41860
|
+
self._FullQuery = FullQuery
|
|
41861
|
+
|
|
41866
41862
|
|
|
41867
41863
|
def _deserialize(self, params):
|
|
41868
41864
|
self._TaskId = params.get("TaskId")
|
|
@@ -41878,6 +41874,8 @@ class ModifyScheduledSqlRequest(AbstractModel):
|
|
|
41878
41874
|
self._SrcTopicRegion = params.get("SrcTopicRegion")
|
|
41879
41875
|
self._Name = params.get("Name")
|
|
41880
41876
|
self._SyntaxRule = params.get("SyntaxRule")
|
|
41877
|
+
self._HasServicesLog = params.get("HasServicesLog")
|
|
41878
|
+
self._FullQuery = params.get("FullQuery")
|
|
41881
41879
|
memeber_set = set(params.keys())
|
|
41882
41880
|
for name, value in vars(self).items():
|
|
41883
41881
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cls
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.127
|
|
4
4
|
Summary: Tencent Cloud Cls 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.127
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.127
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.111
|
|
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
|