tencentcloud-sdk-python-cfw 3.1.139__tar.gz → 3.1.140__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.139 → tencentcloud_sdk_python_cfw-3.1.140}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cfw-3.1.139 → tencentcloud_sdk_python_cfw-3.1.140}/setup.py +1 -1
- {tencentcloud_sdk_python_cfw-3.1.139 → tencentcloud_sdk_python_cfw-3.1.140}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cfw-3.1.139 → tencentcloud_sdk_python_cfw-3.1.140}/tencentcloud/cfw/v20190904/cfw_client.py +184 -0
- {tencentcloud_sdk_python_cfw-3.1.139 → tencentcloud_sdk_python_cfw-3.1.140}/tencentcloud/cfw/v20190904/cfw_client_async.py +144 -0
- {tencentcloud_sdk_python_cfw-3.1.139 → tencentcloud_sdk_python_cfw-3.1.140}/tencentcloud/cfw/v20190904/models.py +2471 -334
- {tencentcloud_sdk_python_cfw-3.1.139 → tencentcloud_sdk_python_cfw-3.1.140}/tencentcloud_sdk_python_cfw.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cfw-3.1.140/tencentcloud_sdk_python_cfw.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cfw-3.1.139/tencentcloud_sdk_python_cfw.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cfw-3.1.139 → tencentcloud_sdk_python_cfw-3.1.140}/README.rst +0 -0
- {tencentcloud_sdk_python_cfw-3.1.139 → tencentcloud_sdk_python_cfw-3.1.140}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cfw-3.1.139 → tencentcloud_sdk_python_cfw-3.1.140}/tencentcloud/cfw/__init__.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.139 → tencentcloud_sdk_python_cfw-3.1.140}/tencentcloud/cfw/v20190904/__init__.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.139 → tencentcloud_sdk_python_cfw-3.1.140}/tencentcloud/cfw/v20190904/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.139 → tencentcloud_sdk_python_cfw-3.1.140}/tencentcloud_sdk_python_cfw.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cfw-3.1.139 → tencentcloud_sdk_python_cfw-3.1.140}/tencentcloud_sdk_python_cfw.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cfw-3.1.139 → tencentcloud_sdk_python_cfw-3.1.140}/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.140
|
|
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.140
|
|
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.140,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cfw SDK for Python',
|
|
@@ -118,6 +118,52 @@ class CfwClient(AbstractClient):
|
|
|
118
118
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
119
119
|
|
|
120
120
|
|
|
121
|
+
def CheckClusterNatFwPreAccess(self, request):
|
|
122
|
+
r"""发起 NAT CCN 集群模式防火墙预接入检查(仅支持自动接入模式)。入参与 OpenClusterNatFwSwitch 完全相同,传入相同的 NatCcnSwitch 配置 JSON 即可发起检查。检查为异步执行:接口立即返回 CheckItems 检查项清单,前端轮询 DescribeClusterNatCcnFwSwitchList 接口读取 CheckResult 获取各阶段的通过/失败状态。
|
|
123
|
+
|
|
124
|
+
:param request: Request instance for CheckClusterNatFwPreAccess.
|
|
125
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.CheckClusterNatFwPreAccessRequest`
|
|
126
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.CheckClusterNatFwPreAccessResponse`
|
|
127
|
+
|
|
128
|
+
"""
|
|
129
|
+
try:
|
|
130
|
+
params = request._serialize()
|
|
131
|
+
headers = request.headers
|
|
132
|
+
body = self.call("CheckClusterNatFwPreAccess", params, headers=headers)
|
|
133
|
+
response = json.loads(body)
|
|
134
|
+
model = models.CheckClusterNatFwPreAccessResponse()
|
|
135
|
+
model._deserialize(response["Response"])
|
|
136
|
+
return model
|
|
137
|
+
except Exception as e:
|
|
138
|
+
if isinstance(e, TencentCloudSDKException):
|
|
139
|
+
raise
|
|
140
|
+
else:
|
|
141
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
def CheckClusterVpcFwPreAccess(self, request):
|
|
145
|
+
r"""发起 VPC 集群防火墙预接入检查(仅支持自动接入模式)。入参与 ModifyClusterVpcFwSwitch 完全相同,传入相同的 CcnSwitch 配置 JSON 即可发起检查。检查为异步执行:接口立即返回 CheckItems 检查项清单,前端轮询 DescribeClusterVpcFwSwitchs 接口读取 CheckResult 获取各阶段的通过/失败状态。
|
|
146
|
+
|
|
147
|
+
:param request: Request instance for CheckClusterVpcFwPreAccess.
|
|
148
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.CheckClusterVpcFwPreAccessRequest`
|
|
149
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.CheckClusterVpcFwPreAccessResponse`
|
|
150
|
+
|
|
151
|
+
"""
|
|
152
|
+
try:
|
|
153
|
+
params = request._serialize()
|
|
154
|
+
headers = request.headers
|
|
155
|
+
body = self.call("CheckClusterVpcFwPreAccess", params, headers=headers)
|
|
156
|
+
response = json.loads(body)
|
|
157
|
+
model = models.CheckClusterVpcFwPreAccessResponse()
|
|
158
|
+
model._deserialize(response["Response"])
|
|
159
|
+
return model
|
|
160
|
+
except Exception as e:
|
|
161
|
+
if isinstance(e, TencentCloudSDKException):
|
|
162
|
+
raise
|
|
163
|
+
else:
|
|
164
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
165
|
+
|
|
166
|
+
|
|
121
167
|
def CloseClusterNatFwSwitch(self, request):
|
|
122
168
|
r"""关闭NAT CCN集群模式防火墙开关
|
|
123
169
|
|
|
@@ -900,6 +946,29 @@ class CfwClient(AbstractClient):
|
|
|
900
946
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
901
947
|
|
|
902
948
|
|
|
949
|
+
def DescribeBlockList(self, request):
|
|
950
|
+
r"""DescribeBlockList 告警中心阻断资产视图列表
|
|
951
|
+
|
|
952
|
+
:param request: Request instance for DescribeBlockList.
|
|
953
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeBlockListRequest`
|
|
954
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeBlockListResponse`
|
|
955
|
+
|
|
956
|
+
"""
|
|
957
|
+
try:
|
|
958
|
+
params = request._serialize()
|
|
959
|
+
headers = request.headers
|
|
960
|
+
body = self.call("DescribeBlockList", params, headers=headers)
|
|
961
|
+
response = json.loads(body)
|
|
962
|
+
model = models.DescribeBlockListResponse()
|
|
963
|
+
model._deserialize(response["Response"])
|
|
964
|
+
return model
|
|
965
|
+
except Exception as e:
|
|
966
|
+
if isinstance(e, TencentCloudSDKException):
|
|
967
|
+
raise
|
|
968
|
+
else:
|
|
969
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
970
|
+
|
|
971
|
+
|
|
903
972
|
def DescribeBlockStaticList(self, request):
|
|
904
973
|
r"""DescribeBlockStaticList 告警中心柱形图
|
|
905
974
|
|
|
@@ -1454,6 +1523,29 @@ class CfwClient(AbstractClient):
|
|
|
1454
1523
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1455
1524
|
|
|
1456
1525
|
|
|
1526
|
+
def DescribeFwGroupIdNames(self, request):
|
|
1527
|
+
r"""获取用户防火墙(组)的ID名称列表
|
|
1528
|
+
|
|
1529
|
+
:param request: Request instance for DescribeFwGroupIdNames.
|
|
1530
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeFwGroupIdNamesRequest`
|
|
1531
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeFwGroupIdNamesResponse`
|
|
1532
|
+
|
|
1533
|
+
"""
|
|
1534
|
+
try:
|
|
1535
|
+
params = request._serialize()
|
|
1536
|
+
headers = request.headers
|
|
1537
|
+
body = self.call("DescribeFwGroupIdNames", params, headers=headers)
|
|
1538
|
+
response = json.loads(body)
|
|
1539
|
+
model = models.DescribeFwGroupIdNamesResponse()
|
|
1540
|
+
model._deserialize(response["Response"])
|
|
1541
|
+
return model
|
|
1542
|
+
except Exception as e:
|
|
1543
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1544
|
+
raise
|
|
1545
|
+
else:
|
|
1546
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1547
|
+
|
|
1548
|
+
|
|
1457
1549
|
def DescribeFwGroupInstanceInfo(self, request):
|
|
1458
1550
|
r"""获取租户所有VPC防火墙(组)及VPC防火墙实例卡片信息
|
|
1459
1551
|
|
|
@@ -1569,6 +1661,29 @@ class CfwClient(AbstractClient):
|
|
|
1569
1661
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1570
1662
|
|
|
1571
1663
|
|
|
1664
|
+
def DescribeIpsRuleListNew(self, request):
|
|
1665
|
+
r"""IPS规则查询接口新
|
|
1666
|
+
|
|
1667
|
+
:param request: Request instance for DescribeIpsRuleListNew.
|
|
1668
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeIpsRuleListNewRequest`
|
|
1669
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeIpsRuleListNewResponse`
|
|
1670
|
+
|
|
1671
|
+
"""
|
|
1672
|
+
try:
|
|
1673
|
+
params = request._serialize()
|
|
1674
|
+
headers = request.headers
|
|
1675
|
+
body = self.call("DescribeIpsRuleListNew", params, headers=headers)
|
|
1676
|
+
response = json.loads(body)
|
|
1677
|
+
model = models.DescribeIpsRuleListNewResponse()
|
|
1678
|
+
model._deserialize(response["Response"])
|
|
1679
|
+
return model
|
|
1680
|
+
except Exception as e:
|
|
1681
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1682
|
+
raise
|
|
1683
|
+
else:
|
|
1684
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1685
|
+
|
|
1686
|
+
|
|
1572
1687
|
def DescribeLogStorageStatistic(self, request):
|
|
1573
1688
|
r"""租户日志存储统计
|
|
1574
1689
|
|
|
@@ -1891,6 +2006,29 @@ class CfwClient(AbstractClient):
|
|
|
1891
2006
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1892
2007
|
|
|
1893
2008
|
|
|
2009
|
+
def DescribeNatRuleScopes(self, request):
|
|
2010
|
+
r"""查询nat规则的配额和使用情况
|
|
2011
|
+
|
|
2012
|
+
:param request: Request instance for DescribeNatRuleScopes.
|
|
2013
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeNatRuleScopesRequest`
|
|
2014
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeNatRuleScopesResponse`
|
|
2015
|
+
|
|
2016
|
+
"""
|
|
2017
|
+
try:
|
|
2018
|
+
params = request._serialize()
|
|
2019
|
+
headers = request.headers
|
|
2020
|
+
body = self.call("DescribeNatRuleScopes", params, headers=headers)
|
|
2021
|
+
response = json.loads(body)
|
|
2022
|
+
model = models.DescribeNatRuleScopesResponse()
|
|
2023
|
+
model._deserialize(response["Response"])
|
|
2024
|
+
return model
|
|
2025
|
+
except Exception as e:
|
|
2026
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2027
|
+
raise
|
|
2028
|
+
else:
|
|
2029
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2030
|
+
|
|
2031
|
+
|
|
1894
2032
|
def DescribeOfflineExportTask(self, request):
|
|
1895
2033
|
r"""获取日志离线导出任务列表
|
|
1896
2034
|
|
|
@@ -2029,6 +2167,29 @@ class CfwClient(AbstractClient):
|
|
|
2029
2167
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2030
2168
|
|
|
2031
2169
|
|
|
2170
|
+
def DescribeSecurityGroupRegionList(self, request):
|
|
2171
|
+
r"""查询地域配置信息-DescribeAllRegionList
|
|
2172
|
+
|
|
2173
|
+
:param request: Request instance for DescribeSecurityGroupRegionList.
|
|
2174
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeSecurityGroupRegionListRequest`
|
|
2175
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeSecurityGroupRegionListResponse`
|
|
2176
|
+
|
|
2177
|
+
"""
|
|
2178
|
+
try:
|
|
2179
|
+
params = request._serialize()
|
|
2180
|
+
headers = request.headers
|
|
2181
|
+
body = self.call("DescribeSecurityGroupRegionList", params, headers=headers)
|
|
2182
|
+
response = json.loads(body)
|
|
2183
|
+
model = models.DescribeSecurityGroupRegionListResponse()
|
|
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
|
+
|
|
2032
2193
|
def DescribeSerialRegion(self, request):
|
|
2033
2194
|
r"""查询串行防火墙地域带宽分配信息
|
|
2034
2195
|
|
|
@@ -2236,6 +2397,29 @@ class CfwClient(AbstractClient):
|
|
|
2236
2397
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2237
2398
|
|
|
2238
2399
|
|
|
2400
|
+
def DescribeVpcAclEdgeRange(self, request):
|
|
2401
|
+
r"""查询内网间访问控制规则的生效范围
|
|
2402
|
+
|
|
2403
|
+
:param request: Request instance for DescribeVpcAclEdgeRange.
|
|
2404
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeVpcAclEdgeRangeRequest`
|
|
2405
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeVpcAclEdgeRangeResponse`
|
|
2406
|
+
|
|
2407
|
+
"""
|
|
2408
|
+
try:
|
|
2409
|
+
params = request._serialize()
|
|
2410
|
+
headers = request.headers
|
|
2411
|
+
body = self.call("DescribeVpcAclEdgeRange", params, headers=headers)
|
|
2412
|
+
response = json.loads(body)
|
|
2413
|
+
model = models.DescribeVpcAclEdgeRangeResponse()
|
|
2414
|
+
model._deserialize(response["Response"])
|
|
2415
|
+
return model
|
|
2416
|
+
except Exception as e:
|
|
2417
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2418
|
+
raise
|
|
2419
|
+
else:
|
|
2420
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2421
|
+
|
|
2422
|
+
|
|
2239
2423
|
def DescribeVpcFwCcnPolicyWhiteList(self, request):
|
|
2240
2424
|
r"""查询VPC防火墙策略路由功能开白的CCN列表
|
|
2241
2425
|
|
|
@@ -97,6 +97,42 @@ class CfwClient(AbstractClient):
|
|
|
97
97
|
|
|
98
98
|
return await self.call_and_deserialize(**kwargs)
|
|
99
99
|
|
|
100
|
+
async def CheckClusterNatFwPreAccess(
|
|
101
|
+
self,
|
|
102
|
+
request: models.CheckClusterNatFwPreAccessRequest,
|
|
103
|
+
opts: Dict = None,
|
|
104
|
+
) -> models.CheckClusterNatFwPreAccessResponse:
|
|
105
|
+
"""
|
|
106
|
+
发起 NAT CCN 集群模式防火墙预接入检查(仅支持自动接入模式)。入参与 OpenClusterNatFwSwitch 完全相同,传入相同的 NatCcnSwitch 配置 JSON 即可发起检查。检查为异步执行:接口立即返回 CheckItems 检查项清单,前端轮询 DescribeClusterNatCcnFwSwitchList 接口读取 CheckResult 获取各阶段的通过/失败状态。
|
|
107
|
+
"""
|
|
108
|
+
|
|
109
|
+
kwargs = {}
|
|
110
|
+
kwargs["action"] = "CheckClusterNatFwPreAccess"
|
|
111
|
+
kwargs["params"] = request._serialize()
|
|
112
|
+
kwargs["resp_cls"] = models.CheckClusterNatFwPreAccessResponse
|
|
113
|
+
kwargs["headers"] = request.headers
|
|
114
|
+
kwargs["opts"] = opts or {}
|
|
115
|
+
|
|
116
|
+
return await self.call_and_deserialize(**kwargs)
|
|
117
|
+
|
|
118
|
+
async def CheckClusterVpcFwPreAccess(
|
|
119
|
+
self,
|
|
120
|
+
request: models.CheckClusterVpcFwPreAccessRequest,
|
|
121
|
+
opts: Dict = None,
|
|
122
|
+
) -> models.CheckClusterVpcFwPreAccessResponse:
|
|
123
|
+
"""
|
|
124
|
+
发起 VPC 集群防火墙预接入检查(仅支持自动接入模式)。入参与 ModifyClusterVpcFwSwitch 完全相同,传入相同的 CcnSwitch 配置 JSON 即可发起检查。检查为异步执行:接口立即返回 CheckItems 检查项清单,前端轮询 DescribeClusterVpcFwSwitchs 接口读取 CheckResult 获取各阶段的通过/失败状态。
|
|
125
|
+
"""
|
|
126
|
+
|
|
127
|
+
kwargs = {}
|
|
128
|
+
kwargs["action"] = "CheckClusterVpcFwPreAccess"
|
|
129
|
+
kwargs["params"] = request._serialize()
|
|
130
|
+
kwargs["resp_cls"] = models.CheckClusterVpcFwPreAccessResponse
|
|
131
|
+
kwargs["headers"] = request.headers
|
|
132
|
+
kwargs["opts"] = opts or {}
|
|
133
|
+
|
|
134
|
+
return await self.call_and_deserialize(**kwargs)
|
|
135
|
+
|
|
100
136
|
async def CloseClusterNatFwSwitch(
|
|
101
137
|
self,
|
|
102
138
|
request: models.CloseClusterNatFwSwitchRequest,
|
|
@@ -709,6 +745,24 @@ class CfwClient(AbstractClient):
|
|
|
709
745
|
|
|
710
746
|
return await self.call_and_deserialize(**kwargs)
|
|
711
747
|
|
|
748
|
+
async def DescribeBlockList(
|
|
749
|
+
self,
|
|
750
|
+
request: models.DescribeBlockListRequest,
|
|
751
|
+
opts: Dict = None,
|
|
752
|
+
) -> models.DescribeBlockListResponse:
|
|
753
|
+
"""
|
|
754
|
+
DescribeBlockList 告警中心阻断资产视图列表
|
|
755
|
+
"""
|
|
756
|
+
|
|
757
|
+
kwargs = {}
|
|
758
|
+
kwargs["action"] = "DescribeBlockList"
|
|
759
|
+
kwargs["params"] = request._serialize()
|
|
760
|
+
kwargs["resp_cls"] = models.DescribeBlockListResponse
|
|
761
|
+
kwargs["headers"] = request.headers
|
|
762
|
+
kwargs["opts"] = opts or {}
|
|
763
|
+
|
|
764
|
+
return await self.call_and_deserialize(**kwargs)
|
|
765
|
+
|
|
712
766
|
async def DescribeBlockStaticList(
|
|
713
767
|
self,
|
|
714
768
|
request: models.DescribeBlockStaticListRequest,
|
|
@@ -1143,6 +1197,24 @@ class CfwClient(AbstractClient):
|
|
|
1143
1197
|
|
|
1144
1198
|
return await self.call_and_deserialize(**kwargs)
|
|
1145
1199
|
|
|
1200
|
+
async def DescribeFwGroupIdNames(
|
|
1201
|
+
self,
|
|
1202
|
+
request: models.DescribeFwGroupIdNamesRequest,
|
|
1203
|
+
opts: Dict = None,
|
|
1204
|
+
) -> models.DescribeFwGroupIdNamesResponse:
|
|
1205
|
+
"""
|
|
1206
|
+
获取用户防火墙(组)的ID名称列表
|
|
1207
|
+
"""
|
|
1208
|
+
|
|
1209
|
+
kwargs = {}
|
|
1210
|
+
kwargs["action"] = "DescribeFwGroupIdNames"
|
|
1211
|
+
kwargs["params"] = request._serialize()
|
|
1212
|
+
kwargs["resp_cls"] = models.DescribeFwGroupIdNamesResponse
|
|
1213
|
+
kwargs["headers"] = request.headers
|
|
1214
|
+
kwargs["opts"] = opts or {}
|
|
1215
|
+
|
|
1216
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1217
|
+
|
|
1146
1218
|
async def DescribeFwGroupInstanceInfo(
|
|
1147
1219
|
self,
|
|
1148
1220
|
request: models.DescribeFwGroupInstanceInfoRequest,
|
|
@@ -1233,6 +1305,24 @@ class CfwClient(AbstractClient):
|
|
|
1233
1305
|
|
|
1234
1306
|
return await self.call_and_deserialize(**kwargs)
|
|
1235
1307
|
|
|
1308
|
+
async def DescribeIpsRuleListNew(
|
|
1309
|
+
self,
|
|
1310
|
+
request: models.DescribeIpsRuleListNewRequest,
|
|
1311
|
+
opts: Dict = None,
|
|
1312
|
+
) -> models.DescribeIpsRuleListNewResponse:
|
|
1313
|
+
"""
|
|
1314
|
+
IPS规则查询接口新
|
|
1315
|
+
"""
|
|
1316
|
+
|
|
1317
|
+
kwargs = {}
|
|
1318
|
+
kwargs["action"] = "DescribeIpsRuleListNew"
|
|
1319
|
+
kwargs["params"] = request._serialize()
|
|
1320
|
+
kwargs["resp_cls"] = models.DescribeIpsRuleListNewResponse
|
|
1321
|
+
kwargs["headers"] = request.headers
|
|
1322
|
+
kwargs["opts"] = opts or {}
|
|
1323
|
+
|
|
1324
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1325
|
+
|
|
1236
1326
|
async def DescribeLogStorageStatistic(
|
|
1237
1327
|
self,
|
|
1238
1328
|
request: models.DescribeLogStorageStatisticRequest,
|
|
@@ -1485,6 +1575,24 @@ class CfwClient(AbstractClient):
|
|
|
1485
1575
|
|
|
1486
1576
|
return await self.call_and_deserialize(**kwargs)
|
|
1487
1577
|
|
|
1578
|
+
async def DescribeNatRuleScopes(
|
|
1579
|
+
self,
|
|
1580
|
+
request: models.DescribeNatRuleScopesRequest,
|
|
1581
|
+
opts: Dict = None,
|
|
1582
|
+
) -> models.DescribeNatRuleScopesResponse:
|
|
1583
|
+
"""
|
|
1584
|
+
查询nat规则的配额和使用情况
|
|
1585
|
+
"""
|
|
1586
|
+
|
|
1587
|
+
kwargs = {}
|
|
1588
|
+
kwargs["action"] = "DescribeNatRuleScopes"
|
|
1589
|
+
kwargs["params"] = request._serialize()
|
|
1590
|
+
kwargs["resp_cls"] = models.DescribeNatRuleScopesResponse
|
|
1591
|
+
kwargs["headers"] = request.headers
|
|
1592
|
+
kwargs["opts"] = opts or {}
|
|
1593
|
+
|
|
1594
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1595
|
+
|
|
1488
1596
|
async def DescribeOfflineExportTask(
|
|
1489
1597
|
self,
|
|
1490
1598
|
request: models.DescribeOfflineExportTaskRequest,
|
|
@@ -1593,6 +1701,24 @@ class CfwClient(AbstractClient):
|
|
|
1593
1701
|
|
|
1594
1702
|
return await self.call_and_deserialize(**kwargs)
|
|
1595
1703
|
|
|
1704
|
+
async def DescribeSecurityGroupRegionList(
|
|
1705
|
+
self,
|
|
1706
|
+
request: models.DescribeSecurityGroupRegionListRequest,
|
|
1707
|
+
opts: Dict = None,
|
|
1708
|
+
) -> models.DescribeSecurityGroupRegionListResponse:
|
|
1709
|
+
"""
|
|
1710
|
+
查询地域配置信息-DescribeAllRegionList
|
|
1711
|
+
"""
|
|
1712
|
+
|
|
1713
|
+
kwargs = {}
|
|
1714
|
+
kwargs["action"] = "DescribeSecurityGroupRegionList"
|
|
1715
|
+
kwargs["params"] = request._serialize()
|
|
1716
|
+
kwargs["resp_cls"] = models.DescribeSecurityGroupRegionListResponse
|
|
1717
|
+
kwargs["headers"] = request.headers
|
|
1718
|
+
kwargs["opts"] = opts or {}
|
|
1719
|
+
|
|
1720
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1721
|
+
|
|
1596
1722
|
async def DescribeSerialRegion(
|
|
1597
1723
|
self,
|
|
1598
1724
|
request: models.DescribeSerialRegionRequest,
|
|
@@ -1755,6 +1881,24 @@ class CfwClient(AbstractClient):
|
|
|
1755
1881
|
|
|
1756
1882
|
return await self.call_and_deserialize(**kwargs)
|
|
1757
1883
|
|
|
1884
|
+
async def DescribeVpcAclEdgeRange(
|
|
1885
|
+
self,
|
|
1886
|
+
request: models.DescribeVpcAclEdgeRangeRequest,
|
|
1887
|
+
opts: Dict = None,
|
|
1888
|
+
) -> models.DescribeVpcAclEdgeRangeResponse:
|
|
1889
|
+
"""
|
|
1890
|
+
查询内网间访问控制规则的生效范围
|
|
1891
|
+
"""
|
|
1892
|
+
|
|
1893
|
+
kwargs = {}
|
|
1894
|
+
kwargs["action"] = "DescribeVpcAclEdgeRange"
|
|
1895
|
+
kwargs["params"] = request._serialize()
|
|
1896
|
+
kwargs["resp_cls"] = models.DescribeVpcAclEdgeRangeResponse
|
|
1897
|
+
kwargs["headers"] = request.headers
|
|
1898
|
+
kwargs["opts"] = opts or {}
|
|
1899
|
+
|
|
1900
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1901
|
+
|
|
1758
1902
|
async def DescribeVpcFwCcnPolicyWhiteList(
|
|
1759
1903
|
self,
|
|
1760
1904
|
request: models.DescribeVpcFwCcnPolicyWhiteListRequest,
|