tencentcloud-sdk-python-cfw 3.1.15__tar.gz → 3.1.24__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.15 → tencentcloud_sdk_python_cfw-3.1.24}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cfw-3.1.15 → tencentcloud_sdk_python_cfw-3.1.24}/setup.py +1 -1
- {tencentcloud_sdk_python_cfw-3.1.15 → tencentcloud_sdk_python_cfw-3.1.24}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cfw-3.1.15 → tencentcloud_sdk_python_cfw-3.1.24}/tencentcloud/cfw/v20190904/cfw_client.py +186 -25
- {tencentcloud_sdk_python_cfw-3.1.15 → tencentcloud_sdk_python_cfw-3.1.24}/tencentcloud/cfw/v20190904/cfw_client_async.py +146 -20
- {tencentcloud_sdk_python_cfw-3.1.15 → tencentcloud_sdk_python_cfw-3.1.24}/tencentcloud/cfw/v20190904/models.py +1400 -191
- {tencentcloud_sdk_python_cfw-3.1.15 → tencentcloud_sdk_python_cfw-3.1.24}/tencentcloud_sdk_python_cfw.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cfw-3.1.24/tencentcloud_sdk_python_cfw.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cfw-3.1.15/tencentcloud_sdk_python_cfw.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cfw-3.1.15 → tencentcloud_sdk_python_cfw-3.1.24}/README.rst +0 -0
- {tencentcloud_sdk_python_cfw-3.1.15 → tencentcloud_sdk_python_cfw-3.1.24}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cfw-3.1.15 → tencentcloud_sdk_python_cfw-3.1.24}/tencentcloud/cfw/__init__.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.15 → tencentcloud_sdk_python_cfw-3.1.24}/tencentcloud/cfw/v20190904/__init__.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.15 → tencentcloud_sdk_python_cfw-3.1.24}/tencentcloud/cfw/v20190904/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.15 → tencentcloud_sdk_python_cfw-3.1.24}/tencentcloud_sdk_python_cfw.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cfw-3.1.15 → tencentcloud_sdk_python_cfw-3.1.24}/tencentcloud_sdk_python_cfw.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cfw-3.1.15 → tencentcloud_sdk_python_cfw-3.1.24}/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.24
|
|
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.24
|
|
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.24,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cfw SDK for Python',
|
|
@@ -463,31 +463,6 @@ class CfwClient(AbstractClient):
|
|
|
463
463
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
464
464
|
|
|
465
465
|
|
|
466
|
-
def DeleteAllAccessControlRule(self, request):
|
|
467
|
-
r"""业务废弃
|
|
468
|
-
|
|
469
|
-
全部删除规则
|
|
470
|
-
|
|
471
|
-
:param request: Request instance for DeleteAllAccessControlRule.
|
|
472
|
-
:type request: :class:`tencentcloud.cfw.v20190904.models.DeleteAllAccessControlRuleRequest`
|
|
473
|
-
:rtype: :class:`tencentcloud.cfw.v20190904.models.DeleteAllAccessControlRuleResponse`
|
|
474
|
-
|
|
475
|
-
"""
|
|
476
|
-
try:
|
|
477
|
-
params = request._serialize()
|
|
478
|
-
headers = request.headers
|
|
479
|
-
body = self.call("DeleteAllAccessControlRule", params, headers=headers)
|
|
480
|
-
response = json.loads(body)
|
|
481
|
-
model = models.DeleteAllAccessControlRuleResponse()
|
|
482
|
-
model._deserialize(response["Response"])
|
|
483
|
-
return model
|
|
484
|
-
except Exception as e:
|
|
485
|
-
if isinstance(e, TencentCloudSDKException):
|
|
486
|
-
raise
|
|
487
|
-
else:
|
|
488
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
489
|
-
|
|
490
|
-
|
|
491
466
|
def DeleteBlockIgnoreRuleList(self, request):
|
|
492
467
|
r"""批量删除入侵防御封禁列表、放通列表规则
|
|
493
468
|
|
|
@@ -833,6 +808,77 @@ class CfwClient(AbstractClient):
|
|
|
833
808
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
834
809
|
|
|
835
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 DescribeCcnVpcFwSwitch(self, request):
|
|
860
|
+
r"""查询CCN VPC防火墙开关配置
|
|
861
|
+
|
|
862
|
+
:param request: Request instance for DescribeCcnVpcFwSwitch.
|
|
863
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeCcnVpcFwSwitchRequest`
|
|
864
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeCcnVpcFwSwitchResponse`
|
|
865
|
+
|
|
866
|
+
"""
|
|
867
|
+
try:
|
|
868
|
+
params = request._serialize()
|
|
869
|
+
headers = request.headers
|
|
870
|
+
body = self.call("DescribeCcnVpcFwSwitch", params, headers=headers)
|
|
871
|
+
response = json.loads(body)
|
|
872
|
+
model = models.DescribeCcnVpcFwSwitchResponse()
|
|
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
|
+
|
|
836
882
|
def DescribeCfwEips(self, request):
|
|
837
883
|
r"""查询防火墙弹性公网IP
|
|
838
884
|
|
|
@@ -1431,6 +1477,29 @@ class CfwClient(AbstractClient):
|
|
|
1431
1477
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1432
1478
|
|
|
1433
1479
|
|
|
1480
|
+
def DescribeSwitchError(self, request):
|
|
1481
|
+
r"""互联网边界防火墙开关横幅错误信息
|
|
1482
|
+
|
|
1483
|
+
:param request: Request instance for DescribeSwitchError.
|
|
1484
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeSwitchErrorRequest`
|
|
1485
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeSwitchErrorResponse`
|
|
1486
|
+
|
|
1487
|
+
"""
|
|
1488
|
+
try:
|
|
1489
|
+
params = request._serialize()
|
|
1490
|
+
headers = request.headers
|
|
1491
|
+
body = self.call("DescribeSwitchError", params, headers=headers)
|
|
1492
|
+
response = json.loads(body)
|
|
1493
|
+
model = models.DescribeSwitchErrorResponse()
|
|
1494
|
+
model._deserialize(response["Response"])
|
|
1495
|
+
return model
|
|
1496
|
+
except Exception as e:
|
|
1497
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1498
|
+
raise
|
|
1499
|
+
else:
|
|
1500
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1501
|
+
|
|
1502
|
+
|
|
1434
1503
|
def DescribeSwitchLists(self, request):
|
|
1435
1504
|
r"""防火墙开关列表,请换用DescribeFwEdgeIps
|
|
1436
1505
|
|
|
@@ -1569,6 +1638,29 @@ class CfwClient(AbstractClient):
|
|
|
1569
1638
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1570
1639
|
|
|
1571
1640
|
|
|
1641
|
+
def DescribeVpcFwCcnPolicyWhiteList(self, request):
|
|
1642
|
+
r"""查询VPC防火墙策略路由功能开白的CCN列表
|
|
1643
|
+
|
|
1644
|
+
:param request: Request instance for DescribeVpcFwCcnPolicyWhiteList.
|
|
1645
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeVpcFwCcnPolicyWhiteListRequest`
|
|
1646
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeVpcFwCcnPolicyWhiteListResponse`
|
|
1647
|
+
|
|
1648
|
+
"""
|
|
1649
|
+
try:
|
|
1650
|
+
params = request._serialize()
|
|
1651
|
+
headers = request.headers
|
|
1652
|
+
body = self.call("DescribeVpcFwCcnPolicyWhiteList", params, headers=headers)
|
|
1653
|
+
response = json.loads(body)
|
|
1654
|
+
model = models.DescribeVpcFwCcnPolicyWhiteListResponse()
|
|
1655
|
+
model._deserialize(response["Response"])
|
|
1656
|
+
return model
|
|
1657
|
+
except Exception as e:
|
|
1658
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1659
|
+
raise
|
|
1660
|
+
else:
|
|
1661
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1662
|
+
|
|
1663
|
+
|
|
1572
1664
|
def DescribeVpcFwGroupSwitch(self, request):
|
|
1573
1665
|
r"""VPC防火墙(组)开关列表
|
|
1574
1666
|
|
|
@@ -1871,6 +1963,29 @@ class CfwClient(AbstractClient):
|
|
|
1871
1963
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1872
1964
|
|
|
1873
1965
|
|
|
1966
|
+
def ModifyClusterVpcFwSwitch(self, request):
|
|
1967
|
+
r"""修改集群模式VPC防火墙开关
|
|
1968
|
+
|
|
1969
|
+
:param request: Request instance for ModifyClusterVpcFwSwitch.
|
|
1970
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.ModifyClusterVpcFwSwitchRequest`
|
|
1971
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.ModifyClusterVpcFwSwitchResponse`
|
|
1972
|
+
|
|
1973
|
+
"""
|
|
1974
|
+
try:
|
|
1975
|
+
params = request._serialize()
|
|
1976
|
+
headers = request.headers
|
|
1977
|
+
body = self.call("ModifyClusterVpcFwSwitch", params, headers=headers)
|
|
1978
|
+
response = json.loads(body)
|
|
1979
|
+
model = models.ModifyClusterVpcFwSwitchResponse()
|
|
1980
|
+
model._deserialize(response["Response"])
|
|
1981
|
+
return model
|
|
1982
|
+
except Exception as e:
|
|
1983
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1984
|
+
raise
|
|
1985
|
+
else:
|
|
1986
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1987
|
+
|
|
1988
|
+
|
|
1874
1989
|
def ModifyEWRuleStatus(self, request):
|
|
1875
1990
|
r"""启用停用VPC间规则或Nat边界规则
|
|
1876
1991
|
VPC间规则需指定EdgeId。Nat边界规则需指定地域Region与Direction。
|
|
@@ -2627,6 +2742,52 @@ class CfwClient(AbstractClient):
|
|
|
2627
2742
|
model = models.SyncFwOperateResponse()
|
|
2628
2743
|
model._deserialize(response["Response"])
|
|
2629
2744
|
return model
|
|
2745
|
+
except Exception as e:
|
|
2746
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2747
|
+
raise
|
|
2748
|
+
else:
|
|
2749
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2750
|
+
|
|
2751
|
+
|
|
2752
|
+
def UpdateCheckCcnNonDirectFlag(self, request):
|
|
2753
|
+
r"""重新检测CCN中接入VPC防火墙的VPC实例非同城直通标记
|
|
2754
|
+
|
|
2755
|
+
:param request: Request instance for UpdateCheckCcnNonDirectFlag.
|
|
2756
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.UpdateCheckCcnNonDirectFlagRequest`
|
|
2757
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.UpdateCheckCcnNonDirectFlagResponse`
|
|
2758
|
+
|
|
2759
|
+
"""
|
|
2760
|
+
try:
|
|
2761
|
+
params = request._serialize()
|
|
2762
|
+
headers = request.headers
|
|
2763
|
+
body = self.call("UpdateCheckCcnNonDirectFlag", params, headers=headers)
|
|
2764
|
+
response = json.loads(body)
|
|
2765
|
+
model = models.UpdateCheckCcnNonDirectFlagResponse()
|
|
2766
|
+
model._deserialize(response["Response"])
|
|
2767
|
+
return model
|
|
2768
|
+
except Exception as e:
|
|
2769
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2770
|
+
raise
|
|
2771
|
+
else:
|
|
2772
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2773
|
+
|
|
2774
|
+
|
|
2775
|
+
def UpdateClusterVpcFw(self, request):
|
|
2776
|
+
r"""修改更新CCN中VPC防火墙策略配置
|
|
2777
|
+
|
|
2778
|
+
:param request: Request instance for UpdateClusterVpcFw.
|
|
2779
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.UpdateClusterVpcFwRequest`
|
|
2780
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.UpdateClusterVpcFwResponse`
|
|
2781
|
+
|
|
2782
|
+
"""
|
|
2783
|
+
try:
|
|
2784
|
+
params = request._serialize()
|
|
2785
|
+
headers = request.headers
|
|
2786
|
+
body = self.call("UpdateClusterVpcFw", params, headers=headers)
|
|
2787
|
+
response = json.loads(body)
|
|
2788
|
+
model = models.UpdateClusterVpcFwResponse()
|
|
2789
|
+
model._deserialize(response["Response"])
|
|
2790
|
+
return model
|
|
2630
2791
|
except Exception as e:
|
|
2631
2792
|
if isinstance(e, TencentCloudSDKException):
|
|
2632
2793
|
raise
|
|
@@ -367,26 +367,6 @@ class CfwClient(AbstractClient):
|
|
|
367
367
|
|
|
368
368
|
return await self.call_and_deserialize(**kwargs)
|
|
369
369
|
|
|
370
|
-
async def DeleteAllAccessControlRule(
|
|
371
|
-
self,
|
|
372
|
-
request: models.DeleteAllAccessControlRuleRequest,
|
|
373
|
-
opts: Dict = None,
|
|
374
|
-
) -> models.DeleteAllAccessControlRuleResponse:
|
|
375
|
-
"""
|
|
376
|
-
业务废弃
|
|
377
|
-
|
|
378
|
-
全部删除规则
|
|
379
|
-
"""
|
|
380
|
-
|
|
381
|
-
kwargs = {}
|
|
382
|
-
kwargs["action"] = "DeleteAllAccessControlRule"
|
|
383
|
-
kwargs["params"] = request._serialize()
|
|
384
|
-
kwargs["resp_cls"] = models.DeleteAllAccessControlRuleResponse
|
|
385
|
-
kwargs["headers"] = request.headers
|
|
386
|
-
kwargs["opts"] = opts or {}
|
|
387
|
-
|
|
388
|
-
return await self.call_and_deserialize(**kwargs)
|
|
389
|
-
|
|
390
370
|
async def DeleteBlockIgnoreRuleList(
|
|
391
371
|
self,
|
|
392
372
|
request: models.DeleteBlockIgnoreRuleListRequest,
|
|
@@ -657,6 +637,62 @@ class CfwClient(AbstractClient):
|
|
|
657
637
|
|
|
658
638
|
return await self.call_and_deserialize(**kwargs)
|
|
659
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 DescribeCcnVpcFwSwitch(
|
|
679
|
+
self,
|
|
680
|
+
request: models.DescribeCcnVpcFwSwitchRequest,
|
|
681
|
+
opts: Dict = None,
|
|
682
|
+
) -> models.DescribeCcnVpcFwSwitchResponse:
|
|
683
|
+
"""
|
|
684
|
+
查询CCN VPC防火墙开关配置
|
|
685
|
+
"""
|
|
686
|
+
|
|
687
|
+
kwargs = {}
|
|
688
|
+
kwargs["action"] = "DescribeCcnVpcFwSwitch"
|
|
689
|
+
kwargs["params"] = request._serialize()
|
|
690
|
+
kwargs["resp_cls"] = models.DescribeCcnVpcFwSwitchResponse
|
|
691
|
+
kwargs["headers"] = request.headers
|
|
692
|
+
kwargs["opts"] = opts or {}
|
|
693
|
+
|
|
694
|
+
return await self.call_and_deserialize(**kwargs)
|
|
695
|
+
|
|
660
696
|
async def DescribeCfwEips(
|
|
661
697
|
self,
|
|
662
698
|
request: models.DescribeCfwEipsRequest,
|
|
@@ -1125,6 +1161,24 @@ class CfwClient(AbstractClient):
|
|
|
1125
1161
|
|
|
1126
1162
|
return await self.call_and_deserialize(**kwargs)
|
|
1127
1163
|
|
|
1164
|
+
async def DescribeSwitchError(
|
|
1165
|
+
self,
|
|
1166
|
+
request: models.DescribeSwitchErrorRequest,
|
|
1167
|
+
opts: Dict = None,
|
|
1168
|
+
) -> models.DescribeSwitchErrorResponse:
|
|
1169
|
+
"""
|
|
1170
|
+
互联网边界防火墙开关横幅错误信息
|
|
1171
|
+
"""
|
|
1172
|
+
|
|
1173
|
+
kwargs = {}
|
|
1174
|
+
kwargs["action"] = "DescribeSwitchError"
|
|
1175
|
+
kwargs["params"] = request._serialize()
|
|
1176
|
+
kwargs["resp_cls"] = models.DescribeSwitchErrorResponse
|
|
1177
|
+
kwargs["headers"] = request.headers
|
|
1178
|
+
kwargs["opts"] = opts or {}
|
|
1179
|
+
|
|
1180
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1181
|
+
|
|
1128
1182
|
async def DescribeSwitchLists(
|
|
1129
1183
|
self,
|
|
1130
1184
|
request: models.DescribeSwitchListsRequest,
|
|
@@ -1233,6 +1287,24 @@ class CfwClient(AbstractClient):
|
|
|
1233
1287
|
|
|
1234
1288
|
return await self.call_and_deserialize(**kwargs)
|
|
1235
1289
|
|
|
1290
|
+
async def DescribeVpcFwCcnPolicyWhiteList(
|
|
1291
|
+
self,
|
|
1292
|
+
request: models.DescribeVpcFwCcnPolicyWhiteListRequest,
|
|
1293
|
+
opts: Dict = None,
|
|
1294
|
+
) -> models.DescribeVpcFwCcnPolicyWhiteListResponse:
|
|
1295
|
+
"""
|
|
1296
|
+
查询VPC防火墙策略路由功能开白的CCN列表
|
|
1297
|
+
"""
|
|
1298
|
+
|
|
1299
|
+
kwargs = {}
|
|
1300
|
+
kwargs["action"] = "DescribeVpcFwCcnPolicyWhiteList"
|
|
1301
|
+
kwargs["params"] = request._serialize()
|
|
1302
|
+
kwargs["resp_cls"] = models.DescribeVpcFwCcnPolicyWhiteListResponse
|
|
1303
|
+
kwargs["headers"] = request.headers
|
|
1304
|
+
kwargs["opts"] = opts or {}
|
|
1305
|
+
|
|
1306
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1307
|
+
|
|
1236
1308
|
async def DescribeVpcFwGroupSwitch(
|
|
1237
1309
|
self,
|
|
1238
1310
|
request: models.DescribeVpcFwGroupSwitchRequest,
|
|
@@ -1470,6 +1542,24 @@ class CfwClient(AbstractClient):
|
|
|
1470
1542
|
|
|
1471
1543
|
return await self.call_and_deserialize(**kwargs)
|
|
1472
1544
|
|
|
1545
|
+
async def ModifyClusterVpcFwSwitch(
|
|
1546
|
+
self,
|
|
1547
|
+
request: models.ModifyClusterVpcFwSwitchRequest,
|
|
1548
|
+
opts: Dict = None,
|
|
1549
|
+
) -> models.ModifyClusterVpcFwSwitchResponse:
|
|
1550
|
+
"""
|
|
1551
|
+
修改集群模式VPC防火墙开关
|
|
1552
|
+
"""
|
|
1553
|
+
|
|
1554
|
+
kwargs = {}
|
|
1555
|
+
kwargs["action"] = "ModifyClusterVpcFwSwitch"
|
|
1556
|
+
kwargs["params"] = request._serialize()
|
|
1557
|
+
kwargs["resp_cls"] = models.ModifyClusterVpcFwSwitchResponse
|
|
1558
|
+
kwargs["headers"] = request.headers
|
|
1559
|
+
kwargs["opts"] = opts or {}
|
|
1560
|
+
|
|
1561
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1562
|
+
|
|
1473
1563
|
async def ModifyEWRuleStatus(
|
|
1474
1564
|
self,
|
|
1475
1565
|
request: models.ModifyEWRuleStatusRequest,
|
|
@@ -2066,4 +2156,40 @@ class CfwClient(AbstractClient):
|
|
|
2066
2156
|
kwargs["headers"] = request.headers
|
|
2067
2157
|
kwargs["opts"] = opts or {}
|
|
2068
2158
|
|
|
2159
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2160
|
+
|
|
2161
|
+
async def UpdateCheckCcnNonDirectFlag(
|
|
2162
|
+
self,
|
|
2163
|
+
request: models.UpdateCheckCcnNonDirectFlagRequest,
|
|
2164
|
+
opts: Dict = None,
|
|
2165
|
+
) -> models.UpdateCheckCcnNonDirectFlagResponse:
|
|
2166
|
+
"""
|
|
2167
|
+
重新检测CCN中接入VPC防火墙的VPC实例非同城直通标记
|
|
2168
|
+
"""
|
|
2169
|
+
|
|
2170
|
+
kwargs = {}
|
|
2171
|
+
kwargs["action"] = "UpdateCheckCcnNonDirectFlag"
|
|
2172
|
+
kwargs["params"] = request._serialize()
|
|
2173
|
+
kwargs["resp_cls"] = models.UpdateCheckCcnNonDirectFlagResponse
|
|
2174
|
+
kwargs["headers"] = request.headers
|
|
2175
|
+
kwargs["opts"] = opts or {}
|
|
2176
|
+
|
|
2177
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2178
|
+
|
|
2179
|
+
async def UpdateClusterVpcFw(
|
|
2180
|
+
self,
|
|
2181
|
+
request: models.UpdateClusterVpcFwRequest,
|
|
2182
|
+
opts: Dict = None,
|
|
2183
|
+
) -> models.UpdateClusterVpcFwResponse:
|
|
2184
|
+
"""
|
|
2185
|
+
修改更新CCN中VPC防火墙策略配置
|
|
2186
|
+
"""
|
|
2187
|
+
|
|
2188
|
+
kwargs = {}
|
|
2189
|
+
kwargs["action"] = "UpdateClusterVpcFw"
|
|
2190
|
+
kwargs["params"] = request._serialize()
|
|
2191
|
+
kwargs["resp_cls"] = models.UpdateClusterVpcFwResponse
|
|
2192
|
+
kwargs["headers"] = request.headers
|
|
2193
|
+
kwargs["opts"] = opts or {}
|
|
2194
|
+
|
|
2069
2195
|
return await self.call_and_deserialize(**kwargs)
|