tencentcloud-sdk-python-cfw 3.0.1257__tar.gz → 3.0.1259__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.1257 → tencentcloud-sdk-python-cfw-3.0.1259}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cfw-3.0.1257 → tencentcloud-sdk-python-cfw-3.0.1259}/setup.py +1 -1
- {tencentcloud-sdk-python-cfw-3.0.1257 → tencentcloud-sdk-python-cfw-3.0.1259}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cfw-3.0.1257 → tencentcloud-sdk-python-cfw-3.0.1259}/tencentcloud/cfw/v20190904/cfw_client.py +7 -33
- {tencentcloud-sdk-python-cfw-3.0.1257 → tencentcloud-sdk-python-cfw-3.0.1259}/tencentcloud/cfw/v20190904/models.py +711 -1329
- {tencentcloud-sdk-python-cfw-3.0.1257 → tencentcloud-sdk-python-cfw-3.0.1259}/tencentcloud_sdk_python_cfw.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cfw-3.0.1259/tencentcloud_sdk_python_cfw.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cfw-3.0.1257/tencentcloud_sdk_python_cfw.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cfw-3.0.1257 → tencentcloud-sdk-python-cfw-3.0.1259}/README.rst +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1257 → tencentcloud-sdk-python-cfw-3.0.1259}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1257 → tencentcloud-sdk-python-cfw-3.0.1259}/tencentcloud/cfw/__init__.py +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1257 → tencentcloud-sdk-python-cfw-3.0.1259}/tencentcloud/cfw/v20190904/__init__.py +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1257 → tencentcloud-sdk-python-cfw-3.0.1259}/tencentcloud/cfw/v20190904/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1257 → tencentcloud-sdk-python-cfw-3.0.1259}/tencentcloud_sdk_python_cfw.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1257 → tencentcloud-sdk-python-cfw-3.0.1259}/tencentcloud_sdk_python_cfw.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1257 → tencentcloud-sdk-python-cfw-3.0.1259}/tencentcloud_sdk_python_cfw.egg-info/top_level.txt +0 -0
|
@@ -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.1259"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cfw SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -96,7 +96,7 @@ class CfwClient(AbstractClient):
|
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
def AddNatAcRule(self, request):
|
|
99
|
-
"""添加nat访问控制规则
|
|
99
|
+
"""添加nat访问控制规则
|
|
100
100
|
|
|
101
101
|
:param request: Request instance for AddNatAcRule.
|
|
102
102
|
:type request: :class:`tencentcloud.cfw.v20190904.models.AddNatAcRuleRequest`
|
|
@@ -1337,31 +1337,6 @@ class CfwClient(AbstractClient):
|
|
|
1337
1337
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1338
1338
|
|
|
1339
1339
|
|
|
1340
|
-
def DescribeNatSwitchList(self, request):
|
|
1341
|
-
"""旧接口,不再维护
|
|
1342
|
-
|
|
1343
|
-
查询NAT边界防火墙开关列表
|
|
1344
|
-
|
|
1345
|
-
:param request: Request instance for DescribeNatSwitchList.
|
|
1346
|
-
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeNatSwitchListRequest`
|
|
1347
|
-
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeNatSwitchListResponse`
|
|
1348
|
-
|
|
1349
|
-
"""
|
|
1350
|
-
try:
|
|
1351
|
-
params = request._serialize()
|
|
1352
|
-
headers = request.headers
|
|
1353
|
-
body = self.call("DescribeNatSwitchList", params, headers=headers)
|
|
1354
|
-
response = json.loads(body)
|
|
1355
|
-
model = models.DescribeNatSwitchListResponse()
|
|
1356
|
-
model._deserialize(response["Response"])
|
|
1357
|
-
return model
|
|
1358
|
-
except Exception as e:
|
|
1359
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1360
|
-
raise
|
|
1361
|
-
else:
|
|
1362
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
1340
|
def DescribeResourceGroup(self, request):
|
|
1366
1341
|
"""DescribeResourceGroup资产中心资产树信息
|
|
1367
1342
|
|
|
@@ -1386,7 +1361,7 @@ class CfwClient(AbstractClient):
|
|
|
1386
1361
|
|
|
1387
1362
|
|
|
1388
1363
|
def DescribeResourceGroupNew(self, request):
|
|
1389
|
-
"""
|
|
1364
|
+
"""资产中心资产组数数据信息查询
|
|
1390
1365
|
|
|
1391
1366
|
:param request: Request instance for DescribeResourceGroupNew.
|
|
1392
1367
|
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeResourceGroupNewRequest`
|
|
@@ -1478,9 +1453,7 @@ class CfwClient(AbstractClient):
|
|
|
1478
1453
|
|
|
1479
1454
|
|
|
1480
1455
|
def DescribeSwitchLists(self, request):
|
|
1481
|
-
"""
|
|
1482
|
-
|
|
1483
|
-
防火墙开关列表,已废弃,请使用DescribeFwEdgeIps
|
|
1456
|
+
"""防火墙开关列表,已废弃,请使用DescribeFwEdgeIps
|
|
1484
1457
|
|
|
1485
1458
|
:param request: Request instance for DescribeSwitchLists.
|
|
1486
1459
|
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeSwitchListsRequest`
|
|
@@ -1503,7 +1476,7 @@ class CfwClient(AbstractClient):
|
|
|
1503
1476
|
|
|
1504
1477
|
|
|
1505
1478
|
def DescribeTLogInfo(self, request):
|
|
1506
|
-
"""DescribeTLogInfo
|
|
1479
|
+
"""DescribeTLogInfo告警中心概况查询
|
|
1507
1480
|
|
|
1508
1481
|
:param request: Request instance for DescribeTLogInfo.
|
|
1509
1482
|
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeTLogInfoRequest`
|
|
@@ -1779,7 +1752,9 @@ class CfwClient(AbstractClient):
|
|
|
1779
1752
|
|
|
1780
1753
|
|
|
1781
1754
|
def ModifyAllVPCSwitchStatus(self, request):
|
|
1782
|
-
"""
|
|
1755
|
+
"""该接口已不再使用
|
|
1756
|
+
|
|
1757
|
+
VPC防火墙一键开关
|
|
1783
1758
|
|
|
1784
1759
|
:param request: Request instance for ModifyAllVPCSwitchStatus.
|
|
1785
1760
|
:type request: :class:`tencentcloud.cfw.v20190904.models.ModifyAllVPCSwitchStatusRequest`
|
|
@@ -2199,7 +2174,6 @@ class CfwClient(AbstractClient):
|
|
|
2199
2174
|
def ModifyResourceGroup(self, request):
|
|
2200
2175
|
"""ModifyResourceGroup-资产中心资产组信息修改
|
|
2201
2176
|
|
|
2202
|
-
|
|
2203
2177
|
:param request: Request instance for ModifyResourceGroup.
|
|
2204
2178
|
:type request: :class:`tencentcloud.cfw.v20190904.models.ModifyResourceGroupRequest`
|
|
2205
2179
|
:rtype: :class:`tencentcloud.cfw.v20190904.models.ModifyResourceGroupResponse`
|