tencentcloud-sdk-python-cfw 3.1.101__tar.gz → 3.1.110__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.101 → tencentcloud_sdk_python_cfw-3.1.110}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cfw-3.1.101 → tencentcloud_sdk_python_cfw-3.1.110}/setup.py +1 -1
- {tencentcloud_sdk_python_cfw-3.1.101 → tencentcloud_sdk_python_cfw-3.1.110}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cfw-3.1.101 → tencentcloud_sdk_python_cfw-3.1.110}/tencentcloud/cfw/v20190904/cfw_client.py +161 -0
- {tencentcloud_sdk_python_cfw-3.1.101 → tencentcloud_sdk_python_cfw-3.1.110}/tencentcloud/cfw/v20190904/cfw_client_async.py +126 -0
- {tencentcloud_sdk_python_cfw-3.1.101 → tencentcloud_sdk_python_cfw-3.1.110}/tencentcloud/cfw/v20190904/models.py +1657 -198
- {tencentcloud_sdk_python_cfw-3.1.101 → tencentcloud_sdk_python_cfw-3.1.110}/tencentcloud_sdk_python_cfw.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cfw-3.1.110/tencentcloud_sdk_python_cfw.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cfw-3.1.101/tencentcloud_sdk_python_cfw.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cfw-3.1.101 → tencentcloud_sdk_python_cfw-3.1.110}/README.rst +0 -0
- {tencentcloud_sdk_python_cfw-3.1.101 → tencentcloud_sdk_python_cfw-3.1.110}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cfw-3.1.101 → tencentcloud_sdk_python_cfw-3.1.110}/tencentcloud/cfw/__init__.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.101 → tencentcloud_sdk_python_cfw-3.1.110}/tencentcloud/cfw/v20190904/__init__.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.101 → tencentcloud_sdk_python_cfw-3.1.110}/tencentcloud/cfw/v20190904/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.101 → tencentcloud_sdk_python_cfw-3.1.110}/tencentcloud_sdk_python_cfw.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cfw-3.1.101 → tencentcloud_sdk_python_cfw-3.1.110}/tencentcloud_sdk_python_cfw.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cfw-3.1.101 → tencentcloud_sdk_python_cfw-3.1.110}/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.110
|
|
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.110
|
|
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.110,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cfw SDK for Python',
|
|
@@ -118,6 +118,29 @@ class CfwClient(AbstractClient):
|
|
|
118
118
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
119
119
|
|
|
120
120
|
|
|
121
|
+
def CloseClusterNatFwSwitch(self, request):
|
|
122
|
+
r"""关闭NAT CCN集群模式防火墙开关
|
|
123
|
+
|
|
124
|
+
:param request: Request instance for CloseClusterNatFwSwitch.
|
|
125
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.CloseClusterNatFwSwitchRequest`
|
|
126
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.CloseClusterNatFwSwitchResponse`
|
|
127
|
+
|
|
128
|
+
"""
|
|
129
|
+
try:
|
|
130
|
+
params = request._serialize()
|
|
131
|
+
headers = request.headers
|
|
132
|
+
body = self.call("CloseClusterNatFwSwitch", params, headers=headers)
|
|
133
|
+
response = json.loads(body)
|
|
134
|
+
model = models.CloseClusterNatFwSwitchResponse()
|
|
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
|
+
|
|
121
144
|
def CreateAcRules(self, request):
|
|
122
145
|
r"""创建访问控制规则
|
|
123
146
|
|
|
@@ -994,6 +1017,29 @@ class CfwClient(AbstractClient):
|
|
|
994
1017
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
995
1018
|
|
|
996
1019
|
|
|
1020
|
+
def DescribeClusterNatCcnFwSwitchList(self, request):
|
|
1021
|
+
r"""查询NAT CCN集群模式防火墙开关列表
|
|
1022
|
+
|
|
1023
|
+
:param request: Request instance for DescribeClusterNatCcnFwSwitchList.
|
|
1024
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeClusterNatCcnFwSwitchListRequest`
|
|
1025
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeClusterNatCcnFwSwitchListResponse`
|
|
1026
|
+
|
|
1027
|
+
"""
|
|
1028
|
+
try:
|
|
1029
|
+
params = request._serialize()
|
|
1030
|
+
headers = request.headers
|
|
1031
|
+
body = self.call("DescribeClusterNatCcnFwSwitchList", params, headers=headers)
|
|
1032
|
+
response = json.loads(body)
|
|
1033
|
+
model = models.DescribeClusterNatCcnFwSwitchListResponse()
|
|
1034
|
+
model._deserialize(response["Response"])
|
|
1035
|
+
return model
|
|
1036
|
+
except Exception as e:
|
|
1037
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1038
|
+
raise
|
|
1039
|
+
else:
|
|
1040
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1041
|
+
|
|
1042
|
+
|
|
997
1043
|
def DescribeClusterVpcFwSwitchs(self, request):
|
|
998
1044
|
r"""查询集群模式Vpc间防火墙开关
|
|
999
1045
|
|
|
@@ -1362,6 +1408,52 @@ class CfwClient(AbstractClient):
|
|
|
1362
1408
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1363
1409
|
|
|
1364
1410
|
|
|
1411
|
+
def DescribeNatCcnFwSwitch(self, request):
|
|
1412
|
+
r"""查询NAT CCN防火墙开关配置
|
|
1413
|
+
|
|
1414
|
+
:param request: Request instance for DescribeNatCcnFwSwitch.
|
|
1415
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeNatCcnFwSwitchRequest`
|
|
1416
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeNatCcnFwSwitchResponse`
|
|
1417
|
+
|
|
1418
|
+
"""
|
|
1419
|
+
try:
|
|
1420
|
+
params = request._serialize()
|
|
1421
|
+
headers = request.headers
|
|
1422
|
+
body = self.call("DescribeNatCcnFwSwitch", params, headers=headers)
|
|
1423
|
+
response = json.loads(body)
|
|
1424
|
+
model = models.DescribeNatCcnFwSwitchResponse()
|
|
1425
|
+
model._deserialize(response["Response"])
|
|
1426
|
+
return model
|
|
1427
|
+
except Exception as e:
|
|
1428
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1429
|
+
raise
|
|
1430
|
+
else:
|
|
1431
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1432
|
+
|
|
1433
|
+
|
|
1434
|
+
def DescribeNatFwClusterRegionStatus(self, request):
|
|
1435
|
+
r"""查询指定NAT所在地域是否有NAT防火墙引流集群
|
|
1436
|
+
|
|
1437
|
+
:param request: Request instance for DescribeNatFwClusterRegionStatus.
|
|
1438
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeNatFwClusterRegionStatusRequest`
|
|
1439
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeNatFwClusterRegionStatusResponse`
|
|
1440
|
+
|
|
1441
|
+
"""
|
|
1442
|
+
try:
|
|
1443
|
+
params = request._serialize()
|
|
1444
|
+
headers = request.headers
|
|
1445
|
+
body = self.call("DescribeNatFwClusterRegionStatus", params, headers=headers)
|
|
1446
|
+
response = json.loads(body)
|
|
1447
|
+
model = models.DescribeNatFwClusterRegionStatusResponse()
|
|
1448
|
+
model._deserialize(response["Response"])
|
|
1449
|
+
return model
|
|
1450
|
+
except Exception as e:
|
|
1451
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1452
|
+
raise
|
|
1453
|
+
else:
|
|
1454
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1455
|
+
|
|
1456
|
+
|
|
1365
1457
|
def DescribeNatFwDnatRule(self, request):
|
|
1366
1458
|
r"""查询Nat防火墙Dnat规则
|
|
1367
1459
|
|
|
@@ -2147,6 +2239,52 @@ class CfwClient(AbstractClient):
|
|
|
2147
2239
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2148
2240
|
|
|
2149
2241
|
|
|
2242
|
+
def ModifyClusterFwBypass(self, request):
|
|
2243
|
+
r"""修改集群防火墙Bypass状态
|
|
2244
|
+
|
|
2245
|
+
:param request: Request instance for ModifyClusterFwBypass.
|
|
2246
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.ModifyClusterFwBypassRequest`
|
|
2247
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.ModifyClusterFwBypassResponse`
|
|
2248
|
+
|
|
2249
|
+
"""
|
|
2250
|
+
try:
|
|
2251
|
+
params = request._serialize()
|
|
2252
|
+
headers = request.headers
|
|
2253
|
+
body = self.call("ModifyClusterFwBypass", params, headers=headers)
|
|
2254
|
+
response = json.loads(body)
|
|
2255
|
+
model = models.ModifyClusterFwBypassResponse()
|
|
2256
|
+
model._deserialize(response["Response"])
|
|
2257
|
+
return model
|
|
2258
|
+
except Exception as e:
|
|
2259
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2260
|
+
raise
|
|
2261
|
+
else:
|
|
2262
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2263
|
+
|
|
2264
|
+
|
|
2265
|
+
def ModifyClusterNatFwSwitch(self, request):
|
|
2266
|
+
r"""修改NAT CCN集群模式防火墙开关配置
|
|
2267
|
+
|
|
2268
|
+
:param request: Request instance for ModifyClusterNatFwSwitch.
|
|
2269
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.ModifyClusterNatFwSwitchRequest`
|
|
2270
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.ModifyClusterNatFwSwitchResponse`
|
|
2271
|
+
|
|
2272
|
+
"""
|
|
2273
|
+
try:
|
|
2274
|
+
params = request._serialize()
|
|
2275
|
+
headers = request.headers
|
|
2276
|
+
body = self.call("ModifyClusterNatFwSwitch", params, headers=headers)
|
|
2277
|
+
response = json.loads(body)
|
|
2278
|
+
model = models.ModifyClusterNatFwSwitchResponse()
|
|
2279
|
+
model._deserialize(response["Response"])
|
|
2280
|
+
return model
|
|
2281
|
+
except Exception as e:
|
|
2282
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2283
|
+
raise
|
|
2284
|
+
else:
|
|
2285
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2286
|
+
|
|
2287
|
+
|
|
2150
2288
|
def ModifyClusterVpcFwSwitch(self, request):
|
|
2151
2289
|
r"""修改集群模式VPC防火墙开关
|
|
2152
2290
|
|
|
@@ -2723,6 +2861,29 @@ class CfwClient(AbstractClient):
|
|
|
2723
2861
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2724
2862
|
|
|
2725
2863
|
|
|
2864
|
+
def OpenClusterNatFwSwitch(self, request):
|
|
2865
|
+
r"""开启NAT CCN集群模式防火墙开关
|
|
2866
|
+
|
|
2867
|
+
:param request: Request instance for OpenClusterNatFwSwitch.
|
|
2868
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.OpenClusterNatFwSwitchRequest`
|
|
2869
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.OpenClusterNatFwSwitchResponse`
|
|
2870
|
+
|
|
2871
|
+
"""
|
|
2872
|
+
try:
|
|
2873
|
+
params = request._serialize()
|
|
2874
|
+
headers = request.headers
|
|
2875
|
+
body = self.call("OpenClusterNatFwSwitch", params, headers=headers)
|
|
2876
|
+
response = json.loads(body)
|
|
2877
|
+
model = models.OpenClusterNatFwSwitchResponse()
|
|
2878
|
+
model._deserialize(response["Response"])
|
|
2879
|
+
return model
|
|
2880
|
+
except Exception as e:
|
|
2881
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2882
|
+
raise
|
|
2883
|
+
else:
|
|
2884
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2885
|
+
|
|
2886
|
+
|
|
2726
2887
|
def RemoveAcRule(self, request):
|
|
2727
2888
|
r"""删除互联网边界规则
|
|
2728
2889
|
|
|
@@ -97,6 +97,24 @@ class CfwClient(AbstractClient):
|
|
|
97
97
|
|
|
98
98
|
return await self.call_and_deserialize(**kwargs)
|
|
99
99
|
|
|
100
|
+
async def CloseClusterNatFwSwitch(
|
|
101
|
+
self,
|
|
102
|
+
request: models.CloseClusterNatFwSwitchRequest,
|
|
103
|
+
opts: Dict = None,
|
|
104
|
+
) -> models.CloseClusterNatFwSwitchResponse:
|
|
105
|
+
"""
|
|
106
|
+
关闭NAT CCN集群模式防火墙开关
|
|
107
|
+
"""
|
|
108
|
+
|
|
109
|
+
kwargs = {}
|
|
110
|
+
kwargs["action"] = "CloseClusterNatFwSwitch"
|
|
111
|
+
kwargs["params"] = request._serialize()
|
|
112
|
+
kwargs["resp_cls"] = models.CloseClusterNatFwSwitchResponse
|
|
113
|
+
kwargs["headers"] = request.headers
|
|
114
|
+
kwargs["opts"] = opts or {}
|
|
115
|
+
|
|
116
|
+
return await self.call_and_deserialize(**kwargs)
|
|
117
|
+
|
|
100
118
|
async def CreateAcRules(
|
|
101
119
|
self,
|
|
102
120
|
request: models.CreateAcRulesRequest,
|
|
@@ -783,6 +801,24 @@ class CfwClient(AbstractClient):
|
|
|
783
801
|
|
|
784
802
|
return await self.call_and_deserialize(**kwargs)
|
|
785
803
|
|
|
804
|
+
async def DescribeClusterNatCcnFwSwitchList(
|
|
805
|
+
self,
|
|
806
|
+
request: models.DescribeClusterNatCcnFwSwitchListRequest,
|
|
807
|
+
opts: Dict = None,
|
|
808
|
+
) -> models.DescribeClusterNatCcnFwSwitchListResponse:
|
|
809
|
+
"""
|
|
810
|
+
查询NAT CCN集群模式防火墙开关列表
|
|
811
|
+
"""
|
|
812
|
+
|
|
813
|
+
kwargs = {}
|
|
814
|
+
kwargs["action"] = "DescribeClusterNatCcnFwSwitchList"
|
|
815
|
+
kwargs["params"] = request._serialize()
|
|
816
|
+
kwargs["resp_cls"] = models.DescribeClusterNatCcnFwSwitchListResponse
|
|
817
|
+
kwargs["headers"] = request.headers
|
|
818
|
+
kwargs["opts"] = opts or {}
|
|
819
|
+
|
|
820
|
+
return await self.call_and_deserialize(**kwargs)
|
|
821
|
+
|
|
786
822
|
async def DescribeClusterVpcFwSwitchs(
|
|
787
823
|
self,
|
|
788
824
|
request: models.DescribeClusterVpcFwSwitchsRequest,
|
|
@@ -1071,6 +1107,42 @@ class CfwClient(AbstractClient):
|
|
|
1071
1107
|
|
|
1072
1108
|
return await self.call_and_deserialize(**kwargs)
|
|
1073
1109
|
|
|
1110
|
+
async def DescribeNatCcnFwSwitch(
|
|
1111
|
+
self,
|
|
1112
|
+
request: models.DescribeNatCcnFwSwitchRequest,
|
|
1113
|
+
opts: Dict = None,
|
|
1114
|
+
) -> models.DescribeNatCcnFwSwitchResponse:
|
|
1115
|
+
"""
|
|
1116
|
+
查询NAT CCN防火墙开关配置
|
|
1117
|
+
"""
|
|
1118
|
+
|
|
1119
|
+
kwargs = {}
|
|
1120
|
+
kwargs["action"] = "DescribeNatCcnFwSwitch"
|
|
1121
|
+
kwargs["params"] = request._serialize()
|
|
1122
|
+
kwargs["resp_cls"] = models.DescribeNatCcnFwSwitchResponse
|
|
1123
|
+
kwargs["headers"] = request.headers
|
|
1124
|
+
kwargs["opts"] = opts or {}
|
|
1125
|
+
|
|
1126
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1127
|
+
|
|
1128
|
+
async def DescribeNatFwClusterRegionStatus(
|
|
1129
|
+
self,
|
|
1130
|
+
request: models.DescribeNatFwClusterRegionStatusRequest,
|
|
1131
|
+
opts: Dict = None,
|
|
1132
|
+
) -> models.DescribeNatFwClusterRegionStatusResponse:
|
|
1133
|
+
"""
|
|
1134
|
+
查询指定NAT所在地域是否有NAT防火墙引流集群
|
|
1135
|
+
"""
|
|
1136
|
+
|
|
1137
|
+
kwargs = {}
|
|
1138
|
+
kwargs["action"] = "DescribeNatFwClusterRegionStatus"
|
|
1139
|
+
kwargs["params"] = request._serialize()
|
|
1140
|
+
kwargs["resp_cls"] = models.DescribeNatFwClusterRegionStatusResponse
|
|
1141
|
+
kwargs["headers"] = request.headers
|
|
1142
|
+
kwargs["opts"] = opts or {}
|
|
1143
|
+
|
|
1144
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1145
|
+
|
|
1074
1146
|
async def DescribeNatFwDnatRule(
|
|
1075
1147
|
self,
|
|
1076
1148
|
request: models.DescribeNatFwDnatRuleRequest,
|
|
@@ -1686,6 +1758,42 @@ class CfwClient(AbstractClient):
|
|
|
1686
1758
|
|
|
1687
1759
|
return await self.call_and_deserialize(**kwargs)
|
|
1688
1760
|
|
|
1761
|
+
async def ModifyClusterFwBypass(
|
|
1762
|
+
self,
|
|
1763
|
+
request: models.ModifyClusterFwBypassRequest,
|
|
1764
|
+
opts: Dict = None,
|
|
1765
|
+
) -> models.ModifyClusterFwBypassResponse:
|
|
1766
|
+
"""
|
|
1767
|
+
修改集群防火墙Bypass状态
|
|
1768
|
+
"""
|
|
1769
|
+
|
|
1770
|
+
kwargs = {}
|
|
1771
|
+
kwargs["action"] = "ModifyClusterFwBypass"
|
|
1772
|
+
kwargs["params"] = request._serialize()
|
|
1773
|
+
kwargs["resp_cls"] = models.ModifyClusterFwBypassResponse
|
|
1774
|
+
kwargs["headers"] = request.headers
|
|
1775
|
+
kwargs["opts"] = opts or {}
|
|
1776
|
+
|
|
1777
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1778
|
+
|
|
1779
|
+
async def ModifyClusterNatFwSwitch(
|
|
1780
|
+
self,
|
|
1781
|
+
request: models.ModifyClusterNatFwSwitchRequest,
|
|
1782
|
+
opts: Dict = None,
|
|
1783
|
+
) -> models.ModifyClusterNatFwSwitchResponse:
|
|
1784
|
+
"""
|
|
1785
|
+
修改NAT CCN集群模式防火墙开关配置
|
|
1786
|
+
"""
|
|
1787
|
+
|
|
1788
|
+
kwargs = {}
|
|
1789
|
+
kwargs["action"] = "ModifyClusterNatFwSwitch"
|
|
1790
|
+
kwargs["params"] = request._serialize()
|
|
1791
|
+
kwargs["resp_cls"] = models.ModifyClusterNatFwSwitchResponse
|
|
1792
|
+
kwargs["headers"] = request.headers
|
|
1793
|
+
kwargs["opts"] = opts or {}
|
|
1794
|
+
|
|
1795
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1796
|
+
|
|
1689
1797
|
async def ModifyClusterVpcFwSwitch(
|
|
1690
1798
|
self,
|
|
1691
1799
|
request: models.ModifyClusterVpcFwSwitchRequest,
|
|
@@ -2137,6 +2245,24 @@ class CfwClient(AbstractClient):
|
|
|
2137
2245
|
|
|
2138
2246
|
return await self.call_and_deserialize(**kwargs)
|
|
2139
2247
|
|
|
2248
|
+
async def OpenClusterNatFwSwitch(
|
|
2249
|
+
self,
|
|
2250
|
+
request: models.OpenClusterNatFwSwitchRequest,
|
|
2251
|
+
opts: Dict = None,
|
|
2252
|
+
) -> models.OpenClusterNatFwSwitchResponse:
|
|
2253
|
+
"""
|
|
2254
|
+
开启NAT CCN集群模式防火墙开关
|
|
2255
|
+
"""
|
|
2256
|
+
|
|
2257
|
+
kwargs = {}
|
|
2258
|
+
kwargs["action"] = "OpenClusterNatFwSwitch"
|
|
2259
|
+
kwargs["params"] = request._serialize()
|
|
2260
|
+
kwargs["resp_cls"] = models.OpenClusterNatFwSwitchResponse
|
|
2261
|
+
kwargs["headers"] = request.headers
|
|
2262
|
+
kwargs["opts"] = opts or {}
|
|
2263
|
+
|
|
2264
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2265
|
+
|
|
2140
2266
|
async def RemoveAcRule(
|
|
2141
2267
|
self,
|
|
2142
2268
|
request: models.RemoveAcRuleRequest,
|