tencentcloud-sdk-python-cfw 3.0.1256__tar.gz → 3.0.1294__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 (16) hide show
  1. {tencentcloud-sdk-python-cfw-3.0.1256 → tencentcloud-sdk-python-cfw-3.0.1294}/PKG-INFO +3 -3
  2. {tencentcloud-sdk-python-cfw-3.0.1256 → tencentcloud-sdk-python-cfw-3.0.1294}/setup.cfg +0 -1
  3. {tencentcloud-sdk-python-cfw-3.0.1256 → tencentcloud-sdk-python-cfw-3.0.1294}/setup.py +1 -1
  4. {tencentcloud-sdk-python-cfw-3.0.1256 → tencentcloud-sdk-python-cfw-3.0.1294}/tencentcloud/__init__.py +1 -1
  5. {tencentcloud-sdk-python-cfw-3.0.1256 → tencentcloud-sdk-python-cfw-3.0.1294}/tencentcloud/cfw/v20190904/cfw_client.py +10 -34
  6. {tencentcloud-sdk-python-cfw-3.0.1256 → tencentcloud-sdk-python-cfw-3.0.1294}/tencentcloud/cfw/v20190904/models.py +5205 -1444
  7. {tencentcloud-sdk-python-cfw-3.0.1256 → tencentcloud-sdk-python-cfw-3.0.1294}/tencentcloud_sdk_python_cfw.egg-info/PKG-INFO +3 -3
  8. tencentcloud-sdk-python-cfw-3.0.1294/tencentcloud_sdk_python_cfw.egg-info/requires.txt +1 -0
  9. tencentcloud-sdk-python-cfw-3.0.1256/tencentcloud_sdk_python_cfw.egg-info/requires.txt +0 -1
  10. {tencentcloud-sdk-python-cfw-3.0.1256 → tencentcloud-sdk-python-cfw-3.0.1294}/README.rst +0 -0
  11. {tencentcloud-sdk-python-cfw-3.0.1256 → tencentcloud-sdk-python-cfw-3.0.1294}/tencentcloud/cfw/__init__.py +0 -0
  12. {tencentcloud-sdk-python-cfw-3.0.1256 → tencentcloud-sdk-python-cfw-3.0.1294}/tencentcloud/cfw/v20190904/__init__.py +0 -0
  13. {tencentcloud-sdk-python-cfw-3.0.1256 → tencentcloud-sdk-python-cfw-3.0.1294}/tencentcloud/cfw/v20190904/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-cfw-3.0.1256 → tencentcloud-sdk-python-cfw-3.0.1294}/tencentcloud_sdk_python_cfw.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-cfw-3.0.1256 → tencentcloud-sdk-python-cfw-3.0.1294}/tencentcloud_sdk_python_cfw.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-cfw-3.0.1256 → tencentcloud-sdk-python-cfw-3.0.1294}/tencentcloud_sdk_python_cfw.egg-info/top_level.txt +0 -0
@@ -1,10 +1,10 @@
1
- Metadata-Version: 1.1
1
+ Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-cfw
3
- Version: 3.0.1256
3
+ Version: 3.0.1294
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
- Author-email: tencentcloudapi@tencent.com
7
+ Maintainer-email: tencentcloudapi@tencent.com
8
8
  License: Apache License 2.0
9
9
  Description: ============================
10
10
  Tencent Cloud SDK for Python
@@ -4,5 +4,4 @@ universal = 1
4
4
  [egg_info]
5
5
  tag_build =
6
6
  tag_date = 0
7
- tag_svn_revision = 0
8
7
 
@@ -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.1256"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1294"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Cfw SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1256'
17
+ __version__ = '3.0.1294'
@@ -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,31 +1339,6 @@ class CfwClient(AbstractClient):
1337
1339
  raise TencentCloudSDKException(type(e).__name__, str(e))
1338
1340
 
1339
1341
 
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
1342
  def DescribeResourceGroup(self, request):
1366
1343
  """DescribeResourceGroup资产中心资产树信息
1367
1344
 
@@ -1386,7 +1363,7 @@ class CfwClient(AbstractClient):
1386
1363
 
1387
1364
 
1388
1365
  def DescribeResourceGroupNew(self, request):
1389
- """DescribeResourceGroupNew资产中心资产树信息
1366
+ """资产中心资产组数数据信息查询
1390
1367
 
1391
1368
  :param request: Request instance for DescribeResourceGroupNew.
1392
1369
  :type request: :class:`tencentcloud.cfw.v20190904.models.DescribeResourceGroupNewRequest`
@@ -1478,9 +1455,7 @@ class CfwClient(AbstractClient):
1478
1455
 
1479
1456
 
1480
1457
  def DescribeSwitchLists(self, request):
1481
- """历史接口,已经废弃,产品有新的替代接口
1482
-
1483
- 防火墙开关列表,已废弃,请使用DescribeFwEdgeIps
1458
+ """防火墙开关列表,已废弃,请使用DescribeFwEdgeIps
1484
1459
 
1485
1460
  :param request: Request instance for DescribeSwitchLists.
1486
1461
  :type request: :class:`tencentcloud.cfw.v20190904.models.DescribeSwitchListsRequest`
@@ -1503,7 +1478,7 @@ class CfwClient(AbstractClient):
1503
1478
 
1504
1479
 
1505
1480
  def DescribeTLogInfo(self, request):
1506
- """DescribeTLogInfo告警中心概况
1481
+ """DescribeTLogInfo告警中心概况查询
1507
1482
 
1508
1483
  :param request: Request instance for DescribeTLogInfo.
1509
1484
  :type request: :class:`tencentcloud.cfw.v20190904.models.DescribeTLogInfoRequest`
@@ -1779,7 +1754,9 @@ class CfwClient(AbstractClient):
1779
1754
 
1780
1755
 
1781
1756
  def ModifyAllVPCSwitchStatus(self, request):
1782
- """VPC防火墙一键开关
1757
+ """该接口已不再使用
1758
+
1759
+ VPC防火墙一键开关
1783
1760
 
1784
1761
  :param request: Request instance for ModifyAllVPCSwitchStatus.
1785
1762
  :type request: :class:`tencentcloud.cfw.v20190904.models.ModifyAllVPCSwitchStatusRequest`
@@ -2199,7 +2176,6 @@ class CfwClient(AbstractClient):
2199
2176
  def ModifyResourceGroup(self, request):
2200
2177
  """ModifyResourceGroup-资产中心资产组信息修改
2201
2178
 
2202
-
2203
2179
  :param request: Request instance for ModifyResourceGroup.
2204
2180
  :type request: :class:`tencentcloud.cfw.v20190904.models.ModifyResourceGroupRequest`
2205
2181
  :rtype: :class:`tencentcloud.cfw.v20190904.models.ModifyResourceGroupResponse`