tencentcloud-sdk-python-cls 3.1.32__tar.gz → 3.1.34__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.32 → tencentcloud_sdk_python_cls-3.1.34}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cls-3.1.32 → tencentcloud_sdk_python_cls-3.1.34}/setup.py +1 -1
- {tencentcloud_sdk_python_cls-3.1.32 → tencentcloud_sdk_python_cls-3.1.34}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cls-3.1.32 → tencentcloud_sdk_python_cls-3.1.34}/tencentcloud/cls/v20201016/models.py +239 -134
- {tencentcloud_sdk_python_cls-3.1.32 → tencentcloud_sdk_python_cls-3.1.34}/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cls-3.1.34/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cls-3.1.32/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cls-3.1.32 → tencentcloud_sdk_python_cls-3.1.34}/README.rst +0 -0
- {tencentcloud_sdk_python_cls-3.1.32 → tencentcloud_sdk_python_cls-3.1.34}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cls-3.1.32 → tencentcloud_sdk_python_cls-3.1.34}/tencentcloud/cls/__init__.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.32 → tencentcloud_sdk_python_cls-3.1.34}/tencentcloud/cls/v20201016/__init__.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.32 → tencentcloud_sdk_python_cls-3.1.34}/tencentcloud/cls/v20201016/cls_client.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.32 → tencentcloud_sdk_python_cls-3.1.34}/tencentcloud/cls/v20201016/cls_client_async.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.32 → tencentcloud_sdk_python_cls-3.1.34}/tencentcloud/cls/v20201016/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.32 → tencentcloud_sdk_python_cls-3.1.34}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cls-3.1.32 → tencentcloud_sdk_python_cls-3.1.34}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cls-3.1.32 → tencentcloud_sdk_python_cls-3.1.34}/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.34
|
|
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.34
|
|
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.34,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cls SDK for Python',
|
|
@@ -12256,33 +12256,28 @@ class CreateSplunkDeliverRequest(AbstractModel):
|
|
|
12256
12256
|
|
|
12257
12257
|
def __init__(self):
|
|
12258
12258
|
r"""
|
|
12259
|
-
:param _TopicId:
|
|
12260
|
-
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
12259
|
+
:param _TopicId: <p>日志主题id- 通过<a href="https://cloud.tencent.com/document/product/614/56454">获取日志主题列表</a>获取日志主题Id。</p>
|
|
12261
12260
|
:type TopicId: str
|
|
12262
|
-
:param _Name: splunk投递任务名称;
|
|
12263
|
-
name有如下限制:
|
|
12264
|
-
- 不能为空
|
|
12265
|
-
- 长度不大于64
|
|
12266
|
-
- 只能包含aA-zZ、下划线、-、0-9
|
|
12261
|
+
:param _Name: <p>splunk投递任务名称;name有如下限制:- 不能为空- 长度不大于64- 只能包含aA-zZ、下划线、-、0-9</p>
|
|
12267
12262
|
:type Name: str
|
|
12268
|
-
:param _NetInfo: Splunk
|
|
12263
|
+
:param _NetInfo: <p>Splunk投递任务-目标配置-网络信息</p>
|
|
12269
12264
|
:type NetInfo: :class:`tencentcloud.cls.v20201016.models.NetInfo`
|
|
12270
|
-
:param _MetadataInfo: Splunk
|
|
12265
|
+
:param _MetadataInfo: <p>Splunk投递任务元信息</p>
|
|
12271
12266
|
:type MetadataInfo: :class:`tencentcloud.cls.v20201016.models.MetadataInfo`
|
|
12272
|
-
:param _HasServiceLog:
|
|
12267
|
+
:param _HasServiceLog: <p>是否开启服务日志 1:关闭;2:开启 ;默认开启</p>
|
|
12273
12268
|
:type HasServiceLog: int
|
|
12274
|
-
:param _IndexAck:
|
|
12275
|
-
默认:1
|
|
12269
|
+
:param _IndexAck: <p>高级配置-是否启用索引器;1-不启用;2-启用;默认:1</p>
|
|
12276
12270
|
:type IndexAck: int
|
|
12277
|
-
:param _Source:
|
|
12271
|
+
:param _Source: <p>高级配置-数据来源;不超过64个字符</p>
|
|
12278
12272
|
:type Source: str
|
|
12279
|
-
:param _SourceType:
|
|
12273
|
+
:param _SourceType: <p>高级配置-数据来源类型;不超过64个字符</p>
|
|
12280
12274
|
:type SourceType: str
|
|
12281
|
-
:param _Index:
|
|
12275
|
+
:param _Index: <p>高级配置-Splunk写入的索引;不超过64个字符</p>
|
|
12282
12276
|
:type Index: str
|
|
12283
|
-
:param _Channel:
|
|
12284
|
-
需满足限制:如果启用索引器,那么Channel必填
|
|
12277
|
+
:param _Channel: <p>高级配置-通道需满足限制:如果启用索引器,那么Channel必填</p>
|
|
12285
12278
|
:type Channel: str
|
|
12279
|
+
:param _DSLFilter: <p>日志预过滤-数据写入 Splunk 的原始数据进行预过滤处理</p>
|
|
12280
|
+
:type DSLFilter: str
|
|
12286
12281
|
"""
|
|
12287
12282
|
self._TopicId = None
|
|
12288
12283
|
self._Name = None
|
|
@@ -12294,11 +12289,11 @@ name有如下限制:
|
|
|
12294
12289
|
self._SourceType = None
|
|
12295
12290
|
self._Index = None
|
|
12296
12291
|
self._Channel = None
|
|
12292
|
+
self._DSLFilter = None
|
|
12297
12293
|
|
|
12298
12294
|
@property
|
|
12299
12295
|
def TopicId(self):
|
|
12300
|
-
r"""
|
|
12301
|
-
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
12296
|
+
r"""<p>日志主题id- 通过<a href="https://cloud.tencent.com/document/product/614/56454">获取日志主题列表</a>获取日志主题Id。</p>
|
|
12302
12297
|
:rtype: str
|
|
12303
12298
|
"""
|
|
12304
12299
|
return self._TopicId
|
|
@@ -12309,11 +12304,7 @@ name有如下限制:
|
|
|
12309
12304
|
|
|
12310
12305
|
@property
|
|
12311
12306
|
def Name(self):
|
|
12312
|
-
r"""splunk投递任务名称;
|
|
12313
|
-
name有如下限制:
|
|
12314
|
-
- 不能为空
|
|
12315
|
-
- 长度不大于64
|
|
12316
|
-
- 只能包含aA-zZ、下划线、-、0-9
|
|
12307
|
+
r"""<p>splunk投递任务名称;name有如下限制:- 不能为空- 长度不大于64- 只能包含aA-zZ、下划线、-、0-9</p>
|
|
12317
12308
|
:rtype: str
|
|
12318
12309
|
"""
|
|
12319
12310
|
return self._Name
|
|
@@ -12324,7 +12315,7 @@ name有如下限制:
|
|
|
12324
12315
|
|
|
12325
12316
|
@property
|
|
12326
12317
|
def NetInfo(self):
|
|
12327
|
-
r"""Splunk
|
|
12318
|
+
r"""<p>Splunk投递任务-目标配置-网络信息</p>
|
|
12328
12319
|
:rtype: :class:`tencentcloud.cls.v20201016.models.NetInfo`
|
|
12329
12320
|
"""
|
|
12330
12321
|
return self._NetInfo
|
|
@@ -12335,7 +12326,7 @@ name有如下限制:
|
|
|
12335
12326
|
|
|
12336
12327
|
@property
|
|
12337
12328
|
def MetadataInfo(self):
|
|
12338
|
-
r"""Splunk
|
|
12329
|
+
r"""<p>Splunk投递任务元信息</p>
|
|
12339
12330
|
:rtype: :class:`tencentcloud.cls.v20201016.models.MetadataInfo`
|
|
12340
12331
|
"""
|
|
12341
12332
|
return self._MetadataInfo
|
|
@@ -12346,7 +12337,7 @@ name有如下限制:
|
|
|
12346
12337
|
|
|
12347
12338
|
@property
|
|
12348
12339
|
def HasServiceLog(self):
|
|
12349
|
-
r"""
|
|
12340
|
+
r"""<p>是否开启服务日志 1:关闭;2:开启 ;默认开启</p>
|
|
12350
12341
|
:rtype: int
|
|
12351
12342
|
"""
|
|
12352
12343
|
return self._HasServiceLog
|
|
@@ -12357,8 +12348,7 @@ name有如下限制:
|
|
|
12357
12348
|
|
|
12358
12349
|
@property
|
|
12359
12350
|
def IndexAck(self):
|
|
12360
|
-
r"""
|
|
12361
|
-
默认:1
|
|
12351
|
+
r"""<p>高级配置-是否启用索引器;1-不启用;2-启用;默认:1</p>
|
|
12362
12352
|
:rtype: int
|
|
12363
12353
|
"""
|
|
12364
12354
|
return self._IndexAck
|
|
@@ -12369,7 +12359,7 @@ name有如下限制:
|
|
|
12369
12359
|
|
|
12370
12360
|
@property
|
|
12371
12361
|
def Source(self):
|
|
12372
|
-
r"""
|
|
12362
|
+
r"""<p>高级配置-数据来源;不超过64个字符</p>
|
|
12373
12363
|
:rtype: str
|
|
12374
12364
|
"""
|
|
12375
12365
|
return self._Source
|
|
@@ -12380,7 +12370,7 @@ name有如下限制:
|
|
|
12380
12370
|
|
|
12381
12371
|
@property
|
|
12382
12372
|
def SourceType(self):
|
|
12383
|
-
r"""
|
|
12373
|
+
r"""<p>高级配置-数据来源类型;不超过64个字符</p>
|
|
12384
12374
|
:rtype: str
|
|
12385
12375
|
"""
|
|
12386
12376
|
return self._SourceType
|
|
@@ -12391,7 +12381,7 @@ name有如下限制:
|
|
|
12391
12381
|
|
|
12392
12382
|
@property
|
|
12393
12383
|
def Index(self):
|
|
12394
|
-
r"""
|
|
12384
|
+
r"""<p>高级配置-Splunk写入的索引;不超过64个字符</p>
|
|
12395
12385
|
:rtype: str
|
|
12396
12386
|
"""
|
|
12397
12387
|
return self._Index
|
|
@@ -12402,8 +12392,7 @@ name有如下限制:
|
|
|
12402
12392
|
|
|
12403
12393
|
@property
|
|
12404
12394
|
def Channel(self):
|
|
12405
|
-
r"""
|
|
12406
|
-
需满足限制:如果启用索引器,那么Channel必填
|
|
12395
|
+
r"""<p>高级配置-通道需满足限制:如果启用索引器,那么Channel必填</p>
|
|
12407
12396
|
:rtype: str
|
|
12408
12397
|
"""
|
|
12409
12398
|
return self._Channel
|
|
@@ -12412,6 +12401,17 @@ name有如下限制:
|
|
|
12412
12401
|
def Channel(self, Channel):
|
|
12413
12402
|
self._Channel = Channel
|
|
12414
12403
|
|
|
12404
|
+
@property
|
|
12405
|
+
def DSLFilter(self):
|
|
12406
|
+
r"""<p>日志预过滤-数据写入 Splunk 的原始数据进行预过滤处理</p>
|
|
12407
|
+
:rtype: str
|
|
12408
|
+
"""
|
|
12409
|
+
return self._DSLFilter
|
|
12410
|
+
|
|
12411
|
+
@DSLFilter.setter
|
|
12412
|
+
def DSLFilter(self, DSLFilter):
|
|
12413
|
+
self._DSLFilter = DSLFilter
|
|
12414
|
+
|
|
12415
12415
|
|
|
12416
12416
|
def _deserialize(self, params):
|
|
12417
12417
|
self._TopicId = params.get("TopicId")
|
|
@@ -12428,6 +12428,7 @@ name有如下限制:
|
|
|
12428
12428
|
self._SourceType = params.get("SourceType")
|
|
12429
12429
|
self._Index = params.get("Index")
|
|
12430
12430
|
self._Channel = params.get("Channel")
|
|
12431
|
+
self._DSLFilter = params.get("DSLFilter")
|
|
12431
12432
|
memeber_set = set(params.keys())
|
|
12432
12433
|
for name, value in vars(self).items():
|
|
12433
12434
|
property_name = name[1:]
|
|
@@ -12445,7 +12446,7 @@ class CreateSplunkDeliverResponse(AbstractModel):
|
|
|
12445
12446
|
|
|
12446
12447
|
def __init__(self):
|
|
12447
12448
|
r"""
|
|
12448
|
-
:param _TaskId: splunk投递任务id
|
|
12449
|
+
:param _TaskId: <p>splunk投递任务id</p>
|
|
12449
12450
|
:type TaskId: str
|
|
12450
12451
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
12451
12452
|
:type RequestId: str
|
|
@@ -12455,7 +12456,7 @@ class CreateSplunkDeliverResponse(AbstractModel):
|
|
|
12455
12456
|
|
|
12456
12457
|
@property
|
|
12457
12458
|
def TaskId(self):
|
|
12458
|
-
r"""splunk投递任务id
|
|
12459
|
+
r"""<p>splunk投递任务id</p>
|
|
12459
12460
|
:rtype: str
|
|
12460
12461
|
"""
|
|
12461
12462
|
return self._TaskId
|
|
@@ -24228,17 +24229,13 @@ class DescribeSplunkDeliversRequest(AbstractModel):
|
|
|
24228
24229
|
|
|
24229
24230
|
def __init__(self):
|
|
24230
24231
|
r"""
|
|
24231
|
-
:param _TopicId:
|
|
24232
|
-
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
24232
|
+
:param _TopicId: <p>日志主题Id- 通过<a href="https://cloud.tencent.com/document/product/614/56454">获取日志主题列表</a>获取日志主题Id。</p>
|
|
24233
24233
|
:type TopicId: str
|
|
24234
|
-
:param _Filters:
|
|
24235
|
-
- name 按照【任务名称】进行过滤。 类型:String 必选:否
|
|
24236
|
-
- statusFlag 按照【状态】进行过滤。 类型:String 必选:否
|
|
24237
|
-
每次请求的Filters的上限为10,Filter.Values的上限为10。
|
|
24234
|
+
:param _Filters: <ul><li>taskId 按照【任务id】进行过滤。 类型:String 必选:否 </li><li>name 按照【任务名称】进行过滤。 类型:String 必选:否 </li><li>statusFlag 按照【状态】进行过滤。 类型:String 必选:否<br /> 每次请求的Filters的上限为10,Filter.Values的上限为10。</li></ul>
|
|
24238
24235
|
:type Filters: list of Filter
|
|
24239
|
-
:param _Offset:
|
|
24236
|
+
:param _Offset: <p>分页的偏移量,默认值为0。</p>
|
|
24240
24237
|
:type Offset: int
|
|
24241
|
-
:param _Limit:
|
|
24238
|
+
:param _Limit: <p>分页单页限制数目,默认值为20,最大值100。</p>
|
|
24242
24239
|
:type Limit: int
|
|
24243
24240
|
"""
|
|
24244
24241
|
self._TopicId = None
|
|
@@ -24248,8 +24245,7 @@ class DescribeSplunkDeliversRequest(AbstractModel):
|
|
|
24248
24245
|
|
|
24249
24246
|
@property
|
|
24250
24247
|
def TopicId(self):
|
|
24251
|
-
r"""
|
|
24252
|
-
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
24248
|
+
r"""<p>日志主题Id- 通过<a href="https://cloud.tencent.com/document/product/614/56454">获取日志主题列表</a>获取日志主题Id。</p>
|
|
24253
24249
|
:rtype: str
|
|
24254
24250
|
"""
|
|
24255
24251
|
return self._TopicId
|
|
@@ -24260,10 +24256,7 @@ class DescribeSplunkDeliversRequest(AbstractModel):
|
|
|
24260
24256
|
|
|
24261
24257
|
@property
|
|
24262
24258
|
def Filters(self):
|
|
24263
|
-
r"""
|
|
24264
|
-
- name 按照【任务名称】进行过滤。 类型:String 必选:否
|
|
24265
|
-
- statusFlag 按照【状态】进行过滤。 类型:String 必选:否
|
|
24266
|
-
每次请求的Filters的上限为10,Filter.Values的上限为10。
|
|
24259
|
+
r"""<ul><li>taskId 按照【任务id】进行过滤。 类型:String 必选:否 </li><li>name 按照【任务名称】进行过滤。 类型:String 必选:否 </li><li>statusFlag 按照【状态】进行过滤。 类型:String 必选:否<br /> 每次请求的Filters的上限为10,Filter.Values的上限为10。</li></ul>
|
|
24267
24260
|
:rtype: list of Filter
|
|
24268
24261
|
"""
|
|
24269
24262
|
return self._Filters
|
|
@@ -24274,7 +24267,7 @@ class DescribeSplunkDeliversRequest(AbstractModel):
|
|
|
24274
24267
|
|
|
24275
24268
|
@property
|
|
24276
24269
|
def Offset(self):
|
|
24277
|
-
r"""
|
|
24270
|
+
r"""<p>分页的偏移量,默认值为0。</p>
|
|
24278
24271
|
:rtype: int
|
|
24279
24272
|
"""
|
|
24280
24273
|
return self._Offset
|
|
@@ -24285,7 +24278,7 @@ class DescribeSplunkDeliversRequest(AbstractModel):
|
|
|
24285
24278
|
|
|
24286
24279
|
@property
|
|
24287
24280
|
def Limit(self):
|
|
24288
|
-
r"""
|
|
24281
|
+
r"""<p>分页单页限制数目,默认值为20,最大值100。</p>
|
|
24289
24282
|
:rtype: int
|
|
24290
24283
|
"""
|
|
24291
24284
|
return self._Limit
|
|
@@ -24322,9 +24315,9 @@ class DescribeSplunkDeliversResponse(AbstractModel):
|
|
|
24322
24315
|
|
|
24323
24316
|
def __init__(self):
|
|
24324
24317
|
r"""
|
|
24325
|
-
:param _Infos: Splunk
|
|
24318
|
+
:param _Infos: <p>Splunk投递任务信息列表</p>
|
|
24326
24319
|
:type Infos: list of SplunkDeliverInfo
|
|
24327
|
-
:param _Total:
|
|
24320
|
+
:param _Total: <p>符合条件的任务总数。</p>
|
|
24328
24321
|
:type Total: int
|
|
24329
24322
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
24330
24323
|
:type RequestId: str
|
|
@@ -24335,7 +24328,7 @@ class DescribeSplunkDeliversResponse(AbstractModel):
|
|
|
24335
24328
|
|
|
24336
24329
|
@property
|
|
24337
24330
|
def Infos(self):
|
|
24338
|
-
r"""Splunk
|
|
24331
|
+
r"""<p>Splunk投递任务信息列表</p>
|
|
24339
24332
|
:rtype: list of SplunkDeliverInfo
|
|
24340
24333
|
"""
|
|
24341
24334
|
return self._Infos
|
|
@@ -24346,7 +24339,7 @@ class DescribeSplunkDeliversResponse(AbstractModel):
|
|
|
24346
24339
|
|
|
24347
24340
|
@property
|
|
24348
24341
|
def Total(self):
|
|
24349
|
-
r"""
|
|
24342
|
+
r"""<p>符合条件的任务总数。</p>
|
|
24350
24343
|
:rtype: int
|
|
24351
24344
|
"""
|
|
24352
24345
|
return self._Total
|
|
@@ -24385,19 +24378,20 @@ class DescribeSplunkPreviewRequest(AbstractModel):
|
|
|
24385
24378
|
|
|
24386
24379
|
def __init__(self):
|
|
24387
24380
|
r"""
|
|
24388
|
-
:param _TopicId:
|
|
24389
|
-
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
24381
|
+
:param _TopicId: <p>日志主题id。- 通过<a href="https://cloud.tencent.com/document/product/614/56454">获取日志主题列表</a>获取日志主题Id。</p>
|
|
24390
24382
|
:type TopicId: str
|
|
24391
|
-
:param _MetadataInfo: splunk
|
|
24383
|
+
:param _MetadataInfo: <p>splunk投递任务-元信息</p>
|
|
24392
24384
|
:type MetadataInfo: :class:`tencentcloud.cls.v20201016.models.MetadataInfo`
|
|
24385
|
+
:param _DSLFilter: <p>splunk投递任务-投递 splunk过滤原始日志语句</p>
|
|
24386
|
+
:type DSLFilter: str
|
|
24393
24387
|
"""
|
|
24394
24388
|
self._TopicId = None
|
|
24395
24389
|
self._MetadataInfo = None
|
|
24390
|
+
self._DSLFilter = None
|
|
24396
24391
|
|
|
24397
24392
|
@property
|
|
24398
24393
|
def TopicId(self):
|
|
24399
|
-
r"""
|
|
24400
|
-
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
24394
|
+
r"""<p>日志主题id。- 通过<a href="https://cloud.tencent.com/document/product/614/56454">获取日志主题列表</a>获取日志主题Id。</p>
|
|
24401
24395
|
:rtype: str
|
|
24402
24396
|
"""
|
|
24403
24397
|
return self._TopicId
|
|
@@ -24408,7 +24402,7 @@ class DescribeSplunkPreviewRequest(AbstractModel):
|
|
|
24408
24402
|
|
|
24409
24403
|
@property
|
|
24410
24404
|
def MetadataInfo(self):
|
|
24411
|
-
r"""splunk
|
|
24405
|
+
r"""<p>splunk投递任务-元信息</p>
|
|
24412
24406
|
:rtype: :class:`tencentcloud.cls.v20201016.models.MetadataInfo`
|
|
24413
24407
|
"""
|
|
24414
24408
|
return self._MetadataInfo
|
|
@@ -24417,12 +24411,24 @@ class DescribeSplunkPreviewRequest(AbstractModel):
|
|
|
24417
24411
|
def MetadataInfo(self, MetadataInfo):
|
|
24418
24412
|
self._MetadataInfo = MetadataInfo
|
|
24419
24413
|
|
|
24414
|
+
@property
|
|
24415
|
+
def DSLFilter(self):
|
|
24416
|
+
r"""<p>splunk投递任务-投递 splunk过滤原始日志语句</p>
|
|
24417
|
+
:rtype: str
|
|
24418
|
+
"""
|
|
24419
|
+
return self._DSLFilter
|
|
24420
|
+
|
|
24421
|
+
@DSLFilter.setter
|
|
24422
|
+
def DSLFilter(self, DSLFilter):
|
|
24423
|
+
self._DSLFilter = DSLFilter
|
|
24424
|
+
|
|
24420
24425
|
|
|
24421
24426
|
def _deserialize(self, params):
|
|
24422
24427
|
self._TopicId = params.get("TopicId")
|
|
24423
24428
|
if params.get("MetadataInfo") is not None:
|
|
24424
24429
|
self._MetadataInfo = MetadataInfo()
|
|
24425
24430
|
self._MetadataInfo._deserialize(params.get("MetadataInfo"))
|
|
24431
|
+
self._DSLFilter = params.get("DSLFilter")
|
|
24426
24432
|
memeber_set = set(params.keys())
|
|
24427
24433
|
for name, value in vars(self).items():
|
|
24428
24434
|
property_name = name[1:]
|
|
@@ -24440,17 +24446,20 @@ class DescribeSplunkPreviewResponse(AbstractModel):
|
|
|
24440
24446
|
|
|
24441
24447
|
def __init__(self):
|
|
24442
24448
|
r"""
|
|
24443
|
-
:param _PreviewInfos:
|
|
24449
|
+
:param _PreviewInfos: <p>预览结果</p>
|
|
24444
24450
|
:type PreviewInfos: list of str
|
|
24451
|
+
:param _FilterStats: <p>数据过滤结果</p>
|
|
24452
|
+
:type FilterStats: :class:`tencentcloud.cls.v20201016.models.FilterStatistics`
|
|
24445
24453
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
24446
24454
|
:type RequestId: str
|
|
24447
24455
|
"""
|
|
24448
24456
|
self._PreviewInfos = None
|
|
24457
|
+
self._FilterStats = None
|
|
24449
24458
|
self._RequestId = None
|
|
24450
24459
|
|
|
24451
24460
|
@property
|
|
24452
24461
|
def PreviewInfos(self):
|
|
24453
|
-
r"""
|
|
24462
|
+
r"""<p>预览结果</p>
|
|
24454
24463
|
:rtype: list of str
|
|
24455
24464
|
"""
|
|
24456
24465
|
return self._PreviewInfos
|
|
@@ -24459,6 +24468,17 @@ class DescribeSplunkPreviewResponse(AbstractModel):
|
|
|
24459
24468
|
def PreviewInfos(self, PreviewInfos):
|
|
24460
24469
|
self._PreviewInfos = PreviewInfos
|
|
24461
24470
|
|
|
24471
|
+
@property
|
|
24472
|
+
def FilterStats(self):
|
|
24473
|
+
r"""<p>数据过滤结果</p>
|
|
24474
|
+
:rtype: :class:`tencentcloud.cls.v20201016.models.FilterStatistics`
|
|
24475
|
+
"""
|
|
24476
|
+
return self._FilterStats
|
|
24477
|
+
|
|
24478
|
+
@FilterStats.setter
|
|
24479
|
+
def FilterStats(self, FilterStats):
|
|
24480
|
+
self._FilterStats = FilterStats
|
|
24481
|
+
|
|
24462
24482
|
@property
|
|
24463
24483
|
def RequestId(self):
|
|
24464
24484
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -24473,6 +24493,9 @@ class DescribeSplunkPreviewResponse(AbstractModel):
|
|
|
24473
24493
|
|
|
24474
24494
|
def _deserialize(self, params):
|
|
24475
24495
|
self._PreviewInfos = params.get("PreviewInfos")
|
|
24496
|
+
if params.get("FilterStats") is not None:
|
|
24497
|
+
self._FilterStats = FilterStatistics()
|
|
24498
|
+
self._FilterStats._deserialize(params.get("FilterStats"))
|
|
24476
24499
|
self._RequestId = params.get("RequestId")
|
|
24477
24500
|
|
|
24478
24501
|
|
|
@@ -27808,6 +27831,72 @@ class FilterRuleInfo(AbstractModel):
|
|
|
27808
27831
|
|
|
27809
27832
|
|
|
27810
27833
|
|
|
27834
|
+
class FilterStatistics(AbstractModel):
|
|
27835
|
+
r"""投递类任务数据过滤统计信息
|
|
27836
|
+
|
|
27837
|
+
"""
|
|
27838
|
+
|
|
27839
|
+
def __init__(self):
|
|
27840
|
+
r"""
|
|
27841
|
+
:param _OriginalCount: <p>原始日志数</p>
|
|
27842
|
+
:type OriginalCount: int
|
|
27843
|
+
:param _FilteredCount: <p>过滤后日志数</p>
|
|
27844
|
+
:type FilteredCount: int
|
|
27845
|
+
:param _FilteredResult: <p>过滤后结果</p>
|
|
27846
|
+
:type FilteredResult: list of str
|
|
27847
|
+
"""
|
|
27848
|
+
self._OriginalCount = None
|
|
27849
|
+
self._FilteredCount = None
|
|
27850
|
+
self._FilteredResult = None
|
|
27851
|
+
|
|
27852
|
+
@property
|
|
27853
|
+
def OriginalCount(self):
|
|
27854
|
+
r"""<p>原始日志数</p>
|
|
27855
|
+
:rtype: int
|
|
27856
|
+
"""
|
|
27857
|
+
return self._OriginalCount
|
|
27858
|
+
|
|
27859
|
+
@OriginalCount.setter
|
|
27860
|
+
def OriginalCount(self, OriginalCount):
|
|
27861
|
+
self._OriginalCount = OriginalCount
|
|
27862
|
+
|
|
27863
|
+
@property
|
|
27864
|
+
def FilteredCount(self):
|
|
27865
|
+
r"""<p>过滤后日志数</p>
|
|
27866
|
+
:rtype: int
|
|
27867
|
+
"""
|
|
27868
|
+
return self._FilteredCount
|
|
27869
|
+
|
|
27870
|
+
@FilteredCount.setter
|
|
27871
|
+
def FilteredCount(self, FilteredCount):
|
|
27872
|
+
self._FilteredCount = FilteredCount
|
|
27873
|
+
|
|
27874
|
+
@property
|
|
27875
|
+
def FilteredResult(self):
|
|
27876
|
+
r"""<p>过滤后结果</p>
|
|
27877
|
+
:rtype: list of str
|
|
27878
|
+
"""
|
|
27879
|
+
return self._FilteredResult
|
|
27880
|
+
|
|
27881
|
+
@FilteredResult.setter
|
|
27882
|
+
def FilteredResult(self, FilteredResult):
|
|
27883
|
+
self._FilteredResult = FilteredResult
|
|
27884
|
+
|
|
27885
|
+
|
|
27886
|
+
def _deserialize(self, params):
|
|
27887
|
+
self._OriginalCount = params.get("OriginalCount")
|
|
27888
|
+
self._FilteredCount = params.get("FilteredCount")
|
|
27889
|
+
self._FilteredResult = params.get("FilteredResult")
|
|
27890
|
+
memeber_set = set(params.keys())
|
|
27891
|
+
for name, value in vars(self).items():
|
|
27892
|
+
property_name = name[1:]
|
|
27893
|
+
if property_name in memeber_set:
|
|
27894
|
+
memeber_set.remove(property_name)
|
|
27895
|
+
if len(memeber_set) > 0:
|
|
27896
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
27897
|
+
|
|
27898
|
+
|
|
27899
|
+
|
|
27811
27900
|
class FullTextInfo(AbstractModel):
|
|
27812
27901
|
r"""全文索引配置
|
|
27813
27902
|
|
|
@@ -37837,37 +37926,32 @@ class ModifySplunkDeliverRequest(AbstractModel):
|
|
|
37837
37926
|
|
|
37838
37927
|
def __init__(self):
|
|
37839
37928
|
r"""
|
|
37840
|
-
:param _TaskId:
|
|
37929
|
+
:param _TaskId: <p>任务id</p>
|
|
37841
37930
|
:type TaskId: str
|
|
37842
|
-
:param _TopicId:
|
|
37843
|
-
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
37931
|
+
:param _TopicId: <p>日志主题id- 通过<a href="https://cloud.tencent.com/document/product/614/56454">获取日志主题列表</a>获取日志主题Id。</p>
|
|
37844
37932
|
:type TopicId: str
|
|
37845
|
-
:param _Name:
|
|
37846
|
-
name有以下限制:
|
|
37847
|
-
- 不能为空
|
|
37848
|
-
- 长度不大于64
|
|
37849
|
-
- 只能包含aA-zZ、下划线、-、0-9
|
|
37933
|
+
:param _Name: <p>投递任务名称name有以下限制:- 不能为空- 长度不大于64- 只能包含aA-zZ、下划线、-、0-9</p>
|
|
37850
37934
|
:type Name: str
|
|
37851
|
-
:param _Enable:
|
|
37935
|
+
:param _Enable: <p>投递任务启用状态;0:禁用;1:启用</p>
|
|
37852
37936
|
:type Enable: int
|
|
37853
|
-
:param _NetInfo: splunk
|
|
37937
|
+
:param _NetInfo: <p>splunk投递任务-目标配置</p>
|
|
37854
37938
|
:type NetInfo: :class:`tencentcloud.cls.v20201016.models.NetInfo`
|
|
37855
|
-
:param _MetadataInfo: splunk
|
|
37939
|
+
:param _MetadataInfo: <p>splunk投递任务元信息</p>
|
|
37856
37940
|
:type MetadataInfo: :class:`tencentcloud.cls.v20201016.models.MetadataInfo`
|
|
37857
|
-
:param _HasServiceLog:
|
|
37941
|
+
:param _HasServiceLog: <p>是否启用服务日志;1:关闭;2:开启</p>
|
|
37858
37942
|
:type HasServiceLog: int
|
|
37859
|
-
:param _IndexAck:
|
|
37860
|
-
1-不开启;2-开启;默认为:1
|
|
37943
|
+
:param _IndexAck: <p>高级配置-是否启用索引器;1-不开启;2-开启;默认为:1</p>
|
|
37861
37944
|
:type IndexAck: int
|
|
37862
|
-
:param _Source:
|
|
37945
|
+
:param _Source: <p>高级配置-数据来源;不超过64个字符</p>
|
|
37863
37946
|
:type Source: str
|
|
37864
|
-
:param _SourceType:
|
|
37947
|
+
:param _SourceType: <p>高级配置-数据来源类型;不超过64个字符</p>
|
|
37865
37948
|
:type SourceType: str
|
|
37866
|
-
:param _Index:
|
|
37949
|
+
:param _Index: <p>高级配置-Splunk写入的索引;不超过64个字符</p>
|
|
37867
37950
|
:type Index: str
|
|
37868
|
-
:param _Channel:
|
|
37869
|
-
需满足限制:如果启用索引器,该值不能为空
|
|
37951
|
+
:param _Channel: <p>高级配置-通道。需满足限制:如果启用索引器,该值不能为空</p>
|
|
37870
37952
|
:type Channel: str
|
|
37953
|
+
:param _DSLFilter: <p>预过滤处理-对写入 Splunk 原始数据进行预过滤处理</p>
|
|
37954
|
+
:type DSLFilter: str
|
|
37871
37955
|
"""
|
|
37872
37956
|
self._TaskId = None
|
|
37873
37957
|
self._TopicId = None
|
|
@@ -37881,10 +37965,11 @@ name有以下限制:
|
|
|
37881
37965
|
self._SourceType = None
|
|
37882
37966
|
self._Index = None
|
|
37883
37967
|
self._Channel = None
|
|
37968
|
+
self._DSLFilter = None
|
|
37884
37969
|
|
|
37885
37970
|
@property
|
|
37886
37971
|
def TaskId(self):
|
|
37887
|
-
r"""
|
|
37972
|
+
r"""<p>任务id</p>
|
|
37888
37973
|
:rtype: str
|
|
37889
37974
|
"""
|
|
37890
37975
|
return self._TaskId
|
|
@@ -37895,8 +37980,7 @@ name有以下限制:
|
|
|
37895
37980
|
|
|
37896
37981
|
@property
|
|
37897
37982
|
def TopicId(self):
|
|
37898
|
-
r"""
|
|
37899
|
-
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
37983
|
+
r"""<p>日志主题id- 通过<a href="https://cloud.tencent.com/document/product/614/56454">获取日志主题列表</a>获取日志主题Id。</p>
|
|
37900
37984
|
:rtype: str
|
|
37901
37985
|
"""
|
|
37902
37986
|
return self._TopicId
|
|
@@ -37907,11 +37991,7 @@ name有以下限制:
|
|
|
37907
37991
|
|
|
37908
37992
|
@property
|
|
37909
37993
|
def Name(self):
|
|
37910
|
-
r"""
|
|
37911
|
-
name有以下限制:
|
|
37912
|
-
- 不能为空
|
|
37913
|
-
- 长度不大于64
|
|
37914
|
-
- 只能包含aA-zZ、下划线、-、0-9
|
|
37994
|
+
r"""<p>投递任务名称name有以下限制:- 不能为空- 长度不大于64- 只能包含aA-zZ、下划线、-、0-9</p>
|
|
37915
37995
|
:rtype: str
|
|
37916
37996
|
"""
|
|
37917
37997
|
return self._Name
|
|
@@ -37922,7 +38002,7 @@ name有以下限制:
|
|
|
37922
38002
|
|
|
37923
38003
|
@property
|
|
37924
38004
|
def Enable(self):
|
|
37925
|
-
r"""
|
|
38005
|
+
r"""<p>投递任务启用状态;0:禁用;1:启用</p>
|
|
37926
38006
|
:rtype: int
|
|
37927
38007
|
"""
|
|
37928
38008
|
return self._Enable
|
|
@@ -37933,7 +38013,7 @@ name有以下限制:
|
|
|
37933
38013
|
|
|
37934
38014
|
@property
|
|
37935
38015
|
def NetInfo(self):
|
|
37936
|
-
r"""splunk
|
|
38016
|
+
r"""<p>splunk投递任务-目标配置</p>
|
|
37937
38017
|
:rtype: :class:`tencentcloud.cls.v20201016.models.NetInfo`
|
|
37938
38018
|
"""
|
|
37939
38019
|
return self._NetInfo
|
|
@@ -37944,7 +38024,7 @@ name有以下限制:
|
|
|
37944
38024
|
|
|
37945
38025
|
@property
|
|
37946
38026
|
def MetadataInfo(self):
|
|
37947
|
-
r"""splunk
|
|
38027
|
+
r"""<p>splunk投递任务元信息</p>
|
|
37948
38028
|
:rtype: :class:`tencentcloud.cls.v20201016.models.MetadataInfo`
|
|
37949
38029
|
"""
|
|
37950
38030
|
return self._MetadataInfo
|
|
@@ -37955,7 +38035,7 @@ name有以下限制:
|
|
|
37955
38035
|
|
|
37956
38036
|
@property
|
|
37957
38037
|
def HasServiceLog(self):
|
|
37958
|
-
r"""
|
|
38038
|
+
r"""<p>是否启用服务日志;1:关闭;2:开启</p>
|
|
37959
38039
|
:rtype: int
|
|
37960
38040
|
"""
|
|
37961
38041
|
return self._HasServiceLog
|
|
@@ -37966,8 +38046,7 @@ name有以下限制:
|
|
|
37966
38046
|
|
|
37967
38047
|
@property
|
|
37968
38048
|
def IndexAck(self):
|
|
37969
|
-
r"""
|
|
37970
|
-
1-不开启;2-开启;默认为:1
|
|
38049
|
+
r"""<p>高级配置-是否启用索引器;1-不开启;2-开启;默认为:1</p>
|
|
37971
38050
|
:rtype: int
|
|
37972
38051
|
"""
|
|
37973
38052
|
return self._IndexAck
|
|
@@ -37978,7 +38057,7 @@ name有以下限制:
|
|
|
37978
38057
|
|
|
37979
38058
|
@property
|
|
37980
38059
|
def Source(self):
|
|
37981
|
-
r"""
|
|
38060
|
+
r"""<p>高级配置-数据来源;不超过64个字符</p>
|
|
37982
38061
|
:rtype: str
|
|
37983
38062
|
"""
|
|
37984
38063
|
return self._Source
|
|
@@ -37989,7 +38068,7 @@ name有以下限制:
|
|
|
37989
38068
|
|
|
37990
38069
|
@property
|
|
37991
38070
|
def SourceType(self):
|
|
37992
|
-
r"""
|
|
38071
|
+
r"""<p>高级配置-数据来源类型;不超过64个字符</p>
|
|
37993
38072
|
:rtype: str
|
|
37994
38073
|
"""
|
|
37995
38074
|
return self._SourceType
|
|
@@ -38000,7 +38079,7 @@ name有以下限制:
|
|
|
38000
38079
|
|
|
38001
38080
|
@property
|
|
38002
38081
|
def Index(self):
|
|
38003
|
-
r"""
|
|
38082
|
+
r"""<p>高级配置-Splunk写入的索引;不超过64个字符</p>
|
|
38004
38083
|
:rtype: str
|
|
38005
38084
|
"""
|
|
38006
38085
|
return self._Index
|
|
@@ -38011,8 +38090,7 @@ name有以下限制:
|
|
|
38011
38090
|
|
|
38012
38091
|
@property
|
|
38013
38092
|
def Channel(self):
|
|
38014
|
-
r"""
|
|
38015
|
-
需满足限制:如果启用索引器,该值不能为空
|
|
38093
|
+
r"""<p>高级配置-通道。需满足限制:如果启用索引器,该值不能为空</p>
|
|
38016
38094
|
:rtype: str
|
|
38017
38095
|
"""
|
|
38018
38096
|
return self._Channel
|
|
@@ -38021,6 +38099,17 @@ name有以下限制:
|
|
|
38021
38099
|
def Channel(self, Channel):
|
|
38022
38100
|
self._Channel = Channel
|
|
38023
38101
|
|
|
38102
|
+
@property
|
|
38103
|
+
def DSLFilter(self):
|
|
38104
|
+
r"""<p>预过滤处理-对写入 Splunk 原始数据进行预过滤处理</p>
|
|
38105
|
+
:rtype: str
|
|
38106
|
+
"""
|
|
38107
|
+
return self._DSLFilter
|
|
38108
|
+
|
|
38109
|
+
@DSLFilter.setter
|
|
38110
|
+
def DSLFilter(self, DSLFilter):
|
|
38111
|
+
self._DSLFilter = DSLFilter
|
|
38112
|
+
|
|
38024
38113
|
|
|
38025
38114
|
def _deserialize(self, params):
|
|
38026
38115
|
self._TaskId = params.get("TaskId")
|
|
@@ -38039,6 +38128,7 @@ name有以下限制:
|
|
|
38039
38128
|
self._SourceType = params.get("SourceType")
|
|
38040
38129
|
self._Index = params.get("Index")
|
|
38041
38130
|
self._Channel = params.get("Channel")
|
|
38131
|
+
self._DSLFilter = params.get("DSLFilter")
|
|
38042
38132
|
memeber_set = set(params.keys())
|
|
38043
38133
|
for name, value in vars(self).items():
|
|
38044
38134
|
property_name = name[1:]
|
|
@@ -43834,38 +43924,40 @@ class SplunkDeliverInfo(AbstractModel):
|
|
|
43834
43924
|
|
|
43835
43925
|
def __init__(self):
|
|
43836
43926
|
r"""
|
|
43837
|
-
:param _TaskId:
|
|
43927
|
+
:param _TaskId: <p>任务id</p>
|
|
43838
43928
|
:type TaskId: str
|
|
43839
|
-
:param _Name:
|
|
43929
|
+
:param _Name: <p>任务名称</p>
|
|
43840
43930
|
:type Name: str
|
|
43841
|
-
:param _Uin:
|
|
43931
|
+
:param _Uin: <p>用户id</p>
|
|
43842
43932
|
:type Uin: int
|
|
43843
|
-
:param _TopicId:
|
|
43933
|
+
:param _TopicId: <p>日志主题id</p>
|
|
43844
43934
|
:type TopicId: str
|
|
43845
|
-
:param _Status:
|
|
43935
|
+
:param _Status: <p>任务状态;1.运行中;2:暂停;3:异常</p>
|
|
43846
43936
|
:type Status: int
|
|
43847
|
-
:param _Enable:
|
|
43937
|
+
:param _Enable: <p>启用状态;0:禁用;1:启用</p>
|
|
43848
43938
|
:type Enable: int
|
|
43849
|
-
:param _CreateTime:
|
|
43939
|
+
:param _CreateTime: <p>创建时间;单位:秒</p>
|
|
43850
43940
|
:type CreateTime: int
|
|
43851
|
-
:param _UpdateTime:
|
|
43941
|
+
:param _UpdateTime: <p>更新时间;单位:秒</p>
|
|
43852
43942
|
:type UpdateTime: int
|
|
43853
|
-
:param _NetInfo: splunk
|
|
43943
|
+
:param _NetInfo: <p>splunk投递任务-目标配置</p>
|
|
43854
43944
|
:type NetInfo: :class:`tencentcloud.cls.v20201016.models.NetInfo`
|
|
43855
|
-
:param _Metadata: splunk
|
|
43945
|
+
:param _Metadata: <p>splunk投递任务元信息</p>
|
|
43856
43946
|
:type Metadata: :class:`tencentcloud.cls.v20201016.models.MetadataInfo`
|
|
43857
|
-
:param _HasServiceLog:
|
|
43947
|
+
:param _HasServiceLog: <p>是否启用服务日志;1:关闭;2:开启</p>
|
|
43858
43948
|
:type HasServiceLog: int
|
|
43859
|
-
:param _Source:
|
|
43949
|
+
:param _Source: <p>高级配置-数据来源;</p>
|
|
43860
43950
|
:type Source: str
|
|
43861
|
-
:param _SourceType:
|
|
43951
|
+
:param _SourceType: <p>高级配置-数据来源类型;</p>
|
|
43862
43952
|
:type SourceType: str
|
|
43863
|
-
:param _Index:
|
|
43953
|
+
:param _Index: <p>高级配置-Splunk写入的索引</p>
|
|
43864
43954
|
:type Index: str
|
|
43865
|
-
:param _IndexAck:
|
|
43955
|
+
:param _IndexAck: <p>高级配置-是否启用索引器;1-不开启;2-开启;</p>
|
|
43866
43956
|
:type IndexAck: int
|
|
43867
|
-
:param _Channel:
|
|
43957
|
+
:param _Channel: <p>高级配置-通道</p>
|
|
43868
43958
|
:type Channel: str
|
|
43959
|
+
:param _DSLFilter: <p>预过滤处理-对写入 Splunk 原始数据进行预过滤处理语句</p>
|
|
43960
|
+
:type DSLFilter: str
|
|
43869
43961
|
"""
|
|
43870
43962
|
self._TaskId = None
|
|
43871
43963
|
self._Name = None
|
|
@@ -43883,10 +43975,11 @@ class SplunkDeliverInfo(AbstractModel):
|
|
|
43883
43975
|
self._Index = None
|
|
43884
43976
|
self._IndexAck = None
|
|
43885
43977
|
self._Channel = None
|
|
43978
|
+
self._DSLFilter = None
|
|
43886
43979
|
|
|
43887
43980
|
@property
|
|
43888
43981
|
def TaskId(self):
|
|
43889
|
-
r"""
|
|
43982
|
+
r"""<p>任务id</p>
|
|
43890
43983
|
:rtype: str
|
|
43891
43984
|
"""
|
|
43892
43985
|
return self._TaskId
|
|
@@ -43897,7 +43990,7 @@ class SplunkDeliverInfo(AbstractModel):
|
|
|
43897
43990
|
|
|
43898
43991
|
@property
|
|
43899
43992
|
def Name(self):
|
|
43900
|
-
r"""
|
|
43993
|
+
r"""<p>任务名称</p>
|
|
43901
43994
|
:rtype: str
|
|
43902
43995
|
"""
|
|
43903
43996
|
return self._Name
|
|
@@ -43908,7 +44001,7 @@ class SplunkDeliverInfo(AbstractModel):
|
|
|
43908
44001
|
|
|
43909
44002
|
@property
|
|
43910
44003
|
def Uin(self):
|
|
43911
|
-
r"""
|
|
44004
|
+
r"""<p>用户id</p>
|
|
43912
44005
|
:rtype: int
|
|
43913
44006
|
"""
|
|
43914
44007
|
return self._Uin
|
|
@@ -43919,7 +44012,7 @@ class SplunkDeliverInfo(AbstractModel):
|
|
|
43919
44012
|
|
|
43920
44013
|
@property
|
|
43921
44014
|
def TopicId(self):
|
|
43922
|
-
r"""
|
|
44015
|
+
r"""<p>日志主题id</p>
|
|
43923
44016
|
:rtype: str
|
|
43924
44017
|
"""
|
|
43925
44018
|
return self._TopicId
|
|
@@ -43930,7 +44023,7 @@ class SplunkDeliverInfo(AbstractModel):
|
|
|
43930
44023
|
|
|
43931
44024
|
@property
|
|
43932
44025
|
def Status(self):
|
|
43933
|
-
r"""
|
|
44026
|
+
r"""<p>任务状态;1.运行中;2:暂停;3:异常</p>
|
|
43934
44027
|
:rtype: int
|
|
43935
44028
|
"""
|
|
43936
44029
|
return self._Status
|
|
@@ -43941,7 +44034,7 @@ class SplunkDeliverInfo(AbstractModel):
|
|
|
43941
44034
|
|
|
43942
44035
|
@property
|
|
43943
44036
|
def Enable(self):
|
|
43944
|
-
r"""
|
|
44037
|
+
r"""<p>启用状态;0:禁用;1:启用</p>
|
|
43945
44038
|
:rtype: int
|
|
43946
44039
|
"""
|
|
43947
44040
|
return self._Enable
|
|
@@ -43952,7 +44045,7 @@ class SplunkDeliverInfo(AbstractModel):
|
|
|
43952
44045
|
|
|
43953
44046
|
@property
|
|
43954
44047
|
def CreateTime(self):
|
|
43955
|
-
r"""
|
|
44048
|
+
r"""<p>创建时间;单位:秒</p>
|
|
43956
44049
|
:rtype: int
|
|
43957
44050
|
"""
|
|
43958
44051
|
return self._CreateTime
|
|
@@ -43963,7 +44056,7 @@ class SplunkDeliverInfo(AbstractModel):
|
|
|
43963
44056
|
|
|
43964
44057
|
@property
|
|
43965
44058
|
def UpdateTime(self):
|
|
43966
|
-
r"""
|
|
44059
|
+
r"""<p>更新时间;单位:秒</p>
|
|
43967
44060
|
:rtype: int
|
|
43968
44061
|
"""
|
|
43969
44062
|
return self._UpdateTime
|
|
@@ -43974,7 +44067,7 @@ class SplunkDeliverInfo(AbstractModel):
|
|
|
43974
44067
|
|
|
43975
44068
|
@property
|
|
43976
44069
|
def NetInfo(self):
|
|
43977
|
-
r"""splunk
|
|
44070
|
+
r"""<p>splunk投递任务-目标配置</p>
|
|
43978
44071
|
:rtype: :class:`tencentcloud.cls.v20201016.models.NetInfo`
|
|
43979
44072
|
"""
|
|
43980
44073
|
return self._NetInfo
|
|
@@ -43985,7 +44078,7 @@ class SplunkDeliverInfo(AbstractModel):
|
|
|
43985
44078
|
|
|
43986
44079
|
@property
|
|
43987
44080
|
def Metadata(self):
|
|
43988
|
-
r"""splunk
|
|
44081
|
+
r"""<p>splunk投递任务元信息</p>
|
|
43989
44082
|
:rtype: :class:`tencentcloud.cls.v20201016.models.MetadataInfo`
|
|
43990
44083
|
"""
|
|
43991
44084
|
return self._Metadata
|
|
@@ -43996,7 +44089,7 @@ class SplunkDeliverInfo(AbstractModel):
|
|
|
43996
44089
|
|
|
43997
44090
|
@property
|
|
43998
44091
|
def HasServiceLog(self):
|
|
43999
|
-
r"""
|
|
44092
|
+
r"""<p>是否启用服务日志;1:关闭;2:开启</p>
|
|
44000
44093
|
:rtype: int
|
|
44001
44094
|
"""
|
|
44002
44095
|
return self._HasServiceLog
|
|
@@ -44007,7 +44100,7 @@ class SplunkDeliverInfo(AbstractModel):
|
|
|
44007
44100
|
|
|
44008
44101
|
@property
|
|
44009
44102
|
def Source(self):
|
|
44010
|
-
r"""
|
|
44103
|
+
r"""<p>高级配置-数据来源;</p>
|
|
44011
44104
|
:rtype: str
|
|
44012
44105
|
"""
|
|
44013
44106
|
return self._Source
|
|
@@ -44018,7 +44111,7 @@ class SplunkDeliverInfo(AbstractModel):
|
|
|
44018
44111
|
|
|
44019
44112
|
@property
|
|
44020
44113
|
def SourceType(self):
|
|
44021
|
-
r"""
|
|
44114
|
+
r"""<p>高级配置-数据来源类型;</p>
|
|
44022
44115
|
:rtype: str
|
|
44023
44116
|
"""
|
|
44024
44117
|
return self._SourceType
|
|
@@ -44029,7 +44122,7 @@ class SplunkDeliverInfo(AbstractModel):
|
|
|
44029
44122
|
|
|
44030
44123
|
@property
|
|
44031
44124
|
def Index(self):
|
|
44032
|
-
r"""
|
|
44125
|
+
r"""<p>高级配置-Splunk写入的索引</p>
|
|
44033
44126
|
:rtype: str
|
|
44034
44127
|
"""
|
|
44035
44128
|
return self._Index
|
|
@@ -44040,7 +44133,7 @@ class SplunkDeliverInfo(AbstractModel):
|
|
|
44040
44133
|
|
|
44041
44134
|
@property
|
|
44042
44135
|
def IndexAck(self):
|
|
44043
|
-
r"""
|
|
44136
|
+
r"""<p>高级配置-是否启用索引器;1-不开启;2-开启;</p>
|
|
44044
44137
|
:rtype: int
|
|
44045
44138
|
"""
|
|
44046
44139
|
return self._IndexAck
|
|
@@ -44051,7 +44144,7 @@ class SplunkDeliverInfo(AbstractModel):
|
|
|
44051
44144
|
|
|
44052
44145
|
@property
|
|
44053
44146
|
def Channel(self):
|
|
44054
|
-
r"""
|
|
44147
|
+
r"""<p>高级配置-通道</p>
|
|
44055
44148
|
:rtype: str
|
|
44056
44149
|
"""
|
|
44057
44150
|
return self._Channel
|
|
@@ -44060,6 +44153,17 @@ class SplunkDeliverInfo(AbstractModel):
|
|
|
44060
44153
|
def Channel(self, Channel):
|
|
44061
44154
|
self._Channel = Channel
|
|
44062
44155
|
|
|
44156
|
+
@property
|
|
44157
|
+
def DSLFilter(self):
|
|
44158
|
+
r"""<p>预过滤处理-对写入 Splunk 原始数据进行预过滤处理语句</p>
|
|
44159
|
+
:rtype: str
|
|
44160
|
+
"""
|
|
44161
|
+
return self._DSLFilter
|
|
44162
|
+
|
|
44163
|
+
@DSLFilter.setter
|
|
44164
|
+
def DSLFilter(self, DSLFilter):
|
|
44165
|
+
self._DSLFilter = DSLFilter
|
|
44166
|
+
|
|
44063
44167
|
|
|
44064
44168
|
def _deserialize(self, params):
|
|
44065
44169
|
self._TaskId = params.get("TaskId")
|
|
@@ -44082,6 +44186,7 @@ class SplunkDeliverInfo(AbstractModel):
|
|
|
44082
44186
|
self._Index = params.get("Index")
|
|
44083
44187
|
self._IndexAck = params.get("IndexAck")
|
|
44084
44188
|
self._Channel = params.get("Channel")
|
|
44189
|
+
self._DSLFilter = params.get("DSLFilter")
|
|
44085
44190
|
memeber_set = set(params.keys())
|
|
44086
44191
|
for name, value in vars(self).items():
|
|
44087
44192
|
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.34
|
|
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.34
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.34
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.32
|
|
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
|