tencentcloud-sdk-python-cat 3.0.1416__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.
- tencentcloud_sdk_python_cat-3.1.84/PKG-INFO +46 -0
- {tencentcloud-sdk-python-cat-3.0.1416 → tencentcloud_sdk_python_cat-3.1.84}/setup.py +2 -1
- {tencentcloud-sdk-python-cat-3.0.1416 → tencentcloud_sdk_python_cat-3.1.84}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cat-3.0.1416 → tencentcloud_sdk_python_cat-3.1.84}/tencentcloud/cat/v20180409/cat_client.py +14 -14
- tencentcloud_sdk_python_cat-3.1.84/tencentcloud/cat/v20180409/cat_client_async.py +279 -0
- {tencentcloud-sdk-python-cat-3.0.1416 → tencentcloud_sdk_python_cat-3.1.84}/tencentcloud/cat/v20180409/errorcodes.py +3 -0
- {tencentcloud-sdk-python-cat-3.0.1416 → tencentcloud_sdk_python_cat-3.1.84}/tencentcloud/cat/v20180409/models.py +243 -243
- tencentcloud_sdk_python_cat-3.1.84/tencentcloud_sdk_python_cat.egg-info/PKG-INFO +46 -0
- {tencentcloud-sdk-python-cat-3.0.1416 → tencentcloud_sdk_python_cat-3.1.84}/tencentcloud_sdk_python_cat.egg-info/SOURCES.txt +1 -0
- tencentcloud_sdk_python_cat-3.1.84/tencentcloud_sdk_python_cat.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cat-3.0.1416/PKG-INFO +0 -45
- tencentcloud-sdk-python-cat-3.0.1416/tencentcloud_sdk_python_cat.egg-info/PKG-INFO +0 -45
- tencentcloud-sdk-python-cat-3.0.1416/tencentcloud_sdk_python_cat.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cat-3.0.1416 → tencentcloud_sdk_python_cat-3.1.84}/README.rst +0 -0
- {tencentcloud-sdk-python-cat-3.0.1416 → tencentcloud_sdk_python_cat-3.1.84}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cat-3.0.1416 → tencentcloud_sdk_python_cat-3.1.84}/tencentcloud/cat/__init__.py +0 -0
- {tencentcloud-sdk-python-cat-3.0.1416 → tencentcloud_sdk_python_cat-3.1.84}/tencentcloud/cat/v20180409/__init__.py +0 -0
- {tencentcloud-sdk-python-cat-3.0.1416 → tencentcloud_sdk_python_cat-3.1.84}/tencentcloud_sdk_python_cat.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cat-3.0.1416 → 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
|
|
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(),
|
|
@@ -27,7 +27,7 @@ class CatClient(AbstractClient):
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
def CreateProbeTasks(self, request):
|
|
30
|
-
"""批量创建拨测任务
|
|
30
|
+
r"""批量创建拨测任务
|
|
31
31
|
|
|
32
32
|
:param request: Request instance for CreateProbeTasks.
|
|
33
33
|
:type request: :class:`tencentcloud.cat.v20180409.models.CreateProbeTasksRequest`
|
|
@@ -50,7 +50,7 @@ class CatClient(AbstractClient):
|
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
def DeleteProbeTask(self, request):
|
|
53
|
-
"""删除拨测任务
|
|
53
|
+
r"""删除拨测任务
|
|
54
54
|
|
|
55
55
|
:param request: Request instance for DeleteProbeTask.
|
|
56
56
|
:type request: :class:`tencentcloud.cat.v20180409.models.DeleteProbeTaskRequest`
|
|
@@ -73,7 +73,7 @@ class CatClient(AbstractClient):
|
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
def DescribeDetailedSingleProbeData(self, request):
|
|
76
|
-
"""根据时间范围、任务ID、运营商等条件查询单次拨测详情数据
|
|
76
|
+
r"""根据时间范围、任务ID、运营商等条件查询单次拨测详情数据
|
|
77
77
|
|
|
78
78
|
:param request: Request instance for DescribeDetailedSingleProbeData.
|
|
79
79
|
:type request: :class:`tencentcloud.cat.v20180409.models.DescribeDetailedSingleProbeDataRequest`
|
|
@@ -96,7 +96,7 @@ class CatClient(AbstractClient):
|
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
def DescribeInstantTasks(self, request):
|
|
99
|
-
"""获取历史即时拨测任务
|
|
99
|
+
r"""获取历史即时拨测任务
|
|
100
100
|
|
|
101
101
|
:param request: Request instance for DescribeInstantTasks.
|
|
102
102
|
:type request: :class:`tencentcloud.cat.v20180409.models.DescribeInstantTasksRequest`
|
|
@@ -119,7 +119,7 @@ class CatClient(AbstractClient):
|
|
|
119
119
|
|
|
120
120
|
|
|
121
121
|
def DescribeNodeGroups(self, request):
|
|
122
|
-
"""获取拨测点组(可用性拨测点组、高级拨测点组、我的拨测点组)
|
|
122
|
+
r"""获取拨测点组(可用性拨测点组、高级拨测点组、我的拨测点组)
|
|
123
123
|
|
|
124
124
|
:param request: Request instance for DescribeNodeGroups.
|
|
125
125
|
:type request: :class:`tencentcloud.cat.v20180409.models.DescribeNodeGroupsRequest`
|
|
@@ -142,7 +142,7 @@ class CatClient(AbstractClient):
|
|
|
142
142
|
|
|
143
143
|
|
|
144
144
|
def DescribeNodes(self, request):
|
|
145
|
-
"""获取拨测节点
|
|
145
|
+
r"""获取拨测节点
|
|
146
146
|
|
|
147
147
|
:param request: Request instance for DescribeNodes.
|
|
148
148
|
:type request: :class:`tencentcloud.cat.v20180409.models.DescribeNodesRequest`
|
|
@@ -165,7 +165,7 @@ class CatClient(AbstractClient):
|
|
|
165
165
|
|
|
166
166
|
|
|
167
167
|
def DescribeProbeMetricData(self, request):
|
|
168
|
-
"""查询云拨测指标数据,指标支持使用sum,avg,max,min聚合函数进行指标数据查询
|
|
168
|
+
r"""查询云拨测指标数据,指标支持使用sum,avg,max,min聚合函数进行指标数据查询
|
|
169
169
|
拨测频率与groupby聚合时间设置关联,如拨测频率为 30 分钟,则 grouby 聚合时间建议设置为大于30分钟,避免出现查询数据为空的情况
|
|
170
170
|
|
|
171
171
|
:param request: Request instance for DescribeProbeMetricData.
|
|
@@ -189,7 +189,7 @@ class CatClient(AbstractClient):
|
|
|
189
189
|
|
|
190
190
|
|
|
191
191
|
def DescribeProbeMetricTagValues(self, request):
|
|
192
|
-
"""查询同个任务类型下的维度标签值,包括查询用户任务信息,具体任务下的多个维度标签信息。(通过为DescribeProbeMetricData接口的Filters参数添加维度筛选条件,可实现多维数据分析)
|
|
192
|
+
r"""查询同个任务类型下的维度标签值,包括查询用户任务信息,具体任务下的多个维度标签信息。(通过为DescribeProbeMetricData接口的Filters参数添加维度筛选条件,可实现多维数据分析)
|
|
193
193
|
|
|
194
194
|
:param request: Request instance for DescribeProbeMetricTagValues.
|
|
195
195
|
:type request: :class:`tencentcloud.cat.v20180409.models.DescribeProbeMetricTagValuesRequest`
|
|
@@ -212,7 +212,7 @@ class CatClient(AbstractClient):
|
|
|
212
212
|
|
|
213
213
|
|
|
214
214
|
def DescribeProbeNodes(self, request):
|
|
215
|
-
"""查询拨测节点
|
|
215
|
+
r"""查询拨测节点
|
|
216
216
|
|
|
217
217
|
:param request: Request instance for DescribeProbeNodes.
|
|
218
218
|
:type request: :class:`tencentcloud.cat.v20180409.models.DescribeProbeNodesRequest`
|
|
@@ -235,7 +235,7 @@ class CatClient(AbstractClient):
|
|
|
235
235
|
|
|
236
236
|
|
|
237
237
|
def DescribeProbeTasks(self, request):
|
|
238
|
-
"""查询拨测任务列表
|
|
238
|
+
r"""查询拨测任务列表
|
|
239
239
|
|
|
240
240
|
:param request: Request instance for DescribeProbeTasks.
|
|
241
241
|
:type request: :class:`tencentcloud.cat.v20180409.models.DescribeProbeTasksRequest`
|
|
@@ -258,7 +258,7 @@ class CatClient(AbstractClient):
|
|
|
258
258
|
|
|
259
259
|
|
|
260
260
|
def ResumeProbeTask(self, request):
|
|
261
|
-
"""恢复拨测任务
|
|
261
|
+
r"""恢复拨测任务
|
|
262
262
|
|
|
263
263
|
:param request: Request instance for ResumeProbeTask.
|
|
264
264
|
:type request: :class:`tencentcloud.cat.v20180409.models.ResumeProbeTaskRequest`
|
|
@@ -281,7 +281,7 @@ class CatClient(AbstractClient):
|
|
|
281
281
|
|
|
282
282
|
|
|
283
283
|
def SuspendProbeTask(self, request):
|
|
284
|
-
"""暂停任务
|
|
284
|
+
r"""暂停任务
|
|
285
285
|
|
|
286
286
|
:param request: Request instance for SuspendProbeTask.
|
|
287
287
|
:type request: :class:`tencentcloud.cat.v20180409.models.SuspendProbeTaskRequest`
|
|
@@ -304,7 +304,7 @@ class CatClient(AbstractClient):
|
|
|
304
304
|
|
|
305
305
|
|
|
306
306
|
def UpdateProbeTaskAttributes(self, request):
|
|
307
|
-
"""更新探测任务属性
|
|
307
|
+
r"""更新探测任务属性
|
|
308
308
|
|
|
309
309
|
:param request: Request instance for UpdateProbeTaskAttributes.
|
|
310
310
|
:type request: :class:`tencentcloud.cat.v20180409.models.UpdateProbeTaskAttributesRequest`
|
|
@@ -327,7 +327,7 @@ class CatClient(AbstractClient):
|
|
|
327
327
|
|
|
328
328
|
|
|
329
329
|
def UpdateProbeTaskConfigurationList(self, request):
|
|
330
|
-
"""批量更新拨测任务配置
|
|
330
|
+
r"""批量更新拨测任务配置
|
|
331
331
|
|
|
332
332
|
:param request: Request instance for UpdateProbeTaskConfigurationList.
|
|
333
333
|
:type request: :class:`tencentcloud.cat.v20180409.models.UpdateProbeTaskConfigurationListRequest`
|
|
@@ -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
|
|