tencentcloud-sdk-python-cls 3.0.1248__tar.gz → 3.0.1250__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.1248 → tencentcloud-sdk-python-cls-3.0.1250}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cls-3.0.1248 → tencentcloud-sdk-python-cls-3.0.1250}/setup.py +1 -1
- {tencentcloud-sdk-python-cls-3.0.1248 → tencentcloud-sdk-python-cls-3.0.1250}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cls-3.0.1248 → tencentcloud-sdk-python-cls-3.0.1250}/tencentcloud/cls/v20201016/models.py +81 -0
- {tencentcloud-sdk-python-cls-3.0.1248 → tencentcloud-sdk-python-cls-3.0.1250}/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cls-3.0.1250/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cls-3.0.1248/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cls-3.0.1248 → tencentcloud-sdk-python-cls-3.0.1250}/README.rst +0 -0
- {tencentcloud-sdk-python-cls-3.0.1248 → tencentcloud-sdk-python-cls-3.0.1250}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cls-3.0.1248 → tencentcloud-sdk-python-cls-3.0.1250}/tencentcloud/cls/__init__.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1248 → tencentcloud-sdk-python-cls-3.0.1250}/tencentcloud/cls/v20201016/__init__.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1248 → tencentcloud-sdk-python-cls-3.0.1250}/tencentcloud/cls/v20201016/cls_client.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1248 → tencentcloud-sdk-python-cls-3.0.1250}/tencentcloud/cls/v20201016/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1248 → tencentcloud-sdk-python-cls-3.0.1250}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cls-3.0.1248 → tencentcloud-sdk-python-cls-3.0.1250}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cls-3.0.1248 → tencentcloud-sdk-python-cls-3.0.1250}/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.1250"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cls SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -91,6 +91,66 @@ class AddMachineGroupInfoResponse(AbstractModel):
|
|
|
91
91
|
self._RequestId = params.get("RequestId")
|
|
92
92
|
|
|
93
93
|
|
|
94
|
+
class AdvanceFilterRuleInfo(AbstractModel):
|
|
95
|
+
"""高级过滤规则
|
|
96
|
+
|
|
97
|
+
"""
|
|
98
|
+
|
|
99
|
+
def __init__(self):
|
|
100
|
+
r"""
|
|
101
|
+
:param _Key: 过滤字段
|
|
102
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
103
|
+
:type Key: str
|
|
104
|
+
:param _Rule: 过滤规则,0:等于,1:字段存在,2:字段不存在
|
|
105
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
106
|
+
:type Rule: int
|
|
107
|
+
:param _Value: 过滤值
|
|
108
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
109
|
+
:type Value: str
|
|
110
|
+
"""
|
|
111
|
+
self._Key = None
|
|
112
|
+
self._Rule = None
|
|
113
|
+
self._Value = None
|
|
114
|
+
|
|
115
|
+
@property
|
|
116
|
+
def Key(self):
|
|
117
|
+
return self._Key
|
|
118
|
+
|
|
119
|
+
@Key.setter
|
|
120
|
+
def Key(self, Key):
|
|
121
|
+
self._Key = Key
|
|
122
|
+
|
|
123
|
+
@property
|
|
124
|
+
def Rule(self):
|
|
125
|
+
return self._Rule
|
|
126
|
+
|
|
127
|
+
@Rule.setter
|
|
128
|
+
def Rule(self, Rule):
|
|
129
|
+
self._Rule = Rule
|
|
130
|
+
|
|
131
|
+
@property
|
|
132
|
+
def Value(self):
|
|
133
|
+
return self._Value
|
|
134
|
+
|
|
135
|
+
@Value.setter
|
|
136
|
+
def Value(self, Value):
|
|
137
|
+
self._Value = Value
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
def _deserialize(self, params):
|
|
141
|
+
self._Key = params.get("Key")
|
|
142
|
+
self._Rule = params.get("Rule")
|
|
143
|
+
self._Value = params.get("Value")
|
|
144
|
+
memeber_set = set(params.keys())
|
|
145
|
+
for name, value in vars(self).items():
|
|
146
|
+
property_name = name[1:]
|
|
147
|
+
if property_name in memeber_set:
|
|
148
|
+
memeber_set.remove(property_name)
|
|
149
|
+
if len(memeber_set) > 0:
|
|
150
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
94
154
|
class AlarmAnalysisConfig(AbstractModel):
|
|
95
155
|
"""告警多维分析一些配置信息
|
|
96
156
|
|
|
@@ -13048,6 +13108,12 @@ auto:自动匹配rfc3164或者rfc5424其中一种协议。
|
|
|
13048
13108
|
:type MetaTags: list of MetaTagInfo
|
|
13049
13109
|
:param _EventLogRules: Windows事件日志采集规则,只有在LogType为windows_event_log时生效,其余类型无需填写。
|
|
13050
13110
|
:type EventLogRules: list of EventLog
|
|
13111
|
+
:param _AdvanceFilterRules: 日志过滤规则列表(新版)。
|
|
13112
|
+
注意:
|
|
13113
|
+
- 2.9.3以下版本LogListener不支持, 请使用FilterKeyRegex配置日志过滤规则。
|
|
13114
|
+
- 自建k8s采集配置(CreateConfigExtra、ModifyConfigExtra)不支持此字段。
|
|
13115
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13116
|
+
:type AdvanceFilterRules: list of AdvanceFilterRuleInfo
|
|
13051
13117
|
"""
|
|
13052
13118
|
self._TimeKey = None
|
|
13053
13119
|
self._TimeFormat = None
|
|
@@ -13068,6 +13134,7 @@ auto:自动匹配rfc3164或者rfc5424其中一种协议。
|
|
|
13068
13134
|
self._PathRegex = None
|
|
13069
13135
|
self._MetaTags = None
|
|
13070
13136
|
self._EventLogRules = None
|
|
13137
|
+
self._AdvanceFilterRules = None
|
|
13071
13138
|
|
|
13072
13139
|
@property
|
|
13073
13140
|
def TimeKey(self):
|
|
@@ -13221,6 +13288,14 @@ auto:自动匹配rfc3164或者rfc5424其中一种协议。
|
|
|
13221
13288
|
def EventLogRules(self, EventLogRules):
|
|
13222
13289
|
self._EventLogRules = EventLogRules
|
|
13223
13290
|
|
|
13291
|
+
@property
|
|
13292
|
+
def AdvanceFilterRules(self):
|
|
13293
|
+
return self._AdvanceFilterRules
|
|
13294
|
+
|
|
13295
|
+
@AdvanceFilterRules.setter
|
|
13296
|
+
def AdvanceFilterRules(self, AdvanceFilterRules):
|
|
13297
|
+
self._AdvanceFilterRules = AdvanceFilterRules
|
|
13298
|
+
|
|
13224
13299
|
|
|
13225
13300
|
def _deserialize(self, params):
|
|
13226
13301
|
self._TimeKey = params.get("TimeKey")
|
|
@@ -13257,6 +13332,12 @@ auto:自动匹配rfc3164或者rfc5424其中一种协议。
|
|
|
13257
13332
|
obj = EventLog()
|
|
13258
13333
|
obj._deserialize(item)
|
|
13259
13334
|
self._EventLogRules.append(obj)
|
|
13335
|
+
if params.get("AdvanceFilterRules") is not None:
|
|
13336
|
+
self._AdvanceFilterRules = []
|
|
13337
|
+
for item in params.get("AdvanceFilterRules"):
|
|
13338
|
+
obj = AdvanceFilterRuleInfo()
|
|
13339
|
+
obj._deserialize(item)
|
|
13340
|
+
self._AdvanceFilterRules.append(obj)
|
|
13260
13341
|
memeber_set = set(params.keys())
|
|
13261
13342
|
for name, value in vars(self).items():
|
|
13262
13343
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1250
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1248
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|