tencentcloud-sdk-python-cfw 3.1.21__tar.gz → 3.1.25__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.21 → tencentcloud_sdk_python_cfw-3.1.25}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cfw-3.1.21 → tencentcloud_sdk_python_cfw-3.1.25}/setup.py +1 -1
- {tencentcloud_sdk_python_cfw-3.1.21 → tencentcloud_sdk_python_cfw-3.1.25}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cfw-3.1.21 → tencentcloud_sdk_python_cfw-3.1.25}/tencentcloud/cfw/v20190904/cfw_client.py +232 -0
- {tencentcloud_sdk_python_cfw-3.1.21 → tencentcloud_sdk_python_cfw-3.1.25}/tencentcloud/cfw/v20190904/cfw_client_async.py +182 -0
- {tencentcloud_sdk_python_cfw-3.1.21 → tencentcloud_sdk_python_cfw-3.1.25}/tencentcloud/cfw/v20190904/models.py +3044 -959
- {tencentcloud_sdk_python_cfw-3.1.21 → tencentcloud_sdk_python_cfw-3.1.25}/tencentcloud_sdk_python_cfw.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cfw-3.1.25/tencentcloud_sdk_python_cfw.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cfw-3.1.21/tencentcloud_sdk_python_cfw.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cfw-3.1.21 → tencentcloud_sdk_python_cfw-3.1.25}/README.rst +0 -0
- {tencentcloud_sdk_python_cfw-3.1.21 → tencentcloud_sdk_python_cfw-3.1.25}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cfw-3.1.21 → tencentcloud_sdk_python_cfw-3.1.25}/tencentcloud/cfw/__init__.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.21 → tencentcloud_sdk_python_cfw-3.1.25}/tencentcloud/cfw/v20190904/__init__.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.21 → tencentcloud_sdk_python_cfw-3.1.25}/tencentcloud/cfw/v20190904/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.21 → tencentcloud_sdk_python_cfw-3.1.25}/tencentcloud_sdk_python_cfw.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cfw-3.1.21 → tencentcloud_sdk_python_cfw-3.1.25}/tencentcloud_sdk_python_cfw.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cfw-3.1.21 → tencentcloud_sdk_python_cfw-3.1.25}/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.25
|
|
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.25
|
|
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.25,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cfw SDK for Python',
|
|
@@ -808,6 +808,100 @@ class CfwClient(AbstractClient):
|
|
|
808
808
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
809
809
|
|
|
810
810
|
|
|
811
|
+
def DescribeCcnAssociatedInstances(self, request):
|
|
812
|
+
r"""查询云联网关联的实例信息
|
|
813
|
+
|
|
814
|
+
:param request: Request instance for DescribeCcnAssociatedInstances.
|
|
815
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeCcnAssociatedInstancesRequest`
|
|
816
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeCcnAssociatedInstancesResponse`
|
|
817
|
+
|
|
818
|
+
"""
|
|
819
|
+
try:
|
|
820
|
+
params = request._serialize()
|
|
821
|
+
headers = request.headers
|
|
822
|
+
body = self.call("DescribeCcnAssociatedInstances", params, headers=headers)
|
|
823
|
+
response = json.loads(body)
|
|
824
|
+
model = models.DescribeCcnAssociatedInstancesResponse()
|
|
825
|
+
model._deserialize(response["Response"])
|
|
826
|
+
return model
|
|
827
|
+
except Exception as e:
|
|
828
|
+
if isinstance(e, TencentCloudSDKException):
|
|
829
|
+
raise
|
|
830
|
+
else:
|
|
831
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
def DescribeCcnInstanceRegionStatus(self, request):
|
|
835
|
+
r"""查询CCN关联实例的地域防火墙引流网络部署状态
|
|
836
|
+
1.根据CCN ID和实例ID列表,返回实例对应地域的防火墙引流网络部署状态
|
|
837
|
+
2.如果传入实例ID列表为空,则返回CCN关联的所有实例的地域防火墙引流网络部署状态
|
|
838
|
+
|
|
839
|
+
:param request: Request instance for DescribeCcnInstanceRegionStatus.
|
|
840
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeCcnInstanceRegionStatusRequest`
|
|
841
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeCcnInstanceRegionStatusResponse`
|
|
842
|
+
|
|
843
|
+
"""
|
|
844
|
+
try:
|
|
845
|
+
params = request._serialize()
|
|
846
|
+
headers = request.headers
|
|
847
|
+
body = self.call("DescribeCcnInstanceRegionStatus", params, headers=headers)
|
|
848
|
+
response = json.loads(body)
|
|
849
|
+
model = models.DescribeCcnInstanceRegionStatusResponse()
|
|
850
|
+
model._deserialize(response["Response"])
|
|
851
|
+
return model
|
|
852
|
+
except Exception as e:
|
|
853
|
+
if isinstance(e, TencentCloudSDKException):
|
|
854
|
+
raise
|
|
855
|
+
else:
|
|
856
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
857
|
+
|
|
858
|
+
|
|
859
|
+
def DescribeCcnVpcFwPolicyLimit(self, request):
|
|
860
|
+
r"""查询CCN中VPC防火墙接入策略配置时的规则数量限制
|
|
861
|
+
|
|
862
|
+
:param request: Request instance for DescribeCcnVpcFwPolicyLimit.
|
|
863
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeCcnVpcFwPolicyLimitRequest`
|
|
864
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeCcnVpcFwPolicyLimitResponse`
|
|
865
|
+
|
|
866
|
+
"""
|
|
867
|
+
try:
|
|
868
|
+
params = request._serialize()
|
|
869
|
+
headers = request.headers
|
|
870
|
+
body = self.call("DescribeCcnVpcFwPolicyLimit", params, headers=headers)
|
|
871
|
+
response = json.loads(body)
|
|
872
|
+
model = models.DescribeCcnVpcFwPolicyLimitResponse()
|
|
873
|
+
model._deserialize(response["Response"])
|
|
874
|
+
return model
|
|
875
|
+
except Exception as e:
|
|
876
|
+
if isinstance(e, TencentCloudSDKException):
|
|
877
|
+
raise
|
|
878
|
+
else:
|
|
879
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
880
|
+
|
|
881
|
+
|
|
882
|
+
def DescribeCcnVpcFwSwitch(self, request):
|
|
883
|
+
r"""查询CCN VPC防火墙开关配置
|
|
884
|
+
|
|
885
|
+
:param request: Request instance for DescribeCcnVpcFwSwitch.
|
|
886
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeCcnVpcFwSwitchRequest`
|
|
887
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeCcnVpcFwSwitchResponse`
|
|
888
|
+
|
|
889
|
+
"""
|
|
890
|
+
try:
|
|
891
|
+
params = request._serialize()
|
|
892
|
+
headers = request.headers
|
|
893
|
+
body = self.call("DescribeCcnVpcFwSwitch", params, headers=headers)
|
|
894
|
+
response = json.loads(body)
|
|
895
|
+
model = models.DescribeCcnVpcFwSwitchResponse()
|
|
896
|
+
model._deserialize(response["Response"])
|
|
897
|
+
return model
|
|
898
|
+
except Exception as e:
|
|
899
|
+
if isinstance(e, TencentCloudSDKException):
|
|
900
|
+
raise
|
|
901
|
+
else:
|
|
902
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
903
|
+
|
|
904
|
+
|
|
811
905
|
def DescribeCfwEips(self, request):
|
|
812
906
|
r"""查询防火墙弹性公网IP
|
|
813
907
|
|
|
@@ -854,6 +948,29 @@ class CfwClient(AbstractClient):
|
|
|
854
948
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
855
949
|
|
|
856
950
|
|
|
951
|
+
def DescribeClusterVpcFwSwitchs(self, request):
|
|
952
|
+
r"""查询集群模式Vpc间防火墙开关
|
|
953
|
+
|
|
954
|
+
:param request: Request instance for DescribeClusterVpcFwSwitchs.
|
|
955
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeClusterVpcFwSwitchsRequest`
|
|
956
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeClusterVpcFwSwitchsResponse`
|
|
957
|
+
|
|
958
|
+
"""
|
|
959
|
+
try:
|
|
960
|
+
params = request._serialize()
|
|
961
|
+
headers = request.headers
|
|
962
|
+
body = self.call("DescribeClusterVpcFwSwitchs", params, headers=headers)
|
|
963
|
+
response = json.loads(body)
|
|
964
|
+
model = models.DescribeClusterVpcFwSwitchsResponse()
|
|
965
|
+
model._deserialize(response["Response"])
|
|
966
|
+
return model
|
|
967
|
+
except Exception as e:
|
|
968
|
+
if isinstance(e, TencentCloudSDKException):
|
|
969
|
+
raise
|
|
970
|
+
else:
|
|
971
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
972
|
+
|
|
973
|
+
|
|
857
974
|
def DescribeDefenseSwitch(self, request):
|
|
858
975
|
r"""获取入侵防御按钮列表
|
|
859
976
|
|
|
@@ -1406,6 +1523,29 @@ class CfwClient(AbstractClient):
|
|
|
1406
1523
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1407
1524
|
|
|
1408
1525
|
|
|
1526
|
+
def DescribeSwitchError(self, request):
|
|
1527
|
+
r"""互联网边界防火墙开关横幅错误信息
|
|
1528
|
+
|
|
1529
|
+
:param request: Request instance for DescribeSwitchError.
|
|
1530
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeSwitchErrorRequest`
|
|
1531
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeSwitchErrorResponse`
|
|
1532
|
+
|
|
1533
|
+
"""
|
|
1534
|
+
try:
|
|
1535
|
+
params = request._serialize()
|
|
1536
|
+
headers = request.headers
|
|
1537
|
+
body = self.call("DescribeSwitchError", params, headers=headers)
|
|
1538
|
+
response = json.loads(body)
|
|
1539
|
+
model = models.DescribeSwitchErrorResponse()
|
|
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
|
+
|
|
1409
1549
|
def DescribeSwitchLists(self, request):
|
|
1410
1550
|
r"""防火墙开关列表,请换用DescribeFwEdgeIps
|
|
1411
1551
|
|
|
@@ -1544,6 +1684,29 @@ class CfwClient(AbstractClient):
|
|
|
1544
1684
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1545
1685
|
|
|
1546
1686
|
|
|
1687
|
+
def DescribeVpcFwCcnPolicyWhiteList(self, request):
|
|
1688
|
+
r"""查询VPC防火墙策略路由功能开白的CCN列表
|
|
1689
|
+
|
|
1690
|
+
:param request: Request instance for DescribeVpcFwCcnPolicyWhiteList.
|
|
1691
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeVpcFwCcnPolicyWhiteListRequest`
|
|
1692
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeVpcFwCcnPolicyWhiteListResponse`
|
|
1693
|
+
|
|
1694
|
+
"""
|
|
1695
|
+
try:
|
|
1696
|
+
params = request._serialize()
|
|
1697
|
+
headers = request.headers
|
|
1698
|
+
body = self.call("DescribeVpcFwCcnPolicyWhiteList", params, headers=headers)
|
|
1699
|
+
response = json.loads(body)
|
|
1700
|
+
model = models.DescribeVpcFwCcnPolicyWhiteListResponse()
|
|
1701
|
+
model._deserialize(response["Response"])
|
|
1702
|
+
return model
|
|
1703
|
+
except Exception as e:
|
|
1704
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1705
|
+
raise
|
|
1706
|
+
else:
|
|
1707
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1708
|
+
|
|
1709
|
+
|
|
1547
1710
|
def DescribeVpcFwGroupSwitch(self, request):
|
|
1548
1711
|
r"""VPC防火墙(组)开关列表
|
|
1549
1712
|
|
|
@@ -1846,6 +2009,29 @@ class CfwClient(AbstractClient):
|
|
|
1846
2009
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1847
2010
|
|
|
1848
2011
|
|
|
2012
|
+
def ModifyClusterVpcFwSwitch(self, request):
|
|
2013
|
+
r"""修改集群模式VPC防火墙开关
|
|
2014
|
+
|
|
2015
|
+
:param request: Request instance for ModifyClusterVpcFwSwitch.
|
|
2016
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.ModifyClusterVpcFwSwitchRequest`
|
|
2017
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.ModifyClusterVpcFwSwitchResponse`
|
|
2018
|
+
|
|
2019
|
+
"""
|
|
2020
|
+
try:
|
|
2021
|
+
params = request._serialize()
|
|
2022
|
+
headers = request.headers
|
|
2023
|
+
body = self.call("ModifyClusterVpcFwSwitch", params, headers=headers)
|
|
2024
|
+
response = json.loads(body)
|
|
2025
|
+
model = models.ModifyClusterVpcFwSwitchResponse()
|
|
2026
|
+
model._deserialize(response["Response"])
|
|
2027
|
+
return model
|
|
2028
|
+
except Exception as e:
|
|
2029
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2030
|
+
raise
|
|
2031
|
+
else:
|
|
2032
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2033
|
+
|
|
2034
|
+
|
|
1849
2035
|
def ModifyEWRuleStatus(self, request):
|
|
1850
2036
|
r"""启用停用VPC间规则或Nat边界规则
|
|
1851
2037
|
VPC间规则需指定EdgeId。Nat边界规则需指定地域Region与Direction。
|
|
@@ -2602,6 +2788,52 @@ class CfwClient(AbstractClient):
|
|
|
2602
2788
|
model = models.SyncFwOperateResponse()
|
|
2603
2789
|
model._deserialize(response["Response"])
|
|
2604
2790
|
return model
|
|
2791
|
+
except Exception as e:
|
|
2792
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2793
|
+
raise
|
|
2794
|
+
else:
|
|
2795
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2796
|
+
|
|
2797
|
+
|
|
2798
|
+
def UpdateCheckCcnNonDirectFlag(self, request):
|
|
2799
|
+
r"""重新检测CCN中接入VPC防火墙的VPC实例非同城直通标记
|
|
2800
|
+
|
|
2801
|
+
:param request: Request instance for UpdateCheckCcnNonDirectFlag.
|
|
2802
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.UpdateCheckCcnNonDirectFlagRequest`
|
|
2803
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.UpdateCheckCcnNonDirectFlagResponse`
|
|
2804
|
+
|
|
2805
|
+
"""
|
|
2806
|
+
try:
|
|
2807
|
+
params = request._serialize()
|
|
2808
|
+
headers = request.headers
|
|
2809
|
+
body = self.call("UpdateCheckCcnNonDirectFlag", params, headers=headers)
|
|
2810
|
+
response = json.loads(body)
|
|
2811
|
+
model = models.UpdateCheckCcnNonDirectFlagResponse()
|
|
2812
|
+
model._deserialize(response["Response"])
|
|
2813
|
+
return model
|
|
2814
|
+
except Exception as e:
|
|
2815
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2816
|
+
raise
|
|
2817
|
+
else:
|
|
2818
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2819
|
+
|
|
2820
|
+
|
|
2821
|
+
def UpdateClusterVpcFw(self, request):
|
|
2822
|
+
r"""修改更新CCN中VPC防火墙策略配置
|
|
2823
|
+
|
|
2824
|
+
:param request: Request instance for UpdateClusterVpcFw.
|
|
2825
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.UpdateClusterVpcFwRequest`
|
|
2826
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.UpdateClusterVpcFwResponse`
|
|
2827
|
+
|
|
2828
|
+
"""
|
|
2829
|
+
try:
|
|
2830
|
+
params = request._serialize()
|
|
2831
|
+
headers = request.headers
|
|
2832
|
+
body = self.call("UpdateClusterVpcFw", params, headers=headers)
|
|
2833
|
+
response = json.loads(body)
|
|
2834
|
+
model = models.UpdateClusterVpcFwResponse()
|
|
2835
|
+
model._deserialize(response["Response"])
|
|
2836
|
+
return model
|
|
2605
2837
|
except Exception as e:
|
|
2606
2838
|
if isinstance(e, TencentCloudSDKException):
|
|
2607
2839
|
raise
|
|
@@ -637,6 +637,80 @@ class CfwClient(AbstractClient):
|
|
|
637
637
|
|
|
638
638
|
return await self.call_and_deserialize(**kwargs)
|
|
639
639
|
|
|
640
|
+
async def DescribeCcnAssociatedInstances(
|
|
641
|
+
self,
|
|
642
|
+
request: models.DescribeCcnAssociatedInstancesRequest,
|
|
643
|
+
opts: Dict = None,
|
|
644
|
+
) -> models.DescribeCcnAssociatedInstancesResponse:
|
|
645
|
+
"""
|
|
646
|
+
查询云联网关联的实例信息
|
|
647
|
+
"""
|
|
648
|
+
|
|
649
|
+
kwargs = {}
|
|
650
|
+
kwargs["action"] = "DescribeCcnAssociatedInstances"
|
|
651
|
+
kwargs["params"] = request._serialize()
|
|
652
|
+
kwargs["resp_cls"] = models.DescribeCcnAssociatedInstancesResponse
|
|
653
|
+
kwargs["headers"] = request.headers
|
|
654
|
+
kwargs["opts"] = opts or {}
|
|
655
|
+
|
|
656
|
+
return await self.call_and_deserialize(**kwargs)
|
|
657
|
+
|
|
658
|
+
async def DescribeCcnInstanceRegionStatus(
|
|
659
|
+
self,
|
|
660
|
+
request: models.DescribeCcnInstanceRegionStatusRequest,
|
|
661
|
+
opts: Dict = None,
|
|
662
|
+
) -> models.DescribeCcnInstanceRegionStatusResponse:
|
|
663
|
+
"""
|
|
664
|
+
查询CCN关联实例的地域防火墙引流网络部署状态
|
|
665
|
+
1.根据CCN ID和实例ID列表,返回实例对应地域的防火墙引流网络部署状态
|
|
666
|
+
2.如果传入实例ID列表为空,则返回CCN关联的所有实例的地域防火墙引流网络部署状态
|
|
667
|
+
"""
|
|
668
|
+
|
|
669
|
+
kwargs = {}
|
|
670
|
+
kwargs["action"] = "DescribeCcnInstanceRegionStatus"
|
|
671
|
+
kwargs["params"] = request._serialize()
|
|
672
|
+
kwargs["resp_cls"] = models.DescribeCcnInstanceRegionStatusResponse
|
|
673
|
+
kwargs["headers"] = request.headers
|
|
674
|
+
kwargs["opts"] = opts or {}
|
|
675
|
+
|
|
676
|
+
return await self.call_and_deserialize(**kwargs)
|
|
677
|
+
|
|
678
|
+
async def DescribeCcnVpcFwPolicyLimit(
|
|
679
|
+
self,
|
|
680
|
+
request: models.DescribeCcnVpcFwPolicyLimitRequest,
|
|
681
|
+
opts: Dict = None,
|
|
682
|
+
) -> models.DescribeCcnVpcFwPolicyLimitResponse:
|
|
683
|
+
"""
|
|
684
|
+
查询CCN中VPC防火墙接入策略配置时的规则数量限制
|
|
685
|
+
"""
|
|
686
|
+
|
|
687
|
+
kwargs = {}
|
|
688
|
+
kwargs["action"] = "DescribeCcnVpcFwPolicyLimit"
|
|
689
|
+
kwargs["params"] = request._serialize()
|
|
690
|
+
kwargs["resp_cls"] = models.DescribeCcnVpcFwPolicyLimitResponse
|
|
691
|
+
kwargs["headers"] = request.headers
|
|
692
|
+
kwargs["opts"] = opts or {}
|
|
693
|
+
|
|
694
|
+
return await self.call_and_deserialize(**kwargs)
|
|
695
|
+
|
|
696
|
+
async def DescribeCcnVpcFwSwitch(
|
|
697
|
+
self,
|
|
698
|
+
request: models.DescribeCcnVpcFwSwitchRequest,
|
|
699
|
+
opts: Dict = None,
|
|
700
|
+
) -> models.DescribeCcnVpcFwSwitchResponse:
|
|
701
|
+
"""
|
|
702
|
+
查询CCN VPC防火墙开关配置
|
|
703
|
+
"""
|
|
704
|
+
|
|
705
|
+
kwargs = {}
|
|
706
|
+
kwargs["action"] = "DescribeCcnVpcFwSwitch"
|
|
707
|
+
kwargs["params"] = request._serialize()
|
|
708
|
+
kwargs["resp_cls"] = models.DescribeCcnVpcFwSwitchResponse
|
|
709
|
+
kwargs["headers"] = request.headers
|
|
710
|
+
kwargs["opts"] = opts or {}
|
|
711
|
+
|
|
712
|
+
return await self.call_and_deserialize(**kwargs)
|
|
713
|
+
|
|
640
714
|
async def DescribeCfwEips(
|
|
641
715
|
self,
|
|
642
716
|
request: models.DescribeCfwEipsRequest,
|
|
@@ -673,6 +747,24 @@ class CfwClient(AbstractClient):
|
|
|
673
747
|
|
|
674
748
|
return await self.call_and_deserialize(**kwargs)
|
|
675
749
|
|
|
750
|
+
async def DescribeClusterVpcFwSwitchs(
|
|
751
|
+
self,
|
|
752
|
+
request: models.DescribeClusterVpcFwSwitchsRequest,
|
|
753
|
+
opts: Dict = None,
|
|
754
|
+
) -> models.DescribeClusterVpcFwSwitchsResponse:
|
|
755
|
+
"""
|
|
756
|
+
查询集群模式Vpc间防火墙开关
|
|
757
|
+
"""
|
|
758
|
+
|
|
759
|
+
kwargs = {}
|
|
760
|
+
kwargs["action"] = "DescribeClusterVpcFwSwitchs"
|
|
761
|
+
kwargs["params"] = request._serialize()
|
|
762
|
+
kwargs["resp_cls"] = models.DescribeClusterVpcFwSwitchsResponse
|
|
763
|
+
kwargs["headers"] = request.headers
|
|
764
|
+
kwargs["opts"] = opts or {}
|
|
765
|
+
|
|
766
|
+
return await self.call_and_deserialize(**kwargs)
|
|
767
|
+
|
|
676
768
|
async def DescribeDefenseSwitch(
|
|
677
769
|
self,
|
|
678
770
|
request: models.DescribeDefenseSwitchRequest,
|
|
@@ -1105,6 +1197,24 @@ class CfwClient(AbstractClient):
|
|
|
1105
1197
|
|
|
1106
1198
|
return await self.call_and_deserialize(**kwargs)
|
|
1107
1199
|
|
|
1200
|
+
async def DescribeSwitchError(
|
|
1201
|
+
self,
|
|
1202
|
+
request: models.DescribeSwitchErrorRequest,
|
|
1203
|
+
opts: Dict = None,
|
|
1204
|
+
) -> models.DescribeSwitchErrorResponse:
|
|
1205
|
+
"""
|
|
1206
|
+
互联网边界防火墙开关横幅错误信息
|
|
1207
|
+
"""
|
|
1208
|
+
|
|
1209
|
+
kwargs = {}
|
|
1210
|
+
kwargs["action"] = "DescribeSwitchError"
|
|
1211
|
+
kwargs["params"] = request._serialize()
|
|
1212
|
+
kwargs["resp_cls"] = models.DescribeSwitchErrorResponse
|
|
1213
|
+
kwargs["headers"] = request.headers
|
|
1214
|
+
kwargs["opts"] = opts or {}
|
|
1215
|
+
|
|
1216
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1217
|
+
|
|
1108
1218
|
async def DescribeSwitchLists(
|
|
1109
1219
|
self,
|
|
1110
1220
|
request: models.DescribeSwitchListsRequest,
|
|
@@ -1213,6 +1323,24 @@ class CfwClient(AbstractClient):
|
|
|
1213
1323
|
|
|
1214
1324
|
return await self.call_and_deserialize(**kwargs)
|
|
1215
1325
|
|
|
1326
|
+
async def DescribeVpcFwCcnPolicyWhiteList(
|
|
1327
|
+
self,
|
|
1328
|
+
request: models.DescribeVpcFwCcnPolicyWhiteListRequest,
|
|
1329
|
+
opts: Dict = None,
|
|
1330
|
+
) -> models.DescribeVpcFwCcnPolicyWhiteListResponse:
|
|
1331
|
+
"""
|
|
1332
|
+
查询VPC防火墙策略路由功能开白的CCN列表
|
|
1333
|
+
"""
|
|
1334
|
+
|
|
1335
|
+
kwargs = {}
|
|
1336
|
+
kwargs["action"] = "DescribeVpcFwCcnPolicyWhiteList"
|
|
1337
|
+
kwargs["params"] = request._serialize()
|
|
1338
|
+
kwargs["resp_cls"] = models.DescribeVpcFwCcnPolicyWhiteListResponse
|
|
1339
|
+
kwargs["headers"] = request.headers
|
|
1340
|
+
kwargs["opts"] = opts or {}
|
|
1341
|
+
|
|
1342
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1343
|
+
|
|
1216
1344
|
async def DescribeVpcFwGroupSwitch(
|
|
1217
1345
|
self,
|
|
1218
1346
|
request: models.DescribeVpcFwGroupSwitchRequest,
|
|
@@ -1450,6 +1578,24 @@ class CfwClient(AbstractClient):
|
|
|
1450
1578
|
|
|
1451
1579
|
return await self.call_and_deserialize(**kwargs)
|
|
1452
1580
|
|
|
1581
|
+
async def ModifyClusterVpcFwSwitch(
|
|
1582
|
+
self,
|
|
1583
|
+
request: models.ModifyClusterVpcFwSwitchRequest,
|
|
1584
|
+
opts: Dict = None,
|
|
1585
|
+
) -> models.ModifyClusterVpcFwSwitchResponse:
|
|
1586
|
+
"""
|
|
1587
|
+
修改集群模式VPC防火墙开关
|
|
1588
|
+
"""
|
|
1589
|
+
|
|
1590
|
+
kwargs = {}
|
|
1591
|
+
kwargs["action"] = "ModifyClusterVpcFwSwitch"
|
|
1592
|
+
kwargs["params"] = request._serialize()
|
|
1593
|
+
kwargs["resp_cls"] = models.ModifyClusterVpcFwSwitchResponse
|
|
1594
|
+
kwargs["headers"] = request.headers
|
|
1595
|
+
kwargs["opts"] = opts or {}
|
|
1596
|
+
|
|
1597
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1598
|
+
|
|
1453
1599
|
async def ModifyEWRuleStatus(
|
|
1454
1600
|
self,
|
|
1455
1601
|
request: models.ModifyEWRuleStatusRequest,
|
|
@@ -2046,4 +2192,40 @@ class CfwClient(AbstractClient):
|
|
|
2046
2192
|
kwargs["headers"] = request.headers
|
|
2047
2193
|
kwargs["opts"] = opts or {}
|
|
2048
2194
|
|
|
2195
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2196
|
+
|
|
2197
|
+
async def UpdateCheckCcnNonDirectFlag(
|
|
2198
|
+
self,
|
|
2199
|
+
request: models.UpdateCheckCcnNonDirectFlagRequest,
|
|
2200
|
+
opts: Dict = None,
|
|
2201
|
+
) -> models.UpdateCheckCcnNonDirectFlagResponse:
|
|
2202
|
+
"""
|
|
2203
|
+
重新检测CCN中接入VPC防火墙的VPC实例非同城直通标记
|
|
2204
|
+
"""
|
|
2205
|
+
|
|
2206
|
+
kwargs = {}
|
|
2207
|
+
kwargs["action"] = "UpdateCheckCcnNonDirectFlag"
|
|
2208
|
+
kwargs["params"] = request._serialize()
|
|
2209
|
+
kwargs["resp_cls"] = models.UpdateCheckCcnNonDirectFlagResponse
|
|
2210
|
+
kwargs["headers"] = request.headers
|
|
2211
|
+
kwargs["opts"] = opts or {}
|
|
2212
|
+
|
|
2213
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2214
|
+
|
|
2215
|
+
async def UpdateClusterVpcFw(
|
|
2216
|
+
self,
|
|
2217
|
+
request: models.UpdateClusterVpcFwRequest,
|
|
2218
|
+
opts: Dict = None,
|
|
2219
|
+
) -> models.UpdateClusterVpcFwResponse:
|
|
2220
|
+
"""
|
|
2221
|
+
修改更新CCN中VPC防火墙策略配置
|
|
2222
|
+
"""
|
|
2223
|
+
|
|
2224
|
+
kwargs = {}
|
|
2225
|
+
kwargs["action"] = "UpdateClusterVpcFw"
|
|
2226
|
+
kwargs["params"] = request._serialize()
|
|
2227
|
+
kwargs["resp_cls"] = models.UpdateClusterVpcFwResponse
|
|
2228
|
+
kwargs["headers"] = request.headers
|
|
2229
|
+
kwargs["opts"] = opts or {}
|
|
2230
|
+
|
|
2049
2231
|
return await self.call_and_deserialize(**kwargs)
|