tencentcloud-sdk-python-cfw 3.0.1465__tar.gz → 3.1.4__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 (19) hide show
  1. tencentcloud_sdk_python_cfw-3.1.4/PKG-INFO +46 -0
  2. {tencentcloud-sdk-python-cfw-3.0.1465 → tencentcloud_sdk_python_cfw-3.1.4}/setup.py +2 -1
  3. {tencentcloud-sdk-python-cfw-3.0.1465 → tencentcloud_sdk_python_cfw-3.1.4}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-cfw-3.0.1465 → tencentcloud_sdk_python_cfw-3.1.4}/tencentcloud/cfw/v20190904/cfw_client.py +23 -0
  5. tencentcloud_sdk_python_cfw-3.1.4/tencentcloud/cfw/v20190904/cfw_client_async.py +2067 -0
  6. {tencentcloud-sdk-python-cfw-3.0.1465 → tencentcloud_sdk_python_cfw-3.1.4}/tencentcloud/cfw/v20190904/models.py +784 -8
  7. tencentcloud_sdk_python_cfw-3.1.4/tencentcloud_sdk_python_cfw.egg-info/PKG-INFO +46 -0
  8. {tencentcloud-sdk-python-cfw-3.0.1465 → tencentcloud_sdk_python_cfw-3.1.4}/tencentcloud_sdk_python_cfw.egg-info/SOURCES.txt +1 -0
  9. tencentcloud_sdk_python_cfw-3.1.4/tencentcloud_sdk_python_cfw.egg-info/requires.txt +1 -0
  10. tencentcloud-sdk-python-cfw-3.0.1465/PKG-INFO +0 -45
  11. tencentcloud-sdk-python-cfw-3.0.1465/tencentcloud_sdk_python_cfw.egg-info/PKG-INFO +0 -45
  12. tencentcloud-sdk-python-cfw-3.0.1465/tencentcloud_sdk_python_cfw.egg-info/requires.txt +0 -1
  13. {tencentcloud-sdk-python-cfw-3.0.1465 → tencentcloud_sdk_python_cfw-3.1.4}/README.rst +0 -0
  14. {tencentcloud-sdk-python-cfw-3.0.1465 → tencentcloud_sdk_python_cfw-3.1.4}/setup.cfg +0 -0
  15. {tencentcloud-sdk-python-cfw-3.0.1465 → tencentcloud_sdk_python_cfw-3.1.4}/tencentcloud/cfw/__init__.py +0 -0
  16. {tencentcloud-sdk-python-cfw-3.0.1465 → tencentcloud_sdk_python_cfw-3.1.4}/tencentcloud/cfw/v20190904/__init__.py +0 -0
  17. {tencentcloud-sdk-python-cfw-3.0.1465 → tencentcloud_sdk_python_cfw-3.1.4}/tencentcloud/cfw/v20190904/errorcodes.py +0 -0
  18. {tencentcloud-sdk-python-cfw-3.0.1465 → tencentcloud_sdk_python_cfw-3.1.4}/tencentcloud_sdk_python_cfw.egg-info/dependency_links.txt +0 -0
  19. {tencentcloud-sdk-python-cfw-3.0.1465 → tencentcloud_sdk_python_cfw-3.1.4}/tencentcloud_sdk_python_cfw.egg-info/top_level.txt +0 -0
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.1
2
+ Name: tencentcloud-sdk-python-cfw
3
+ Version: 3.1.4
4
+ Summary: Tencent Cloud Cfw SDK for Python
5
+ Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
+ Author: Tencent Cloud
7
+ Maintainer-email: tencentcloudapi@tencent.com
8
+ License: Apache License 2.0
9
+ Platform: any
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: Apache Software License
13
+ Classifier: Programming Language :: Python
14
+ Classifier: Programming Language :: Python :: 2.7
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.6
17
+ Classifier: Programming Language :: Python :: 3.7
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.4
19
+
20
+ ============================
21
+ Tencent Cloud SDK for Python
22
+ ============================
23
+
24
+ Tencent Cloud Python Cfw SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
25
+ The SDK works on Python versions:
26
+
27
+ * 2.7 and greater, including 3.x
28
+
29
+ Quick Start
30
+ -----------
31
+
32
+ First, install the library:
33
+
34
+ .. code-block:: sh
35
+
36
+ $ pip install tencentcloud-sdk-python-common
37
+ $ pip install tencentcloud-sdk-python-cfw
38
+
39
+ or download source code from github and install:
40
+
41
+ .. code-block:: sh
42
+
43
+ $ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
44
+ $ cd tencentcloud-sdk-python
45
+ $ python package.py --components common cfw
46
+
@@ -8,7 +8,8 @@ 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.1465,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.4,<4.0.0"],
12
+
12
13
  version=tencentcloud.__version__,
13
14
  description='Tencent Cloud Cfw SDK for Python',
14
15
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1465'
17
+ __version__ = '3.1.4'
@@ -1268,6 +1268,29 @@ class CfwClient(AbstractClient):
1268
1268
  raise TencentCloudSDKException(type(e).__name__, str(e))
1269
1269
 
1270
1270
 
1271
+ def DescribeNatFwSwitch(self, request):
1272
+ r"""查询NAT边界防火墙开关列表
1273
+
1274
+ :param request: Request instance for DescribeNatFwSwitch.
1275
+ :type request: :class:`tencentcloud.cfw.v20190904.models.DescribeNatFwSwitchRequest`
1276
+ :rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeNatFwSwitchResponse`
1277
+
1278
+ """
1279
+ try:
1280
+ params = request._serialize()
1281
+ headers = request.headers
1282
+ body = self.call("DescribeNatFwSwitch", params, headers=headers)
1283
+ response = json.loads(body)
1284
+ model = models.DescribeNatFwSwitchResponse()
1285
+ model._deserialize(response["Response"])
1286
+ return model
1287
+ except Exception as e:
1288
+ if isinstance(e, TencentCloudSDKException):
1289
+ raise
1290
+ else:
1291
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1292
+
1293
+
1271
1294
  def DescribeNatFwVpcDnsLst(self, request):
1272
1295
  r"""展示当前natfw 实例对应的vpc dns开关
1273
1296