tencentcloud-sdk-python-teo 3.1.127__tar.gz → 3.1.130__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_teo-3.1.127 → tencentcloud_sdk_python_teo-3.1.130}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_teo-3.1.127 → tencentcloud_sdk_python_teo-3.1.130}/setup.py +1 -1
- {tencentcloud_sdk_python_teo-3.1.127 → tencentcloud_sdk_python_teo-3.1.130}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_teo-3.1.127 → tencentcloud_sdk_python_teo-3.1.130}/tencentcloud/teo/v20220901/models.py +64 -68
- {tencentcloud_sdk_python_teo-3.1.127 → tencentcloud_sdk_python_teo-3.1.130}/tencentcloud_sdk_python_teo.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_teo-3.1.130/tencentcloud_sdk_python_teo.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_teo-3.1.127/tencentcloud_sdk_python_teo.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_teo-3.1.127 → tencentcloud_sdk_python_teo-3.1.130}/README.rst +0 -0
- {tencentcloud_sdk_python_teo-3.1.127 → tencentcloud_sdk_python_teo-3.1.130}/setup.cfg +0 -0
- {tencentcloud_sdk_python_teo-3.1.127 → tencentcloud_sdk_python_teo-3.1.130}/tencentcloud/teo/__init__.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.127 → tencentcloud_sdk_python_teo-3.1.130}/tencentcloud/teo/v20220106/__init__.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.127 → tencentcloud_sdk_python_teo-3.1.130}/tencentcloud/teo/v20220106/errorcodes.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.127 → tencentcloud_sdk_python_teo-3.1.130}/tencentcloud/teo/v20220106/models.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.127 → tencentcloud_sdk_python_teo-3.1.130}/tencentcloud/teo/v20220106/teo_client.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.127 → tencentcloud_sdk_python_teo-3.1.130}/tencentcloud/teo/v20220106/teo_client_async.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.127 → tencentcloud_sdk_python_teo-3.1.130}/tencentcloud/teo/v20220901/__init__.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.127 → tencentcloud_sdk_python_teo-3.1.130}/tencentcloud/teo/v20220901/errorcodes.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.127 → tencentcloud_sdk_python_teo-3.1.130}/tencentcloud/teo/v20220901/teo_client.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.127 → tencentcloud_sdk_python_teo-3.1.130}/tencentcloud/teo/v20220901/teo_client_async.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.127 → tencentcloud_sdk_python_teo-3.1.130}/tencentcloud_sdk_python_teo.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_teo-3.1.127 → tencentcloud_sdk_python_teo-3.1.130}/tencentcloud_sdk_python_teo.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_teo-3.1.127 → tencentcloud_sdk_python_teo-3.1.130}/tencentcloud_sdk_python_teo.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-teo
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.130
|
|
4
4
|
Summary: Tencent Cloud Teo 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.130
|
|
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-teo',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.130,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Teo SDK for Python',
|
|
@@ -13349,33 +13349,33 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
|
|
|
13349
13349
|
|
|
13350
13350
|
def __init__(self):
|
|
13351
13351
|
r"""
|
|
13352
|
-
:param _ZoneId:
|
|
13352
|
+
:param _ZoneId: <p>站点 ID。</p>
|
|
13353
13353
|
:type ZoneId: str
|
|
13354
|
-
:param _Area:
|
|
13354
|
+
:param _Area: <p>数据投递区域,可选值:<ul><li>mainland:中国大陆境内;</li><li>overseas:全球(不含中国大陆)。</li></ul></p>
|
|
13355
13355
|
:type Area: str
|
|
13356
|
-
:param _LogType:
|
|
13356
|
+
:param _LogType: <p>数据投递类型,可选值:<ul><li>l7-access-logs:七层访问日志;</li><li>application:四层代理日志;</li><li>function:边缘函数运行日志;</li><li>web-attack:托管规则日志;</li></ul>以下类型日志合并入 l7-access-logs,不再支持新增:</p><ul><li>domain:站点加速日志;</li><li>web-rateLiming:速率限制和 CC 攻击防护日志;</li><li>web-rule:自定义规则日志;</li><li>web-bot:Bot 管理日志。</li></ul>
|
|
13357
13357
|
:type LogType: str
|
|
13358
|
-
:param _TaskName:
|
|
13358
|
+
:param _TaskName: <p>实时日志投递任务的名称,格式为数字、英文、-和_组合,最多 200 个字符。</p>
|
|
13359
13359
|
:type TaskName: str
|
|
13360
|
-
:param _TaskType:
|
|
13360
|
+
:param _TaskType: <p>实时日志投递任务类型,取值有:<ul><li>cls: 推送到腾讯云 CLS;</li><li>custom_endpoint:推送到自定义 HTTP(S) 地址;</li><li>s3:推送到 AWS S3 兼容存储桶地址;</li><li>log_analysis:推送到 EdgeOne 日志分析,仅当 LogType = l7-access-logs 或 web-attack 时支持。</li></ul></p>
|
|
13361
13361
|
:type TaskType: str
|
|
13362
|
-
:param _EntityList:
|
|
13362
|
+
:param _EntityList: <p>实时日志投递任务对应的实体列表。取值示例如下:<ul><li>七层域名:domain.example.com</li><li>四层代理实例:sid-2s69eb5wcms7</li><li>边缘函数实例:test-zone-2mxigizoh9l9-1257626257</li></ul></p><p>取值参考:<a href="https://cloud.tencent.com/document/api/1552/103413">DescribeL4Proxy</a></p>
|
|
13363
13363
|
:type EntityList: list of str
|
|
13364
|
-
:param _Fields:
|
|
13364
|
+
:param _Fields: <p>投递的预设字段列表。取值参考:<ul><li><a href="https://cloud.tencent.com/document/product/1552/105791">七层访问日志(站点加速日志)</a></li><li><a href="https://cloud.tencent.com/document/product/1552/105792">四层代理日志</a></li><li><a href="https://cloud.tencent.com/document/product/1552/115585">边缘函数运行日志</a></li></ul></p><p>取值参考:DescribeLogFields</p>
|
|
13365
13365
|
:type Fields: list of str
|
|
13366
|
-
:param _CustomFields:
|
|
13366
|
+
:param _CustomFields: <p>投递的自定义字段列表,支持在 HTTP 请求头、响应头、Cookie、请求正文中提取指定内容。<br>自定义字段名称不能重复,仅七层访问日志(LogType= l7-access-logs 或 domain)支持添加自定义字段。<br>允许配置的自定义字段个数有配额限制,如遇配额不足请 [联系我们](https://cloud.tencent.com/online-service?from=sales&source=PRESALE)。</p>
|
|
13367
13367
|
:type CustomFields: list of CustomField
|
|
13368
|
-
:param _DeliveryConditions:
|
|
13368
|
+
:param _DeliveryConditions: <p>日志投递的过滤条件,不填表示投递全量日志。</p>
|
|
13369
13369
|
:type DeliveryConditions: list of DeliveryCondition
|
|
13370
|
-
:param _Sample:
|
|
13370
|
+
:param _Sample: <p>采样比例,采用千分制,取值范围为1-1000,例如:填写 605 表示采样比例为 60.5%。不填表示采样比例为 100%。</p>
|
|
13371
13371
|
:type Sample: int
|
|
13372
|
-
:param _LogFormat:
|
|
13372
|
+
:param _LogFormat: <p>日志投递的输出格式,使用详情见 <a href="https://cloud.tencent.com/document/product/1552/110448">自定义日志输出格式</a>。不填表示为默认格式,默认格式逻辑如下:<ul><li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li><li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines;</li></ul>特别地,当 TaskType 取值为 cls 或 log_analysis 时,LogFormat.FormatType 的值只能为 json,且 LogFormat 中其他参数将被忽略,建议不传 LogFormat。</p>
|
|
13373
13373
|
:type LogFormat: :class:`tencentcloud.teo.v20220901.models.LogFormat`
|
|
13374
|
-
:param _CLS: CLS 的配置信息。当 TaskType 取值为 cls
|
|
13374
|
+
:param _CLS: <p>CLS 的配置信息。当 TaskType 取值为 cls 时,该参数必填。</p>
|
|
13375
13375
|
:type CLS: :class:`tencentcloud.teo.v20220901.models.CLSTopic`
|
|
13376
|
-
:param _CustomEndpoint:
|
|
13376
|
+
:param _CustomEndpoint: <p>自定义 HTTP 服务的配置信息。当 TaskType 取值为 custom_endpoint 时,该参数必填。</p>
|
|
13377
13377
|
:type CustomEndpoint: :class:`tencentcloud.teo.v20220901.models.CustomEndpoint`
|
|
13378
|
-
:param _S3: AWS S3 兼容存储桶的配置信息。当 TaskType 取值为 s3
|
|
13378
|
+
:param _S3: <p>AWS S3 兼容存储桶的配置信息。当 TaskType 取值为 s3 时,该参数必填。</p>
|
|
13379
13379
|
:type S3: :class:`tencentcloud.teo.v20220901.models.S3`
|
|
13380
13380
|
"""
|
|
13381
13381
|
self._ZoneId = None
|
|
@@ -13395,7 +13395,7 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
|
|
|
13395
13395
|
|
|
13396
13396
|
@property
|
|
13397
13397
|
def ZoneId(self):
|
|
13398
|
-
r"""
|
|
13398
|
+
r"""<p>站点 ID。</p>
|
|
13399
13399
|
:rtype: str
|
|
13400
13400
|
"""
|
|
13401
13401
|
return self._ZoneId
|
|
@@ -13406,7 +13406,7 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
|
|
|
13406
13406
|
|
|
13407
13407
|
@property
|
|
13408
13408
|
def Area(self):
|
|
13409
|
-
r"""
|
|
13409
|
+
r"""<p>数据投递区域,可选值:<ul><li>mainland:中国大陆境内;</li><li>overseas:全球(不含中国大陆)。</li></ul></p>
|
|
13410
13410
|
:rtype: str
|
|
13411
13411
|
"""
|
|
13412
13412
|
return self._Area
|
|
@@ -13417,7 +13417,7 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
|
|
|
13417
13417
|
|
|
13418
13418
|
@property
|
|
13419
13419
|
def LogType(self):
|
|
13420
|
-
r"""
|
|
13420
|
+
r"""<p>数据投递类型,可选值:<ul><li>l7-access-logs:七层访问日志;</li><li>application:四层代理日志;</li><li>function:边缘函数运行日志;</li><li>web-attack:托管规则日志;</li></ul>以下类型日志合并入 l7-access-logs,不再支持新增:</p><ul><li>domain:站点加速日志;</li><li>web-rateLiming:速率限制和 CC 攻击防护日志;</li><li>web-rule:自定义规则日志;</li><li>web-bot:Bot 管理日志。</li></ul>
|
|
13421
13421
|
:rtype: str
|
|
13422
13422
|
"""
|
|
13423
13423
|
return self._LogType
|
|
@@ -13428,7 +13428,7 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
|
|
|
13428
13428
|
|
|
13429
13429
|
@property
|
|
13430
13430
|
def TaskName(self):
|
|
13431
|
-
r"""
|
|
13431
|
+
r"""<p>实时日志投递任务的名称,格式为数字、英文、-和_组合,最多 200 个字符。</p>
|
|
13432
13432
|
:rtype: str
|
|
13433
13433
|
"""
|
|
13434
13434
|
return self._TaskName
|
|
@@ -13439,7 +13439,7 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
|
|
|
13439
13439
|
|
|
13440
13440
|
@property
|
|
13441
13441
|
def TaskType(self):
|
|
13442
|
-
r"""
|
|
13442
|
+
r"""<p>实时日志投递任务类型,取值有:<ul><li>cls: 推送到腾讯云 CLS;</li><li>custom_endpoint:推送到自定义 HTTP(S) 地址;</li><li>s3:推送到 AWS S3 兼容存储桶地址;</li><li>log_analysis:推送到 EdgeOne 日志分析,仅当 LogType = l7-access-logs 或 web-attack 时支持。</li></ul></p>
|
|
13443
13443
|
:rtype: str
|
|
13444
13444
|
"""
|
|
13445
13445
|
return self._TaskType
|
|
@@ -13450,7 +13450,7 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
|
|
|
13450
13450
|
|
|
13451
13451
|
@property
|
|
13452
13452
|
def EntityList(self):
|
|
13453
|
-
r"""
|
|
13453
|
+
r"""<p>实时日志投递任务对应的实体列表。取值示例如下:<ul><li>七层域名:domain.example.com</li><li>四层代理实例:sid-2s69eb5wcms7</li><li>边缘函数实例:test-zone-2mxigizoh9l9-1257626257</li></ul></p><p>取值参考:<a href="https://cloud.tencent.com/document/api/1552/103413">DescribeL4Proxy</a></p>
|
|
13454
13454
|
:rtype: list of str
|
|
13455
13455
|
"""
|
|
13456
13456
|
return self._EntityList
|
|
@@ -13461,7 +13461,7 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
|
|
|
13461
13461
|
|
|
13462
13462
|
@property
|
|
13463
13463
|
def Fields(self):
|
|
13464
|
-
r"""
|
|
13464
|
+
r"""<p>投递的预设字段列表。取值参考:<ul><li><a href="https://cloud.tencent.com/document/product/1552/105791">七层访问日志(站点加速日志)</a></li><li><a href="https://cloud.tencent.com/document/product/1552/105792">四层代理日志</a></li><li><a href="https://cloud.tencent.com/document/product/1552/115585">边缘函数运行日志</a></li></ul></p><p>取值参考:DescribeLogFields</p>
|
|
13465
13465
|
:rtype: list of str
|
|
13466
13466
|
"""
|
|
13467
13467
|
return self._Fields
|
|
@@ -13472,7 +13472,7 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
|
|
|
13472
13472
|
|
|
13473
13473
|
@property
|
|
13474
13474
|
def CustomFields(self):
|
|
13475
|
-
r"""
|
|
13475
|
+
r"""<p>投递的自定义字段列表,支持在 HTTP 请求头、响应头、Cookie、请求正文中提取指定内容。<br>自定义字段名称不能重复,仅七层访问日志(LogType= l7-access-logs 或 domain)支持添加自定义字段。<br>允许配置的自定义字段个数有配额限制,如遇配额不足请 [联系我们](https://cloud.tencent.com/online-service?from=sales&source=PRESALE)。</p>
|
|
13476
13476
|
:rtype: list of CustomField
|
|
13477
13477
|
"""
|
|
13478
13478
|
return self._CustomFields
|
|
@@ -13483,7 +13483,7 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
|
|
|
13483
13483
|
|
|
13484
13484
|
@property
|
|
13485
13485
|
def DeliveryConditions(self):
|
|
13486
|
-
r"""
|
|
13486
|
+
r"""<p>日志投递的过滤条件,不填表示投递全量日志。</p>
|
|
13487
13487
|
:rtype: list of DeliveryCondition
|
|
13488
13488
|
"""
|
|
13489
13489
|
return self._DeliveryConditions
|
|
@@ -13494,7 +13494,7 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
|
|
|
13494
13494
|
|
|
13495
13495
|
@property
|
|
13496
13496
|
def Sample(self):
|
|
13497
|
-
r"""
|
|
13497
|
+
r"""<p>采样比例,采用千分制,取值范围为1-1000,例如:填写 605 表示采样比例为 60.5%。不填表示采样比例为 100%。</p>
|
|
13498
13498
|
:rtype: int
|
|
13499
13499
|
"""
|
|
13500
13500
|
return self._Sample
|
|
@@ -13505,7 +13505,7 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
|
|
|
13505
13505
|
|
|
13506
13506
|
@property
|
|
13507
13507
|
def LogFormat(self):
|
|
13508
|
-
r"""
|
|
13508
|
+
r"""<p>日志投递的输出格式,使用详情见 <a href="https://cloud.tencent.com/document/product/1552/110448">自定义日志输出格式</a>。不填表示为默认格式,默认格式逻辑如下:<ul><li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li><li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines;</li></ul>特别地,当 TaskType 取值为 cls 或 log_analysis 时,LogFormat.FormatType 的值只能为 json,且 LogFormat 中其他参数将被忽略,建议不传 LogFormat。</p>
|
|
13509
13509
|
:rtype: :class:`tencentcloud.teo.v20220901.models.LogFormat`
|
|
13510
13510
|
"""
|
|
13511
13511
|
return self._LogFormat
|
|
@@ -13516,7 +13516,7 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
|
|
|
13516
13516
|
|
|
13517
13517
|
@property
|
|
13518
13518
|
def CLS(self):
|
|
13519
|
-
r"""CLS 的配置信息。当 TaskType 取值为 cls
|
|
13519
|
+
r"""<p>CLS 的配置信息。当 TaskType 取值为 cls 时,该参数必填。</p>
|
|
13520
13520
|
:rtype: :class:`tencentcloud.teo.v20220901.models.CLSTopic`
|
|
13521
13521
|
"""
|
|
13522
13522
|
return self._CLS
|
|
@@ -13527,7 +13527,7 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
|
|
|
13527
13527
|
|
|
13528
13528
|
@property
|
|
13529
13529
|
def CustomEndpoint(self):
|
|
13530
|
-
r"""
|
|
13530
|
+
r"""<p>自定义 HTTP 服务的配置信息。当 TaskType 取值为 custom_endpoint 时,该参数必填。</p>
|
|
13531
13531
|
:rtype: :class:`tencentcloud.teo.v20220901.models.CustomEndpoint`
|
|
13532
13532
|
"""
|
|
13533
13533
|
return self._CustomEndpoint
|
|
@@ -13538,7 +13538,7 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
|
|
|
13538
13538
|
|
|
13539
13539
|
@property
|
|
13540
13540
|
def S3(self):
|
|
13541
|
-
r"""AWS S3 兼容存储桶的配置信息。当 TaskType 取值为 s3
|
|
13541
|
+
r"""<p>AWS S3 兼容存储桶的配置信息。当 TaskType 取值为 s3 时,该参数必填。</p>
|
|
13542
13542
|
:rtype: :class:`tencentcloud.teo.v20220901.models.S3`
|
|
13543
13543
|
"""
|
|
13544
13544
|
return self._S3
|
|
@@ -13598,7 +13598,7 @@ class CreateRealtimeLogDeliveryTaskResponse(AbstractModel):
|
|
|
13598
13598
|
|
|
13599
13599
|
def __init__(self):
|
|
13600
13600
|
r"""
|
|
13601
|
-
:param _TaskId:
|
|
13601
|
+
:param _TaskId: <p>创建成功的任务ID。</p>
|
|
13602
13602
|
:type TaskId: str
|
|
13603
13603
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13604
13604
|
:type RequestId: str
|
|
@@ -13608,7 +13608,7 @@ class CreateRealtimeLogDeliveryTaskResponse(AbstractModel):
|
|
|
13608
13608
|
|
|
13609
13609
|
@property
|
|
13610
13610
|
def TaskId(self):
|
|
13611
|
-
r"""
|
|
13611
|
+
r"""<p>创建成功的任务ID。</p>
|
|
13612
13612
|
:rtype: str
|
|
13613
13613
|
"""
|
|
13614
13614
|
return self._TaskId
|
|
@@ -52309,45 +52309,43 @@ class RealtimeLogDeliveryTask(AbstractModel):
|
|
|
52309
52309
|
|
|
52310
52310
|
def __init__(self):
|
|
52311
52311
|
r"""
|
|
52312
|
-
:param _TaskId:
|
|
52312
|
+
:param _TaskId: <p>实时日志投递任务 ID。</p>
|
|
52313
52313
|
:type TaskId: str
|
|
52314
|
-
:param _TaskName:
|
|
52314
|
+
:param _TaskName: <p>实时日志投递任务的名称。</p>
|
|
52315
52315
|
:type TaskName: str
|
|
52316
|
-
:param _DeliveryStatus:
|
|
52316
|
+
:param _DeliveryStatus: <p>实时日志投递任务的状态,取值有: <li>enabled: 已启用;</li> <li>disabled: 已停用;</li><li>deleted: 异常删除状态,请检查目的地腾讯云 CLS 日志集/日志主题是否已被删除。</li></p>
|
|
52317
52317
|
:type DeliveryStatus: str
|
|
52318
|
-
:param _TaskType:
|
|
52318
|
+
:param _TaskType: <p>实时日志投递任务类型,取值有: <li>cls: 推送到腾讯云 CLS;</li> <li>custom_endpoint:推送到自定义 HTTP(S) 地址;</li> <li>s3:推送到 AWS S3 兼容存储桶地址;</li><li>log_analysis:推送到 EdgeOne 日志分析。</li></p>
|
|
52319
52319
|
:type TaskType: str
|
|
52320
|
-
:param _EntityList:
|
|
52320
|
+
:param _EntityList: <p>实时日志投递任务对应的实体(七层域名或者四层代理实例)列表。取值示例如下: <li>七层域名:domain.example.com;</li> <li>四层代理实例:sid-2s69eb5wcms7。</li></p>
|
|
52321
52321
|
:type EntityList: list of str
|
|
52322
|
-
:param _LogType:
|
|
52322
|
+
:param _LogType: <p>数据投递类型,取值有: <li>l7-access-logs:七层访问日志;</li><li>application:四层代理日志;</li> <li>function:边缘函数运行日志;</li> <li>web-attack:托管规则日志;</li> <li>domain:站点加速日志;</li> <li>web-rateLiming:速率限制和 CC 攻击防护日志;</li><li>web-rule:自定义规则日志;</li> <li>web-bot:Bot 管理日志。</li></p>
|
|
52323
52323
|
:type LogType: str
|
|
52324
|
-
:param _Area:
|
|
52324
|
+
:param _Area: <p>数据投递区域,取值有: <li>mainland:中国大陆境内;</li> <li>overseas:全球(不含中国大陆)。</li></p>
|
|
52325
52325
|
:type Area: str
|
|
52326
|
-
:param _Fields:
|
|
52326
|
+
:param _Fields: <p>投递的预设字段列表。</p>
|
|
52327
52327
|
:type Fields: list of str
|
|
52328
|
-
:param _CustomFields:
|
|
52328
|
+
:param _CustomFields: <p>投递的自定义字段列表。</p>
|
|
52329
52329
|
:type CustomFields: list of CustomField
|
|
52330
|
-
:param _DeliveryConditions:
|
|
52330
|
+
:param _DeliveryConditions: <p>日志投递的过滤条件。</p>
|
|
52331
52331
|
:type DeliveryConditions: list of DeliveryCondition
|
|
52332
|
-
:param _Sample:
|
|
52332
|
+
:param _Sample: <p>采样比例,采用千分制,取值范围为1-1000,例如:605 表示采样比例为 60.5%。</p>
|
|
52333
52333
|
:type Sample: int
|
|
52334
|
-
:param _LogFormat:
|
|
52335
|
-
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li>
|
|
52336
|
-
<li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li>
|
|
52334
|
+
:param _LogFormat: <p>日志投递的输出格式。出参为 null 时表示为默认格式,默认格式逻辑如下:</p><li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li><li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li>
|
|
52337
52335
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
52338
52336
|
:type LogFormat: :class:`tencentcloud.teo.v20220901.models.LogFormat`
|
|
52339
|
-
:param _CLS: CLS
|
|
52337
|
+
:param _CLS: <p>CLS 的配置信息。</p>
|
|
52340
52338
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
52341
52339
|
:type CLS: :class:`tencentcloud.teo.v20220901.models.CLSTopic`
|
|
52342
|
-
:param _CustomEndpoint:
|
|
52340
|
+
:param _CustomEndpoint: <p>自定义 HTTP 服务的配置信息。</p>
|
|
52343
52341
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
52344
52342
|
:type CustomEndpoint: :class:`tencentcloud.teo.v20220901.models.CustomEndpoint`
|
|
52345
|
-
:param _S3: AWS S3
|
|
52343
|
+
:param _S3: <p>AWS S3 兼容存储桶的配置信息。</p>
|
|
52346
52344
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
52347
52345
|
:type S3: :class:`tencentcloud.teo.v20220901.models.S3`
|
|
52348
|
-
:param _CreateTime:
|
|
52346
|
+
:param _CreateTime: <p>创建时间。</p>
|
|
52349
52347
|
:type CreateTime: str
|
|
52350
|
-
:param _UpdateTime:
|
|
52348
|
+
:param _UpdateTime: <p>更新时间。</p>
|
|
52351
52349
|
:type UpdateTime: str
|
|
52352
52350
|
"""
|
|
52353
52351
|
self._TaskId = None
|
|
@@ -52370,7 +52368,7 @@ class RealtimeLogDeliveryTask(AbstractModel):
|
|
|
52370
52368
|
|
|
52371
52369
|
@property
|
|
52372
52370
|
def TaskId(self):
|
|
52373
|
-
r"""
|
|
52371
|
+
r"""<p>实时日志投递任务 ID。</p>
|
|
52374
52372
|
:rtype: str
|
|
52375
52373
|
"""
|
|
52376
52374
|
return self._TaskId
|
|
@@ -52381,7 +52379,7 @@ class RealtimeLogDeliveryTask(AbstractModel):
|
|
|
52381
52379
|
|
|
52382
52380
|
@property
|
|
52383
52381
|
def TaskName(self):
|
|
52384
|
-
r"""
|
|
52382
|
+
r"""<p>实时日志投递任务的名称。</p>
|
|
52385
52383
|
:rtype: str
|
|
52386
52384
|
"""
|
|
52387
52385
|
return self._TaskName
|
|
@@ -52392,7 +52390,7 @@ class RealtimeLogDeliveryTask(AbstractModel):
|
|
|
52392
52390
|
|
|
52393
52391
|
@property
|
|
52394
52392
|
def DeliveryStatus(self):
|
|
52395
|
-
r"""
|
|
52393
|
+
r"""<p>实时日志投递任务的状态,取值有: <li>enabled: 已启用;</li> <li>disabled: 已停用;</li><li>deleted: 异常删除状态,请检查目的地腾讯云 CLS 日志集/日志主题是否已被删除。</li></p>
|
|
52396
52394
|
:rtype: str
|
|
52397
52395
|
"""
|
|
52398
52396
|
return self._DeliveryStatus
|
|
@@ -52403,7 +52401,7 @@ class RealtimeLogDeliveryTask(AbstractModel):
|
|
|
52403
52401
|
|
|
52404
52402
|
@property
|
|
52405
52403
|
def TaskType(self):
|
|
52406
|
-
r"""
|
|
52404
|
+
r"""<p>实时日志投递任务类型,取值有: <li>cls: 推送到腾讯云 CLS;</li> <li>custom_endpoint:推送到自定义 HTTP(S) 地址;</li> <li>s3:推送到 AWS S3 兼容存储桶地址;</li><li>log_analysis:推送到 EdgeOne 日志分析。</li></p>
|
|
52407
52405
|
:rtype: str
|
|
52408
52406
|
"""
|
|
52409
52407
|
return self._TaskType
|
|
@@ -52414,7 +52412,7 @@ class RealtimeLogDeliveryTask(AbstractModel):
|
|
|
52414
52412
|
|
|
52415
52413
|
@property
|
|
52416
52414
|
def EntityList(self):
|
|
52417
|
-
r"""
|
|
52415
|
+
r"""<p>实时日志投递任务对应的实体(七层域名或者四层代理实例)列表。取值示例如下: <li>七层域名:domain.example.com;</li> <li>四层代理实例:sid-2s69eb5wcms7。</li></p>
|
|
52418
52416
|
:rtype: list of str
|
|
52419
52417
|
"""
|
|
52420
52418
|
return self._EntityList
|
|
@@ -52425,7 +52423,7 @@ class RealtimeLogDeliveryTask(AbstractModel):
|
|
|
52425
52423
|
|
|
52426
52424
|
@property
|
|
52427
52425
|
def LogType(self):
|
|
52428
|
-
r"""
|
|
52426
|
+
r"""<p>数据投递类型,取值有: <li>l7-access-logs:七层访问日志;</li><li>application:四层代理日志;</li> <li>function:边缘函数运行日志;</li> <li>web-attack:托管规则日志;</li> <li>domain:站点加速日志;</li> <li>web-rateLiming:速率限制和 CC 攻击防护日志;</li><li>web-rule:自定义规则日志;</li> <li>web-bot:Bot 管理日志。</li></p>
|
|
52429
52427
|
:rtype: str
|
|
52430
52428
|
"""
|
|
52431
52429
|
return self._LogType
|
|
@@ -52436,7 +52434,7 @@ class RealtimeLogDeliveryTask(AbstractModel):
|
|
|
52436
52434
|
|
|
52437
52435
|
@property
|
|
52438
52436
|
def Area(self):
|
|
52439
|
-
r"""
|
|
52437
|
+
r"""<p>数据投递区域,取值有: <li>mainland:中国大陆境内;</li> <li>overseas:全球(不含中国大陆)。</li></p>
|
|
52440
52438
|
:rtype: str
|
|
52441
52439
|
"""
|
|
52442
52440
|
return self._Area
|
|
@@ -52447,7 +52445,7 @@ class RealtimeLogDeliveryTask(AbstractModel):
|
|
|
52447
52445
|
|
|
52448
52446
|
@property
|
|
52449
52447
|
def Fields(self):
|
|
52450
|
-
r"""
|
|
52448
|
+
r"""<p>投递的预设字段列表。</p>
|
|
52451
52449
|
:rtype: list of str
|
|
52452
52450
|
"""
|
|
52453
52451
|
return self._Fields
|
|
@@ -52458,7 +52456,7 @@ class RealtimeLogDeliveryTask(AbstractModel):
|
|
|
52458
52456
|
|
|
52459
52457
|
@property
|
|
52460
52458
|
def CustomFields(self):
|
|
52461
|
-
r"""
|
|
52459
|
+
r"""<p>投递的自定义字段列表。</p>
|
|
52462
52460
|
:rtype: list of CustomField
|
|
52463
52461
|
"""
|
|
52464
52462
|
return self._CustomFields
|
|
@@ -52469,7 +52467,7 @@ class RealtimeLogDeliveryTask(AbstractModel):
|
|
|
52469
52467
|
|
|
52470
52468
|
@property
|
|
52471
52469
|
def DeliveryConditions(self):
|
|
52472
|
-
r"""
|
|
52470
|
+
r"""<p>日志投递的过滤条件。</p>
|
|
52473
52471
|
:rtype: list of DeliveryCondition
|
|
52474
52472
|
"""
|
|
52475
52473
|
return self._DeliveryConditions
|
|
@@ -52480,7 +52478,7 @@ class RealtimeLogDeliveryTask(AbstractModel):
|
|
|
52480
52478
|
|
|
52481
52479
|
@property
|
|
52482
52480
|
def Sample(self):
|
|
52483
|
-
r"""
|
|
52481
|
+
r"""<p>采样比例,采用千分制,取值范围为1-1000,例如:605 表示采样比例为 60.5%。</p>
|
|
52484
52482
|
:rtype: int
|
|
52485
52483
|
"""
|
|
52486
52484
|
return self._Sample
|
|
@@ -52491,9 +52489,7 @@ class RealtimeLogDeliveryTask(AbstractModel):
|
|
|
52491
52489
|
|
|
52492
52490
|
@property
|
|
52493
52491
|
def LogFormat(self):
|
|
52494
|
-
r"""
|
|
52495
|
-
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li>
|
|
52496
|
-
<li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li>
|
|
52492
|
+
r"""<p>日志投递的输出格式。出参为 null 时表示为默认格式,默认格式逻辑如下:</p><li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li><li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li>
|
|
52497
52493
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
52498
52494
|
:rtype: :class:`tencentcloud.teo.v20220901.models.LogFormat`
|
|
52499
52495
|
"""
|
|
@@ -52505,7 +52501,7 @@ class RealtimeLogDeliveryTask(AbstractModel):
|
|
|
52505
52501
|
|
|
52506
52502
|
@property
|
|
52507
52503
|
def CLS(self):
|
|
52508
|
-
r"""CLS
|
|
52504
|
+
r"""<p>CLS 的配置信息。</p>
|
|
52509
52505
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
52510
52506
|
:rtype: :class:`tencentcloud.teo.v20220901.models.CLSTopic`
|
|
52511
52507
|
"""
|
|
@@ -52517,7 +52513,7 @@ class RealtimeLogDeliveryTask(AbstractModel):
|
|
|
52517
52513
|
|
|
52518
52514
|
@property
|
|
52519
52515
|
def CustomEndpoint(self):
|
|
52520
|
-
r"""
|
|
52516
|
+
r"""<p>自定义 HTTP 服务的配置信息。</p>
|
|
52521
52517
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
52522
52518
|
:rtype: :class:`tencentcloud.teo.v20220901.models.CustomEndpoint`
|
|
52523
52519
|
"""
|
|
@@ -52529,7 +52525,7 @@ class RealtimeLogDeliveryTask(AbstractModel):
|
|
|
52529
52525
|
|
|
52530
52526
|
@property
|
|
52531
52527
|
def S3(self):
|
|
52532
|
-
r"""AWS S3
|
|
52528
|
+
r"""<p>AWS S3 兼容存储桶的配置信息。</p>
|
|
52533
52529
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
52534
52530
|
:rtype: :class:`tencentcloud.teo.v20220901.models.S3`
|
|
52535
52531
|
"""
|
|
@@ -52541,7 +52537,7 @@ class RealtimeLogDeliveryTask(AbstractModel):
|
|
|
52541
52537
|
|
|
52542
52538
|
@property
|
|
52543
52539
|
def CreateTime(self):
|
|
52544
|
-
r"""
|
|
52540
|
+
r"""<p>创建时间。</p>
|
|
52545
52541
|
:rtype: str
|
|
52546
52542
|
"""
|
|
52547
52543
|
return self._CreateTime
|
|
@@ -52552,7 +52548,7 @@ class RealtimeLogDeliveryTask(AbstractModel):
|
|
|
52552
52548
|
|
|
52553
52549
|
@property
|
|
52554
52550
|
def UpdateTime(self):
|
|
52555
|
-
r"""
|
|
52551
|
+
r"""<p>更新时间。</p>
|
|
52556
52552
|
:rtype: str
|
|
52557
52553
|
"""
|
|
52558
52554
|
return self._UpdateTime
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-teo
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.130
|
|
4
4
|
Summary: Tencent Cloud Teo 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.130
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.130
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.127
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|