tencentcloud-sdk-python-cls 3.1.107__tar.gz → 3.1.124__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.107 → tencentcloud_sdk_python_cls-3.1.124}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cls-3.1.107 → tencentcloud_sdk_python_cls-3.1.124}/setup.py +1 -1
- {tencentcloud_sdk_python_cls-3.1.107 → tencentcloud_sdk_python_cls-3.1.124}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cls-3.1.107 → tencentcloud_sdk_python_cls-3.1.124}/tencentcloud/cls/v20201016/cls_client.py +48 -0
- {tencentcloud_sdk_python_cls-3.1.107 → tencentcloud_sdk_python_cls-3.1.124}/tencentcloud/cls/v20201016/cls_client_async.py +38 -0
- {tencentcloud_sdk_python_cls-3.1.107 → tencentcloud_sdk_python_cls-3.1.124}/tencentcloud/cls/v20201016/models.py +231 -210
- {tencentcloud_sdk_python_cls-3.1.107 → tencentcloud_sdk_python_cls-3.1.124}/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cls-3.1.124/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cls-3.1.107/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cls-3.1.107 → tencentcloud_sdk_python_cls-3.1.124}/README.rst +0 -0
- {tencentcloud_sdk_python_cls-3.1.107 → tencentcloud_sdk_python_cls-3.1.124}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cls-3.1.107 → tencentcloud_sdk_python_cls-3.1.124}/tencentcloud/cls/__init__.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.107 → tencentcloud_sdk_python_cls-3.1.124}/tencentcloud/cls/v20201016/__init__.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.107 → tencentcloud_sdk_python_cls-3.1.124}/tencentcloud/cls/v20201016/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.107 → tencentcloud_sdk_python_cls-3.1.124}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cls-3.1.107 → tencentcloud_sdk_python_cls-3.1.124}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cls-3.1.107 → tencentcloud_sdk_python_cls-3.1.124}/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.124
|
|
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.124
|
|
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.124,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cls SDK for Python',
|
|
@@ -3280,6 +3280,30 @@ class ClsClient(AbstractClient):
|
|
|
3280
3280
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3281
3281
|
|
|
3282
3282
|
|
|
3283
|
+
def GetClsService(self, request):
|
|
3284
|
+
r"""查询日志服务是否开通
|
|
3285
|
+
API 中 Region 填写任意一个地域均可,建议使用广州(ap-guangzhou)
|
|
3286
|
+
|
|
3287
|
+
:param request: Request instance for GetClsService.
|
|
3288
|
+
:type request: :class:`tencentcloud.cls.v20201016.models.GetClsServiceRequest`
|
|
3289
|
+
:rtype: :class:`tencentcloud.cls.v20201016.models.GetClsServiceResponse`
|
|
3290
|
+
|
|
3291
|
+
"""
|
|
3292
|
+
try:
|
|
3293
|
+
params = request._serialize()
|
|
3294
|
+
headers = request.headers
|
|
3295
|
+
body = self.call("GetClsService", params, headers=headers)
|
|
3296
|
+
response = json.loads(body)
|
|
3297
|
+
model = models.GetClsServiceResponse()
|
|
3298
|
+
model._deserialize(response["Response"])
|
|
3299
|
+
return model
|
|
3300
|
+
except Exception as e:
|
|
3301
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3302
|
+
raise
|
|
3303
|
+
else:
|
|
3304
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3305
|
+
|
|
3306
|
+
|
|
3283
3307
|
def GetMetricLabelValues(self, request):
|
|
3284
3308
|
r"""获取时序label values列表
|
|
3285
3309
|
|
|
@@ -4155,6 +4179,30 @@ class ClsClient(AbstractClient):
|
|
|
4155
4179
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4156
4180
|
|
|
4157
4181
|
|
|
4182
|
+
def OpenClsService(self, request):
|
|
4183
|
+
r"""开通日志服务
|
|
4184
|
+
API 中 Region 填写任意一个地域均可开通所有地域的 CLS,建议使用广州(ap-guangzhou)
|
|
4185
|
+
|
|
4186
|
+
:param request: Request instance for OpenClsService.
|
|
4187
|
+
:type request: :class:`tencentcloud.cls.v20201016.models.OpenClsServiceRequest`
|
|
4188
|
+
:rtype: :class:`tencentcloud.cls.v20201016.models.OpenClsServiceResponse`
|
|
4189
|
+
|
|
4190
|
+
"""
|
|
4191
|
+
try:
|
|
4192
|
+
params = request._serialize()
|
|
4193
|
+
headers = request.headers
|
|
4194
|
+
body = self.call("OpenClsService", params, headers=headers)
|
|
4195
|
+
response = json.loads(body)
|
|
4196
|
+
model = models.OpenClsServiceResponse()
|
|
4197
|
+
model._deserialize(response["Response"])
|
|
4198
|
+
return model
|
|
4199
|
+
except Exception as e:
|
|
4200
|
+
if isinstance(e, TencentCloudSDKException):
|
|
4201
|
+
raise
|
|
4202
|
+
else:
|
|
4203
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4204
|
+
|
|
4205
|
+
|
|
4158
4206
|
def OpenKafkaConsumer(self, request):
|
|
4159
4207
|
r"""打开Kafka协议消费功能
|
|
4160
4208
|
|
|
@@ -2579,6 +2579,25 @@ class ClsClient(AbstractClient):
|
|
|
2579
2579
|
|
|
2580
2580
|
return await self.call_and_deserialize(**kwargs)
|
|
2581
2581
|
|
|
2582
|
+
async def GetClsService(
|
|
2583
|
+
self,
|
|
2584
|
+
request: models.GetClsServiceRequest,
|
|
2585
|
+
opts: Dict = None,
|
|
2586
|
+
) -> models.GetClsServiceResponse:
|
|
2587
|
+
"""
|
|
2588
|
+
查询日志服务是否开通
|
|
2589
|
+
API 中 Region 填写任意一个地域均可,建议使用广州(ap-guangzhou)
|
|
2590
|
+
"""
|
|
2591
|
+
|
|
2592
|
+
kwargs = {}
|
|
2593
|
+
kwargs["action"] = "GetClsService"
|
|
2594
|
+
kwargs["params"] = request._serialize()
|
|
2595
|
+
kwargs["resp_cls"] = models.GetClsServiceResponse
|
|
2596
|
+
kwargs["headers"] = request.headers
|
|
2597
|
+
kwargs["opts"] = opts or {}
|
|
2598
|
+
|
|
2599
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2600
|
+
|
|
2582
2601
|
async def GetMetricLabelValues(
|
|
2583
2602
|
self,
|
|
2584
2603
|
request: models.GetMetricLabelValuesRequest,
|
|
@@ -3264,6 +3283,25 @@ class ClsClient(AbstractClient):
|
|
|
3264
3283
|
|
|
3265
3284
|
return await self.call_and_deserialize(**kwargs)
|
|
3266
3285
|
|
|
3286
|
+
async def OpenClsService(
|
|
3287
|
+
self,
|
|
3288
|
+
request: models.OpenClsServiceRequest,
|
|
3289
|
+
opts: Dict = None,
|
|
3290
|
+
) -> models.OpenClsServiceResponse:
|
|
3291
|
+
"""
|
|
3292
|
+
开通日志服务
|
|
3293
|
+
API 中 Region 填写任意一个地域均可开通所有地域的 CLS,建议使用广州(ap-guangzhou)
|
|
3294
|
+
"""
|
|
3295
|
+
|
|
3296
|
+
kwargs = {}
|
|
3297
|
+
kwargs["action"] = "OpenClsService"
|
|
3298
|
+
kwargs["params"] = request._serialize()
|
|
3299
|
+
kwargs["resp_cls"] = models.OpenClsServiceResponse
|
|
3300
|
+
kwargs["headers"] = request.headers
|
|
3301
|
+
kwargs["opts"] = opts or {}
|
|
3302
|
+
|
|
3303
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3304
|
+
|
|
3267
3305
|
async def OpenKafkaConsumer(
|
|
3268
3306
|
self,
|
|
3269
3307
|
request: models.OpenKafkaConsumerRequest,
|
|
@@ -31496,6 +31496,55 @@ class GetAlarmLogResponse(AbstractModel):
|
|
|
31496
31496
|
self._RequestId = params.get("RequestId")
|
|
31497
31497
|
|
|
31498
31498
|
|
|
31499
|
+
class GetClsServiceRequest(AbstractModel):
|
|
31500
|
+
r"""GetClsService请求参数结构体
|
|
31501
|
+
|
|
31502
|
+
"""
|
|
31503
|
+
|
|
31504
|
+
|
|
31505
|
+
class GetClsServiceResponse(AbstractModel):
|
|
31506
|
+
r"""GetClsService返回参数结构体
|
|
31507
|
+
|
|
31508
|
+
"""
|
|
31509
|
+
|
|
31510
|
+
def __init__(self):
|
|
31511
|
+
r"""
|
|
31512
|
+
:param _Status: 账户服务开通状态,0:服务已开通,1:服务未开通
|
|
31513
|
+
:type Status: int
|
|
31514
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
31515
|
+
:type RequestId: str
|
|
31516
|
+
"""
|
|
31517
|
+
self._Status = None
|
|
31518
|
+
self._RequestId = None
|
|
31519
|
+
|
|
31520
|
+
@property
|
|
31521
|
+
def Status(self):
|
|
31522
|
+
r"""账户服务开通状态,0:服务已开通,1:服务未开通
|
|
31523
|
+
:rtype: int
|
|
31524
|
+
"""
|
|
31525
|
+
return self._Status
|
|
31526
|
+
|
|
31527
|
+
@Status.setter
|
|
31528
|
+
def Status(self, Status):
|
|
31529
|
+
self._Status = Status
|
|
31530
|
+
|
|
31531
|
+
@property
|
|
31532
|
+
def RequestId(self):
|
|
31533
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
31534
|
+
:rtype: str
|
|
31535
|
+
"""
|
|
31536
|
+
return self._RequestId
|
|
31537
|
+
|
|
31538
|
+
@RequestId.setter
|
|
31539
|
+
def RequestId(self, RequestId):
|
|
31540
|
+
self._RequestId = RequestId
|
|
31541
|
+
|
|
31542
|
+
|
|
31543
|
+
def _deserialize(self, params):
|
|
31544
|
+
self._Status = params.get("Status")
|
|
31545
|
+
self._RequestId = params.get("RequestId")
|
|
31546
|
+
|
|
31547
|
+
|
|
31499
31548
|
class GetMetricLabelValuesRequest(AbstractModel):
|
|
31500
31549
|
r"""GetMetricLabelValues请求参数结构体
|
|
31501
31550
|
|
|
@@ -32338,6 +32387,105 @@ class InstanceData(AbstractModel):
|
|
|
32338
32387
|
|
|
32339
32388
|
|
|
32340
32389
|
|
|
32390
|
+
class JsonExpandInfo(AbstractModel):
|
|
32391
|
+
r"""**JsonExpandInfo 数据结构描述**:
|
|
32392
|
+
```
|
|
32393
|
+
JSON嵌套展开配置
|
|
32394
|
+
```
|
|
32395
|
+
|
|
32396
|
+
**各字段描述**:
|
|
32397
|
+
|
|
32398
|
+
| 字段 | 描述 |
|
|
32399
|
+
|------|------|
|
|
32400
|
+
| Switch | 是否开启JSON嵌套展开 |
|
|
32401
|
+
| Fields | 待展开的JSON字段列表,1~3个 |
|
|
32402
|
+
| DropOriginal | 展开后是否丢弃原始字段,默认true |
|
|
32403
|
+
| ConflictPolicy | 字段冲突策略,keep_outer:保留外层(默认),keep_inner:保留内层 |
|
|
32404
|
+
|
|
32405
|
+
**LogRechargeRuleInfo 新增字段**:
|
|
32406
|
+
|
|
32407
|
+
| 字段 | 描述 |
|
|
32408
|
+
|------|------|
|
|
32409
|
+
| JsonExpand | JSON嵌套展开配置,仅RechargeType为json_log时生效 |
|
|
32410
|
+
|
|
32411
|
+
"""
|
|
32412
|
+
|
|
32413
|
+
def __init__(self):
|
|
32414
|
+
r"""
|
|
32415
|
+
:param _Switch: <p>是否开启JSON嵌套展开功能。开启后将对指定JSON字段进行扁平化展开处理</p><p>默认值:无(必选参数)</p>
|
|
32416
|
+
:type Switch: bool
|
|
32417
|
+
: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>
|
|
32418
|
+
:type Fields: list of str
|
|
32419
|
+
:param _DropOriginal: <p>展开后是否丢弃原始的嵌套字段。true: 丢弃原始字段只保留展开后的平铺字段; false: 保留原始字段同时增加展开后的平铺字段</p><p>枚举值:</p><ul><li>true / false: 丢弃原字段 / 保留原字段</li></ul><p>默认值:true</p><p>非必选,不传时默认为true</p>
|
|
32420
|
+
:type DropOriginal: bool
|
|
32421
|
+
:param _ConflictPolicy: <p>展开后的字段与已有字段发生冲突时的处理策略</p><p>枚举值:</p><ul><li>keep_outer / keep_inner: 保留外层(已存在)字段 / 保留内层(新展开)字段</li></ul><p>默认值:keep_outer</p><p>非必选,不传时默认为keep_outer</p>
|
|
32422
|
+
:type ConflictPolicy: str
|
|
32423
|
+
"""
|
|
32424
|
+
self._Switch = None
|
|
32425
|
+
self._Fields = None
|
|
32426
|
+
self._DropOriginal = None
|
|
32427
|
+
self._ConflictPolicy = None
|
|
32428
|
+
|
|
32429
|
+
@property
|
|
32430
|
+
def Switch(self):
|
|
32431
|
+
r"""<p>是否开启JSON嵌套展开功能。开启后将对指定JSON字段进行扁平化展开处理</p><p>默认值:无(必选参数)</p>
|
|
32432
|
+
:rtype: bool
|
|
32433
|
+
"""
|
|
32434
|
+
return self._Switch
|
|
32435
|
+
|
|
32436
|
+
@Switch.setter
|
|
32437
|
+
def Switch(self, Switch):
|
|
32438
|
+
self._Switch = Switch
|
|
32439
|
+
|
|
32440
|
+
@property
|
|
32441
|
+
def Fields(self):
|
|
32442
|
+
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>
|
|
32443
|
+
:rtype: list of str
|
|
32444
|
+
"""
|
|
32445
|
+
return self._Fields
|
|
32446
|
+
|
|
32447
|
+
@Fields.setter
|
|
32448
|
+
def Fields(self, Fields):
|
|
32449
|
+
self._Fields = Fields
|
|
32450
|
+
|
|
32451
|
+
@property
|
|
32452
|
+
def DropOriginal(self):
|
|
32453
|
+
r"""<p>展开后是否丢弃原始的嵌套字段。true: 丢弃原始字段只保留展开后的平铺字段; false: 保留原始字段同时增加展开后的平铺字段</p><p>枚举值:</p><ul><li>true / false: 丢弃原字段 / 保留原字段</li></ul><p>默认值:true</p><p>非必选,不传时默认为true</p>
|
|
32454
|
+
:rtype: bool
|
|
32455
|
+
"""
|
|
32456
|
+
return self._DropOriginal
|
|
32457
|
+
|
|
32458
|
+
@DropOriginal.setter
|
|
32459
|
+
def DropOriginal(self, DropOriginal):
|
|
32460
|
+
self._DropOriginal = DropOriginal
|
|
32461
|
+
|
|
32462
|
+
@property
|
|
32463
|
+
def ConflictPolicy(self):
|
|
32464
|
+
r"""<p>展开后的字段与已有字段发生冲突时的处理策略</p><p>枚举值:</p><ul><li>keep_outer / keep_inner: 保留外层(已存在)字段 / 保留内层(新展开)字段</li></ul><p>默认值:keep_outer</p><p>非必选,不传时默认为keep_outer</p>
|
|
32465
|
+
:rtype: str
|
|
32466
|
+
"""
|
|
32467
|
+
return self._ConflictPolicy
|
|
32468
|
+
|
|
32469
|
+
@ConflictPolicy.setter
|
|
32470
|
+
def ConflictPolicy(self, ConflictPolicy):
|
|
32471
|
+
self._ConflictPolicy = ConflictPolicy
|
|
32472
|
+
|
|
32473
|
+
|
|
32474
|
+
def _deserialize(self, params):
|
|
32475
|
+
self._Switch = params.get("Switch")
|
|
32476
|
+
self._Fields = params.get("Fields")
|
|
32477
|
+
self._DropOriginal = params.get("DropOriginal")
|
|
32478
|
+
self._ConflictPolicy = params.get("ConflictPolicy")
|
|
32479
|
+
memeber_set = set(params.keys())
|
|
32480
|
+
for name, value in vars(self).items():
|
|
32481
|
+
property_name = name[1:]
|
|
32482
|
+
if property_name in memeber_set:
|
|
32483
|
+
memeber_set.remove(property_name)
|
|
32484
|
+
if len(memeber_set) > 0:
|
|
32485
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
32486
|
+
|
|
32487
|
+
|
|
32488
|
+
|
|
32341
32489
|
class JsonInfo(AbstractModel):
|
|
32342
32490
|
r"""JSON类型描述
|
|
32343
32491
|
|
|
@@ -33619,127 +33767,40 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
33619
33767
|
|
|
33620
33768
|
def __init__(self):
|
|
33621
33769
|
r"""
|
|
33622
|
-
:param _RechargeType:
|
|
33770
|
+
:param _RechargeType: <p>导入类型,支持json_log:json格式日志,minimalist_log: 单行全文,fullregex_log: 单行完全正则</p>
|
|
33623
33771
|
:type RechargeType: str
|
|
33624
|
-
:param _EncodingFormat:
|
|
33772
|
+
:param _EncodingFormat: <p>解析编码格式,0: UTF-8(默认值),1: GBK</p>
|
|
33625
33773
|
:type EncodingFormat: int
|
|
33626
|
-
:param _DefaultTimeSwitch:
|
|
33774
|
+
:param _DefaultTimeSwitch: <p>使用默认时间状态。true:开启后将使用系统当前时间或 Kafka 消息时间戳作为日志时间戳;false:关闭将使用日志中的时间字段作为日志时间戳。 默认:true</p>
|
|
33627
33775
|
:type DefaultTimeSwitch: bool
|
|
33628
|
-
:param _LogRegex:
|
|
33776
|
+
:param _LogRegex: <p>整条日志匹配规则,只有RechargeType为fullregex_log时有效</p>
|
|
33629
33777
|
:type LogRegex: str
|
|
33630
|
-
:param _UnMatchLogSwitch:
|
|
33778
|
+
:param _UnMatchLogSwitch: <p>解析失败日志是否上传,true表示上传,false表示不上传</p>
|
|
33631
33779
|
:type UnMatchLogSwitch: bool
|
|
33632
|
-
:param _UnMatchLogKey:
|
|
33780
|
+
:param _UnMatchLogKey: <p>解析失败日志的键名称</p>
|
|
33633
33781
|
:type UnMatchLogKey: str
|
|
33634
|
-
:param _UnMatchLogTimeSrc:
|
|
33782
|
+
:param _UnMatchLogTimeSrc: <p>解析失败日志时间来源,0: 系统当前时间,1: Kafka消息时间戳</p>
|
|
33635
33783
|
:type UnMatchLogTimeSrc: int
|
|
33636
|
-
:param _DefaultTimeSrc:
|
|
33784
|
+
:param _DefaultTimeSrc: <p>默认时间来源,0: 系统当前时间,1: Kafka消息时间戳</p>
|
|
33637
33785
|
:type DefaultTimeSrc: int
|
|
33638
|
-
:param _TimeKey:
|
|
33639
|
-
|
|
33640
|
-
- 当DefaultTimeSwitch为false,且RechargeType数据提取模式为 `json_log` JSON-文件日志 或 `fullregex_log` 单行完全正则-文件日志时, TimeKey不能为空。
|
|
33786
|
+
:param _TimeKey: <p>时间字段,日志中代表时间的字段名。</p><ul><li>当DefaultTimeSwitch为false,且RechargeType数据提取模式为 <code>json_log</code> JSON-文件日志 或 <code>fullregex_log</code> 单行完全正则-文件日志时, TimeKey不能为空。</li></ul>
|
|
33641
33787
|
:type TimeKey: str
|
|
33642
|
-
:param _TimeRegex:
|
|
33643
|
-
- 当DefaultTimeSwitch为false,且RechargeType数据提取模式为 `minimalist_log` 单行全文-文件日志时, TimeRegex不能为空。
|
|
33644
|
-
- 仅需输入日志中代表时间的字段的正则表达式即可;若匹配到多个字段,将使用第一个。
|
|
33645
|
-
例:日志原文为:message with time 2022-08-08 14:20:20,则您可以设置提取时间正则为\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d
|
|
33646
|
-
|
|
33788
|
+
: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>
|
|
33647
33789
|
:type TimeRegex: str
|
|
33648
|
-
:param _TimeFormat:
|
|
33649
|
-
- 当DefaultTimeSwitch为false时, TimeFormat不能为空。
|
|
33790
|
+
:param _TimeFormat: <p>时间字段格式。</p><ul><li>当DefaultTimeSwitch为false时, TimeFormat不能为空。</li></ul>
|
|
33650
33791
|
:type TimeFormat: str
|
|
33651
|
-
:param _TimeZone:
|
|
33652
|
-
- 当DefaultTimeSwitch为false时, TimeZone不能为空。
|
|
33653
|
-
- 时区格式规则
|
|
33654
|
-
前缀:使用 GMT 或 UTC 作为时区基准
|
|
33655
|
-
偏移量:
|
|
33656
|
-
- `-` 表示西时区(比基准时间晚)
|
|
33657
|
-
- `+` 表示东时区(比基准时间早)
|
|
33658
|
-
- 格式为 ±HH:MM(小时:分钟)
|
|
33659
|
-
|
|
33660
|
-
- 当前支持:
|
|
33661
|
-
```
|
|
33662
|
-
"GMT-12:00"
|
|
33663
|
-
"GMT-11:00"
|
|
33664
|
-
"GMT-10:00"
|
|
33665
|
-
"GMT-09:30"
|
|
33666
|
-
"GMT-09:00"
|
|
33667
|
-
"GMT-08:00"
|
|
33668
|
-
"GMT-07:00"
|
|
33669
|
-
"GMT-06:00"
|
|
33670
|
-
"GMT-05:00"
|
|
33671
|
-
"GMT-04:00"
|
|
33672
|
-
"GMT-03:30"
|
|
33673
|
-
"GMT-03:00"
|
|
33674
|
-
"GMT-02:00"
|
|
33675
|
-
"GMT-01:00"
|
|
33676
|
-
"GMT+00:00"
|
|
33677
|
-
"GMT+01:00"
|
|
33678
|
-
"GMT+02:00"
|
|
33679
|
-
"GMT+03:30"
|
|
33680
|
-
"GMT+04:00"
|
|
33681
|
-
"GMT+04:30"
|
|
33682
|
-
"GMT+05:00"
|
|
33683
|
-
"GMT+05:30"
|
|
33684
|
-
"GMT+05:45"
|
|
33685
|
-
"GMT+06:00"
|
|
33686
|
-
"GMT+06:30"
|
|
33687
|
-
"GMT+07:00"
|
|
33688
|
-
"GMT+08:00"
|
|
33689
|
-
"GMT+09:00"
|
|
33690
|
-
"GMT+09:30"
|
|
33691
|
-
"GMT+10:00"
|
|
33692
|
-
"GMT+10:30"
|
|
33693
|
-
"GMT+11:00"
|
|
33694
|
-
"GMT+11:30"
|
|
33695
|
-
"GMT+12:00"
|
|
33696
|
-
"GMT+12:45"
|
|
33697
|
-
"GMT+13:00"
|
|
33698
|
-
"GMT+14:00"
|
|
33699
|
-
"UTC-11:00"
|
|
33700
|
-
"UTC-10:00"
|
|
33701
|
-
"UTC-09:00"
|
|
33702
|
-
"UTC-08:00"
|
|
33703
|
-
"UTC-12:00"
|
|
33704
|
-
"UTC-07:00"
|
|
33705
|
-
"UTC-06:00"
|
|
33706
|
-
"UTC-05:00"
|
|
33707
|
-
"UTC-04:30"
|
|
33708
|
-
"UTC-04:00"
|
|
33709
|
-
"UTC-03:30"
|
|
33710
|
-
"UTC-03:00"
|
|
33711
|
-
"UTC-02:00"
|
|
33712
|
-
"UTC-01:00"
|
|
33713
|
-
"UTC+00:00"
|
|
33714
|
-
"UTC+01:00"
|
|
33715
|
-
"UTC+02:00"
|
|
33716
|
-
"UTC+03:00"
|
|
33717
|
-
"UTC+03:30"
|
|
33718
|
-
"UTC+04:00"
|
|
33719
|
-
"UTC+04:30"
|
|
33720
|
-
"UTC+05:00"
|
|
33721
|
-
"UTC+05:45"
|
|
33722
|
-
"UTC+06:00"
|
|
33723
|
-
"UTC+06:30"
|
|
33724
|
-
"UTC+07:00"
|
|
33725
|
-
"UTC+08:00"
|
|
33726
|
-
"UTC+09:00"
|
|
33727
|
-
"UTC+09:30"
|
|
33728
|
-
"UTC+10:00"
|
|
33729
|
-
"UTC+11:00"
|
|
33730
|
-
"UTC+12:00"
|
|
33731
|
-
"UTC+13:00"
|
|
33732
|
-
```
|
|
33792
|
+
: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>
|
|
33733
33793
|
:type TimeZone: str
|
|
33734
|
-
:param _Metadata:
|
|
33794
|
+
:param _Metadata: <p>元数据信息,Kafka导入支持kafka_topic,kafka_partition,kafka_offset,kafka_timestamp</p>
|
|
33735
33795
|
:type Metadata: list of str
|
|
33736
|
-
:param _Keys:
|
|
33796
|
+
:param _Keys: <p>日志Key列表,RechargeType为full_regex_log、delimiter_log时必填</p>
|
|
33737
33797
|
:type Keys: list of str
|
|
33738
|
-
:param _ParseArray: json
|
|
33798
|
+
:param _ParseArray: <p>json解析模式,开启首层数据解析</p>
|
|
33739
33799
|
:type ParseArray: bool
|
|
33740
|
-
:param _Delimiter:
|
|
33741
|
-
当解析格式为分隔符提取时,该字段必填
|
|
33800
|
+
:param _Delimiter: <p>分隔符解析模式-分隔符<br>当解析格式为分隔符提取时,该字段必填</p>
|
|
33742
33801
|
:type Delimiter: str
|
|
33802
|
+
:param _JsonExpand: <p>JSON嵌套展开配置。仅RechargeType为json_log时生效,不传表示不开启。</p>
|
|
33803
|
+
:type JsonExpand: :class:`tencentcloud.cls.v20201016.models.JsonExpandInfo`
|
|
33743
33804
|
"""
|
|
33744
33805
|
self._RechargeType = None
|
|
33745
33806
|
self._EncodingFormat = None
|
|
@@ -33757,10 +33818,11 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
33757
33818
|
self._Keys = None
|
|
33758
33819
|
self._ParseArray = None
|
|
33759
33820
|
self._Delimiter = None
|
|
33821
|
+
self._JsonExpand = None
|
|
33760
33822
|
|
|
33761
33823
|
@property
|
|
33762
33824
|
def RechargeType(self):
|
|
33763
|
-
r"""
|
|
33825
|
+
r"""<p>导入类型,支持json_log:json格式日志,minimalist_log: 单行全文,fullregex_log: 单行完全正则</p>
|
|
33764
33826
|
:rtype: str
|
|
33765
33827
|
"""
|
|
33766
33828
|
return self._RechargeType
|
|
@@ -33771,7 +33833,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
33771
33833
|
|
|
33772
33834
|
@property
|
|
33773
33835
|
def EncodingFormat(self):
|
|
33774
|
-
r"""
|
|
33836
|
+
r"""<p>解析编码格式,0: UTF-8(默认值),1: GBK</p>
|
|
33775
33837
|
:rtype: int
|
|
33776
33838
|
"""
|
|
33777
33839
|
return self._EncodingFormat
|
|
@@ -33782,7 +33844,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
33782
33844
|
|
|
33783
33845
|
@property
|
|
33784
33846
|
def DefaultTimeSwitch(self):
|
|
33785
|
-
r"""
|
|
33847
|
+
r"""<p>使用默认时间状态。true:开启后将使用系统当前时间或 Kafka 消息时间戳作为日志时间戳;false:关闭将使用日志中的时间字段作为日志时间戳。 默认:true</p>
|
|
33786
33848
|
:rtype: bool
|
|
33787
33849
|
"""
|
|
33788
33850
|
return self._DefaultTimeSwitch
|
|
@@ -33793,7 +33855,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
33793
33855
|
|
|
33794
33856
|
@property
|
|
33795
33857
|
def LogRegex(self):
|
|
33796
|
-
r"""
|
|
33858
|
+
r"""<p>整条日志匹配规则,只有RechargeType为fullregex_log时有效</p>
|
|
33797
33859
|
:rtype: str
|
|
33798
33860
|
"""
|
|
33799
33861
|
return self._LogRegex
|
|
@@ -33804,7 +33866,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
33804
33866
|
|
|
33805
33867
|
@property
|
|
33806
33868
|
def UnMatchLogSwitch(self):
|
|
33807
|
-
r"""
|
|
33869
|
+
r"""<p>解析失败日志是否上传,true表示上传,false表示不上传</p>
|
|
33808
33870
|
:rtype: bool
|
|
33809
33871
|
"""
|
|
33810
33872
|
return self._UnMatchLogSwitch
|
|
@@ -33815,7 +33877,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
33815
33877
|
|
|
33816
33878
|
@property
|
|
33817
33879
|
def UnMatchLogKey(self):
|
|
33818
|
-
r"""
|
|
33880
|
+
r"""<p>解析失败日志的键名称</p>
|
|
33819
33881
|
:rtype: str
|
|
33820
33882
|
"""
|
|
33821
33883
|
return self._UnMatchLogKey
|
|
@@ -33826,7 +33888,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
33826
33888
|
|
|
33827
33889
|
@property
|
|
33828
33890
|
def UnMatchLogTimeSrc(self):
|
|
33829
|
-
r"""
|
|
33891
|
+
r"""<p>解析失败日志时间来源,0: 系统当前时间,1: Kafka消息时间戳</p>
|
|
33830
33892
|
:rtype: int
|
|
33831
33893
|
"""
|
|
33832
33894
|
return self._UnMatchLogTimeSrc
|
|
@@ -33837,7 +33899,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
33837
33899
|
|
|
33838
33900
|
@property
|
|
33839
33901
|
def DefaultTimeSrc(self):
|
|
33840
|
-
r"""
|
|
33902
|
+
r"""<p>默认时间来源,0: 系统当前时间,1: Kafka消息时间戳</p>
|
|
33841
33903
|
:rtype: int
|
|
33842
33904
|
"""
|
|
33843
33905
|
return self._DefaultTimeSrc
|
|
@@ -33848,9 +33910,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
33848
33910
|
|
|
33849
33911
|
@property
|
|
33850
33912
|
def TimeKey(self):
|
|
33851
|
-
r"""
|
|
33852
|
-
|
|
33853
|
-
- 当DefaultTimeSwitch为false,且RechargeType数据提取模式为 `json_log` JSON-文件日志 或 `fullregex_log` 单行完全正则-文件日志时, TimeKey不能为空。
|
|
33913
|
+
r"""<p>时间字段,日志中代表时间的字段名。</p><ul><li>当DefaultTimeSwitch为false,且RechargeType数据提取模式为 <code>json_log</code> JSON-文件日志 或 <code>fullregex_log</code> 单行完全正则-文件日志时, TimeKey不能为空。</li></ul>
|
|
33854
33914
|
:rtype: str
|
|
33855
33915
|
"""
|
|
33856
33916
|
return self._TimeKey
|
|
@@ -33861,11 +33921,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
33861
33921
|
|
|
33862
33922
|
@property
|
|
33863
33923
|
def TimeRegex(self):
|
|
33864
|
-
r"""
|
|
33865
|
-
- 当DefaultTimeSwitch为false,且RechargeType数据提取模式为 `minimalist_log` 单行全文-文件日志时, TimeRegex不能为空。
|
|
33866
|
-
- 仅需输入日志中代表时间的字段的正则表达式即可;若匹配到多个字段,将使用第一个。
|
|
33867
|
-
例:日志原文为:message with time 2022-08-08 14:20:20,则您可以设置提取时间正则为\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d
|
|
33868
|
-
|
|
33924
|
+
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>
|
|
33869
33925
|
:rtype: str
|
|
33870
33926
|
"""
|
|
33871
33927
|
return self._TimeRegex
|
|
@@ -33876,8 +33932,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
33876
33932
|
|
|
33877
33933
|
@property
|
|
33878
33934
|
def TimeFormat(self):
|
|
33879
|
-
r"""
|
|
33880
|
-
- 当DefaultTimeSwitch为false时, TimeFormat不能为空。
|
|
33935
|
+
r"""<p>时间字段格式。</p><ul><li>当DefaultTimeSwitch为false时, TimeFormat不能为空。</li></ul>
|
|
33881
33936
|
:rtype: str
|
|
33882
33937
|
"""
|
|
33883
33938
|
return self._TimeFormat
|
|
@@ -33888,88 +33943,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
33888
33943
|
|
|
33889
33944
|
@property
|
|
33890
33945
|
def TimeZone(self):
|
|
33891
|
-
r"""
|
|
33892
|
-
- 当DefaultTimeSwitch为false时, TimeZone不能为空。
|
|
33893
|
-
- 时区格式规则
|
|
33894
|
-
前缀:使用 GMT 或 UTC 作为时区基准
|
|
33895
|
-
偏移量:
|
|
33896
|
-
- `-` 表示西时区(比基准时间晚)
|
|
33897
|
-
- `+` 表示东时区(比基准时间早)
|
|
33898
|
-
- 格式为 ±HH:MM(小时:分钟)
|
|
33899
|
-
|
|
33900
|
-
- 当前支持:
|
|
33901
|
-
```
|
|
33902
|
-
"GMT-12:00"
|
|
33903
|
-
"GMT-11:00"
|
|
33904
|
-
"GMT-10:00"
|
|
33905
|
-
"GMT-09:30"
|
|
33906
|
-
"GMT-09:00"
|
|
33907
|
-
"GMT-08:00"
|
|
33908
|
-
"GMT-07:00"
|
|
33909
|
-
"GMT-06:00"
|
|
33910
|
-
"GMT-05:00"
|
|
33911
|
-
"GMT-04:00"
|
|
33912
|
-
"GMT-03:30"
|
|
33913
|
-
"GMT-03:00"
|
|
33914
|
-
"GMT-02:00"
|
|
33915
|
-
"GMT-01:00"
|
|
33916
|
-
"GMT+00:00"
|
|
33917
|
-
"GMT+01:00"
|
|
33918
|
-
"GMT+02:00"
|
|
33919
|
-
"GMT+03:30"
|
|
33920
|
-
"GMT+04:00"
|
|
33921
|
-
"GMT+04:30"
|
|
33922
|
-
"GMT+05:00"
|
|
33923
|
-
"GMT+05:30"
|
|
33924
|
-
"GMT+05:45"
|
|
33925
|
-
"GMT+06:00"
|
|
33926
|
-
"GMT+06:30"
|
|
33927
|
-
"GMT+07:00"
|
|
33928
|
-
"GMT+08:00"
|
|
33929
|
-
"GMT+09:00"
|
|
33930
|
-
"GMT+09:30"
|
|
33931
|
-
"GMT+10:00"
|
|
33932
|
-
"GMT+10:30"
|
|
33933
|
-
"GMT+11:00"
|
|
33934
|
-
"GMT+11:30"
|
|
33935
|
-
"GMT+12:00"
|
|
33936
|
-
"GMT+12:45"
|
|
33937
|
-
"GMT+13:00"
|
|
33938
|
-
"GMT+14:00"
|
|
33939
|
-
"UTC-11:00"
|
|
33940
|
-
"UTC-10:00"
|
|
33941
|
-
"UTC-09:00"
|
|
33942
|
-
"UTC-08:00"
|
|
33943
|
-
"UTC-12:00"
|
|
33944
|
-
"UTC-07:00"
|
|
33945
|
-
"UTC-06:00"
|
|
33946
|
-
"UTC-05:00"
|
|
33947
|
-
"UTC-04:30"
|
|
33948
|
-
"UTC-04:00"
|
|
33949
|
-
"UTC-03:30"
|
|
33950
|
-
"UTC-03:00"
|
|
33951
|
-
"UTC-02:00"
|
|
33952
|
-
"UTC-01:00"
|
|
33953
|
-
"UTC+00:00"
|
|
33954
|
-
"UTC+01:00"
|
|
33955
|
-
"UTC+02:00"
|
|
33956
|
-
"UTC+03:00"
|
|
33957
|
-
"UTC+03:30"
|
|
33958
|
-
"UTC+04:00"
|
|
33959
|
-
"UTC+04:30"
|
|
33960
|
-
"UTC+05:00"
|
|
33961
|
-
"UTC+05:45"
|
|
33962
|
-
"UTC+06:00"
|
|
33963
|
-
"UTC+06:30"
|
|
33964
|
-
"UTC+07:00"
|
|
33965
|
-
"UTC+08:00"
|
|
33966
|
-
"UTC+09:00"
|
|
33967
|
-
"UTC+09:30"
|
|
33968
|
-
"UTC+10:00"
|
|
33969
|
-
"UTC+11:00"
|
|
33970
|
-
"UTC+12:00"
|
|
33971
|
-
"UTC+13:00"
|
|
33972
|
-
```
|
|
33946
|
+
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>
|
|
33973
33947
|
:rtype: str
|
|
33974
33948
|
"""
|
|
33975
33949
|
return self._TimeZone
|
|
@@ -33980,7 +33954,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
33980
33954
|
|
|
33981
33955
|
@property
|
|
33982
33956
|
def Metadata(self):
|
|
33983
|
-
r"""
|
|
33957
|
+
r"""<p>元数据信息,Kafka导入支持kafka_topic,kafka_partition,kafka_offset,kafka_timestamp</p>
|
|
33984
33958
|
:rtype: list of str
|
|
33985
33959
|
"""
|
|
33986
33960
|
return self._Metadata
|
|
@@ -33991,7 +33965,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
33991
33965
|
|
|
33992
33966
|
@property
|
|
33993
33967
|
def Keys(self):
|
|
33994
|
-
r"""
|
|
33968
|
+
r"""<p>日志Key列表,RechargeType为full_regex_log、delimiter_log时必填</p>
|
|
33995
33969
|
:rtype: list of str
|
|
33996
33970
|
"""
|
|
33997
33971
|
return self._Keys
|
|
@@ -34002,7 +33976,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
34002
33976
|
|
|
34003
33977
|
@property
|
|
34004
33978
|
def ParseArray(self):
|
|
34005
|
-
r"""json
|
|
33979
|
+
r"""<p>json解析模式,开启首层数据解析</p>
|
|
34006
33980
|
:rtype: bool
|
|
34007
33981
|
"""
|
|
34008
33982
|
return self._ParseArray
|
|
@@ -34013,8 +33987,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
34013
33987
|
|
|
34014
33988
|
@property
|
|
34015
33989
|
def Delimiter(self):
|
|
34016
|
-
r"""
|
|
34017
|
-
当解析格式为分隔符提取时,该字段必填
|
|
33990
|
+
r"""<p>分隔符解析模式-分隔符<br>当解析格式为分隔符提取时,该字段必填</p>
|
|
34018
33991
|
:rtype: str
|
|
34019
33992
|
"""
|
|
34020
33993
|
return self._Delimiter
|
|
@@ -34023,6 +33996,17 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
34023
33996
|
def Delimiter(self, Delimiter):
|
|
34024
33997
|
self._Delimiter = Delimiter
|
|
34025
33998
|
|
|
33999
|
+
@property
|
|
34000
|
+
def JsonExpand(self):
|
|
34001
|
+
r"""<p>JSON嵌套展开配置。仅RechargeType为json_log时生效,不传表示不开启。</p>
|
|
34002
|
+
:rtype: :class:`tencentcloud.cls.v20201016.models.JsonExpandInfo`
|
|
34003
|
+
"""
|
|
34004
|
+
return self._JsonExpand
|
|
34005
|
+
|
|
34006
|
+
@JsonExpand.setter
|
|
34007
|
+
def JsonExpand(self, JsonExpand):
|
|
34008
|
+
self._JsonExpand = JsonExpand
|
|
34009
|
+
|
|
34026
34010
|
|
|
34027
34011
|
def _deserialize(self, params):
|
|
34028
34012
|
self._RechargeType = params.get("RechargeType")
|
|
@@ -34041,6 +34025,9 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
|
34041
34025
|
self._Keys = params.get("Keys")
|
|
34042
34026
|
self._ParseArray = params.get("ParseArray")
|
|
34043
34027
|
self._Delimiter = params.get("Delimiter")
|
|
34028
|
+
if params.get("JsonExpand") is not None:
|
|
34029
|
+
self._JsonExpand = JsonExpandInfo()
|
|
34030
|
+
self._JsonExpand._deserialize(params.get("JsonExpand"))
|
|
34044
34031
|
memeber_set = set(params.keys())
|
|
34045
34032
|
for name, value in vars(self).items():
|
|
34046
34033
|
property_name = name[1:]
|
|
@@ -44792,6 +44779,40 @@ class OpenClawServiceResponse(AbstractModel):
|
|
|
44792
44779
|
self._RequestId = params.get("RequestId")
|
|
44793
44780
|
|
|
44794
44781
|
|
|
44782
|
+
class OpenClsServiceRequest(AbstractModel):
|
|
44783
|
+
r"""OpenClsService请求参数结构体
|
|
44784
|
+
|
|
44785
|
+
"""
|
|
44786
|
+
|
|
44787
|
+
|
|
44788
|
+
class OpenClsServiceResponse(AbstractModel):
|
|
44789
|
+
r"""OpenClsService返回参数结构体
|
|
44790
|
+
|
|
44791
|
+
"""
|
|
44792
|
+
|
|
44793
|
+
def __init__(self):
|
|
44794
|
+
r"""
|
|
44795
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
44796
|
+
:type RequestId: str
|
|
44797
|
+
"""
|
|
44798
|
+
self._RequestId = None
|
|
44799
|
+
|
|
44800
|
+
@property
|
|
44801
|
+
def RequestId(self):
|
|
44802
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
44803
|
+
:rtype: str
|
|
44804
|
+
"""
|
|
44805
|
+
return self._RequestId
|
|
44806
|
+
|
|
44807
|
+
@RequestId.setter
|
|
44808
|
+
def RequestId(self, RequestId):
|
|
44809
|
+
self._RequestId = RequestId
|
|
44810
|
+
|
|
44811
|
+
|
|
44812
|
+
def _deserialize(self, params):
|
|
44813
|
+
self._RequestId = params.get("RequestId")
|
|
44814
|
+
|
|
44815
|
+
|
|
44795
44816
|
class OpenKafkaConsumerRequest(AbstractModel):
|
|
44796
44817
|
r"""OpenKafkaConsumer请求参数结构体
|
|
44797
44818
|
|
|
@@ -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.124
|
|
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.124
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.124
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.107
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|