tencentcloud-sdk-python-cfw 3.1.69__tar.gz → 3.1.79__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 (17) hide show
  1. {tencentcloud_sdk_python_cfw-3.1.69 → tencentcloud_sdk_python_cfw-3.1.79}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_cfw-3.1.69 → tencentcloud_sdk_python_cfw-3.1.79}/setup.py +1 -1
  3. {tencentcloud_sdk_python_cfw-3.1.69 → tencentcloud_sdk_python_cfw-3.1.79}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_cfw-3.1.69 → tencentcloud_sdk_python_cfw-3.1.79}/tencentcloud/cfw/v20190904/cfw_client.py +69 -0
  5. {tencentcloud_sdk_python_cfw-3.1.69 → tencentcloud_sdk_python_cfw-3.1.79}/tencentcloud/cfw/v20190904/cfw_client_async.py +54 -0
  6. {tencentcloud_sdk_python_cfw-3.1.69 → tencentcloud_sdk_python_cfw-3.1.79}/tencentcloud/cfw/v20190904/models.py +1158 -68
  7. {tencentcloud_sdk_python_cfw-3.1.69 → tencentcloud_sdk_python_cfw-3.1.79}/tencentcloud_sdk_python_cfw.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_cfw-3.1.79/tencentcloud_sdk_python_cfw.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_cfw-3.1.69/tencentcloud_sdk_python_cfw.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_cfw-3.1.69 → tencentcloud_sdk_python_cfw-3.1.79}/README.rst +0 -0
  11. {tencentcloud_sdk_python_cfw-3.1.69 → tencentcloud_sdk_python_cfw-3.1.79}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_cfw-3.1.69 → tencentcloud_sdk_python_cfw-3.1.79}/tencentcloud/cfw/__init__.py +0 -0
  13. {tencentcloud_sdk_python_cfw-3.1.69 → tencentcloud_sdk_python_cfw-3.1.79}/tencentcloud/cfw/v20190904/__init__.py +0 -0
  14. {tencentcloud_sdk_python_cfw-3.1.69 → tencentcloud_sdk_python_cfw-3.1.79}/tencentcloud/cfw/v20190904/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_cfw-3.1.69 → tencentcloud_sdk_python_cfw-3.1.79}/tencentcloud_sdk_python_cfw.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_cfw-3.1.69 → tencentcloud_sdk_python_cfw-3.1.79}/tencentcloud_sdk_python_cfw.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_cfw-3.1.69 → tencentcloud_sdk_python_cfw-3.1.79}/tencentcloud_sdk_python_cfw.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cfw
3
- Version: 3.1.69
3
+ Version: 3.1.79
4
4
  Summary: Tencent Cloud Cfw 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.69
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.79
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-cfw',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.69,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.79,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Cfw SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.69'
17
+ __version__ = '3.1.79'
@@ -325,6 +325,29 @@ class CfwClient(AbstractClient):
325
325
  raise TencentCloudSDKException(type(e).__name__, str(e))
326
326
 
327
327
 
328
+ def CreateNatFwDnatRule(self, request):
329
+ r"""创建Nat防火墙Dnat规则
330
+
331
+ :param request: Request instance for CreateNatFwDnatRule.
332
+ :type request: :class:`tencentcloud.cfw.v20190904.models.CreateNatFwDnatRuleRequest`
333
+ :rtype: :class:`tencentcloud.cfw.v20190904.models.CreateNatFwDnatRuleResponse`
334
+
335
+ """
336
+ try:
337
+ params = request._serialize()
338
+ headers = request.headers
339
+ body = self.call("CreateNatFwDnatRule", params, headers=headers)
340
+ response = json.loads(body)
341
+ model = models.CreateNatFwDnatRuleResponse()
342
+ model._deserialize(response["Response"])
343
+ return model
344
+ except Exception as e:
345
+ if isinstance(e, TencentCloudSDKException):
346
+ raise
347
+ else:
348
+ raise TencentCloudSDKException(type(e).__name__, str(e))
349
+
350
+
328
351
  def CreateNatFwInstance(self, request):
329
352
  r"""创建NAT防火墙实例(Region参数必填)
330
353
 
@@ -509,6 +532,29 @@ class CfwClient(AbstractClient):
509
532
  raise TencentCloudSDKException(type(e).__name__, str(e))
510
533
 
511
534
 
535
+ def DeleteNatFwDnatRule(self, request):
536
+ r"""删除Nat防火墙Dnat规则
537
+
538
+ :param request: Request instance for DeleteNatFwDnatRule.
539
+ :type request: :class:`tencentcloud.cfw.v20190904.models.DeleteNatFwDnatRuleRequest`
540
+ :rtype: :class:`tencentcloud.cfw.v20190904.models.DeleteNatFwDnatRuleResponse`
541
+
542
+ """
543
+ try:
544
+ params = request._serialize()
545
+ headers = request.headers
546
+ body = self.call("DeleteNatFwDnatRule", params, headers=headers)
547
+ response = json.loads(body)
548
+ model = models.DeleteNatFwDnatRuleResponse()
549
+ model._deserialize(response["Response"])
550
+ return model
551
+ except Exception as e:
552
+ if isinstance(e, TencentCloudSDKException):
553
+ raise
554
+ else:
555
+ raise TencentCloudSDKException(type(e).__name__, str(e))
556
+
557
+
512
558
  def DeleteNatFwInstance(self, request):
513
559
  r"""销毁防火墙实例
