alibabacloud-cloudfw20171207 3.3.0__py3-none-any.whl → 3.5.0__py3-none-any.whl
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.
Potentially problematic release.
This version of alibabacloud-cloudfw20171207 might be problematic. Click here for more details.
- alibabacloud_cloudfw20171207/__init__.py +1 -1
- alibabacloud_cloudfw20171207/client.py +218 -0
- alibabacloud_cloudfw20171207/models.py +622 -1
- {alibabacloud_cloudfw20171207-3.3.0.dist-info → alibabacloud_cloudfw20171207-3.5.0.dist-info}/METADATA +1 -1
- alibabacloud_cloudfw20171207-3.5.0.dist-info/RECORD +8 -0
- {alibabacloud_cloudfw20171207-3.3.0.dist-info → alibabacloud_cloudfw20171207-3.5.0.dist-info}/WHEEL +1 -1
- alibabacloud_cloudfw20171207-3.3.0.dist-info/RECORD +0 -8
- {alibabacloud_cloudfw20171207-3.3.0.dist-info → alibabacloud_cloudfw20171207-3.5.0.dist-info}/LICENSE +0 -0
- {alibabacloud_cloudfw20171207-3.3.0.dist-info → alibabacloud_cloudfw20171207-3.5.0.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '3.
|
|
1
|
+
__version__ = '3.5.0'
|
|
@@ -609,6 +609,80 @@ class Client(OpenApiClient):
|
|
|
609
609
|
runtime = util_models.RuntimeOptions()
|
|
610
610
|
return await self.batch_copy_vpc_firewall_control_policy_with_options_async(request, runtime)
|
|
611
611
|
|
|
612
|
+
def batch_delete_vpc_firewall_control_policy_with_options(
|
|
613
|
+
self,
|
|
614
|
+
request: cloudfw_20171207_models.BatchDeleteVpcFirewallControlPolicyRequest,
|
|
615
|
+
runtime: util_models.RuntimeOptions,
|
|
616
|
+
) -> cloudfw_20171207_models.BatchDeleteVpcFirewallControlPolicyResponse:
|
|
617
|
+
UtilClient.validate_model(request)
|
|
618
|
+
query = {}
|
|
619
|
+
if not UtilClient.is_unset(request.acl_uuid_list):
|
|
620
|
+
query['AclUuidList'] = request.acl_uuid_list
|
|
621
|
+
if not UtilClient.is_unset(request.vpc_firewall_id):
|
|
622
|
+
query['VpcFirewallId'] = request.vpc_firewall_id
|
|
623
|
+
req = open_api_models.OpenApiRequest(
|
|
624
|
+
query=OpenApiUtilClient.query(query)
|
|
625
|
+
)
|
|
626
|
+
params = open_api_models.Params(
|
|
627
|
+
action='BatchDeleteVpcFirewallControlPolicy',
|
|
628
|
+
version='2017-12-07',
|
|
629
|
+
protocol='HTTPS',
|
|
630
|
+
pathname='/',
|
|
631
|
+
method='POST',
|
|
632
|
+
auth_type='AK',
|
|
633
|
+
style='RPC',
|
|
634
|
+
req_body_type='formData',
|
|
635
|
+
body_type='json'
|
|
636
|
+
)
|
|
637
|
+
return TeaCore.from_map(
|
|
638
|
+
cloudfw_20171207_models.BatchDeleteVpcFirewallControlPolicyResponse(),
|
|
639
|
+
self.call_api(params, req, runtime)
|
|
640
|
+
)
|
|
641
|
+
|
|
642
|
+
async def batch_delete_vpc_firewall_control_policy_with_options_async(
|
|
643
|
+
self,
|
|
644
|
+
request: cloudfw_20171207_models.BatchDeleteVpcFirewallControlPolicyRequest,
|
|
645
|
+
runtime: util_models.RuntimeOptions,
|
|
646
|
+
) -> cloudfw_20171207_models.BatchDeleteVpcFirewallControlPolicyResponse:
|
|
647
|
+
UtilClient.validate_model(request)
|
|
648
|
+
query = {}
|
|
649
|
+
if not UtilClient.is_unset(request.acl_uuid_list):
|
|
650
|
+
query['AclUuidList'] = request.acl_uuid_list
|
|
651
|
+
if not UtilClient.is_unset(request.vpc_firewall_id):
|
|
652
|
+
query['VpcFirewallId'] = request.vpc_firewall_id
|
|
653
|
+
req = open_api_models.OpenApiRequest(
|
|
654
|
+
query=OpenApiUtilClient.query(query)
|
|
655
|
+
)
|
|
656
|
+
params = open_api_models.Params(
|
|
657
|
+
action='BatchDeleteVpcFirewallControlPolicy',
|
|
658
|
+
version='2017-12-07',
|
|
659
|
+
protocol='HTTPS',
|
|
660
|
+
pathname='/',
|
|
661
|
+
method='POST',
|
|
662
|
+
auth_type='AK',
|
|
663
|
+
style='RPC',
|
|
664
|
+
req_body_type='formData',
|
|
665
|
+
body_type='json'
|
|
666
|
+
)
|
|
667
|
+
return TeaCore.from_map(
|
|
668
|
+
cloudfw_20171207_models.BatchDeleteVpcFirewallControlPolicyResponse(),
|
|
669
|
+
await self.call_api_async(params, req, runtime)
|
|
670
|
+
)
|
|
671
|
+
|
|
672
|
+
def batch_delete_vpc_firewall_control_policy(
|
|
673
|
+
self,
|
|
674
|
+
request: cloudfw_20171207_models.BatchDeleteVpcFirewallControlPolicyRequest,
|
|
675
|
+
) -> cloudfw_20171207_models.BatchDeleteVpcFirewallControlPolicyResponse:
|
|
676
|
+
runtime = util_models.RuntimeOptions()
|
|
677
|
+
return self.batch_delete_vpc_firewall_control_policy_with_options(request, runtime)
|
|
678
|
+
|
|
679
|
+
async def batch_delete_vpc_firewall_control_policy_async(
|
|
680
|
+
self,
|
|
681
|
+
request: cloudfw_20171207_models.BatchDeleteVpcFirewallControlPolicyRequest,
|
|
682
|
+
) -> cloudfw_20171207_models.BatchDeleteVpcFirewallControlPolicyResponse:
|
|
683
|
+
runtime = util_models.RuntimeOptions()
|
|
684
|
+
return await self.batch_delete_vpc_firewall_control_policy_with_options_async(request, runtime)
|
|
685
|
+
|
|
612
686
|
def create_download_task_with_options(
|
|
613
687
|
self,
|
|
614
688
|
request: cloudfw_20171207_models.CreateDownloadTaskRequest,
|
|
@@ -871,6 +945,116 @@ class Client(OpenApiClient):
|
|
|
871
945
|
runtime = util_models.RuntimeOptions()
|
|
872
946
|
return await self.create_nat_firewall_control_policy_with_options_async(request, runtime)
|
|
873
947
|
|
|
948
|
+
def create_security_proxy_with_options(
|
|
949
|
+
self,
|
|
950
|
+
request: cloudfw_20171207_models.CreateSecurityProxyRequest,
|
|
951
|
+
runtime: util_models.RuntimeOptions,
|
|
952
|
+
) -> cloudfw_20171207_models.CreateSecurityProxyResponse:
|
|
953
|
+
UtilClient.validate_model(request)
|
|
954
|
+
query = {}
|
|
955
|
+
if not UtilClient.is_unset(request.firewall_switch):
|
|
956
|
+
query['FirewallSwitch'] = request.firewall_switch
|
|
957
|
+
if not UtilClient.is_unset(request.lang):
|
|
958
|
+
query['Lang'] = request.lang
|
|
959
|
+
if not UtilClient.is_unset(request.nat_gateway_id):
|
|
960
|
+
query['NatGatewayId'] = request.nat_gateway_id
|
|
961
|
+
if not UtilClient.is_unset(request.nat_route_entry_list):
|
|
962
|
+
query['NatRouteEntryList'] = request.nat_route_entry_list
|
|
963
|
+
if not UtilClient.is_unset(request.proxy_name):
|
|
964
|
+
query['ProxyName'] = request.proxy_name
|
|
965
|
+
if not UtilClient.is_unset(request.region_no):
|
|
966
|
+
query['RegionNo'] = request.region_no
|
|
967
|
+
if not UtilClient.is_unset(request.strict_mode):
|
|
968
|
+
query['StrictMode'] = request.strict_mode
|
|
969
|
+
if not UtilClient.is_unset(request.vpc_id):
|
|
970
|
+
query['VpcId'] = request.vpc_id
|
|
971
|
+
if not UtilClient.is_unset(request.vswitch_auto):
|
|
972
|
+
query['VswitchAuto'] = request.vswitch_auto
|
|
973
|
+
if not UtilClient.is_unset(request.vswitch_cidr):
|
|
974
|
+
query['VswitchCidr'] = request.vswitch_cidr
|
|
975
|
+
if not UtilClient.is_unset(request.vswitch_id):
|
|
976
|
+
query['VswitchId'] = request.vswitch_id
|
|
977
|
+
req = open_api_models.OpenApiRequest(
|
|
978
|
+
query=OpenApiUtilClient.query(query)
|
|
979
|
+
)
|
|
980
|
+
params = open_api_models.Params(
|
|
981
|
+
action='CreateSecurityProxy',
|
|
982
|
+
version='2017-12-07',
|
|
983
|
+
protocol='HTTPS',
|
|
984
|
+
pathname='/',
|
|
985
|
+
method='POST',
|
|
986
|
+
auth_type='AK',
|
|
987
|
+
style='RPC',
|
|
988
|
+
req_body_type='formData',
|
|
989
|
+
body_type='json'
|
|
990
|
+
)
|
|
991
|
+
return TeaCore.from_map(
|
|
992
|
+
cloudfw_20171207_models.CreateSecurityProxyResponse(),
|
|
993
|
+
self.call_api(params, req, runtime)
|
|
994
|
+
)
|
|
995
|
+
|
|
996
|
+
async def create_security_proxy_with_options_async(
|
|
997
|
+
self,
|
|
998
|
+
request: cloudfw_20171207_models.CreateSecurityProxyRequest,
|
|
999
|
+
runtime: util_models.RuntimeOptions,
|
|
1000
|
+
) -> cloudfw_20171207_models.CreateSecurityProxyResponse:
|
|
1001
|
+
UtilClient.validate_model(request)
|
|
1002
|
+
query = {}
|
|
1003
|
+
if not UtilClient.is_unset(request.firewall_switch):
|
|
1004
|
+
query['FirewallSwitch'] = request.firewall_switch
|
|
1005
|
+
if not UtilClient.is_unset(request.lang):
|
|
1006
|
+
query['Lang'] = request.lang
|
|
1007
|
+
if not UtilClient.is_unset(request.nat_gateway_id):
|
|
1008
|
+
query['NatGatewayId'] = request.nat_gateway_id
|
|
1009
|
+
if not UtilClient.is_unset(request.nat_route_entry_list):
|
|
1010
|
+
query['NatRouteEntryList'] = request.nat_route_entry_list
|
|
1011
|
+
if not UtilClient.is_unset(request.proxy_name):
|
|
1012
|
+
query['ProxyName'] = request.proxy_name
|
|
1013
|
+
if not UtilClient.is_unset(request.region_no):
|
|
1014
|
+
query['RegionNo'] = request.region_no
|
|
1015
|
+
if not UtilClient.is_unset(request.strict_mode):
|
|
1016
|
+
query['StrictMode'] = request.strict_mode
|
|
1017
|
+
if not UtilClient.is_unset(request.vpc_id):
|
|
1018
|
+
query['VpcId'] = request.vpc_id
|
|
1019
|
+
if not UtilClient.is_unset(request.vswitch_auto):
|
|
1020
|
+
query['VswitchAuto'] = request.vswitch_auto
|
|
1021
|
+
if not UtilClient.is_unset(request.vswitch_cidr):
|
|
1022
|
+
query['VswitchCidr'] = request.vswitch_cidr
|
|
1023
|
+
if not UtilClient.is_unset(request.vswitch_id):
|
|
1024
|
+
query['VswitchId'] = request.vswitch_id
|
|
1025
|
+
req = open_api_models.OpenApiRequest(
|
|
1026
|
+
query=OpenApiUtilClient.query(query)
|
|
1027
|
+
)
|
|
1028
|
+
params = open_api_models.Params(
|
|
1029
|
+
action='CreateSecurityProxy',
|
|
1030
|
+
version='2017-12-07',
|
|
1031
|
+
protocol='HTTPS',
|
|
1032
|
+
pathname='/',
|
|
1033
|
+
method='POST',
|
|
1034
|
+
auth_type='AK',
|
|
1035
|
+
style='RPC',
|
|
1036
|
+
req_body_type='formData',
|
|
1037
|
+
body_type='json'
|
|
1038
|
+
)
|
|
1039
|
+
return TeaCore.from_map(
|
|
1040
|
+
cloudfw_20171207_models.CreateSecurityProxyResponse(),
|
|
1041
|
+
await self.call_api_async(params, req, runtime)
|
|
1042
|
+
)
|
|
1043
|
+
|
|
1044
|
+
def create_security_proxy(
|
|
1045
|
+
self,
|
|
1046
|
+
request: cloudfw_20171207_models.CreateSecurityProxyRequest,
|
|
1047
|
+
) -> cloudfw_20171207_models.CreateSecurityProxyResponse:
|
|
1048
|
+
runtime = util_models.RuntimeOptions()
|
|
1049
|
+
return self.create_security_proxy_with_options(request, runtime)
|
|
1050
|
+
|
|
1051
|
+
async def create_security_proxy_async(
|
|
1052
|
+
self,
|
|
1053
|
+
request: cloudfw_20171207_models.CreateSecurityProxyRequest,
|
|
1054
|
+
) -> cloudfw_20171207_models.CreateSecurityProxyResponse:
|
|
1055
|
+
runtime = util_models.RuntimeOptions()
|
|
1056
|
+
return await self.create_security_proxy_with_options_async(request, runtime)
|
|
1057
|
+
|
|
874
1058
|
def create_tr_firewall_v2with_options(
|
|
875
1059
|
self,
|
|
876
1060
|
request: cloudfw_20171207_models.CreateTrFirewallV2Request,
|
|
@@ -1894,6 +2078,15 @@ class Client(OpenApiClient):
|
|
|
1894
2078
|
request: cloudfw_20171207_models.DeleteDownloadTaskRequest,
|
|
1895
2079
|
runtime: util_models.RuntimeOptions,
|
|
1896
2080
|
) -> cloudfw_20171207_models.DeleteDownloadTaskResponse:
|
|
2081
|
+
"""
|
|
2082
|
+
You can call this operation to delete file download tasks and delete the files.
|
|
2083
|
+
**\
|
|
2084
|
+
**Warning** Both tasks and involved files are deleted. You can no longer download the involved files by using the download links. This operation is irreversible. Proceed with caution.
|
|
2085
|
+
|
|
2086
|
+
@param request: DeleteDownloadTaskRequest
|
|
2087
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
2088
|
+
@return: DeleteDownloadTaskResponse
|
|
2089
|
+
"""
|
|
1897
2090
|
UtilClient.validate_model(request)
|
|
1898
2091
|
query = {}
|
|
1899
2092
|
if not UtilClient.is_unset(request.lang):
|
|
@@ -1924,6 +2117,15 @@ class Client(OpenApiClient):
|
|
|
1924
2117
|
request: cloudfw_20171207_models.DeleteDownloadTaskRequest,
|
|
1925
2118
|
runtime: util_models.RuntimeOptions,
|
|
1926
2119
|
) -> cloudfw_20171207_models.DeleteDownloadTaskResponse:
|
|
2120
|
+
"""
|
|
2121
|
+
You can call this operation to delete file download tasks and delete the files.
|
|
2122
|
+
**\
|
|
2123
|
+
**Warning** Both tasks and involved files are deleted. You can no longer download the involved files by using the download links. This operation is irreversible. Proceed with caution.
|
|
2124
|
+
|
|
2125
|
+
@param request: DeleteDownloadTaskRequest
|
|
2126
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
2127
|
+
@return: DeleteDownloadTaskResponse
|
|
2128
|
+
"""
|
|
1927
2129
|
UtilClient.validate_model(request)
|
|
1928
2130
|
query = {}
|
|
1929
2131
|
if not UtilClient.is_unset(request.lang):
|
|
@@ -1953,6 +2155,14 @@ class Client(OpenApiClient):
|
|
|
1953
2155
|
self,
|
|
1954
2156
|
request: cloudfw_20171207_models.DeleteDownloadTaskRequest,
|
|
1955
2157
|
) -> cloudfw_20171207_models.DeleteDownloadTaskResponse:
|
|
2158
|
+
"""
|
|
2159
|
+
You can call this operation to delete file download tasks and delete the files.
|
|
2160
|
+
**\
|
|
2161
|
+
**Warning** Both tasks and involved files are deleted. You can no longer download the involved files by using the download links. This operation is irreversible. Proceed with caution.
|
|
2162
|
+
|
|
2163
|
+
@param request: DeleteDownloadTaskRequest
|
|
2164
|
+
@return: DeleteDownloadTaskResponse
|
|
2165
|
+
"""
|
|
1956
2166
|
runtime = util_models.RuntimeOptions()
|
|
1957
2167
|
return self.delete_download_task_with_options(request, runtime)
|
|
1958
2168
|
|
|
@@ -1960,6 +2170,14 @@ class Client(OpenApiClient):
|
|
|
1960
2170
|
self,
|
|
1961
2171
|
request: cloudfw_20171207_models.DeleteDownloadTaskRequest,
|
|
1962
2172
|
) -> cloudfw_20171207_models.DeleteDownloadTaskResponse:
|
|
2173
|
+
"""
|
|
2174
|
+
You can call this operation to delete file download tasks and delete the files.
|
|
2175
|
+
**\
|
|
2176
|
+
**Warning** Both tasks and involved files are deleted. You can no longer download the involved files by using the download links. This operation is irreversible. Proceed with caution.
|
|
2177
|
+
|
|
2178
|
+
@param request: DeleteDownloadTaskRequest
|
|
2179
|
+
@return: DeleteDownloadTaskResponse
|
|
2180
|
+
"""
|
|
1963
2181
|
runtime = util_models.RuntimeOptions()
|
|
1964
2182
|
return await self.delete_download_task_with_options_async(request, runtime)
|
|
1965
2183
|
|