tencentcloud-sdk-python-cls 3.1.169__tar.gz → 3.1.170__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.169 → tencentcloud_sdk_python_cls-3.1.170}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cls-3.1.169 → tencentcloud_sdk_python_cls-3.1.170}/setup.py +1 -1
- {tencentcloud_sdk_python_cls-3.1.169 → tencentcloud_sdk_python_cls-3.1.170}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cls-3.1.169 → tencentcloud_sdk_python_cls-3.1.170}/tencentcloud/cls/v20201016/models.py +49 -66
- {tencentcloud_sdk_python_cls-3.1.169 → tencentcloud_sdk_python_cls-3.1.170}/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cls-3.1.170/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cls-3.1.169/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cls-3.1.169 → tencentcloud_sdk_python_cls-3.1.170}/README.rst +0 -0
- {tencentcloud_sdk_python_cls-3.1.169 → tencentcloud_sdk_python_cls-3.1.170}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cls-3.1.169 → tencentcloud_sdk_python_cls-3.1.170}/tencentcloud/cls/__init__.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.169 → tencentcloud_sdk_python_cls-3.1.170}/tencentcloud/cls/v20201016/__init__.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.169 → tencentcloud_sdk_python_cls-3.1.170}/tencentcloud/cls/v20201016/cls_client.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.169 → tencentcloud_sdk_python_cls-3.1.170}/tencentcloud/cls/v20201016/cls_client_async.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.169 → tencentcloud_sdk_python_cls-3.1.170}/tencentcloud/cls/v20201016/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.169 → tencentcloud_sdk_python_cls-3.1.170}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cls-3.1.169 → tencentcloud_sdk_python_cls-3.1.170}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cls-3.1.169 → tencentcloud_sdk_python_cls-3.1.170}/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.170
|
|
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.170
|
|
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.170,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cls SDK for Python',
|
|
@@ -33362,38 +33362,27 @@ class GetAlarmLogRequest(AbstractModel):
|
|
|
33362
33362
|
|
|
33363
33363
|
def __init__(self):
|
|
33364
33364
|
r"""
|
|
33365
|
-
:param _From:
|
|
33365
|
+
:param _From: <p>要查询的执行详情的起始时间,Unix时间戳,单位ms。</p>
|
|
33366
33366
|
:type From: int
|
|
33367
|
-
:param _To:
|
|
33367
|
+
:param _To: <p>要查询的执行详情的结束时间,Unix时间戳,单位ms。</p>
|
|
33368
33368
|
:type To: int
|
|
33369
|
-
:param _Query:
|
|
33370
|
-
- 按告警策略ID查询:`alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971"`
|
|
33371
|
-
- 通过[获取告警策略列表](https://cloud.tencent.com/document/api/614/56461)获取告警策略ID
|
|
33372
|
-
- 按监控对象ID查询:`monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b" `
|
|
33373
|
-
- 通过[获取告警策略列表](https://cloud.tencent.com/document/api/614/56461)获取监控对象ID
|
|
33374
|
-
- 按告警策略ID及监控对象ID查询:`alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971" AND monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b"`
|
|
33375
|
-
- 按告警策略ID及监控对象ID查询支持SQL语句:`(alert_id:"alarm-5ce45495-09e8-4d58-xxxx-768134bf330c") AND (monitored_object:"3c514e84-6f1f-46ec-xxxx-05de6163f7fe") AND NOT condition_evaluate_result: "Skip" AND condition_evaluate_result:[* TO *] | SELECT count(*) as top50StatisticsTotalCount, count_if(condition_evaluate_result='ProcessError') as top50StatisticsFailureCount, count_if(notification_send_result!='NotSend') as top50NoticeTotalCount, count_if(notification_send_result='SendPartFail' or notification_send_result='SendFail') as top50NoticeFailureCount, alert_id, alert_name, monitored_object, topic_type, happen_threshold, alert_threshold, notify_template group by alert_id, alert_name, monitored_object,topic_type, happen_threshold, alert_threshold, notify_template order by top50StatisticsTotalCount desc limit 1`
|
|
33369
|
+
:param _Query: <p>查询过滤条件,例如:</p><ul><li>按告警策略ID查询:<code>alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971"</code><ul><li>通过<a href="https://cloud.tencent.com/document/api/614/56461">获取告警策略列表</a>获取告警策略ID</li></ul></li><li>按监控对象ID查询:<code>monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b"</code><ul><li>通过<a href="https://cloud.tencent.com/document/api/614/56461">获取告警策略列表</a>获取监控对象ID</li></ul></li><li>按告警策略ID及监控对象ID查询:<code>alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971" AND monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b"</code></li><li>按告警策略ID及监控对象ID查询支持SQL语句:<code>(alert_id:"alarm-5ce45495-0918-4d58-xxxx-768134bf330c") AND (monitored_object:"3c514e84-6f1f-46ec-xxxx-05de6163f7fe") AND NOT condition_evaluate_result: "Skip" AND condition_evaluate_result:[* TO *] | SELECT count(*) as top50StatisticsTotalCount, count_if(condition_evaluate_result='ProcessError') as top50StatisticsFailureCount, count_if(notification_send_result!='NotSend') as top50NoticeTotalCount, count_if(notification_send_result='SendPartFail' or notification_send_result='SendFail') as top50NoticeFailureCount, alert_id, alert_name, monitored_object, topic_type, happen_threshold, alert_threshold, notify_template group by alert_id, alert_name, monitored_object,topic_type, happen_threshold, alert_threshold, notify_template order by top50StatisticsTotalCount desc limit 1</code></li></ul><p>该查询语句走Lucene语法(已废弃)</p>
|
|
33376
33370
|
:type Query: str
|
|
33377
|
-
:param
|
|
33371
|
+
:param _QueryString: <p>查询过滤条件,例如:- 按告警策略ID查询:<code>alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971"</code> - 通过<a href="https://cloud.tencent.com/document/api/614/56461">获取告警策略列表</a>获取告警策略ID- 按监控对象ID查询:<code>monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b"</code> - 通过<a href="https://cloud.tencent.com/document/api/614/56461">获取告警策略列表</a>获取监控对象ID- 按告警策略ID及监控对象ID查询:<code>alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971" AND monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b"</code>- 按告警策略ID及监控对象ID查询支持SQL语句:<code>(alert_id:"alarm-5ce45495-0918-4d58-xxxx-768134bf330c") AND (monitored_object:"3c514e84-6f1f-46ec-xxxx-05de6163f7fe") AND NOT condition_evaluate_result: "Skip" AND condition_evaluate_result:[* TO *] | SELECT count(*) as top50StatisticsTotalCount, count_if(condition_evaluate_result='ProcessError') as top50StatisticsFailureCount, count_if(notification_send_result!='NotSend') as top50NoticeTotalCount, count_if(notification_send_result='SendPartFail' or notification_send_result='SendFail') as top50NoticeFailureCount, alert_id, alert_name, monitored_object, topic_type, happen_threshold, alert_threshold, notify_template group by alert_id, alert_name, monitored_object,topic_type, happen_threshold, alert_threshold, notify_template order by top50StatisticsTotalCount desc limit 1</code></p><p>该查询语句走CQL语法</p>
|
|
33372
|
+
:type QueryString: str
|
|
33373
|
+
:param _Limit: <p>单次查询返回的执行详情条数,最大值为1000</p>
|
|
33378
33374
|
:type Limit: int
|
|
33379
|
-
:param _Context:
|
|
33380
|
-
注意:
|
|
33381
|
-
* 透传该参数时,请勿修改除该参数外的其它参数
|
|
33382
|
-
* 仅当检索分析语句(Query)不包含SQL时有效,SQL获取后续结果参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
|
|
33375
|
+
:param _Context: <p>透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时。<br>注意:</p><ul><li>透传该参数时,请勿修改除该参数外的其它参数</li><li>仅当检索分析语句(Query)不包含SQL时有效,SQL获取后续结果参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a></li></ul>
|
|
33383
33376
|
:type Context: str
|
|
33384
|
-
:param _Sort:
|
|
33385
|
-
注意:
|
|
33386
|
-
* 仅当检索分析语句(Query)不包含SQL时有效
|
|
33387
|
-
* SQL结果排序方式参考<a href="https://cloud.tencent.com/document/product/614/58978" target="_blank">SQL ORDER BY语法</a>
|
|
33377
|
+
:param _Sort: <p>原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc<br>注意:</p><ul><li>仅当检索分析语句(Query)不包含SQL时有效</li><li>SQL结果排序方式参考<a href="https://cloud.tencent.com/document/product/614/58978" target="_blank">SQL ORDER BY语法</a></li></ul>
|
|
33388
33378
|
:type Sort: str
|
|
33389
|
-
:param _UseNewAnalysis: true:代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns
|
|
33390
|
-
false:代表使用老的检索结果返回方式,输出AnalysisResults和ColNames有效;
|
|
33391
|
-
两种返回方式在编码格式上有少量区别,建议使用true。
|
|
33379
|
+
:param _UseNewAnalysis: <p>true:代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns有效;<br>false:代表使用老的检索结果返回方式,输出AnalysisResults和ColNames有效;<br>两种返回方式在编码格式上有少量区别,建议使用true。</p>
|
|
33392
33380
|
:type UseNewAnalysis: bool
|
|
33393
33381
|
"""
|
|
33394
33382
|
self._From = None
|
|
33395
33383
|
self._To = None
|
|
33396
33384
|
self._Query = None
|
|
33385
|
+
self._QueryString = None
|
|
33397
33386
|
self._Limit = None
|
|
33398
33387
|
self._Context = None
|
|
33399
33388
|
self._Sort = None
|
|
@@ -33401,7 +33390,7 @@ false:代表使用老的检索结果返回方式,输出AnalysisResults和Col
|
|
|
33401
33390
|
|
|
33402
33391
|
@property
|
|
33403
33392
|
def From(self):
|
|
33404
|
-
r"""
|
|
33393
|
+
r"""<p>要查询的执行详情的起始时间,Unix时间戳,单位ms。</p>
|
|
33405
33394
|
:rtype: int
|
|
33406
33395
|
"""
|
|
33407
33396
|
return self._From
|
|
@@ -33412,7 +33401,7 @@ false:代表使用老的检索结果返回方式,输出AnalysisResults和Col
|
|
|
33412
33401
|
|
|
33413
33402
|
@property
|
|
33414
33403
|
def To(self):
|
|
33415
|
-
r"""
|
|
33404
|
+
r"""<p>要查询的执行详情的结束时间,Unix时间戳,单位ms。</p>
|
|
33416
33405
|
:rtype: int
|
|
33417
33406
|
"""
|
|
33418
33407
|
return self._To
|
|
@@ -33423,24 +33412,33 @@ false:代表使用老的检索结果返回方式,输出AnalysisResults和Col
|
|
|
33423
33412
|
|
|
33424
33413
|
@property
|
|
33425
33414
|
def Query(self):
|
|
33426
|
-
|
|
33427
|
-
|
|
33428
|
-
|
|
33429
|
-
- 按监控对象ID查询:`monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b" `
|
|
33430
|
-
- 通过[获取告警策略列表](https://cloud.tencent.com/document/api/614/56461)获取监控对象ID
|
|
33431
|
-
- 按告警策略ID及监控对象ID查询:`alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971" AND monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b"`
|
|
33432
|
-
- 按告警策略ID及监控对象ID查询支持SQL语句:`(alert_id:"alarm-5ce45495-09e8-4d58-xxxx-768134bf330c") AND (monitored_object:"3c514e84-6f1f-46ec-xxxx-05de6163f7fe") AND NOT condition_evaluate_result: "Skip" AND condition_evaluate_result:[* TO *] | SELECT count(*) as top50StatisticsTotalCount, count_if(condition_evaluate_result='ProcessError') as top50StatisticsFailureCount, count_if(notification_send_result!='NotSend') as top50NoticeTotalCount, count_if(notification_send_result='SendPartFail' or notification_send_result='SendFail') as top50NoticeFailureCount, alert_id, alert_name, monitored_object, topic_type, happen_threshold, alert_threshold, notify_template group by alert_id, alert_name, monitored_object,topic_type, happen_threshold, alert_threshold, notify_template order by top50StatisticsTotalCount desc limit 1`
|
|
33415
|
+
warnings.warn("parameter `Query` is deprecated", DeprecationWarning)
|
|
33416
|
+
|
|
33417
|
+
r"""<p>查询过滤条件,例如:</p><ul><li>按告警策略ID查询:<code>alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971"</code><ul><li>通过<a href="https://cloud.tencent.com/document/api/614/56461">获取告警策略列表</a>获取告警策略ID</li></ul></li><li>按监控对象ID查询:<code>monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b"</code><ul><li>通过<a href="https://cloud.tencent.com/document/api/614/56461">获取告警策略列表</a>获取监控对象ID</li></ul></li><li>按告警策略ID及监控对象ID查询:<code>alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971" AND monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b"</code></li><li>按告警策略ID及监控对象ID查询支持SQL语句:<code>(alert_id:"alarm-5ce45495-0918-4d58-xxxx-768134bf330c") AND (monitored_object:"3c514e84-6f1f-46ec-xxxx-05de6163f7fe") AND NOT condition_evaluate_result: "Skip" AND condition_evaluate_result:[* TO *] | SELECT count(*) as top50StatisticsTotalCount, count_if(condition_evaluate_result='ProcessError') as top50StatisticsFailureCount, count_if(notification_send_result!='NotSend') as top50NoticeTotalCount, count_if(notification_send_result='SendPartFail' or notification_send_result='SendFail') as top50NoticeFailureCount, alert_id, alert_name, monitored_object, topic_type, happen_threshold, alert_threshold, notify_template group by alert_id, alert_name, monitored_object,topic_type, happen_threshold, alert_threshold, notify_template order by top50StatisticsTotalCount desc limit 1</code></li></ul><p>该查询语句走Lucene语法(已废弃)</p>
|
|
33433
33418
|
:rtype: str
|
|
33434
33419
|
"""
|
|
33435
33420
|
return self._Query
|
|
33436
33421
|
|
|
33437
33422
|
@Query.setter
|
|
33438
33423
|
def Query(self, Query):
|
|
33424
|
+
warnings.warn("parameter `Query` is deprecated", DeprecationWarning)
|
|
33425
|
+
|
|
33439
33426
|
self._Query = Query
|
|
33440
33427
|
|
|
33428
|
+
@property
|
|
33429
|
+
def QueryString(self):
|
|
33430
|
+
r"""<p>查询过滤条件,例如:- 按告警策略ID查询:<code>alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971"</code> - 通过<a href="https://cloud.tencent.com/document/api/614/56461">获取告警策略列表</a>获取告警策略ID- 按监控对象ID查询:<code>monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b"</code> - 通过<a href="https://cloud.tencent.com/document/api/614/56461">获取告警策略列表</a>获取监控对象ID- 按告警策略ID及监控对象ID查询:<code>alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971" AND monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b"</code>- 按告警策略ID及监控对象ID查询支持SQL语句:<code>(alert_id:"alarm-5ce45495-0918-4d58-xxxx-768134bf330c") AND (monitored_object:"3c514e84-6f1f-46ec-xxxx-05de6163f7fe") AND NOT condition_evaluate_result: "Skip" AND condition_evaluate_result:[* TO *] | SELECT count(*) as top50StatisticsTotalCount, count_if(condition_evaluate_result='ProcessError') as top50StatisticsFailureCount, count_if(notification_send_result!='NotSend') as top50NoticeTotalCount, count_if(notification_send_result='SendPartFail' or notification_send_result='SendFail') as top50NoticeFailureCount, alert_id, alert_name, monitored_object, topic_type, happen_threshold, alert_threshold, notify_template group by alert_id, alert_name, monitored_object,topic_type, happen_threshold, alert_threshold, notify_template order by top50StatisticsTotalCount desc limit 1</code></p><p>该查询语句走CQL语法</p>
|
|
33431
|
+
:rtype: str
|
|
33432
|
+
"""
|
|
33433
|
+
return self._QueryString
|
|
33434
|
+
|
|
33435
|
+
@QueryString.setter
|
|
33436
|
+
def QueryString(self, QueryString):
|
|
33437
|
+
self._QueryString = QueryString
|
|
33438
|
+
|
|
33441
33439
|
@property
|
|
33442
33440
|
def Limit(self):
|
|
33443
|
-
r"""
|
|
33441
|
+
r"""<p>单次查询返回的执行详情条数,最大值为1000</p>
|
|
33444
33442
|
:rtype: int
|
|
33445
33443
|
"""
|
|
33446
33444
|
return self._Limit
|
|
@@ -33451,10 +33449,7 @@ false:代表使用老的检索结果返回方式,输出AnalysisResults和Col
|
|
|
33451
33449
|
|
|
33452
33450
|
@property
|
|
33453
33451
|
def Context(self):
|
|
33454
|
-
r"""
|
|
33455
|
-
注意:
|
|
33456
|
-
* 透传该参数时,请勿修改除该参数外的其它参数
|
|
33457
|
-
* 仅当检索分析语句(Query)不包含SQL时有效,SQL获取后续结果参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
|
|
33452
|
+
r"""<p>透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时。<br>注意:</p><ul><li>透传该参数时,请勿修改除该参数外的其它参数</li><li>仅当检索分析语句(Query)不包含SQL时有效,SQL获取后续结果参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a></li></ul>
|
|
33458
33453
|
:rtype: str
|
|
33459
33454
|
"""
|
|
33460
33455
|
return self._Context
|
|
@@ -33465,10 +33460,7 @@ false:代表使用老的检索结果返回方式,输出AnalysisResults和Col
|
|
|
33465
33460
|
|
|
33466
33461
|
@property
|
|
33467
33462
|
def Sort(self):
|
|
33468
|
-
r"""
|
|
33469
|
-
注意:
|
|
33470
|
-
* 仅当检索分析语句(Query)不包含SQL时有效
|
|
33471
|
-
* SQL结果排序方式参考<a href="https://cloud.tencent.com/document/product/614/58978" target="_blank">SQL ORDER BY语法</a>
|
|
33463
|
+
r"""<p>原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc<br>注意:</p><ul><li>仅当检索分析语句(Query)不包含SQL时有效</li><li>SQL结果排序方式参考<a href="https://cloud.tencent.com/document/product/614/58978" target="_blank">SQL ORDER BY语法</a></li></ul>
|
|
33472
33464
|
:rtype: str
|
|
33473
33465
|
"""
|
|
33474
33466
|
return self._Sort
|
|
@@ -33479,9 +33471,7 @@ false:代表使用老的检索结果返回方式,输出AnalysisResults和Col
|
|
|
33479
33471
|
|
|
33480
33472
|
@property
|
|
33481
33473
|
def UseNewAnalysis(self):
|
|
33482
|
-
r"""true:代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns
|
|
33483
|
-
false:代表使用老的检索结果返回方式,输出AnalysisResults和ColNames有效;
|
|
33484
|
-
两种返回方式在编码格式上有少量区别,建议使用true。
|
|
33474
|
+
r"""<p>true:代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns有效;<br>false:代表使用老的检索结果返回方式,输出AnalysisResults和ColNames有效;<br>两种返回方式在编码格式上有少量区别,建议使用true。</p>
|
|
33485
33475
|
:rtype: bool
|
|
33486
33476
|
"""
|
|
33487
33477
|
return self._UseNewAnalysis
|
|
@@ -33495,6 +33485,7 @@ false:代表使用老的检索结果返回方式,输出AnalysisResults和Col
|
|
|
33495
33485
|
self._From = params.get("From")
|
|
33496
33486
|
self._To = params.get("To")
|
|
33497
33487
|
self._Query = params.get("Query")
|
|
33488
|
+
self._QueryString = params.get("QueryString")
|
|
33498
33489
|
self._Limit = params.get("Limit")
|
|
33499
33490
|
self._Context = params.get("Context")
|
|
33500
33491
|
self._Sort = params.get("Sort")
|
|
@@ -33516,29 +33507,25 @@ class GetAlarmLogResponse(AbstractModel):
|
|
|
33516
33507
|
|
|
33517
33508
|
def __init__(self):
|
|
33518
33509
|
r"""
|
|
33519
|
-
:param _Context:
|
|
33510
|
+
:param _Context: <p>加载后续详情的Context</p>
|
|
33520
33511
|
:type Context: str
|
|
33521
|
-
:param _ListOver:
|
|
33512
|
+
:param _ListOver: <p>指定时间范围内的告警执行详情是否完整返回</p>
|
|
33522
33513
|
:type ListOver: bool
|
|
33523
|
-
:param _Analysis:
|
|
33514
|
+
:param _Analysis: <p>返回的结果是否为SQL分析结果</p>
|
|
33524
33515
|
:type Analysis: bool
|
|
33525
|
-
:param _ColNames:
|
|
33526
|
-
否则为空。
|
|
33516
|
+
:param _ColNames: <p>分析结果的列名,如果Query语句有SQL查询,则返回查询字段的列名;<br>否则为空。</p>
|
|
33527
33517
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
33528
33518
|
:type ColNames: list of str
|
|
33529
|
-
:param _Results:
|
|
33530
|
-
当Query字段无SQL语句时,返回查询结果。
|
|
33531
|
-
当Query字段有SQL语句时,可能返回null。
|
|
33519
|
+
:param _Results: <p>执行详情查询结果。<br>当Query字段无SQL语句时,返回查询结果。<br>当Query字段有SQL语句时,可能返回null。</p>
|
|
33532
33520
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
33533
33521
|
:type Results: list of LogInfo
|
|
33534
|
-
:param _AnalysisResults:
|
|
33535
|
-
|
|
33522
|
+
:param _AnalysisResults: <p>执行详情统计分析结果。当Query字段有SQL语句时,返回SQL统计结果,否则可能返回null。</p>
|
|
33536
33523
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
33537
33524
|
:type AnalysisResults: list of LogItems
|
|
33538
|
-
:param _AnalysisRecords:
|
|
33525
|
+
:param _AnalysisRecords: <p>执行详情统计分析结果;UseNewAnalysis为true有效。</p>
|
|
33539
33526
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
33540
33527
|
:type AnalysisRecords: list of str
|
|
33541
|
-
:param _Columns:
|
|
33528
|
+
:param _Columns: <p>分析结果的列名, UseNewAnalysis为true有效</p>
|
|
33542
33529
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
33543
33530
|
:type Columns: list of Column
|
|
33544
33531
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -33556,7 +33543,7 @@ class GetAlarmLogResponse(AbstractModel):
|
|
|
33556
33543
|
|
|
33557
33544
|
@property
|
|
33558
33545
|
def Context(self):
|
|
33559
|
-
r"""
|
|
33546
|
+
r"""<p>加载后续详情的Context</p>
|
|
33560
33547
|
:rtype: str
|
|
33561
33548
|
"""
|
|
33562
33549
|
return self._Context
|
|
@@ -33567,7 +33554,7 @@ class GetAlarmLogResponse(AbstractModel):
|
|
|
33567
33554
|
|
|
33568
33555
|
@property
|
|
33569
33556
|
def ListOver(self):
|
|
33570
|
-
r"""
|
|
33557
|
+
r"""<p>指定时间范围内的告警执行详情是否完整返回</p>
|
|
33571
33558
|
:rtype: bool
|
|
33572
33559
|
"""
|
|
33573
33560
|
return self._ListOver
|
|
@@ -33578,7 +33565,7 @@ class GetAlarmLogResponse(AbstractModel):
|
|
|
33578
33565
|
|
|
33579
33566
|
@property
|
|
33580
33567
|
def Analysis(self):
|
|
33581
|
-
r"""
|
|
33568
|
+
r"""<p>返回的结果是否为SQL分析结果</p>
|
|
33582
33569
|
:rtype: bool
|
|
33583
33570
|
"""
|
|
33584
33571
|
return self._Analysis
|
|
@@ -33589,8 +33576,7 @@ class GetAlarmLogResponse(AbstractModel):
|
|
|
33589
33576
|
|
|
33590
33577
|
@property
|
|
33591
33578
|
def ColNames(self):
|
|
33592
|
-
r"""
|
|
33593
|
-
否则为空。
|
|
33579
|
+
r"""<p>分析结果的列名,如果Query语句有SQL查询,则返回查询字段的列名;<br>否则为空。</p>
|
|
33594
33580
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
33595
33581
|
:rtype: list of str
|
|
33596
33582
|
"""
|
|
@@ -33602,9 +33588,7 @@ class GetAlarmLogResponse(AbstractModel):
|
|
|
33602
33588
|
|
|
33603
33589
|
@property
|
|
33604
33590
|
def Results(self):
|
|
33605
|
-
r"""
|
|
33606
|
-
当Query字段无SQL语句时,返回查询结果。
|
|
33607
|
-
当Query字段有SQL语句时,可能返回null。
|
|
33591
|
+
r"""<p>执行详情查询结果。<br>当Query字段无SQL语句时,返回查询结果。<br>当Query字段有SQL语句时,可能返回null。</p>
|
|
33608
33592
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
33609
33593
|
:rtype: list of LogInfo
|
|
33610
33594
|
"""
|
|
@@ -33616,8 +33600,7 @@ class GetAlarmLogResponse(AbstractModel):
|
|
|
33616
33600
|
|
|
33617
33601
|
@property
|
|
33618
33602
|
def AnalysisResults(self):
|
|
33619
|
-
r"""
|
|
33620
|
-
|
|
33603
|
+
r"""<p>执行详情统计分析结果。当Query字段有SQL语句时,返回SQL统计结果,否则可能返回null。</p>
|
|
33621
33604
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
33622
33605
|
:rtype: list of LogItems
|
|
33623
33606
|
"""
|
|
@@ -33629,7 +33612,7 @@ class GetAlarmLogResponse(AbstractModel):
|
|
|
33629
33612
|
|
|
33630
33613
|
@property
|
|
33631
33614
|
def AnalysisRecords(self):
|
|
33632
|
-
r"""
|
|
33615
|
+
r"""<p>执行详情统计分析结果;UseNewAnalysis为true有效。</p>
|
|
33633
33616
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
33634
33617
|
:rtype: list of str
|
|
33635
33618
|
"""
|
|
@@ -33641,7 +33624,7 @@ class GetAlarmLogResponse(AbstractModel):
|
|
|
33641
33624
|
|
|
33642
33625
|
@property
|
|
33643
33626
|
def Columns(self):
|
|
33644
|
-
r"""
|
|
33627
|
+
r"""<p>分析结果的列名, UseNewAnalysis为true有效</p>
|
|
33645
33628
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
33646
33629
|
:rtype: list of Column
|
|
33647
33630
|
"""
|
|
@@ -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.170
|
|
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.170
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.170
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.169
|
|
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
|