tencentcloud-sdk-python-cls 3.0.1251__tar.gz → 3.0.1273__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.1251 → tencentcloud-sdk-python-cls-3.0.1273}/PKG-INFO +3 -3
- {tencentcloud-sdk-python-cls-3.0.1251 → tencentcloud-sdk-python-cls-3.0.1273}/setup.cfg +0 -1
- {tencentcloud-sdk-python-cls-3.0.1251 → tencentcloud-sdk-python-cls-3.0.1273}/setup.py +1 -1
- {tencentcloud-sdk-python-cls-3.0.1251 → tencentcloud-sdk-python-cls-3.0.1273}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cls-3.0.1251 → tencentcloud-sdk-python-cls-3.0.1273}/tencentcloud/cls/v20201016/cls_client.py +102 -2
- {tencentcloud-sdk-python-cls-3.0.1251 → tencentcloud-sdk-python-cls-3.0.1273}/tencentcloud/cls/v20201016/models.py +6900 -145
- {tencentcloud-sdk-python-cls-3.0.1251 → tencentcloud-sdk-python-cls-3.0.1273}/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +3 -3
- tencentcloud-sdk-python-cls-3.0.1273/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cls-3.0.1251/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cls-3.0.1251 → tencentcloud-sdk-python-cls-3.0.1273}/README.rst +0 -0
- {tencentcloud-sdk-python-cls-3.0.1251 → tencentcloud-sdk-python-cls-3.0.1273}/tencentcloud/cls/__init__.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1251 → tencentcloud-sdk-python-cls-3.0.1273}/tencentcloud/cls/v20201016/__init__.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1251 → tencentcloud-sdk-python-cls-3.0.1273}/tencentcloud/cls/v20201016/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1251 → tencentcloud-sdk-python-cls-3.0.1273}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cls-3.0.1251 → tencentcloud-sdk-python-cls-3.0.1273}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cls-3.0.1251 → tencentcloud-sdk-python-cls-3.0.1273}/tencentcloud_sdk_python_cls.egg-info/top_level.txt +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
Metadata-Version: 1.
|
|
1
|
+
Metadata-Version: 1.2
|
|
2
2
|
Name: tencentcloud-sdk-python-cls
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.1273
|
|
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
|
|
7
|
-
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
8
|
License: Apache License 2.0
|
|
9
9
|
Description: ============================
|
|
10
10
|
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.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1273"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cls SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -165,7 +165,14 @@ class ClsClient(AbstractClient):
|
|
|
165
165
|
|
|
166
166
|
|
|
167
167
|
def CreateAlarmNotice(self, request):
|
|
168
|
-
"""
|
|
168
|
+
"""该接口用于创建通知渠道组,提供两种配置模式,二选一:
|
|
169
|
+
1,简易模式,提供最基本的通知渠道功能。需填写如下参数:
|
|
170
|
+
- Type
|
|
171
|
+
- NoticeReceivers
|
|
172
|
+
- WebCallbacks
|
|
173
|
+
|
|
174
|
+
2,高级模式,在简易模式基础上,支持设定规则,为不同类型的告警分别设定通知渠道,并支持告警升级功能。需填写如下参数:
|
|
175
|
+
- NoticeRules
|
|
169
176
|
|
|
170
177
|
:param request: Request instance for CreateAlarmNotice.
|
|
171
178
|
:type request: :class:`tencentcloud.cls.v20201016.models.CreateAlarmNoticeRequest`
|
|
@@ -210,6 +217,29 @@ class ClsClient(AbstractClient):
|
|
|
210
217
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
211
218
|
|
|
212
219
|
|
|
220
|
+
def CreateCloudProductLogTask(self, request):
|
|
221
|
+
"""内部云产品接入使用相关接口
|
|
222
|
+
|
|
223
|
+
:param request: Request instance for CreateCloudProductLogTask.
|
|
224
|
+
:type request: :class:`tencentcloud.cls.v20201016.models.CreateCloudProductLogTaskRequest`
|
|
225
|
+
:rtype: :class:`tencentcloud.cls.v20201016.models.CreateCloudProductLogTaskResponse`
|
|
226
|
+
|
|
227
|
+
"""
|
|
228
|
+
try:
|
|
229
|
+
params = request._serialize()
|
|
230
|
+
headers = request.headers
|
|
231
|
+
body = self.call("CreateCloudProductLogTask", params, headers=headers)
|
|
232
|
+
response = json.loads(body)
|
|
233
|
+
model = models.CreateCloudProductLogTaskResponse()
|
|
234
|
+
model._deserialize(response["Response"])
|
|
235
|
+
return model
|
|
236
|
+
except Exception as e:
|
|
237
|
+
if isinstance(e, TencentCloudSDKException):
|
|
238
|
+
raise
|
|
239
|
+
else:
|
|
240
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
241
|
+
|
|
242
|
+
|
|
213
243
|
def CreateConfig(self, request):
|
|
214
244
|
"""创建采集规则配置
|
|
215
245
|
|
|
@@ -670,6 +700,29 @@ class ClsClient(AbstractClient):
|
|
|
670
700
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
671
701
|
|
|
672
702
|
|
|
703
|
+
def DeleteCloudProductLogTask(self, request):
|
|
704
|
+
"""内部云产品接入使用相关接口
|
|
705
|
+
|
|
706
|
+
:param request: Request instance for DeleteCloudProductLogTask.
|
|
707
|
+
:type request: :class:`tencentcloud.cls.v20201016.models.DeleteCloudProductLogTaskRequest`
|
|
708
|
+
:rtype: :class:`tencentcloud.cls.v20201016.models.DeleteCloudProductLogTaskResponse`
|
|
709
|
+
|
|
710
|
+
"""
|
|
711
|
+
try:
|
|
712
|
+
params = request._serialize()
|
|
713
|
+
headers = request.headers
|
|
714
|
+
body = self.call("DeleteCloudProductLogTask", params, headers=headers)
|
|
715
|
+
response = json.loads(body)
|
|
716
|
+
model = models.DeleteCloudProductLogTaskResponse()
|
|
717
|
+
model._deserialize(response["Response"])
|
|
718
|
+
return model
|
|
719
|
+
except Exception as e:
|
|
720
|
+
if isinstance(e, TencentCloudSDKException):
|
|
721
|
+
raise
|
|
722
|
+
else:
|
|
723
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
724
|
+
|
|
725
|
+
|
|
673
726
|
def DeleteConfig(self, request):
|
|
674
727
|
"""删除采集规则配置
|
|
675
728
|
|
|
@@ -1153,6 +1206,29 @@ class ClsClient(AbstractClient):
|
|
|
1153
1206
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1154
1207
|
|
|
1155
1208
|
|
|
1209
|
+
def DescribeCloudProductLogTasks(self, request):
|
|
1210
|
+
"""云产品接入使用相关接口
|
|
1211
|
+
|
|
1212
|
+
:param request: Request instance for DescribeCloudProductLogTasks.
|
|
1213
|
+
:type request: :class:`tencentcloud.cls.v20201016.models.DescribeCloudProductLogTasksRequest`
|
|
1214
|
+
:rtype: :class:`tencentcloud.cls.v20201016.models.DescribeCloudProductLogTasksResponse`
|
|
1215
|
+
|
|
1216
|
+
"""
|
|
1217
|
+
try:
|
|
1218
|
+
params = request._serialize()
|
|
1219
|
+
headers = request.headers
|
|
1220
|
+
body = self.call("DescribeCloudProductLogTasks", params, headers=headers)
|
|
1221
|
+
response = json.loads(body)
|
|
1222
|
+
model = models.DescribeCloudProductLogTasksResponse()
|
|
1223
|
+
model._deserialize(response["Response"])
|
|
1224
|
+
return model
|
|
1225
|
+
except Exception as e:
|
|
1226
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1227
|
+
raise
|
|
1228
|
+
else:
|
|
1229
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1230
|
+
|
|
1231
|
+
|
|
1156
1232
|
def DescribeConfigExtras(self, request):
|
|
1157
1233
|
"""本接口用于获取特殊采集配置,特殊采集配置应用于自建K8S环境的采集Agent
|
|
1158
1234
|
|
|
@@ -1844,6 +1920,29 @@ class ClsClient(AbstractClient):
|
|
|
1844
1920
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1845
1921
|
|
|
1846
1922
|
|
|
1923
|
+
def ModifyCloudProductLogTask(self, request):
|
|
1924
|
+
"""内部云产品接入使用相关接口
|
|
1925
|
+
|
|
1926
|
+
:param request: Request instance for ModifyCloudProductLogTask.
|
|
1927
|
+
:type request: :class:`tencentcloud.cls.v20201016.models.ModifyCloudProductLogTaskRequest`
|
|
1928
|
+
:rtype: :class:`tencentcloud.cls.v20201016.models.ModifyCloudProductLogTaskResponse`
|
|
1929
|
+
|
|
1930
|
+
"""
|
|
1931
|
+
try:
|
|
1932
|
+
params = request._serialize()
|
|
1933
|
+
headers = request.headers
|
|
1934
|
+
body = self.call("ModifyCloudProductLogTask", params, headers=headers)
|
|
1935
|
+
response = json.loads(body)
|
|
1936
|
+
model = models.ModifyCloudProductLogTaskResponse()
|
|
1937
|
+
model._deserialize(response["Response"])
|
|
1938
|
+
return model
|
|
1939
|
+
except Exception as e:
|
|
1940
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1941
|
+
raise
|
|
1942
|
+
else:
|
|
1943
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1944
|
+
|
|
1945
|
+
|
|
1847
1946
|
def ModifyConfig(self, request):
|
|
1848
1947
|
"""修改采集规则配置
|
|
1849
1948
|
|
|
@@ -2259,7 +2358,8 @@ class ClsClient(AbstractClient):
|
|
|
2259
2358
|
|
|
2260
2359
|
|
|
2261
2360
|
def QueryMetric(self, request):
|
|
2262
|
-
"""
|
|
2361
|
+
"""查询指定时刻指标的最新值。
|
|
2362
|
+
如果该时刻向前推5分钟内均无指标数据,则无相应的查询结果。
|
|
2263
2363
|
|
|
2264
2364
|
:param request: Request instance for QueryMetric.
|
|
2265
2365
|
:type request: :class:`tencentcloud.cls.v20201016.models.QueryMetricRequest`
|