tencentcloud-sdk-python-cls 3.0.1108__tar.gz → 3.0.1110__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.1108 → tencentcloud-sdk-python-cls-3.0.1110}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cls-3.0.1108 → tencentcloud-sdk-python-cls-3.0.1110}/setup.py +1 -1
- {tencentcloud-sdk-python-cls-3.0.1108 → tencentcloud-sdk-python-cls-3.0.1110}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cls-3.0.1108 → tencentcloud-sdk-python-cls-3.0.1110}/tencentcloud/cls/v20201016/models.py +60 -25
- {tencentcloud-sdk-python-cls-3.0.1108 → tencentcloud-sdk-python-cls-3.0.1110}/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cls-3.0.1110/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cls-3.0.1108/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cls-3.0.1108 → tencentcloud-sdk-python-cls-3.0.1110}/README.rst +0 -0
- {tencentcloud-sdk-python-cls-3.0.1108 → tencentcloud-sdk-python-cls-3.0.1110}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cls-3.0.1108 → tencentcloud-sdk-python-cls-3.0.1110}/tencentcloud/cls/__init__.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1108 → tencentcloud-sdk-python-cls-3.0.1110}/tencentcloud/cls/v20201016/__init__.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1108 → tencentcloud-sdk-python-cls-3.0.1110}/tencentcloud/cls/v20201016/cls_client.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1108 → tencentcloud-sdk-python-cls-3.0.1110}/tencentcloud/cls/v20201016/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1108 → tencentcloud-sdk-python-cls-3.0.1110}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cls-3.0.1108 → tencentcloud-sdk-python-cls-3.0.1110}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cls-3.0.1108 → tencentcloud-sdk-python-cls-3.0.1110}/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.1110"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cls SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -2402,7 +2402,16 @@ class ConfigInfo(AbstractModel):
|
|
|
2402
2402
|
:param _Path: 日志采集路径
|
|
2403
2403
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2404
2404
|
:type Path: str
|
|
2405
|
-
:param _LogType:
|
|
2405
|
+
:param _LogType: 采集的日志类型。
|
|
2406
|
+
- json_log代表:JSON-文件日志(详见[使用 JSON 提取模式采集日志](https://cloud.tencent.com/document/product/614/17419));
|
|
2407
|
+
- delimiter_log代表:分隔符-文件日志(详见[使用分隔符提取模式采集日志](https://cloud.tencent.com/document/product/614/17420));
|
|
2408
|
+
- minimalist_log代表:单行全文-文件日志(详见[使用单行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17421));
|
|
2409
|
+
- fullregex_log代表:单行完全正则-文件日志(详见[使用单行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52365));
|
|
2410
|
+
- multiline_log代表:多行全文-文件日志(详见[使用多行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17422));
|
|
2411
|
+
- multiline_fullregex_log代表:多行完全正则-文件日志(详见[使用多行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52366));
|
|
2412
|
+
- user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310));
|
|
2413
|
+
- service_syslog代表:syslog 采集(详见[采集 Syslog](https://cloud.tencent.com/document/product/614/81454));
|
|
2414
|
+
- windows_event_log代表:Windows事件日志(详见[采集 Windows 事件日志](https://cloud.tencent.com/document/product/614/96678))。
|
|
2406
2415
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2407
2416
|
:type LogType: str
|
|
2408
2417
|
:param _ExtractRule: 提取规则,如果设置了ExtractRule,则必须设置LogType
|
|
@@ -2418,14 +2427,17 @@ class ConfigInfo(AbstractModel):
|
|
|
2418
2427
|
:type UpdateTime: str
|
|
2419
2428
|
:param _CreateTime: 创建时间
|
|
2420
2429
|
:type CreateTime: str
|
|
2421
|
-
:param _UserDefineRule:
|
|
2430
|
+
:param _UserDefineRule: 用户自定义解析字符串,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310)。
|
|
2422
2431
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2423
2432
|
:type UserDefineRule: str
|
|
2424
2433
|
:param _AdvancedConfig: 高级采集配置。 Json字符串, Key/Value定义为如下:
|
|
2425
2434
|
- ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
|
|
2426
2435
|
- ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
|
|
2427
2436
|
- ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
|
|
2428
|
-
样例:
|
|
2437
|
+
样例:
|
|
2438
|
+
`{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}`
|
|
2439
|
+
|
|
2440
|
+
控制台默认占位值:`{\"ClsAgentDefault\":0}`
|
|
2429
2441
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2430
2442
|
:type AdvancedConfig: str
|
|
2431
2443
|
"""
|
|
@@ -4252,19 +4264,31 @@ class CreateConfigRequest(AbstractModel):
|
|
|
4252
4264
|
:type Output: str
|
|
4253
4265
|
:param _Path: 日志采集路径,包含文件名
|
|
4254
4266
|
:type Path: str
|
|
4255
|
-
:param _LogType:
|
|
4267
|
+
:param _LogType: 采集的日志类型,默认为minimalist_log。支持以下类型:
|
|
4268
|
+
- json_log代表:JSON-文件日志(详见[使用 JSON 提取模式采集日志](https://cloud.tencent.com/document/product/614/17419));
|
|
4269
|
+
- delimiter_log代表:分隔符-文件日志(详见[使用分隔符提取模式采集日志](https://cloud.tencent.com/document/product/614/17420));
|
|
4270
|
+
- minimalist_log代表:单行全文-文件日志(详见[使用单行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17421));
|
|
4271
|
+
- fullregex_log代表:单行完全正则-文件日志(详见[使用单行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52365));
|
|
4272
|
+
- multiline_log代表:多行全文-文件日志(详见[使用多行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17422));
|
|
4273
|
+
- multiline_fullregex_log代表:多行完全正则-文件日志(详见[使用多行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52366));
|
|
4274
|
+
- user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310));
|
|
4275
|
+
- service_syslog代表:syslog 采集(详见[采集 Syslog](https://cloud.tencent.com/document/product/614/81454));
|
|
4276
|
+
- windows_event_log代表:Windows事件日志(详见[采集 Windows 事件日志](https://cloud.tencent.com/document/product/614/96678))。
|
|
4256
4277
|
:type LogType: str
|
|
4257
4278
|
:param _ExtractRule: 提取规则,如果设置了ExtractRule,则必须设置LogType
|
|
4258
4279
|
:type ExtractRule: :class:`tencentcloud.cls.v20201016.models.ExtractRuleInfo`
|
|
4259
4280
|
:param _ExcludePaths: 采集黑名单路径列表
|
|
4260
4281
|
:type ExcludePaths: list of ExcludePathInfo
|
|
4261
|
-
:param _UserDefineRule: 用户自定义采集规则,Json
|
|
4282
|
+
:param _UserDefineRule: 用户自定义采集规则,Json格式序列化的字符串。当LogType为user_define_log时,必填。
|
|
4262
4283
|
:type UserDefineRule: str
|
|
4263
4284
|
:param _AdvancedConfig: 高级采集配置。 Json字符串, Key/Value定义为如下:
|
|
4264
4285
|
- ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
|
|
4265
4286
|
- ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
|
|
4266
4287
|
- ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
|
|
4267
|
-
样例:
|
|
4288
|
+
样例:
|
|
4289
|
+
`{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}`
|
|
4290
|
+
|
|
4291
|
+
控制台默认占位值:`{\"ClsAgentDefault\":0}`
|
|
4268
4292
|
:type AdvancedConfig: str
|
|
4269
4293
|
"""
|
|
4270
4294
|
self._Name = None
|
|
@@ -5254,6 +5278,8 @@ class CreateKafkaRechargeRequest(AbstractModel):
|
|
|
5254
5278
|
:type UserKafkaTopics: str
|
|
5255
5279
|
:param _Offset: 导入数据位置,-2:最早(默认),-1:最晚
|
|
5256
5280
|
:type Offset: int
|
|
5281
|
+
:param _LogRechargeRule: 日志导入规则。
|
|
5282
|
+
:type LogRechargeRule: :class:`tencentcloud.cls.v20201016.models.LogRechargeRuleInfo`
|
|
5257
5283
|
:param _KafkaInstance: 腾讯云CKafka实例ID,KafkaType为0时必填
|
|
5258
5284
|
:type KafkaInstance: str
|
|
5259
5285
|
:param _ServerAddr: 服务地址,KafkaType为1时必填
|
|
@@ -5265,21 +5291,18 @@ KafkaType为1并且IsEncryptionAddr为true时Protocol必填
|
|
|
5265
5291
|
:type Protocol: :class:`tencentcloud.cls.v20201016.models.KafkaProtocolInfo`
|
|
5266
5292
|
:param _ConsumerGroupName: 用户Kafka消费组名称
|
|
5267
5293
|
:type ConsumerGroupName: str
|
|
5268
|
-
:param _LogRechargeRule: 日志导入规则。
|
|
5269
|
-
必填字段。
|
|
5270
|
-
:type LogRechargeRule: :class:`tencentcloud.cls.v20201016.models.LogRechargeRuleInfo`
|
|
5271
5294
|
"""
|
|
5272
5295
|
self._TopicId = None
|
|
5273
5296
|
self._Name = None
|
|
5274
5297
|
self._KafkaType = None
|
|
5275
5298
|
self._UserKafkaTopics = None
|
|
5276
5299
|
self._Offset = None
|
|
5300
|
+
self._LogRechargeRule = None
|
|
5277
5301
|
self._KafkaInstance = None
|
|
5278
5302
|
self._ServerAddr = None
|
|
5279
5303
|
self._IsEncryptionAddr = None
|
|
5280
5304
|
self._Protocol = None
|
|
5281
5305
|
self._ConsumerGroupName = None
|
|
5282
|
-
self._LogRechargeRule = None
|
|
5283
5306
|
|
|
5284
5307
|
@property
|
|
5285
5308
|
def TopicId(self):
|
|
@@ -5321,6 +5344,14 @@ KafkaType为1并且IsEncryptionAddr为true时Protocol必填
|
|
|
5321
5344
|
def Offset(self, Offset):
|
|
5322
5345
|
self._Offset = Offset
|
|
5323
5346
|
|
|
5347
|
+
@property
|
|
5348
|
+
def LogRechargeRule(self):
|
|
5349
|
+
return self._LogRechargeRule
|
|
5350
|
+
|
|
5351
|
+
@LogRechargeRule.setter
|
|
5352
|
+
def LogRechargeRule(self, LogRechargeRule):
|
|
5353
|
+
self._LogRechargeRule = LogRechargeRule
|
|
5354
|
+
|
|
5324
5355
|
@property
|
|
5325
5356
|
def KafkaInstance(self):
|
|
5326
5357
|
return self._KafkaInstance
|
|
@@ -5361,14 +5392,6 @@ KafkaType为1并且IsEncryptionAddr为true时Protocol必填
|
|
|
5361
5392
|
def ConsumerGroupName(self, ConsumerGroupName):
|
|
5362
5393
|
self._ConsumerGroupName = ConsumerGroupName
|
|
5363
5394
|
|
|
5364
|
-
@property
|
|
5365
|
-
def LogRechargeRule(self):
|
|
5366
|
-
return self._LogRechargeRule
|
|
5367
|
-
|
|
5368
|
-
@LogRechargeRule.setter
|
|
5369
|
-
def LogRechargeRule(self, LogRechargeRule):
|
|
5370
|
-
self._LogRechargeRule = LogRechargeRule
|
|
5371
|
-
|
|
5372
5395
|
|
|
5373
5396
|
def _deserialize(self, params):
|
|
5374
5397
|
self._TopicId = params.get("TopicId")
|
|
@@ -5376,6 +5399,9 @@ KafkaType为1并且IsEncryptionAddr为true时Protocol必填
|
|
|
5376
5399
|
self._KafkaType = params.get("KafkaType")
|
|
5377
5400
|
self._UserKafkaTopics = params.get("UserKafkaTopics")
|
|
5378
5401
|
self._Offset = params.get("Offset")
|
|
5402
|
+
if params.get("LogRechargeRule") is not None:
|
|
5403
|
+
self._LogRechargeRule = LogRechargeRuleInfo()
|
|
5404
|
+
self._LogRechargeRule._deserialize(params.get("LogRechargeRule"))
|
|
5379
5405
|
self._KafkaInstance = params.get("KafkaInstance")
|
|
5380
5406
|
self._ServerAddr = params.get("ServerAddr")
|
|
5381
5407
|
self._IsEncryptionAddr = params.get("IsEncryptionAddr")
|
|
@@ -5383,9 +5409,6 @@ KafkaType为1并且IsEncryptionAddr为true时Protocol必填
|
|
|
5383
5409
|
self._Protocol = KafkaProtocolInfo()
|
|
5384
5410
|
self._Protocol._deserialize(params.get("Protocol"))
|
|
5385
5411
|
self._ConsumerGroupName = params.get("ConsumerGroupName")
|
|
5386
|
-
if params.get("LogRechargeRule") is not None:
|
|
5387
|
-
self._LogRechargeRule = LogRechargeRuleInfo()
|
|
5388
|
-
self._LogRechargeRule._deserialize(params.get("LogRechargeRule"))
|
|
5389
5412
|
memeber_set = set(params.keys())
|
|
5390
5413
|
for name, value in vars(self).items():
|
|
5391
5414
|
property_name = name[1:]
|
|
@@ -15191,13 +15214,24 @@ class ModifyConfigRequest(AbstractModel):
|
|
|
15191
15214
|
|
|
15192
15215
|
def __init__(self):
|
|
15193
15216
|
r"""
|
|
15194
|
-
:param _ConfigId: 采集规则配置ID
|
|
15217
|
+
:param _ConfigId: 采集规则配置ID,通过[获取采集规则配置](https://cloud.tencent.com/document/product/614/58616)返回信息获取。
|
|
15195
15218
|
:type ConfigId: str
|
|
15196
15219
|
:param _Name: 采集规则配置名称
|
|
15197
15220
|
:type Name: str
|
|
15198
15221
|
:param _Path: 日志采集路径,包含文件名
|
|
15199
15222
|
:type Path: str
|
|
15200
|
-
:param _LogType:
|
|
15223
|
+
:param _LogType: 采集的日志类型。支持以下类型:
|
|
15224
|
+
- json_log代表:JSON-文件日志(详见[使用 JSON 提取模式采集日志](https://cloud.tencent.com/document/product/614/17419));
|
|
15225
|
+
- delimiter_log代表:分隔符-文件日志(详见[使用分隔符提取模式采集日志](https://cloud.tencent.com/document/product/614/17420));
|
|
15226
|
+
- minimalist_log代表:单行全文-文件日志(详见[使用单行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17421));
|
|
15227
|
+
- fullregex_log代表:单行完全正则-文件日志(详见[使用单行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52365));
|
|
15228
|
+
- multiline_log代表:多行全文-文件日志(详见[使用多行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17422));
|
|
15229
|
+
- multiline_fullregex_log代表:多行完全正则-文件日志(详见[使用多行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52366));
|
|
15230
|
+
- user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310));
|
|
15231
|
+
- service_syslog代表:syslog 采集(详见[采集 Syslog](https://cloud.tencent.com/document/product/614/81454));
|
|
15232
|
+
- windows_event_log代表:Windows事件日志(详见[采集 Windows 事件日志](https://cloud.tencent.com/document/product/614/96678))。
|
|
15233
|
+
|
|
15234
|
+
|
|
15201
15235
|
:type LogType: str
|
|
15202
15236
|
:param _ExtractRule: 提取规则,如果设置了ExtractRule,则必须设置LogType
|
|
15203
15237
|
:type ExtractRule: :class:`tencentcloud.cls.v20201016.models.ExtractRuleInfo`
|
|
@@ -15205,13 +15239,14 @@ class ModifyConfigRequest(AbstractModel):
|
|
|
15205
15239
|
:type ExcludePaths: list of ExcludePathInfo
|
|
15206
15240
|
:param _Output: 采集配置关联的日志主题(TopicId)
|
|
15207
15241
|
:type Output: str
|
|
15208
|
-
:param _UserDefineRule: 用户自定义解析字符串,Json
|
|
15242
|
+
:param _UserDefineRule: 用户自定义解析字符串,Json格式序列化的字符串。
|
|
15209
15243
|
:type UserDefineRule: str
|
|
15210
15244
|
:param _AdvancedConfig: 高级采集配置。 Json字符串, Key/Value定义为如下:
|
|
15211
15245
|
- ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
|
|
15212
15246
|
- ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
|
|
15213
15247
|
- ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
|
|
15214
|
-
样例:
|
|
15248
|
+
样例:
|
|
15249
|
+
`{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}`
|
|
15215
15250
|
:type AdvancedConfig: str
|
|
15216
15251
|
"""
|
|
15217
15252
|
self._ConfigId = None
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1110
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1108
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|