tencentcloud-sdk-python-cfw 3.0.1255__tar.gz → 3.0.1268__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-cfw-3.0.1255 → tencentcloud-sdk-python-cfw-3.0.1268}/PKG-INFO +3 -3
- {tencentcloud-sdk-python-cfw-3.0.1255 → tencentcloud-sdk-python-cfw-3.0.1268}/setup.cfg +0 -1
- {tencentcloud-sdk-python-cfw-3.0.1255 → tencentcloud-sdk-python-cfw-3.0.1268}/setup.py +1 -1
- {tencentcloud-sdk-python-cfw-3.0.1255 → tencentcloud-sdk-python-cfw-3.0.1268}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cfw-3.0.1255 → tencentcloud-sdk-python-cfw-3.0.1268}/tencentcloud/cfw/v20190904/cfw_client.py +10 -32
- {tencentcloud-sdk-python-cfw-3.0.1255 → tencentcloud-sdk-python-cfw-3.0.1268}/tencentcloud/cfw/v20190904/models.py +5205 -1444
- {tencentcloud-sdk-python-cfw-3.0.1255 → tencentcloud-sdk-python-cfw-3.0.1268}/tencentcloud_sdk_python_cfw.egg-info/PKG-INFO +3 -3
- tencentcloud-sdk-python-cfw-3.0.1268/tencentcloud_sdk_python_cfw.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cfw-3.0.1255/tencentcloud_sdk_python_cfw.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cfw-3.0.1255 → tencentcloud-sdk-python-cfw-3.0.1268}/README.rst +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1255 → tencentcloud-sdk-python-cfw-3.0.1268}/tencentcloud/cfw/__init__.py +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1255 → tencentcloud-sdk-python-cfw-3.0.1268}/tencentcloud/cfw/v20190904/__init__.py +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1255 → tencentcloud-sdk-python-cfw-3.0.1268}/tencentcloud/cfw/v20190904/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1255 → tencentcloud-sdk-python-cfw-3.0.1268}/tencentcloud_sdk_python_cfw.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1255 → tencentcloud-sdk-python-cfw-3.0.1268}/tencentcloud_sdk_python_cfw.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1255 → tencentcloud-sdk-python-cfw-3.0.1268}/tencentcloud_sdk_python_cfw.egg-info/top_level.txt +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
Metadata-Version: 1.
|
|
1
|
+
Metadata-Version: 1.2
|
|
2
2
|
Name: tencentcloud-sdk-python-cfw
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.1268
|
|
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
|
|
7
|
-
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
8
|
License: Apache License 2.0
|
|
9
9
|
Description: ============================
|
|
10
10
|
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.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1268"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cfw SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -27,7 +27,9 @@ class CfwClient(AbstractClient):
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
def AddAcRule(self, request):
|
|
30
|
-
"""
|
|
30
|
+
"""接口不再使用,已有新接口AddAclRule
|
|
31
|
+
|
|
32
|
+
添加互联网边界规则
|
|
31
33
|
|
|
32
34
|
:param request: Request instance for AddAcRule.
|
|
33
35
|
:type request: :class:`tencentcloud.cfw.v20190904.models.AddAcRuleRequest`
|
|
@@ -96,7 +98,7 @@ class CfwClient(AbstractClient):
|
|
|
96
98
|
|
|
97
99
|
|
|
98
100
|
def AddNatAcRule(self, request):
|
|
99
|
-
"""添加nat访问控制规则
|
|
101
|
+
"""添加nat访问控制规则
|
|
100
102
|
|
|
101
103
|
:param request: Request instance for AddNatAcRule.
|
|
102
104
|
:type request: :class:`tencentcloud.cfw.v20190904.models.AddNatAcRuleRequest`
|
|
@@ -1337,29 +1339,6 @@ class CfwClient(AbstractClient):
|
|
|
1337
1339
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1338
1340
|
|
|
1339
1341
|
|
|
1340
|
-
def DescribeNatSwitchList(self, request):
|
|
1341
|
-
"""查询NAT边界防火墙开关列表
|
|
1342
|
-
|
|
1343
|
-
:param request: Request instance for DescribeNatSwitchList.
|
|
1344
|
-
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeNatSwitchListRequest`
|
|
1345
|
-
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeNatSwitchListResponse`
|
|
1346
|
-
|
|
1347
|
-
"""
|
|
1348
|
-
try:
|
|
1349
|
-
params = request._serialize()
|
|
1350
|
-
headers = request.headers
|
|
1351
|
-
body = self.call("DescribeNatSwitchList", params, headers=headers)
|
|
1352
|
-
response = json.loads(body)
|
|
1353
|
-
model = models.DescribeNatSwitchListResponse()
|
|
1354
|
-
model._deserialize(response["Response"])
|
|
1355
|
-
return model
|
|
1356
|
-
except Exception as e:
|
|
1357
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1358
|
-
raise
|
|
1359
|
-
else:
|
|
1360
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
1342
|
def DescribeResourceGroup(self, request):
|
|
1364
1343
|
"""DescribeResourceGroup资产中心资产树信息
|
|
1365
1344
|
|
|
@@ -1384,7 +1363,7 @@ class CfwClient(AbstractClient):
|
|
|
1384
1363
|
|
|
1385
1364
|
|
|
1386
1365
|
def DescribeResourceGroupNew(self, request):
|
|
1387
|
-
"""
|
|
1366
|
+
"""资产中心资产组数数据信息查询
|
|
1388
1367
|
|
|
1389
1368
|
:param request: Request instance for DescribeResourceGroupNew.
|
|
1390
1369
|
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeResourceGroupNewRequest`
|
|
@@ -1476,9 +1455,7 @@ class CfwClient(AbstractClient):
|
|
|
1476
1455
|
|
|
1477
1456
|
|
|
1478
1457
|
def DescribeSwitchLists(self, request):
|
|
1479
|
-
"""
|
|
1480
|
-
|
|
1481
|
-
防火墙开关列表,已废弃,请使用DescribeFwEdgeIps
|
|
1458
|
+
"""防火墙开关列表,已废弃,请使用DescribeFwEdgeIps
|
|
1482
1459
|
|
|
1483
1460
|
:param request: Request instance for DescribeSwitchLists.
|
|
1484
1461
|
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeSwitchListsRequest`
|
|
@@ -1501,7 +1478,7 @@ class CfwClient(AbstractClient):
|
|
|
1501
1478
|
|
|
1502
1479
|
|
|
1503
1480
|
def DescribeTLogInfo(self, request):
|
|
1504
|
-
"""DescribeTLogInfo
|
|
1481
|
+
"""DescribeTLogInfo告警中心概况查询
|
|
1505
1482
|
|
|
1506
1483
|
:param request: Request instance for DescribeTLogInfo.
|
|
1507
1484
|
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeTLogInfoRequest`
|
|
@@ -1777,7 +1754,9 @@ class CfwClient(AbstractClient):
|
|
|
1777
1754
|
|
|
1778
1755
|
|
|
1779
1756
|
def ModifyAllVPCSwitchStatus(self, request):
|
|
1780
|
-
"""
|
|
1757
|
+
"""该接口已不再使用
|
|
1758
|
+
|
|
1759
|
+
VPC防火墙一键开关
|
|
1781
1760
|
|
|
1782
1761
|
:param request: Request instance for ModifyAllVPCSwitchStatus.
|
|
1783
1762
|
:type request: :class:`tencentcloud.cfw.v20190904.models.ModifyAllVPCSwitchStatusRequest`
|
|
@@ -2197,7 +2176,6 @@ class CfwClient(AbstractClient):
|
|
|
2197
2176
|
def ModifyResourceGroup(self, request):
|
|
2198
2177
|
"""ModifyResourceGroup-资产中心资产组信息修改
|
|
2199
2178
|
|
|
2200
|
-
|
|
2201
2179
|
:param request: Request instance for ModifyResourceGroup.
|
|
2202
2180
|
:type request: :class:`tencentcloud.cfw.v20190904.models.ModifyResourceGroupRequest`
|
|
2203
2181
|
:rtype: :class:`tencentcloud.cfw.v20190904.models.ModifyResourceGroupResponse`
|