tencentcloud-sdk-python-apm 3.1.43__tar.gz → 3.1.49__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_apm-3.1.43 → tencentcloud_sdk_python_apm-3.1.49}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_apm-3.1.43 → tencentcloud_sdk_python_apm-3.1.49}/setup.py +1 -1
- {tencentcloud_sdk_python_apm-3.1.43 → tencentcloud_sdk_python_apm-3.1.49}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_apm-3.1.43 → tencentcloud_sdk_python_apm-3.1.49}/tencentcloud/apm/v20210622/apm_client.py +115 -0
- {tencentcloud_sdk_python_apm-3.1.43 → tencentcloud_sdk_python_apm-3.1.49}/tencentcloud/apm/v20210622/apm_client_async.py +90 -0
- {tencentcloud_sdk_python_apm-3.1.43 → tencentcloud_sdk_python_apm-3.1.49}/tencentcloud/apm/v20210622/models.py +1132 -193
- {tencentcloud_sdk_python_apm-3.1.43 → tencentcloud_sdk_python_apm-3.1.49}/tencentcloud_sdk_python_apm.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_apm-3.1.49/tencentcloud_sdk_python_apm.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_apm-3.1.43/tencentcloud_sdk_python_apm.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_apm-3.1.43 → tencentcloud_sdk_python_apm-3.1.49}/README.rst +0 -0
- {tencentcloud_sdk_python_apm-3.1.43 → tencentcloud_sdk_python_apm-3.1.49}/setup.cfg +0 -0
- {tencentcloud_sdk_python_apm-3.1.43 → tencentcloud_sdk_python_apm-3.1.49}/tencentcloud/apm/__init__.py +0 -0
- {tencentcloud_sdk_python_apm-3.1.43 → tencentcloud_sdk_python_apm-3.1.49}/tencentcloud/apm/v20210622/__init__.py +0 -0
- {tencentcloud_sdk_python_apm-3.1.43 → tencentcloud_sdk_python_apm-3.1.49}/tencentcloud/apm/v20210622/errorcodes.py +0 -0
- {tencentcloud_sdk_python_apm-3.1.43 → tencentcloud_sdk_python_apm-3.1.49}/tencentcloud_sdk_python_apm.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_apm-3.1.43 → tencentcloud_sdk_python_apm-3.1.49}/tencentcloud_sdk_python_apm.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_apm-3.1.43 → tencentcloud_sdk_python_apm-3.1.49}/tencentcloud_sdk_python_apm.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-apm
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.49
|
|
4
4
|
Summary: Tencent Cloud Apm SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.49
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
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-apm',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.49,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Apm SDK for Python',
|
|
@@ -164,6 +164,29 @@ class ApmClient(AbstractClient):
|
|
|
164
164
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
165
165
|
|
|
166
166
|
|
|
167
|
+
def DescribeApmAllVulCount(self, request):
|
|
168
|
+
r"""查询用户所有漏洞信息
|
|
169
|
+
|
|
170
|
+
:param request: Request instance for DescribeApmAllVulCount.
|
|
171
|
+
:type request: :class:`tencentcloud.apm.v20210622.models.DescribeApmAllVulCountRequest`
|
|
172
|
+
:rtype: :class:`tencentcloud.apm.v20210622.models.DescribeApmAllVulCountResponse`
|
|
173
|
+
|
|
174
|
+
"""
|
|
175
|
+
try:
|
|
176
|
+
params = request._serialize()
|
|
177
|
+
headers = request.headers
|
|
178
|
+
body = self.call("DescribeApmAllVulCount", params, headers=headers)
|
|
179
|
+
response = json.loads(body)
|
|
180
|
+
model = models.DescribeApmAllVulCountResponse()
|
|
181
|
+
model._deserialize(response["Response"])
|
|
182
|
+
return model
|
|
183
|
+
except Exception as e:
|
|
184
|
+
if isinstance(e, TencentCloudSDKException):
|
|
185
|
+
raise
|
|
186
|
+
else:
|
|
187
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
188
|
+
|
|
189
|
+
|
|
167
190
|
def DescribeApmApplicationConfig(self, request):
|
|
168
191
|
r"""查询应用配置接口
|
|
169
192
|
|
|
@@ -256,6 +279,29 @@ class ApmClient(AbstractClient):
|
|
|
256
279
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
257
280
|
|
|
258
281
|
|
|
282
|
+
def DescribeApmSQLInjectionDetail(self, request):
|
|
283
|
+
r"""查询SQL注入详情信息
|
|
284
|
+
|
|
285
|
+
:param request: Request instance for DescribeApmSQLInjectionDetail.
|
|
286
|
+
:type request: :class:`tencentcloud.apm.v20210622.models.DescribeApmSQLInjectionDetailRequest`
|
|
287
|
+
:rtype: :class:`tencentcloud.apm.v20210622.models.DescribeApmSQLInjectionDetailResponse`
|
|
288
|
+
|
|
289
|
+
"""
|
|
290
|
+
try:
|
|
291
|
+
params = request._serialize()
|
|
292
|
+
headers = request.headers
|
|
293
|
+
body = self.call("DescribeApmSQLInjectionDetail", params, headers=headers)
|
|
294
|
+
response = json.loads(body)
|
|
295
|
+
model = models.DescribeApmSQLInjectionDetailResponse()
|
|
296
|
+
model._deserialize(response["Response"])
|
|
297
|
+
return model
|
|
298
|
+
except Exception as e:
|
|
299
|
+
if isinstance(e, TencentCloudSDKException):
|
|
300
|
+
raise
|
|
301
|
+
else:
|
|
302
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
303
|
+
|
|
304
|
+
|
|
259
305
|
def DescribeApmSampleConfig(self, request):
|
|
260
306
|
r"""查询采样配置接口
|
|
261
307
|
|
|
@@ -302,6 +348,52 @@ class ApmClient(AbstractClient):
|
|
|
302
348
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
303
349
|
|
|
304
350
|
|
|
351
|
+
def DescribeApmVulnerabilityCount(self, request):
|
|
352
|
+
r"""查询漏洞指标
|
|
353
|
+
|
|
354
|
+
:param request: Request instance for DescribeApmVulnerabilityCount.
|
|
355
|
+
:type request: :class:`tencentcloud.apm.v20210622.models.DescribeApmVulnerabilityCountRequest`
|
|
356
|
+
:rtype: :class:`tencentcloud.apm.v20210622.models.DescribeApmVulnerabilityCountResponse`
|
|
357
|
+
|
|
358
|
+
"""
|
|
359
|
+
try:
|
|
360
|
+
params = request._serialize()
|
|
361
|
+
headers = request.headers
|
|
362
|
+
body = self.call("DescribeApmVulnerabilityCount", params, headers=headers)
|
|
363
|
+
response = json.loads(body)
|
|
364
|
+
model = models.DescribeApmVulnerabilityCountResponse()
|
|
365
|
+
model._deserialize(response["Response"])
|
|
366
|
+
return model
|
|
367
|
+
except Exception as e:
|
|
368
|
+
if isinstance(e, TencentCloudSDKException):
|
|
369
|
+
raise
|
|
370
|
+
else:
|
|
371
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
def DescribeApmVulnerabilityDetail(self, request):
|
|
375
|
+
r"""查询漏洞详情
|
|
376
|
+
|
|
377
|
+
:param request: Request instance for DescribeApmVulnerabilityDetail.
|
|
378
|
+
:type request: :class:`tencentcloud.apm.v20210622.models.DescribeApmVulnerabilityDetailRequest`
|
|
379
|
+
:rtype: :class:`tencentcloud.apm.v20210622.models.DescribeApmVulnerabilityDetailResponse`
|
|
380
|
+
|
|
381
|
+
"""
|
|
382
|
+
try:
|
|
383
|
+
params = request._serialize()
|
|
384
|
+
headers = request.headers
|
|
385
|
+
body = self.call("DescribeApmVulnerabilityDetail", params, headers=headers)
|
|
386
|
+
response = json.loads(body)
|
|
387
|
+
model = models.DescribeApmVulnerabilityDetailResponse()
|
|
388
|
+
model._deserialize(response["Response"])
|
|
389
|
+
return model
|
|
390
|
+
except Exception as e:
|
|
391
|
+
if isinstance(e, TencentCloudSDKException):
|
|
392
|
+
raise
|
|
393
|
+
else:
|
|
394
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
395
|
+
|
|
396
|
+
|
|
305
397
|
def DescribeGeneralApmApplicationConfig(self, request):
|
|
306
398
|
r"""查询应用配置信息
|
|
307
399
|
|
|
@@ -438,6 +530,29 @@ class ApmClient(AbstractClient):
|
|
|
438
530
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
439
531
|
|
|
440
532
|
|
|
533
|
+
def DescribeOPRAllVulCount(self, request):
|
|
534
|
+
r"""查询用户所有漏洞信息
|
|
535
|
+
|
|
536
|
+
:param request: Request instance for DescribeOPRAllVulCount.
|
|
537
|
+
:type request: :class:`tencentcloud.apm.v20210622.models.DescribeOPRAllVulCountRequest`
|
|
538
|
+
:rtype: :class:`tencentcloud.apm.v20210622.models.DescribeOPRAllVulCountResponse`
|
|
539
|
+
|
|
540
|
+
"""
|
|
541
|
+
try:
|
|
542
|
+
params = request._serialize()
|
|
543
|
+
headers = request.headers
|
|
544
|
+
body = self.call("DescribeOPRAllVulCount", params, headers=headers)
|
|
545
|
+
response = json.loads(body)
|
|
546
|
+
model = models.DescribeOPRAllVulCountResponse()
|
|
547
|
+
model._deserialize(response["Response"])
|
|
548
|
+
return model
|
|
549
|
+
except Exception as e:
|
|
550
|
+
if isinstance(e, TencentCloudSDKException):
|
|
551
|
+
raise
|
|
552
|
+
else:
|
|
553
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
554
|
+
|
|
555
|
+
|
|
441
556
|
def DescribeServiceOverview(self, request):
|
|
442
557
|
r"""应用概览数据拉取
|
|
443
558
|
|
|
@@ -133,6 +133,24 @@ class ApmClient(AbstractClient):
|
|
|
133
133
|
|
|
134
134
|
return await self.call_and_deserialize(**kwargs)
|
|
135
135
|
|
|
136
|
+
async def DescribeApmAllVulCount(
|
|
137
|
+
self,
|
|
138
|
+
request: models.DescribeApmAllVulCountRequest,
|
|
139
|
+
opts: Dict = None,
|
|
140
|
+
) -> models.DescribeApmAllVulCountResponse:
|
|
141
|
+
"""
|
|
142
|
+
查询用户所有漏洞信息
|
|
143
|
+
"""
|
|
144
|
+
|
|
145
|
+
kwargs = {}
|
|
146
|
+
kwargs["action"] = "DescribeApmAllVulCount"
|
|
147
|
+
kwargs["params"] = request._serialize()
|
|
148
|
+
kwargs["resp_cls"] = models.DescribeApmAllVulCountResponse
|
|
149
|
+
kwargs["headers"] = request.headers
|
|
150
|
+
kwargs["opts"] = opts or {}
|
|
151
|
+
|
|
152
|
+
return await self.call_and_deserialize(**kwargs)
|
|
153
|
+
|
|
136
154
|
async def DescribeApmApplicationConfig(
|
|
137
155
|
self,
|
|
138
156
|
request: models.DescribeApmApplicationConfigRequest,
|
|
@@ -205,6 +223,24 @@ class ApmClient(AbstractClient):
|
|
|
205
223
|
|
|
206
224
|
return await self.call_and_deserialize(**kwargs)
|
|
207
225
|
|
|
226
|
+
async def DescribeApmSQLInjectionDetail(
|
|
227
|
+
self,
|
|
228
|
+
request: models.DescribeApmSQLInjectionDetailRequest,
|
|
229
|
+
opts: Dict = None,
|
|
230
|
+
) -> models.DescribeApmSQLInjectionDetailResponse:
|
|
231
|
+
"""
|
|
232
|
+
查询SQL注入详情信息
|
|
233
|
+
"""
|
|
234
|
+
|
|
235
|
+
kwargs = {}
|
|
236
|
+
kwargs["action"] = "DescribeApmSQLInjectionDetail"
|
|
237
|
+
kwargs["params"] = request._serialize()
|
|
238
|
+
kwargs["resp_cls"] = models.DescribeApmSQLInjectionDetailResponse
|
|
239
|
+
kwargs["headers"] = request.headers
|
|
240
|
+
kwargs["opts"] = opts or {}
|
|
241
|
+
|
|
242
|
+
return await self.call_and_deserialize(**kwargs)
|
|
243
|
+
|
|
208
244
|
async def DescribeApmSampleConfig(
|
|
209
245
|
self,
|
|
210
246
|
request: models.DescribeApmSampleConfigRequest,
|
|
@@ -241,6 +277,42 @@ class ApmClient(AbstractClient):
|
|
|
241
277
|
|
|
242
278
|
return await self.call_and_deserialize(**kwargs)
|
|
243
279
|
|
|
280
|
+
async def DescribeApmVulnerabilityCount(
|
|
281
|
+
self,
|
|
282
|
+
request: models.DescribeApmVulnerabilityCountRequest,
|
|
283
|
+
opts: Dict = None,
|
|
284
|
+
) -> models.DescribeApmVulnerabilityCountResponse:
|
|
285
|
+
"""
|
|
286
|
+
查询漏洞指标
|
|
287
|
+
"""
|
|
288
|
+
|
|
289
|
+
kwargs = {}
|
|
290
|
+
kwargs["action"] = "DescribeApmVulnerabilityCount"
|
|
291
|
+
kwargs["params"] = request._serialize()
|
|
292
|
+
kwargs["resp_cls"] = models.DescribeApmVulnerabilityCountResponse
|
|
293
|
+
kwargs["headers"] = request.headers
|
|
294
|
+
kwargs["opts"] = opts or {}
|
|
295
|
+
|
|
296
|
+
return await self.call_and_deserialize(**kwargs)
|
|
297
|
+
|
|
298
|
+
async def DescribeApmVulnerabilityDetail(
|
|
299
|
+
self,
|
|
300
|
+
request: models.DescribeApmVulnerabilityDetailRequest,
|
|
301
|
+
opts: Dict = None,
|
|
302
|
+
) -> models.DescribeApmVulnerabilityDetailResponse:
|
|
303
|
+
"""
|
|
304
|
+
查询漏洞详情
|
|
305
|
+
"""
|
|
306
|
+
|
|
307
|
+
kwargs = {}
|
|
308
|
+
kwargs["action"] = "DescribeApmVulnerabilityDetail"
|
|
309
|
+
kwargs["params"] = request._serialize()
|
|
310
|
+
kwargs["resp_cls"] = models.DescribeApmVulnerabilityDetailResponse
|
|
311
|
+
kwargs["headers"] = request.headers
|
|
312
|
+
kwargs["opts"] = opts or {}
|
|
313
|
+
|
|
314
|
+
return await self.call_and_deserialize(**kwargs)
|
|
315
|
+
|
|
244
316
|
async def DescribeGeneralApmApplicationConfig(
|
|
245
317
|
self,
|
|
246
318
|
request: models.DescribeGeneralApmApplicationConfigRequest,
|
|
@@ -352,6 +424,24 @@ class ApmClient(AbstractClient):
|
|
|
352
424
|
|
|
353
425
|
return await self.call_and_deserialize(**kwargs)
|
|
354
426
|
|
|
427
|
+
async def DescribeOPRAllVulCount(
|
|
428
|
+
self,
|
|
429
|
+
request: models.DescribeOPRAllVulCountRequest,
|
|
430
|
+
opts: Dict = None,
|
|
431
|
+
) -> models.DescribeOPRAllVulCountResponse:
|
|
432
|
+
"""
|
|
433
|
+
查询用户所有漏洞信息
|
|
434
|
+
"""
|
|
435
|
+
|
|
436
|
+
kwargs = {}
|
|
437
|
+
kwargs["action"] = "DescribeOPRAllVulCount"
|
|
438
|
+
kwargs["params"] = request._serialize()
|
|
439
|
+
kwargs["resp_cls"] = models.DescribeOPRAllVulCountResponse
|
|
440
|
+
kwargs["headers"] = request.headers
|
|
441
|
+
kwargs["opts"] = opts or {}
|
|
442
|
+
|
|
443
|
+
return await self.call_and_deserialize(**kwargs)
|
|
444
|
+
|
|
355
445
|
async def DescribeServiceOverview(
|
|
356
446
|
self,
|
|
357
447
|
request: models.DescribeServiceOverviewRequest,
|