tencentcloud-sdk-python-cat 3.0.1459__tar.gz → 3.1.84__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.
Files changed (19) hide show
  1. tencentcloud_sdk_python_cat-3.1.84/PKG-INFO +46 -0
  2. {tencentcloud-sdk-python-cat-3.0.1459 → tencentcloud_sdk_python_cat-3.1.84}/setup.py +2 -1
  3. {tencentcloud-sdk-python-cat-3.0.1459 → tencentcloud_sdk_python_cat-3.1.84}/tencentcloud/__init__.py +1 -1
  4. tencentcloud_sdk_python_cat-3.1.84/tencentcloud/cat/v20180409/cat_client_async.py +279 -0
  5. {tencentcloud-sdk-python-cat-3.0.1459 → tencentcloud_sdk_python_cat-3.1.84}/tencentcloud/cat/v20180409/errorcodes.py +3 -0
  6. tencentcloud_sdk_python_cat-3.1.84/tencentcloud_sdk_python_cat.egg-info/PKG-INFO +46 -0
  7. {tencentcloud-sdk-python-cat-3.0.1459 → tencentcloud_sdk_python_cat-3.1.84}/tencentcloud_sdk_python_cat.egg-info/SOURCES.txt +1 -0
  8. tencentcloud_sdk_python_cat-3.1.84/tencentcloud_sdk_python_cat.egg-info/requires.txt +1 -0
  9. tencentcloud-sdk-python-cat-3.0.1459/PKG-INFO +0 -45
  10. tencentcloud-sdk-python-cat-3.0.1459/tencentcloud_sdk_python_cat.egg-info/PKG-INFO +0 -45
  11. tencentcloud-sdk-python-cat-3.0.1459/tencentcloud_sdk_python_cat.egg-info/requires.txt +0 -1
  12. {tencentcloud-sdk-python-cat-3.0.1459 → tencentcloud_sdk_python_cat-3.1.84}/README.rst +0 -0
  13. {tencentcloud-sdk-python-cat-3.0.1459 → tencentcloud_sdk_python_cat-3.1.84}/setup.cfg +0 -0
  14. {tencentcloud-sdk-python-cat-3.0.1459 → tencentcloud_sdk_python_cat-3.1.84}/tencentcloud/cat/__init__.py +0 -0
  15. {tencentcloud-sdk-python-cat-3.0.1459 → tencentcloud_sdk_python_cat-3.1.84}/tencentcloud/cat/v20180409/__init__.py +0 -0
  16. {tencentcloud-sdk-python-cat-3.0.1459 → tencentcloud_sdk_python_cat-3.1.84}/tencentcloud/cat/v20180409/cat_client.py +0 -0
  17. {tencentcloud-sdk-python-cat-3.0.1459 → tencentcloud_sdk_python_cat-3.1.84}/tencentcloud/cat/v20180409/models.py +0 -0
  18. {tencentcloud-sdk-python-cat-3.0.1459 → tencentcloud_sdk_python_cat-3.1.84}/tencentcloud_sdk_python_cat.egg-info/dependency_links.txt +0 -0
  19. {tencentcloud-sdk-python-cat-3.0.1459 → tencentcloud_sdk_python_cat-3.1.84}/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.84
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.84
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.0.1459,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.84,<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(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1459'
17
+ __version__ = '3.1.84'
@@ -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 分钟,则 grouby 聚合时间建议设置为大于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
 
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.1
2
+ Name: tencentcloud-sdk-python-cat
3
+ Version: 3.1.84
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.84
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.84
@@ -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