tencentcloud-sdk-python-cfw 3.1.180__tar.gz → 3.1.189__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.1.180 → tencentcloud_sdk_python_cfw-3.1.189}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cfw-3.1.180 → tencentcloud_sdk_python_cfw-3.1.189}/setup.py +1 -1
- {tencentcloud_sdk_python_cfw-3.1.180 → tencentcloud_sdk_python_cfw-3.1.189}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cfw-3.1.180 → tencentcloud_sdk_python_cfw-3.1.189}/tencentcloud/cfw/v20190904/cfw_client.py +46 -0
- {tencentcloud_sdk_python_cfw-3.1.180 → tencentcloud_sdk_python_cfw-3.1.189}/tencentcloud/cfw/v20190904/cfw_client_async.py +36 -0
- {tencentcloud_sdk_python_cfw-3.1.180 → tencentcloud_sdk_python_cfw-3.1.189}/tencentcloud/cfw/v20190904/models.py +2844 -208
- {tencentcloud_sdk_python_cfw-3.1.180 → tencentcloud_sdk_python_cfw-3.1.189}/tencentcloud_sdk_python_cfw.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cfw-3.1.189/tencentcloud_sdk_python_cfw.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cfw-3.1.180/tencentcloud_sdk_python_cfw.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cfw-3.1.180 → tencentcloud_sdk_python_cfw-3.1.189}/README.rst +0 -0
- {tencentcloud_sdk_python_cfw-3.1.180 → tencentcloud_sdk_python_cfw-3.1.189}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cfw-3.1.180 → tencentcloud_sdk_python_cfw-3.1.189}/tencentcloud/cfw/__init__.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.180 → tencentcloud_sdk_python_cfw-3.1.189}/tencentcloud/cfw/v20190904/__init__.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.180 → tencentcloud_sdk_python_cfw-3.1.189}/tencentcloud/cfw/v20190904/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.180 → tencentcloud_sdk_python_cfw-3.1.189}/tencentcloud_sdk_python_cfw.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cfw-3.1.180 → tencentcloud_sdk_python_cfw-3.1.189}/tencentcloud_sdk_python_cfw.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cfw-3.1.180 → tencentcloud_sdk_python_cfw-3.1.189}/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.
|
|
3
|
+
Version: 3.1.189
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.189
|
|
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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.189,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cfw SDK for Python',
|
|
@@ -2167,6 +2167,29 @@ class CfwClient(AbstractClient):
|
|
|
2167
2167
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2168
2168
|
|
|
2169
2169
|
|
|
2170
|
+
def DescribeOverviewResourceQuota(self, request):
|
|
2171
|
+
r"""查询云防火墙概览页资源与配额详情信息,返回带宽配额、实例与规则配额、日志存储信息及相关能力标识。
|
|
2172
|
+
|
|
2173
|
+
:param request: Request instance for DescribeOverviewResourceQuota.
|
|
2174
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeOverviewResourceQuotaRequest`
|
|
2175
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeOverviewResourceQuotaResponse`
|
|
2176
|
+
|
|
2177
|
+
"""
|
|
2178
|
+
try:
|
|
2179
|
+
params = request._serialize()
|
|
2180
|
+
headers = request.headers
|
|
2181
|
+
body = self.call("DescribeOverviewResourceQuota", params, headers=headers)
|
|
2182
|
+
response = json.loads(body)
|
|
2183
|
+
model = models.DescribeOverviewResourceQuotaResponse()
|
|
2184
|
+
model._deserialize(response["Response"])
|
|
2185
|
+
return model
|
|
2186
|
+
except Exception as e:
|
|
2187
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2188
|
+
raise
|
|
2189
|
+
else:
|
|
2190
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2191
|
+
|
|
2192
|
+
|
|
2170
2193
|
def DescribeResourceGroup(self, request):
|
|
2171
2194
|
r"""DescribeResourceGroup资产中心资产树信息
|
|
2172
2195
|
|
|
@@ -2558,6 +2581,29 @@ class CfwClient(AbstractClient):
|
|
|
2558
2581
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2559
2582
|
|
|
2560
2583
|
|
|
2584
|
+
def DescribeVpcFwIpStat(self, request):
|
|
2585
|
+
r"""查询VPC防火墙下,单IP粒度的流量统计
|
|
2586
|
+
|
|
2587
|
+
:param request: Request instance for DescribeVpcFwIpStat.
|
|
2588
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeVpcFwIpStatRequest`
|
|
2589
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeVpcFwIpStatResponse`
|
|
2590
|
+
|
|
2591
|
+
"""
|
|
2592
|
+
try:
|
|
2593
|
+
params = request._serialize()
|
|
2594
|
+
headers = request.headers
|
|
2595
|
+
body = self.call("DescribeVpcFwIpStat", params, headers=headers)
|
|
2596
|
+
response = json.loads(body)
|
|
2597
|
+
model = models.DescribeVpcFwIpStatResponse()
|
|
2598
|
+
model._deserialize(response["Response"])
|
|
2599
|
+
return model
|
|
2600
|
+
except Exception as e:
|
|
2601
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2602
|
+
raise
|
|
2603
|
+
else:
|
|
2604
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2605
|
+
|
|
2606
|
+
|
|
2561
2607
|
def ExpandCfwVertical(self, request):
|
|
2562
2608
|
r"""防火墙垂直扩容
|
|
2563
2609
|
|
|
@@ -1701,6 +1701,24 @@ class CfwClient(AbstractClient):
|
|
|
1701
1701
|
|
|
1702
1702
|
return await self.call_and_deserialize(**kwargs)
|
|
1703
1703
|
|
|
1704
|
+
async def DescribeOverviewResourceQuota(
|
|
1705
|
+
self,
|
|
1706
|
+
request: models.DescribeOverviewResourceQuotaRequest,
|
|
1707
|
+
opts: Dict = None,
|
|
1708
|
+
) -> models.DescribeOverviewResourceQuotaResponse:
|
|
1709
|
+
"""
|
|
1710
|
+
查询云防火墙概览页资源与配额详情信息,返回带宽配额、实例与规则配额、日志存储信息及相关能力标识。
|
|
1711
|
+
"""
|
|
1712
|
+
|
|
1713
|
+
kwargs = {}
|
|
1714
|
+
kwargs["action"] = "DescribeOverviewResourceQuota"
|
|
1715
|
+
kwargs["params"] = request._serialize()
|
|
1716
|
+
kwargs["resp_cls"] = models.DescribeOverviewResourceQuotaResponse
|
|
1717
|
+
kwargs["headers"] = request.headers
|
|
1718
|
+
kwargs["opts"] = opts or {}
|
|
1719
|
+
|
|
1720
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1721
|
+
|
|
1704
1722
|
async def DescribeResourceGroup(
|
|
1705
1723
|
self,
|
|
1706
1724
|
request: models.DescribeResourceGroupRequest,
|
|
@@ -2007,6 +2025,24 @@ class CfwClient(AbstractClient):
|
|
|
2007
2025
|
|
|
2008
2026
|
return await self.call_and_deserialize(**kwargs)
|
|
2009
2027
|
|
|
2028
|
+
async def DescribeVpcFwIpStat(
|
|
2029
|
+
self,
|
|
2030
|
+
request: models.DescribeVpcFwIpStatRequest,
|
|
2031
|
+
opts: Dict = None,
|
|
2032
|
+
) -> models.DescribeVpcFwIpStatResponse:
|
|
2033
|
+
"""
|
|
2034
|
+
查询VPC防火墙下,单IP粒度的流量统计
|
|
2035
|
+
"""
|
|
2036
|
+
|
|
2037
|
+
kwargs = {}
|
|
2038
|
+
kwargs["action"] = "DescribeVpcFwIpStat"
|
|
2039
|
+
kwargs["params"] = request._serialize()
|
|
2040
|
+
kwargs["resp_cls"] = models.DescribeVpcFwIpStatResponse
|
|
2041
|
+
kwargs["headers"] = request.headers
|
|
2042
|
+
kwargs["opts"] = opts or {}
|
|
2043
|
+
|
|
2044
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2045
|
+
|
|
2010
2046
|
async def ExpandCfwVertical(
|
|
2011
2047
|
self,
|
|
2012
2048
|
request: models.ExpandCfwVerticalRequest,
|