tencentcloud-sdk-python-cls 3.0.1105__tar.gz → 3.0.1107__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tencentcloud-sdk-python-cls-3.0.1105 → tencentcloud-sdk-python-cls-3.0.1107}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cls-3.0.1105 → tencentcloud-sdk-python-cls-3.0.1107}/setup.py +1 -1
- {tencentcloud-sdk-python-cls-3.0.1105 → tencentcloud-sdk-python-cls-3.0.1107}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cls-3.0.1105 → tencentcloud-sdk-python-cls-3.0.1107}/tencentcloud/cls/v20201016/models.py +40 -47
- {tencentcloud-sdk-python-cls-3.0.1105 → tencentcloud-sdk-python-cls-3.0.1107}/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cls-3.0.1107/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cls-3.0.1105/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cls-3.0.1105 → tencentcloud-sdk-python-cls-3.0.1107}/README.rst +0 -0
- {tencentcloud-sdk-python-cls-3.0.1105 → tencentcloud-sdk-python-cls-3.0.1107}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cls-3.0.1105 → tencentcloud-sdk-python-cls-3.0.1107}/tencentcloud/cls/__init__.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1105 → tencentcloud-sdk-python-cls-3.0.1107}/tencentcloud/cls/v20201016/__init__.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1105 → tencentcloud-sdk-python-cls-3.0.1107}/tencentcloud/cls/v20201016/cls_client.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1105 → tencentcloud-sdk-python-cls-3.0.1107}/tencentcloud/cls/v20201016/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1105 → tencentcloud-sdk-python-cls-3.0.1107}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cls-3.0.1105 → tencentcloud-sdk-python-cls-3.0.1107}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cls-3.0.1105 → tencentcloud-sdk-python-cls-3.0.1107}/tencentcloud_sdk_python_cls.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-cls',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1107"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cls SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -3972,6 +3972,8 @@ class CreateConfigExtraRequest(AbstractModel):
|
|
|
3972
3972
|
:type GroupId: str
|
|
3973
3973
|
:param _GroupIds: 绑定的机器组id列表
|
|
3974
3974
|
:type GroupIds: list of str
|
|
3975
|
+
:param _CollectInfos: 采集相关配置信息。详情见CollectInfo复杂类型配置。
|
|
3976
|
+
:type CollectInfos: list of CollectInfo
|
|
3975
3977
|
:param _AdvancedConfig: 高级采集配置。 Json字符串, Key/Value定义为如下:
|
|
3976
3978
|
- ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
|
|
3977
3979
|
- ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
|
|
@@ -3996,6 +3998,7 @@ class CreateConfigExtraRequest(AbstractModel):
|
|
|
3996
3998
|
self._UserDefineRule = None
|
|
3997
3999
|
self._GroupId = None
|
|
3998
4000
|
self._GroupIds = None
|
|
4001
|
+
self._CollectInfos = None
|
|
3999
4002
|
self._AdvancedConfig = None
|
|
4000
4003
|
|
|
4001
4004
|
@property
|
|
@@ -4134,6 +4137,14 @@ class CreateConfigExtraRequest(AbstractModel):
|
|
|
4134
4137
|
def GroupIds(self, GroupIds):
|
|
4135
4138
|
self._GroupIds = GroupIds
|
|
4136
4139
|
|
|
4140
|
+
@property
|
|
4141
|
+
def CollectInfos(self):
|
|
4142
|
+
return self._CollectInfos
|
|
4143
|
+
|
|
4144
|
+
@CollectInfos.setter
|
|
4145
|
+
def CollectInfos(self, CollectInfos):
|
|
4146
|
+
self._CollectInfos = CollectInfos
|
|
4147
|
+
|
|
4137
4148
|
@property
|
|
4138
4149
|
def AdvancedConfig(self):
|
|
4139
4150
|
return self._AdvancedConfig
|
|
@@ -4174,6 +4185,12 @@ class CreateConfigExtraRequest(AbstractModel):
|
|
|
4174
4185
|
self._UserDefineRule = params.get("UserDefineRule")
|
|
4175
4186
|
self._GroupId = params.get("GroupId")
|
|
4176
4187
|
self._GroupIds = params.get("GroupIds")
|
|
4188
|
+
if params.get("CollectInfos") is not None:
|
|
4189
|
+
self._CollectInfos = []
|
|
4190
|
+
for item in params.get("CollectInfos"):
|
|
4191
|
+
obj = CollectInfo()
|
|
4192
|
+
obj._deserialize(item)
|
|
4193
|
+
self._CollectInfos.append(obj)
|
|
4177
4194
|
self._AdvancedConfig = params.get("AdvancedConfig")
|
|
4178
4195
|
memeber_set = set(params.keys())
|
|
4179
4196
|
for name, value in vars(self).items():
|
|
@@ -6174,7 +6191,7 @@ class CreateTopicRequest(AbstractModel):
|
|
|
6174
6191
|
非0:开启日志沉降后标准存储的天数,HotPeriod需要大于等于7,且小于Period。
|
|
6175
6192
|
仅在StorageType为 hot 时生效。
|
|
6176
6193
|
:type HotPeriod: int
|
|
6177
|
-
:param _IsWebTracking: 免鉴权开关。 false:关闭; true
|
|
6194
|
+
:param _IsWebTracking: 免鉴权开关。 false:关闭; true:开启。默认为false。
|
|
6178
6195
|
开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。
|
|
6179
6196
|
:type IsWebTracking: bool
|
|
6180
6197
|
"""
|
|
@@ -9029,42 +9046,11 @@ class DescribeDashboardsRequest(AbstractModel):
|
|
|
9029
9046
|
:type Offset: int
|
|
9030
9047
|
:param _Limit: 分页单页限制数目,默认值为20,最大值100。
|
|
9031
9048
|
:type Limit: int
|
|
9032
|
-
:param _Filters:
|
|
9033
|
-
|
|
9034
|
-
|
|
9035
|
-
|
|
9036
|
-
|
|
9037
|
-
必选:否</li>
|
|
9038
|
-
|
|
9039
|
-
<br><li> dashboardName
|
|
9040
|
-
|
|
9041
|
-
按照【仪表盘名字】进行模糊搜索过滤。
|
|
9042
|
-
类型:String
|
|
9043
|
-
|
|
9044
|
-
必选:否</li>
|
|
9045
|
-
|
|
9046
|
-
<br><li> dashboardRegion
|
|
9047
|
-
|
|
9048
|
-
按照【仪表盘地域】进行过滤,为了兼容老的仪表盘,通过云API创建的仪表盘没有地域属性
|
|
9049
|
-
类型:String
|
|
9050
|
-
|
|
9051
|
-
必选:否</li>
|
|
9052
|
-
|
|
9053
|
-
<br><li> tagKey
|
|
9054
|
-
|
|
9055
|
-
按照【标签键】进行过滤。
|
|
9056
|
-
|
|
9057
|
-
类型:String
|
|
9058
|
-
|
|
9059
|
-
必选:否</li>
|
|
9060
|
-
|
|
9061
|
-
<br><li> tag:tagKey
|
|
9062
|
-
|
|
9063
|
-
按照【标签键值对】进行过滤。tagKey使用具体的标签键进行替换。使用请参考示例二。
|
|
9064
|
-
|
|
9065
|
-
类型:String
|
|
9066
|
-
|
|
9067
|
-
必选:否</li>
|
|
9049
|
+
:param _Filters: - dashboardId 按照【仪表盘id】进行过滤,类型:String, 必选:否。
|
|
9050
|
+
- dashboardName 按照【仪表盘名字】进行模糊搜索过滤,类型:String,必选:否。
|
|
9051
|
+
- dashboardRegion 按照【仪表盘地域】进行过滤,为了兼容老的仪表盘,通过云API创建的仪表盘没有地域属性,类型:String,必选:否。
|
|
9052
|
+
- tagKey 按照【标签键】进行过滤,类型:String,必选:否。
|
|
9053
|
+
- tag:tagKey 按照【标签键值对】进行过滤。tagKey使用具体的标签键进行替换,类型:String,必选:否,使用请参考[示例2](https://cloud.tencent.com/document/api/614/95636#4.-.E7.A4.BA.E4.BE.8B)。
|
|
9068
9054
|
|
|
9069
9055
|
每次请求的Filters的上限为10,Filter.Values的上限为100。
|
|
9070
9056
|
:type Filters: list of Filter
|
|
@@ -10793,7 +10779,7 @@ class DescribeScheduledSqlInfoRequest(AbstractModel):
|
|
|
10793
10779
|
<li>dstTopicName按照【目标日志主题名称】进行过滤,模糊匹配。类型:String。必选:否</li>
|
|
10794
10780
|
<li>srcTopicId按照【源日志主题ID】进行过滤。类型:String。必选:否</li>
|
|
10795
10781
|
<li>dstTopicId按照【目标日志主题ID】进行过滤。类型:String。必选:否</li>
|
|
10796
|
-
<li>bizType按照【主题类型】进行过滤,0
|
|
10782
|
+
<li>bizType按照【主题类型】进行过滤,0:日志主题;1:指标主题。类型:String。必选:否</li>
|
|
10797
10783
|
<li>status按照【任务状态】进行过滤,1:运行;2:停止。类型:String。必选:否</li>
|
|
10798
10784
|
<li>taskName按照【任务名称】进行过滤,模糊匹配。类型:String。必选:否</li>
|
|
10799
10785
|
<li>taskId按照【任务ID】进行过滤,模糊匹配。类型:String。必选:否</li>
|
|
@@ -11654,7 +11640,9 @@ class ExtractRuleInfo(AbstractModel):
|
|
|
11654
11640
|
:param _Keys: 取的每个字段的key名字,为空的key代表丢弃这个字段,只有LogType为delimiter_log时有效,json_log的日志使用json本身的key。限制100个。
|
|
11655
11641
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
11656
11642
|
:type Keys: list of str
|
|
11657
|
-
:param _FilterKeyRegex:
|
|
11643
|
+
:param _FilterKeyRegex: 日志过滤规则列表(旧版),需要过滤日志的key,及其对应的regex。
|
|
11644
|
+
注意:2.9.3及以上版本LogListener ,建议使用AdvanceFilterRules配置日志过滤规则。
|
|
11645
|
+
|
|
11658
11646
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
11659
11647
|
:type FilterKeyRegex: list of KeyRegexInfo
|
|
11660
11648
|
:param _UnMatchUpLoadSwitch: 解析失败日志是否上传,true表示上传,false表示不上传
|
|
@@ -12128,9 +12116,9 @@ class GetAlarmLogRequest(AbstractModel):
|
|
|
12128
12116
|
|
|
12129
12117
|
def __init__(self):
|
|
12130
12118
|
r"""
|
|
12131
|
-
:param _From: 要查询的执行详情的起始时间,Unix时间戳,单位ms
|
|
12119
|
+
:param _From: 要查询的执行详情的起始时间,Unix时间戳,单位ms。
|
|
12132
12120
|
:type From: int
|
|
12133
|
-
:param _To: 要查询的执行详情的结束时间,Unix时间戳,单位ms
|
|
12121
|
+
:param _To: 要查询的执行详情的结束时间,Unix时间戳,单位ms。
|
|
12134
12122
|
:type To: int
|
|
12135
12123
|
:param _Query: 查询过滤条件,例如:
|
|
12136
12124
|
- 按告警策略ID查询:`alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971"`
|
|
@@ -12140,14 +12128,19 @@ class GetAlarmLogRequest(AbstractModel):
|
|
|
12140
12128
|
:type Query: str
|
|
12141
12129
|
:param _Limit: 单次查询返回的执行详情条数,最大值为1000
|
|
12142
12130
|
:type Limit: int
|
|
12143
|
-
:param _Context:
|
|
12131
|
+
:param _Context: 透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时。
|
|
12132
|
+
注意:
|
|
12133
|
+
* 透传该参数时,请勿修改除该参数外的其它参数
|
|
12134
|
+
* 仅当检索分析语句(Query)不包含SQL时有效,SQL获取后续结果参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
|
|
12144
12135
|
:type Context: str
|
|
12145
|
-
:param _Sort:
|
|
12136
|
+
:param _Sort: 原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc
|
|
12137
|
+
注意:
|
|
12138
|
+
* 仅当检索分析语句(Query)不包含SQL时有效
|
|
12139
|
+
* SQL结果排序方式参考<a href="https://cloud.tencent.com/document/product/614/58978" target="_blank">SQL ORDER BY语法</a>
|
|
12146
12140
|
:type Sort: str
|
|
12147
|
-
:param _UseNewAnalysis:
|
|
12148
|
-
|
|
12141
|
+
:param _UseNewAnalysis: true:代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns有效;
|
|
12142
|
+
false:代表使用老的检索结果返回方式,输出AnalysisResults和ColNames有效;
|
|
12149
12143
|
两种返回方式在编码格式上有少量区别,建议使用true。
|
|
12150
|
-
示例值:false
|
|
12151
12144
|
:type UseNewAnalysis: bool
|
|
12152
12145
|
"""
|
|
12153
12146
|
self._From = None
|
|
@@ -12251,7 +12244,6 @@ class GetAlarmLogResponse(AbstractModel):
|
|
|
12251
12244
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12252
12245
|
:type ColNames: list of str
|
|
12253
12246
|
:param _Results: 执行详情查询结果。
|
|
12254
|
-
|
|
12255
12247
|
当Query字段无SQL语句时,返回查询结果。
|
|
12256
12248
|
当Query字段有SQL语句时,可能返回null。
|
|
12257
12249
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -20146,6 +20138,7 @@ class TopicInfo(AbstractModel):
|
|
|
20146
20138
|
:type Describes: str
|
|
20147
20139
|
:param _HotPeriod: 开启日志沉降,标准存储的生命周期, hotPeriod < Period。
|
|
20148
20140
|
标准存储为 hotPeriod, 低频存储则为 Period-hotPeriod。(主题类型需为日志主题)
|
|
20141
|
+
HotPeriod=0为没有开启日志沉降。
|
|
20149
20142
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
20150
20143
|
:type HotPeriod: int
|
|
20151
20144
|
:param _BizType: 主题类型。
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1107
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1105
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|