514
560
 
@@ -1247,6 +1293,29 @@ class CfwClient(AbstractClient):
1247
1293
  raise TencentCloudSDKException(type(e).__name__, str(e))
1248
1294
 
1249
1295
 
1296
+ def DescribeNDRAssetIdentificationList(self, request):
1297
+ r"""DescribeNDRAssetIdentificationList - 获取NDR资产识别结果列表
1298
+
1299
+ :param request: Request instance for DescribeNDRAssetIdentificationList.
1300
+ :type request: :class:`tencentcloud.cfw.v20190904.models.DescribeNDRAssetIdentificationListRequest`
1301
+ :rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeNDRAssetIdentificationListResponse`
1302
+
1303
+ """
1304
+ try:
1305
+ params = request._serialize()
1306
+ headers = request.headers
1307
+ body = self.call("DescribeNDRAssetIdentificationList", params, headers=headers)
1308
+ response = json.loads(body)
1309
+ model = models.DescribeNDRAssetIdentificationListResponse()
1310
+ model._deserialize(response["Response"])
1311
+ return model
1312
+ except Exception as e:
1313
+ if isinstance(e, TencentCloudSDKException):
1314
+ raise
1315
+ else:
1316
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1317
+
1318
+
1250
1319
  def DescribeNatAcRule(self, request):
1251
1320
  r"""查询NAT访问控制列表
1252
1321
 
@@ -259,6 +259,24 @@ class CfwClient(AbstractClient):
259
259
 
260
260
  return await self.call_and_deserialize(**kwargs)
261
261
 
262
+ async def CreateNatFwDnatRule(
263
+ self,
264
+ request: models.CreateNatFwDnatRuleRequest,
265
+ opts: Dict = None,
266
+ ) -> models.CreateNatFwDnatRuleResponse:
267
+ """
268
+ 创建Nat防火墙Dnat规则
269
+ """
270
+
271
+ kwargs = {}
272
+ kwargs["action"] = "CreateNatFwDnatRule"
273
+ kwargs["params"] = request._serialize()
274
+ kwargs["resp_cls"] = models.CreateNatFwDnatRuleResponse
275
+ kwargs["headers"] = request.headers
276
+ kwargs["opts"] = opts or {}
277
+
278
+ return await self.call_and_deserialize(**kwargs)
279
+
262
280
  async def CreateNatFwInstance(
263
281
  self,
264
282
  request: models.CreateNatFwInstanceRequest,
@@ -403,6 +421,24 @@ class CfwClient(AbstractClient):
403
421
 
404
422
  return await self.call_and_deserialize(**kwargs)
405
423
 
424
+ async def DeleteNatFwDnatRule(
425
+ self,
426
+ request: models.DeleteNatFwDnatRuleRequest,
427
+ opts: Dict = None,
428
+ ) -> models.DeleteNatFwDnatRuleResponse:
429
+ """
430
+ 删除Nat防火墙Dnat规则
431
+ """
432
+
433
+ kwargs = {}
434
+ kwargs["action"] = "DeleteNatFwDnatRule"
435
+ kwargs["params"] = request._serialize()
436
+ kwargs["resp_cls"] = models.DeleteNatFwDnatRuleResponse
437
+ kwargs["headers"] = request.headers
438
+ kwargs["opts"] = opts or {}
439
+
440
+ return await self.call_and_deserialize(**kwargs)
441
+
406
442
  async def DeleteNatFwInstance(
407
443
  self,
408
444
  request: models.DeleteNatFwInstanceRequest,
@@ -981,6 +1017,24 @@ class CfwClient(AbstractClient):
981
1017
 
982
1018
  return await self.call_and_deserialize(**kwargs)
983
1019
 
1020
+ async def DescribeNDRAssetIdentificationList(
1021
+ self,
1022
+ request: models.DescribeNDRAssetIdentificationListRequest,
1023
+ opts: Dict = None,
1024
+ ) -> models.DescribeNDRAssetIdentificationListResponse:
1025
+ """
1026
+ DescribeNDRAssetIdentificationList - 获取NDR资产识别结果列表
1027
+ """
1028
+
1029
+ kwargs = {}
1030
+ kwargs["action"] = "DescribeNDRAssetIdentificationList"
1031
+ kwargs["params"] = request._serialize()
1032
+ kwargs["resp_cls"] = models.DescribeNDRAssetIdentificationListResponse
1033
+ kwargs["headers"] = request.headers
1034
+ kwargs["opts"] = opts or {}
1035
+
1036
+ return await self.call_and_deserialize(**kwargs)
1037
+
984
1038
  async def DescribeNatAcRule(
985
1039
  self,
986
1040
  request: models.DescribeNatAcRuleRequest,