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