tencentcloud-sdk-python-cat 3.0.1459__tar.gz → 3.1.120__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_cat-3.1.120/PKG-INFO +46 -0
- {tencentcloud-sdk-python-cat-3.0.1459 → tencentcloud_sdk_python_cat-3.1.120}/setup.py +2 -1
- {tencentcloud-sdk-python-cat-3.0.1459 → tencentcloud_sdk_python_cat-3.1.120}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cat-3.0.1459 → tencentcloud_sdk_python_cat-3.1.120}/tencentcloud/cat/v20180409/cat_client.py +1 -1
- tencentcloud_sdk_python_cat-3.1.120/tencentcloud/cat/v20180409/cat_client_async.py +279 -0
- {tencentcloud-sdk-python-cat-3.0.1459 → tencentcloud_sdk_python_cat-3.1.120}/tencentcloud/cat/v20180409/errorcodes.py +3 -0
- {tencentcloud-sdk-python-cat-3.0.1459 → tencentcloud_sdk_python_cat-3.1.120}/tencentcloud/cat/v20180409/models.py +14 -26
- tencentcloud_sdk_python_cat-3.1.120/tencentcloud_sdk_python_cat.egg-info/PKG-INFO +46 -0
- {tencentcloud-sdk-python-cat-3.0.1459 → tencentcloud_sdk_python_cat-3.1.120}/tencentcloud_sdk_python_cat.egg-info/SOURCES.txt +1 -0
- tencentcloud_sdk_python_cat-3.1.120/tencentcloud_sdk_python_cat.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cat-3.0.1459/PKG-INFO +0 -45
- tencentcloud-sdk-python-cat-3.0.1459/tencentcloud_sdk_python_cat.egg-info/PKG-INFO +0 -45
- tencentcloud-sdk-python-cat-3.0.1459/tencentcloud_sdk_python_cat.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cat-3.0.1459 → tencentcloud_sdk_python_cat-3.1.120}/README.rst +0 -0
- {tencentcloud-sdk-python-cat-3.0.1459 → tencentcloud_sdk_python_cat-3.1.120}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cat-3.0.1459 → tencentcloud_sdk_python_cat-3.1.120}/tencentcloud/cat/__init__.py +0 -0
- {tencentcloud-sdk-python-cat-3.0.1459 → tencentcloud_sdk_python_cat-3.1.120}/tencentcloud/cat/v20180409/__init__.py +0 -0
- {tencentcloud-sdk-python-cat-3.0.1459 → tencentcloud_sdk_python_cat-3.1.120}/tencentcloud_sdk_python_cat.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cat-3.0.1459 → tencentcloud_sdk_python_cat-3.1.120}/tencentcloud_sdk_python_cat.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-cat
|
|
3
|
+
Version: 3.1.120
|
|
4
|
+
Summary: Tencent Cloud Cat SDK for Python
|
|
5
|
+
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
+
Author: Tencent Cloud
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Platform: any
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.120
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Cat SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
25
|
+
The SDK works on Python versions:
|
|
26
|
+
|
|
27
|
+
* 2.7 and greater, including 3.x
|
|
28
|
+
|
|
29
|
+
Quick Start
|
|
30
|
+
-----------
|
|
31
|
+
|
|
32
|
+
First, install the library:
|
|
33
|
+
|
|
34
|
+
.. code-block:: sh
|
|
35
|
+
|
|
36
|
+
$ pip install tencentcloud-sdk-python-common
|
|
37
|
+
$ pip install tencentcloud-sdk-python-cat
|
|
38
|
+
|
|
39
|
+
or download source code from github and install:
|
|
40
|
+
|
|
41
|
+
.. code-block:: sh
|
|
42
|
+
|
|
43
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
44
|
+
$ cd tencentcloud-sdk-python
|
|
45
|
+
$ python package.py --components common cat
|
|
46
|
+
|
|
@@ -8,7 +8,8 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-cat',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.120,<4.0.0"],
|
|
12
|
+
|
|
12
13
|
version=tencentcloud.__version__,
|
|
13
14
|
description='Tencent Cloud Cat SDK for Python',
|
|
14
15
|
long_description=open('README.rst').read(),
|
|
@@ -166,7 +166,7 @@ class CatClient(AbstractClient):
|
|
|
166
166
|
|
|
167
167
|
def DescribeProbeMetricData(self, request):
|
|
168
168
|
r"""查询云拨测指标数据,指标支持使用sum,avg,max,min聚合函数进行指标数据查询
|
|
169
|
-
拨测频率与
|
|
169
|
+
拨测频率与groupBy聚合时间设置关联,如拨测频率为 30 分钟,则 groupBy 聚合时间建议设置为大于30分钟,避免出现查询数据为空的情况
|
|
170
170
|
|
|
171
171
|
:param request: Request instance for DescribeProbeMetricData.
|
|
172
172
|
:type request: :class:`tencentcloud.cat.v20180409.models.DescribeProbeMetricDataRequest`
|
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
# -*- coding: utf8 -*-
|
|
2
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
from tencentcloud.common.abstract_client_async import AbstractClient
|
|
19
|
+
from tencentcloud.cat.v20180409 import models
|
|
20
|
+
from typing import Dict
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class CatClient(AbstractClient):
|
|
24
|
+
_apiVersion = '2018-04-09'
|
|
25
|
+
_endpoint = 'cat.tencentcloudapi.com'
|
|
26
|
+
_service = 'cat'
|
|
27
|
+
|
|
28
|
+
async def CreateProbeTasks(
|
|
29
|
+
self,
|
|
30
|
+
request: models.CreateProbeTasksRequest,
|
|
31
|
+
opts: Dict = None,
|
|
32
|
+
) -> models.CreateProbeTasksResponse:
|
|
33
|
+
"""
|
|
34
|
+
批量创建拨测任务
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
kwargs = {}
|
|
38
|
+
kwargs["action"] = "CreateProbeTasks"
|
|
39
|
+
kwargs["params"] = request._serialize()
|
|
40
|
+
kwargs["resp_cls"] = models.CreateProbeTasksResponse
|
|
41
|
+
kwargs["headers"] = request.headers
|
|
42
|
+
kwargs["opts"] = opts or {}
|
|
43
|
+
|
|
44
|
+
return await self.call_and_deserialize(**kwargs)
|
|
45
|
+
|
|
46
|
+
async def DeleteProbeTask(
|
|
47
|
+
self,
|
|
48
|
+
request: models.DeleteProbeTaskRequest,
|
|
49
|
+
opts: Dict = None,
|
|
50
|
+
) -> models.DeleteProbeTaskResponse:
|
|
51
|
+
"""
|
|
52
|
+
删除拨测任务
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
kwargs = {}
|
|
56
|
+
kwargs["action"] = "DeleteProbeTask"
|
|
57
|
+
kwargs["params"] = request._serialize()
|
|
58
|
+
kwargs["resp_cls"] = models.DeleteProbeTaskResponse
|
|
59
|
+
kwargs["headers"] = request.headers
|
|
60
|
+
kwargs["opts"] = opts or {}
|
|
61
|
+
|
|
62
|
+
return await self.call_and_deserialize(**kwargs)
|
|
63
|
+
|
|
64
|
+
async def DescribeDetailedSingleProbeData(
|
|
65
|
+
self,
|
|
66
|
+
request: models.DescribeDetailedSingleProbeDataRequest,
|
|
67
|
+
opts: Dict = None,
|
|
68
|
+
) -> models.DescribeDetailedSingleProbeDataResponse:
|
|
69
|
+
"""
|
|
70
|
+
根据时间范围、任务ID、运营商等条件查询单次拨测详情数据
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
kwargs = {}
|
|
74
|
+
kwargs["action"] = "DescribeDetailedSingleProbeData"
|
|
75
|
+
kwargs["params"] = request._serialize()
|
|
76
|
+
kwargs["resp_cls"] = models.DescribeDetailedSingleProbeDataResponse
|
|
77
|
+
kwargs["headers"] = request.headers
|
|
78
|
+
kwargs["opts"] = opts or {}
|
|
79
|
+
|
|
80
|
+
return await self.call_and_deserialize(**kwargs)
|
|
81
|
+
|
|
82
|
+
async def DescribeInstantTasks(
|
|
83
|
+
self,
|
|
84
|
+
request: models.DescribeInstantTasksRequest,
|
|
85
|
+
opts: Dict = None,
|
|
86
|
+
) -> models.DescribeInstantTasksResponse:
|
|
87
|
+
"""
|
|
88
|
+
获取历史即时拨测任务
|
|
89
|
+
"""
|
|
90
|
+
|
|
91
|
+
kwargs = {}
|
|
92
|
+
kwargs["action"] = "DescribeInstantTasks"
|
|
93
|
+
kwargs["params"] = request._serialize()
|
|
94
|
+
kwargs["resp_cls"] = models.DescribeInstantTasksResponse
|
|
95
|
+
kwargs["headers"] = request.headers
|
|
96
|
+
kwargs["opts"] = opts or {}
|
|
97
|
+
|
|
98
|
+
return await self.call_and_deserialize(**kwargs)
|
|
99
|
+
|
|
100
|
+
async def DescribeNodeGroups(
|
|
101
|
+
self,
|
|
102
|
+
request: models.DescribeNodeGroupsRequest,
|
|
103
|
+
opts: Dict = None,
|
|
104
|
+
) -> models.DescribeNodeGroupsResponse:
|
|
105
|
+
"""
|
|
106
|
+
获取拨测点组(可用性拨测点组、高级拨测点组、我的拨测点组)
|
|
107
|
+
"""
|
|
108
|
+
|
|
109
|
+
kwargs = {}
|
|
110
|
+
kwargs["action"] = "DescribeNodeGroups"
|
|
111
|
+
kwargs["params"] = request._serialize()
|
|
112
|
+
kwargs["resp_cls"] = models.DescribeNodeGroupsResponse
|
|
113
|
+
kwargs["headers"] = request.headers
|
|
114
|
+
kwargs["opts"] = opts or {}
|
|
115
|
+
|
|
116
|
+
return await self.call_and_deserialize(**kwargs)
|
|
117
|
+
|
|
118
|
+
async def DescribeNodes(
|
|
119
|
+
self,
|
|
120
|
+
request: models.DescribeNodesRequest,
|
|
121
|
+
opts: Dict = None,
|
|
122
|
+
) -> models.DescribeNodesResponse:
|
|
123
|
+
"""
|
|
124
|
+
获取拨测节点
|
|
125
|
+
"""
|
|
126
|
+
|
|
127
|
+
kwargs = {}
|
|
128
|
+
kwargs["action"] = "DescribeNodes"
|
|
129
|
+
kwargs["params"] = request._serialize()
|
|
130
|
+
kwargs["resp_cls"] = models.DescribeNodesResponse
|
|
131
|
+
kwargs["headers"] = request.headers
|
|
132
|
+
kwargs["opts"] = opts or {}
|
|
133
|
+
|
|
134
|
+
return await self.call_and_deserialize(**kwargs)
|
|
135
|
+
|
|
136
|
+
async def DescribeProbeMetricData(
|
|
137
|
+
self,
|
|
138
|
+
request: models.DescribeProbeMetricDataRequest,
|
|
139
|
+
opts: Dict = None,
|
|
140
|
+
) -> models.DescribeProbeMetricDataResponse:
|
|
141
|
+
"""
|
|
142
|
+
查询云拨测指标数据,指标支持使用sum,avg,max,min聚合函数进行指标数据查询
|
|
143
|
+
拨测频率与groupBy聚合时间设置关联,如拨测频率为 30 分钟,则 groupBy 聚合时间建议设置为大于30分钟,避免出现查询数据为空的情况
|
|
144
|
+
"""
|
|
145
|
+
|
|
146
|
+
kwargs = {}
|
|
147
|
+
kwargs["action"] = "DescribeProbeMetricData"
|
|
148
|
+
kwargs["params"] = request._serialize()
|
|
149
|
+
kwargs["resp_cls"] = models.DescribeProbeMetricDataResponse
|
|
150
|
+
kwargs["headers"] = request.headers
|
|
151
|
+
kwargs["opts"] = opts or {}
|
|
152
|
+
|
|
153
|
+
return await self.call_and_deserialize(**kwargs)
|
|
154
|
+
|
|
155
|
+
async def DescribeProbeMetricTagValues(
|
|
156
|
+
self,
|
|
157
|
+
request: models.DescribeProbeMetricTagValuesRequest,
|
|
158
|
+
opts: Dict = None,
|
|
159
|
+
) -> models.DescribeProbeMetricTagValuesResponse:
|
|
160
|
+
"""
|
|
161
|
+
查询同个任务类型下的维度标签值,包括查询用户任务信息,具体任务下的多个维度标签信息。(通过为DescribeProbeMetricData接口的Filters参数添加维度筛选条件,可实现多维数据分析)
|
|
162
|
+
"""
|
|
163
|
+
|
|
164
|
+
kwargs = {}
|
|
165
|
+
kwargs["action"] = "DescribeProbeMetricTagValues"
|
|
166
|
+
kwargs["params"] = request._serialize()
|
|
167
|
+
kwargs["resp_cls"] = models.DescribeProbeMetricTagValuesResponse
|
|
168
|
+
kwargs["headers"] = request.headers
|
|
169
|
+
kwargs["opts"] = opts or {}
|
|
170
|
+
|
|
171
|
+
return await self.call_and_deserialize(**kwargs)
|
|
172
|
+
|
|
173
|
+
async def DescribeProbeNodes(
|
|
174
|
+
self,
|
|
175
|
+
request: models.DescribeProbeNodesRequest,
|
|
176
|
+
opts: Dict = None,
|
|
177
|
+
) -> models.DescribeProbeNodesResponse:
|
|
178
|
+
"""
|
|
179
|
+
查询拨测节点
|
|
180
|
+
"""
|
|
181
|
+
|
|
182
|
+
kwargs = {}
|
|
183
|
+
kwargs["action"] = "DescribeProbeNodes"
|
|
184
|
+
kwargs["params"] = request._serialize()
|
|
185
|
+
kwargs["resp_cls"] = models.DescribeProbeNodesResponse
|
|
186
|
+
kwargs["headers"] = request.headers
|
|
187
|
+
kwargs["opts"] = opts or {}
|
|
188
|
+
|
|
189
|
+
return await self.call_and_deserialize(**kwargs)
|
|
190
|
+
|
|
191
|
+
async def DescribeProbeTasks(
|
|
192
|
+
self,
|
|
193
|
+
request: models.DescribeProbeTasksRequest,
|
|
194
|
+
opts: Dict = None,
|
|
195
|
+
) -> models.DescribeProbeTasksResponse:
|
|
196
|
+
"""
|
|
197
|
+
查询拨测任务列表
|
|
198
|
+
"""
|
|
199
|
+
|
|
200
|
+
kwargs = {}
|
|
201
|
+
kwargs["action"] = "DescribeProbeTasks"
|
|
202
|
+
kwargs["params"] = request._serialize()
|
|
203
|
+
kwargs["resp_cls"] = models.DescribeProbeTasksResponse
|
|
204
|
+
kwargs["headers"] = request.headers
|
|
205
|
+
kwargs["opts"] = opts or {}
|
|
206
|
+
|
|
207
|
+
return await self.call_and_deserialize(**kwargs)
|
|
208
|
+
|
|
209
|
+
async def ResumeProbeTask(
|
|
210
|
+
self,
|
|
211
|
+
request: models.ResumeProbeTaskRequest,
|
|
212
|
+
opts: Dict = None,
|
|
213
|
+
) -> models.ResumeProbeTaskResponse:
|
|
214
|
+
"""
|
|
215
|
+
恢复拨测任务
|
|
216
|
+
"""
|
|
217
|
+
|
|
218
|
+
kwargs = {}
|
|
219
|
+
kwargs["action"] = "ResumeProbeTask"
|
|
220
|
+
kwargs["params"] = request._serialize()
|
|
221
|
+
kwargs["resp_cls"] = models.ResumeProbeTaskResponse
|
|
222
|
+
kwargs["headers"] = request.headers
|
|
223
|
+
kwargs["opts"] = opts or {}
|
|
224
|
+
|
|
225
|
+
return await self.call_and_deserialize(**kwargs)
|
|
226
|
+
|
|
227
|
+
async def SuspendProbeTask(
|
|
228
|
+
self,
|
|
229
|
+
request: models.SuspendProbeTaskRequest,
|
|
230
|
+
opts: Dict = None,
|
|
231
|
+
) -> models.SuspendProbeTaskResponse:
|
|
232
|
+
"""
|
|
233
|
+
暂停任务
|
|
234
|
+
"""
|
|
235
|
+
|
|
236
|
+
kwargs = {}
|
|
237
|
+
kwargs["action"] = "SuspendProbeTask"
|
|
238
|
+
kwargs["params"] = request._serialize()
|
|
239
|
+
kwargs["resp_cls"] = models.SuspendProbeTaskResponse
|
|
240
|
+
kwargs["headers"] = request.headers
|
|
241
|
+
kwargs["opts"] = opts or {}
|
|
242
|
+
|
|
243
|
+
return await self.call_and_deserialize(**kwargs)
|
|
244
|
+
|
|
245
|
+
async def UpdateProbeTaskAttributes(
|
|
246
|
+
self,
|
|
247
|
+
request: models.UpdateProbeTaskAttributesRequest,
|
|
248
|
+
opts: Dict = None,
|
|
249
|
+
) -> models.UpdateProbeTaskAttributesResponse:
|
|
250
|
+
"""
|
|
251
|
+
更新探测任务属性
|
|
252
|
+
"""
|
|
253
|
+
|
|
254
|
+
kwargs = {}
|
|
255
|
+
kwargs["action"] = "UpdateProbeTaskAttributes"
|
|
256
|
+
kwargs["params"] = request._serialize()
|
|
257
|
+
kwargs["resp_cls"] = models.UpdateProbeTaskAttributesResponse
|
|
258
|
+
kwargs["headers"] = request.headers
|
|
259
|
+
kwargs["opts"] = opts or {}
|
|
260
|
+
|
|
261
|
+
return await self.call_and_deserialize(**kwargs)
|
|
262
|
+
|
|
263
|
+
async def UpdateProbeTaskConfigurationList(
|
|
264
|
+
self,
|
|
265
|
+
request: models.UpdateProbeTaskConfigurationListRequest,
|
|
266
|
+
opts: Dict = None,
|
|
267
|
+
) -> models.UpdateProbeTaskConfigurationListResponse:
|
|
268
|
+
"""
|
|
269
|
+
批量更新拨测任务配置
|
|
270
|
+
"""
|
|
271
|
+
|
|
272
|
+
kwargs = {}
|
|
273
|
+
kwargs["action"] = "UpdateProbeTaskConfigurationList"
|
|
274
|
+
kwargs["params"] = request._serialize()
|
|
275
|
+
kwargs["resp_cls"] = models.UpdateProbeTaskConfigurationListResponse
|
|
276
|
+
kwargs["headers"] = request.headers
|
|
277
|
+
kwargs["opts"] = opts or {}
|
|
278
|
+
|
|
279
|
+
return await self.call_and_deserialize(**kwargs)
|
|
@@ -32,6 +32,9 @@ FAILEDOPERATION_ESQUERYERROR = 'FailedOperation.ESQueryError'
|
|
|
32
32
|
# 任务绑定的预付费套餐已过期。
|
|
33
33
|
FAILEDOPERATION_ERRPREPAIDRESOURCEEXPIRE = 'FailedOperation.ErrPrePaidResourceExpire'
|
|
34
34
|
|
|
35
|
+
# 触发指定审批流
|
|
36
|
+
FAILEDOPERATION_NEEDAPPROVAL = 'FailedOperation.NeedApproval'
|
|
37
|
+
|
|
35
38
|
# 无有效节点。
|
|
36
39
|
FAILEDOPERATION_NOVALIDNODES = 'FailedOperation.NoValidNodes'
|
|
37
40
|
|
|
@@ -1379,23 +1379,17 @@ class DescribeProbeMetricDataRequest(AbstractModel):
|
|
|
1379
1379
|
|
|
1380
1380
|
def __init__(self):
|
|
1381
1381
|
r"""
|
|
1382
|
-
:param _AnalyzeTaskType:
|
|
1383
|
-
AnalyzeTaskType_Network:网络质量
|
|
1384
|
-
AnalyzeTaskType_Browse:页面性能
|
|
1385
|
-
AnalyzeTaskType_Transport:端口性能
|
|
1386
|
-
AnalyzeTaskType_UploadDownload:文件传输
|
|
1387
|
-
AnalyzeTaskType_MediaStream:音视频体验
|
|
1382
|
+
:param _AnalyzeTaskType: <p>分析任务类型,支持以下几种类型:<br>AnalyzeTaskType_Network:网络质量<br>AnalyzeTaskType_Browse:页面性能<br>AnalyzeTaskType_Transport:端口性能<br>AnalyzeTaskType_UploadDownload:文件传输<br>AnalyzeTaskType_MediaStream:音视频体验</p>
|
|
1388
1383
|
:type AnalyzeTaskType: str
|
|
1389
|
-
:param _MetricType:
|
|
1384
|
+
:param _MetricType: <p>指标类型(counter、gauge以及histogram),指标查询默认传gauge</p>
|
|
1390
1385
|
:type MetricType: str
|
|
1391
|
-
:param _Field:
|
|
1386
|
+
:param _Field: <p>指标详细字段,可以传递传具体的指标也可以对指标进行聚合查询例如:"avg(ping_time)"代表整体时延(ms);不同的任务类型支持不同的field查询,以及聚合规则,详情可见https://cloud.tencent.com/document/product/248/87584。</p>
|
|
1392
1387
|
:type Field: str
|
|
1393
|
-
:param _Filter:
|
|
1388
|
+
:param _Filter: <p>过滤条件可以传单个过滤条件也可以拼接多个参数</p>
|
|
1394
1389
|
:type Filter: str
|
|
1395
|
-
:param _GroupBy:
|
|
1390
|
+
:param _GroupBy: <p>聚合时间, 1m、1d、30d 等等</p>
|
|
1396
1391
|
:type GroupBy: str
|
|
1397
|
-
:param _Filters:
|
|
1398
|
-
例如:[""host" = 'www.test.com'", "time >= now()-1h"]
|
|
1392
|
+
:param _Filters: <p>多条件过滤,支持多个过滤条件组合查询<br>例如:[""host" = 'www.test.com'", "time >= now()-1h"]</p>
|
|
1399
1393
|
:type Filters: list of str
|
|
1400
1394
|
"""
|
|
1401
1395
|
self._AnalyzeTaskType = None
|
|
@@ -1407,12 +1401,7 @@ AnalyzeTaskType_MediaStream:音视频体验
|
|
|
1407
1401
|
|
|
1408
1402
|
@property
|
|
1409
1403
|
def AnalyzeTaskType(self):
|
|
1410
|
-
r"""
|
|
1411
|
-
AnalyzeTaskType_Network:网络质量
|
|
1412
|
-
AnalyzeTaskType_Browse:页面性能
|
|
1413
|
-
AnalyzeTaskType_Transport:端口性能
|
|
1414
|
-
AnalyzeTaskType_UploadDownload:文件传输
|
|
1415
|
-
AnalyzeTaskType_MediaStream:音视频体验
|
|
1404
|
+
r"""<p>分析任务类型,支持以下几种类型:<br>AnalyzeTaskType_Network:网络质量<br>AnalyzeTaskType_Browse:页面性能<br>AnalyzeTaskType_Transport:端口性能<br>AnalyzeTaskType_UploadDownload:文件传输<br>AnalyzeTaskType_MediaStream:音视频体验</p>
|
|
1416
1405
|
:rtype: str
|
|
1417
1406
|
"""
|
|
1418
1407
|
return self._AnalyzeTaskType
|
|
@@ -1423,7 +1412,7 @@ AnalyzeTaskType_MediaStream:音视频体验
|
|
|
1423
1412
|
|
|
1424
1413
|
@property
|
|
1425
1414
|
def MetricType(self):
|
|
1426
|
-
r"""
|
|
1415
|
+
r"""<p>指标类型(counter、gauge以及histogram),指标查询默认传gauge</p>
|
|
1427
1416
|
:rtype: str
|
|
1428
1417
|
"""
|
|
1429
1418
|
return self._MetricType
|
|
@@ -1434,7 +1423,7 @@ AnalyzeTaskType_MediaStream:音视频体验
|
|
|
1434
1423
|
|
|
1435
1424
|
@property
|
|
1436
1425
|
def Field(self):
|
|
1437
|
-
r"""
|
|
1426
|
+
r"""<p>指标详细字段,可以传递传具体的指标也可以对指标进行聚合查询例如:"avg(ping_time)"代表整体时延(ms);不同的任务类型支持不同的field查询,以及聚合规则,详情可见https://cloud.tencent.com/document/product/248/87584。</p>
|
|
1438
1427
|
:rtype: str
|
|
1439
1428
|
"""
|
|
1440
1429
|
return self._Field
|
|
@@ -1445,7 +1434,7 @@ AnalyzeTaskType_MediaStream:音视频体验
|
|
|
1445
1434
|
|
|
1446
1435
|
@property
|
|
1447
1436
|
def Filter(self):
|
|
1448
|
-
r"""
|
|
1437
|
+
r"""<p>过滤条件可以传单个过滤条件也可以拼接多个参数</p>
|
|
1449
1438
|
:rtype: str
|
|
1450
1439
|
"""
|
|
1451
1440
|
return self._Filter
|
|
@@ -1456,7 +1445,7 @@ AnalyzeTaskType_MediaStream:音视频体验
|
|
|
1456
1445
|
|
|
1457
1446
|
@property
|
|
1458
1447
|
def GroupBy(self):
|
|
1459
|
-
r"""
|
|
1448
|
+
r"""<p>聚合时间, 1m、1d、30d 等等</p>
|
|
1460
1449
|
:rtype: str
|
|
1461
1450
|
"""
|
|
1462
1451
|
return self._GroupBy
|
|
@@ -1467,8 +1456,7 @@ AnalyzeTaskType_MediaStream:音视频体验
|
|
|
1467
1456
|
|
|
1468
1457
|
@property
|
|
1469
1458
|
def Filters(self):
|
|
1470
|
-
r"""
|
|
1471
|
-
例如:[""host" = 'www.test.com'", "time >= now()-1h"]
|
|
1459
|
+
r"""<p>多条件过滤,支持多个过滤条件组合查询<br>例如:[""host" = 'www.test.com'", "time >= now()-1h"]</p>
|
|
1472
1460
|
:rtype: list of str
|
|
1473
1461
|
"""
|
|
1474
1462
|
return self._Filters
|
|
@@ -1502,7 +1490,7 @@ class DescribeProbeMetricDataResponse(AbstractModel):
|
|
|
1502
1490
|
|
|
1503
1491
|
def __init__(self):
|
|
1504
1492
|
r"""
|
|
1505
|
-
:param _MetricSet:
|
|
1493
|
+
:param _MetricSet: <p>返回指标 JSON 序列化后的字符串,具体如下所示:"[{"name":"task_navigate_request_gauge","columns":["time","avg(first_screen_time) / 1000"],"values":[[1641571200,6.756600000000001]],"tags":null}]"</p>
|
|
1506
1494
|
:type MetricSet: str
|
|
1507
1495
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1508
1496
|
:type RequestId: str
|
|
@@ -1512,7 +1500,7 @@ class DescribeProbeMetricDataResponse(AbstractModel):
|
|
|
1512
1500
|
|
|
1513
1501
|
@property
|
|
1514
1502
|
def MetricSet(self):
|
|
1515
|
-
r"""
|
|
1503
|
+
r"""<p>返回指标 JSON 序列化后的字符串,具体如下所示:"[{"name":"task_navigate_request_gauge","columns":["time","avg(first_screen_time) / 1000"],"values":[[1641571200,6.756600000000001]],"tags":null}]"</p>
|
|
1516
1504
|
:rtype: str
|
|
1517
1505
|
"""
|
|
1518
1506
|
return self._MetricSet
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-cat
|
|
3
|
+
Version: 3.1.120
|
|
4
|
+
Summary: Tencent Cloud Cat SDK for Python
|
|
5
|
+
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
+
Author: Tencent Cloud
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Platform: any
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.120
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Cat SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
25
|
+
The SDK works on Python versions:
|
|
26
|
+
|
|
27
|
+
* 2.7 and greater, including 3.x
|
|
28
|
+
|
|
29
|
+
Quick Start
|
|
30
|
+
-----------
|
|
31
|
+
|
|
32
|
+
First, install the library:
|
|
33
|
+
|
|
34
|
+
.. code-block:: sh
|
|
35
|
+
|
|
36
|
+
$ pip install tencentcloud-sdk-python-common
|
|
37
|
+
$ pip install tencentcloud-sdk-python-cat
|
|
38
|
+
|
|
39
|
+
or download source code from github and install:
|
|
40
|
+
|
|
41
|
+
.. code-block:: sh
|
|
42
|
+
|
|
43
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
44
|
+
$ cd tencentcloud-sdk-python
|
|
45
|
+
$ python package.py --components common cat
|
|
46
|
+
|
|
@@ -5,6 +5,7 @@ tencentcloud/__init__.py
|
|
|
5
5
|
tencentcloud/cat/__init__.py
|
|
6
6
|
tencentcloud/cat/v20180409/__init__.py
|
|
7
7
|
tencentcloud/cat/v20180409/cat_client.py
|
|
8
|
+
tencentcloud/cat/v20180409/cat_client_async.py
|
|
8
9
|
tencentcloud/cat/v20180409/errorcodes.py
|
|
9
10
|
tencentcloud/cat/v20180409/models.py
|
|
10
11
|
tencentcloud_sdk_python_cat.egg-info/PKG-INFO
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.120
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.2
|
|
2
|
-
Name: tencentcloud-sdk-python-cat
|
|
3
|
-
Version: 3.0.1459
|
|
4
|
-
Summary: Tencent Cloud Cat SDK for Python
|
|
5
|
-
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
-
Author: Tencent Cloud
|
|
7
|
-
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
-
License: Apache License 2.0
|
|
9
|
-
Description: ============================
|
|
10
|
-
Tencent Cloud SDK for Python
|
|
11
|
-
============================
|
|
12
|
-
|
|
13
|
-
Tencent Cloud Python Cat SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
14
|
-
The SDK works on Python versions:
|
|
15
|
-
|
|
16
|
-
* 2.7 and greater, including 3.x
|
|
17
|
-
|
|
18
|
-
Quick Start
|
|
19
|
-
-----------
|
|
20
|
-
|
|
21
|
-
First, install the library:
|
|
22
|
-
|
|
23
|
-
.. code-block:: sh
|
|
24
|
-
|
|
25
|
-
$ pip install tencentcloud-sdk-python-common
|
|
26
|
-
$ pip install tencentcloud-sdk-python-cat
|
|
27
|
-
|
|
28
|
-
or download source code from github and install:
|
|
29
|
-
|
|
30
|
-
.. code-block:: sh
|
|
31
|
-
|
|
32
|
-
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
33
|
-
$ cd tencentcloud-sdk-python
|
|
34
|
-
$ python package.py --components common cat
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Platform: any
|
|
38
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
39
|
-
Classifier: Intended Audience :: Developers
|
|
40
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
41
|
-
Classifier: Programming Language :: Python
|
|
42
|
-
Classifier: Programming Language :: Python :: 2.7
|
|
43
|
-
Classifier: Programming Language :: Python :: 3
|
|
44
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
45
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.2
|
|
2
|
-
Name: tencentcloud-sdk-python-cat
|
|
3
|
-
Version: 3.0.1459
|
|
4
|
-
Summary: Tencent Cloud Cat SDK for Python
|
|
5
|
-
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
-
Author: Tencent Cloud
|
|
7
|
-
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
-
License: Apache License 2.0
|
|
9
|
-
Description: ============================
|
|
10
|
-
Tencent Cloud SDK for Python
|
|
11
|
-
============================
|
|
12
|
-
|
|
13
|
-
Tencent Cloud Python Cat SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
14
|
-
The SDK works on Python versions:
|
|
15
|
-
|
|
16
|
-
* 2.7 and greater, including 3.x
|
|
17
|
-
|
|
18
|
-
Quick Start
|
|
19
|
-
-----------
|
|
20
|
-
|
|
21
|
-
First, install the library:
|
|
22
|
-
|
|
23
|
-
.. code-block:: sh
|
|
24
|
-
|
|
25
|
-
$ pip install tencentcloud-sdk-python-common
|
|
26
|
-
$ pip install tencentcloud-sdk-python-cat
|
|
27
|
-
|
|
28
|
-
or download source code from github and install:
|
|
29
|
-
|
|
30
|
-
.. code-block:: sh
|
|
31
|
-
|
|
32
|
-
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
33
|
-
$ cd tencentcloud-sdk-python
|
|
34
|
-
$ python package.py --components common cat
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Platform: any
|
|
38
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
39
|
-
Classifier: Intended Audience :: Developers
|
|
40
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
41
|
-
Classifier: Programming Language :: Python
|
|
42
|
-
Classifier: Programming Language :: Python :: 2.7
|
|
43
|
-
Classifier: Programming Language :: Python :: 3
|
|
44
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
45
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1459
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|