alibabacloud-cloudfw20171207 7.0.0__py3-none-any.whl → 7.1.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 +893 -23
- alibabacloud_cloudfw20171207/models.py +1695 -273
- {alibabacloud_cloudfw20171207-7.0.0.dist-info → alibabacloud_cloudfw20171207-7.1.0.dist-info}/METADATA +1 -1
- alibabacloud_cloudfw20171207-7.1.0.dist-info/RECORD +8 -0
- alibabacloud_cloudfw20171207-7.0.0.dist-info/RECORD +0 -8
- {alibabacloud_cloudfw20171207-7.0.0.dist-info → alibabacloud_cloudfw20171207-7.1.0.dist-info}/LICENSE +0 -0
- {alibabacloud_cloudfw20171207-7.0.0.dist-info → alibabacloud_cloudfw20171207-7.1.0.dist-info}/WHEEL +0 -0
- {alibabacloud_cloudfw20171207-7.0.0.dist-info → alibabacloud_cloudfw20171207-7.1.0.dist-info}/top_level.txt +0 -0
|
@@ -1649,6 +1649,154 @@ class Client(OpenApiClient):
|
|
|
1649
1649
|
runtime = util_models.RuntimeOptions()
|
|
1650
1650
|
return await self.create_nat_firewall_pre_check_with_options_async(request, runtime)
|
|
1651
1651
|
|
|
1652
|
+
def create_private_dns_endpoint_with_options(
|
|
1653
|
+
self,
|
|
1654
|
+
request: cloudfw_20171207_models.CreatePrivateDnsEndpointRequest,
|
|
1655
|
+
runtime: util_models.RuntimeOptions,
|
|
1656
|
+
) -> cloudfw_20171207_models.CreatePrivateDnsEndpointResponse:
|
|
1657
|
+
"""
|
|
1658
|
+
@summary 创建私网DNS终端节点
|
|
1659
|
+
|
|
1660
|
+
@param request: CreatePrivateDnsEndpointRequest
|
|
1661
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
1662
|
+
@return: CreatePrivateDnsEndpointResponse
|
|
1663
|
+
"""
|
|
1664
|
+
UtilClient.validate_model(request)
|
|
1665
|
+
query = {}
|
|
1666
|
+
if not UtilClient.is_unset(request.access_instance_name):
|
|
1667
|
+
query['AccessInstanceName'] = request.access_instance_name
|
|
1668
|
+
if not UtilClient.is_unset(request.firewall_type):
|
|
1669
|
+
query['FirewallType'] = request.firewall_type
|
|
1670
|
+
if not UtilClient.is_unset(request.ip_protocol):
|
|
1671
|
+
query['IpProtocol'] = request.ip_protocol
|
|
1672
|
+
if not UtilClient.is_unset(request.member_uid):
|
|
1673
|
+
query['MemberUid'] = request.member_uid
|
|
1674
|
+
if not UtilClient.is_unset(request.port):
|
|
1675
|
+
query['Port'] = request.port
|
|
1676
|
+
if not UtilClient.is_unset(request.primary_dns):
|
|
1677
|
+
query['PrimaryDns'] = request.primary_dns
|
|
1678
|
+
if not UtilClient.is_unset(request.primary_vswitch_id):
|
|
1679
|
+
query['PrimaryVSwitchId'] = request.primary_vswitch_id
|
|
1680
|
+
if not UtilClient.is_unset(request.primary_vswitch_ip):
|
|
1681
|
+
query['PrimaryVSwitchIp'] = request.primary_vswitch_ip
|
|
1682
|
+
if not UtilClient.is_unset(request.private_dns_type):
|
|
1683
|
+
query['PrivateDnsType'] = request.private_dns_type
|
|
1684
|
+
if not UtilClient.is_unset(request.region_no):
|
|
1685
|
+
query['RegionNo'] = request.region_no
|
|
1686
|
+
if not UtilClient.is_unset(request.standby_dns):
|
|
1687
|
+
query['StandbyDns'] = request.standby_dns
|
|
1688
|
+
if not UtilClient.is_unset(request.standby_vswitch_id):
|
|
1689
|
+
query['StandbyVSwitchId'] = request.standby_vswitch_id
|
|
1690
|
+
if not UtilClient.is_unset(request.standby_vswitch_ip):
|
|
1691
|
+
query['StandbyVSwitchIp'] = request.standby_vswitch_ip
|
|
1692
|
+
if not UtilClient.is_unset(request.vpc_id):
|
|
1693
|
+
query['VpcId'] = request.vpc_id
|
|
1694
|
+
req = open_api_models.OpenApiRequest(
|
|
1695
|
+
query=OpenApiUtilClient.query(query)
|
|
1696
|
+
)
|
|
1697
|
+
params = open_api_models.Params(
|
|
1698
|
+
action='CreatePrivateDnsEndpoint',
|
|
1699
|
+
version='2017-12-07',
|
|
1700
|
+
protocol='HTTPS',
|
|
1701
|
+
pathname='/',
|
|
1702
|
+
method='POST',
|
|
1703
|
+
auth_type='AK',
|
|
1704
|
+
style='RPC',
|
|
1705
|
+
req_body_type='formData',
|
|
1706
|
+
body_type='json'
|
|
1707
|
+
)
|
|
1708
|
+
return TeaCore.from_map(
|
|
1709
|
+
cloudfw_20171207_models.CreatePrivateDnsEndpointResponse(),
|
|
1710
|
+
self.call_api(params, req, runtime)
|
|
1711
|
+
)
|
|
1712
|
+
|
|
1713
|
+
async def create_private_dns_endpoint_with_options_async(
|
|
1714
|
+
self,
|
|
1715
|
+
request: cloudfw_20171207_models.CreatePrivateDnsEndpointRequest,
|
|
1716
|
+
runtime: util_models.RuntimeOptions,
|
|
1717
|
+
) -> cloudfw_20171207_models.CreatePrivateDnsEndpointResponse:
|
|
1718
|
+
"""
|
|
1719
|
+
@summary 创建私网DNS终端节点
|
|
1720
|
+
|
|
1721
|
+
@param request: CreatePrivateDnsEndpointRequest
|
|
1722
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
1723
|
+
@return: CreatePrivateDnsEndpointResponse
|
|
1724
|
+
"""
|
|
1725
|
+
UtilClient.validate_model(request)
|
|
1726
|
+
query = {}
|
|
1727
|
+
if not UtilClient.is_unset(request.access_instance_name):
|
|
1728
|
+
query['AccessInstanceName'] = request.access_instance_name
|
|
1729
|
+
if not UtilClient.is_unset(request.firewall_type):
|
|
1730
|
+
query['FirewallType'] = request.firewall_type
|
|
1731
|
+
if not UtilClient.is_unset(request.ip_protocol):
|
|
1732
|
+
query['IpProtocol'] = request.ip_protocol
|
|
1733
|
+
if not UtilClient.is_unset(request.member_uid):
|
|
1734
|
+
query['MemberUid'] = request.member_uid
|
|
1735
|
+
if not UtilClient.is_unset(request.port):
|
|
1736
|
+
query['Port'] = request.port
|
|
1737
|
+
if not UtilClient.is_unset(request.primary_dns):
|
|
1738
|
+
query['PrimaryDns'] = request.primary_dns
|
|
1739
|
+
if not UtilClient.is_unset(request.primary_vswitch_id):
|
|
1740
|
+
query['PrimaryVSwitchId'] = request.primary_vswitch_id
|
|
1741
|
+
if not UtilClient.is_unset(request.primary_vswitch_ip):
|
|
1742
|
+
query['PrimaryVSwitchIp'] = request.primary_vswitch_ip
|
|
1743
|
+
if not UtilClient.is_unset(request.private_dns_type):
|
|
1744
|
+
query['PrivateDnsType'] = request.private_dns_type
|
|
1745
|
+
if not UtilClient.is_unset(request.region_no):
|
|
1746
|
+
query['RegionNo'] = request.region_no
|
|
1747
|
+
if not UtilClient.is_unset(request.standby_dns):
|
|
1748
|
+
query['StandbyDns'] = request.standby_dns
|
|
1749
|
+
if not UtilClient.is_unset(request.standby_vswitch_id):
|
|
1750
|
+
query['StandbyVSwitchId'] = request.standby_vswitch_id
|
|
1751
|
+
if not UtilClient.is_unset(request.standby_vswitch_ip):
|
|
1752
|
+
query['StandbyVSwitchIp'] = request.standby_vswitch_ip
|
|
1753
|
+
if not UtilClient.is_unset(request.vpc_id):
|
|
1754
|
+
query['VpcId'] = request.vpc_id
|
|
1755
|
+
req = open_api_models.OpenApiRequest(
|
|
1756
|
+
query=OpenApiUtilClient.query(query)
|
|
1757
|
+
)
|
|
1758
|
+
params = open_api_models.Params(
|
|
1759
|
+
action='CreatePrivateDnsEndpoint',
|
|
1760
|
+
version='2017-12-07',
|
|
1761
|
+
protocol='HTTPS',
|
|
1762
|
+
pathname='/',
|
|
1763
|
+
method='POST',
|
|
1764
|
+
auth_type='AK',
|
|
1765
|
+
style='RPC',
|
|
1766
|
+
req_body_type='formData',
|
|
1767
|
+
body_type='json'
|
|
1768
|
+
)
|
|
1769
|
+
return TeaCore.from_map(
|
|
1770
|
+
cloudfw_20171207_models.CreatePrivateDnsEndpointResponse(),
|
|
1771
|
+
await self.call_api_async(params, req, runtime)
|
|
1772
|
+
)
|
|
1773
|
+
|
|
1774
|
+
def create_private_dns_endpoint(
|
|
1775
|
+
self,
|
|
1776
|
+
request: cloudfw_20171207_models.CreatePrivateDnsEndpointRequest,
|
|
1777
|
+
) -> cloudfw_20171207_models.CreatePrivateDnsEndpointResponse:
|
|
1778
|
+
"""
|
|
1779
|
+
@summary 创建私网DNS终端节点
|
|
1780
|
+
|
|
1781
|
+
@param request: CreatePrivateDnsEndpointRequest
|
|
1782
|
+
@return: CreatePrivateDnsEndpointResponse
|
|
1783
|
+
"""
|
|
1784
|
+
runtime = util_models.RuntimeOptions()
|
|
1785
|
+
return self.create_private_dns_endpoint_with_options(request, runtime)
|
|
1786
|
+
|
|
1787
|
+
async def create_private_dns_endpoint_async(
|
|
1788
|
+
self,
|
|
1789
|
+
request: cloudfw_20171207_models.CreatePrivateDnsEndpointRequest,
|
|
1790
|
+
) -> cloudfw_20171207_models.CreatePrivateDnsEndpointResponse:
|
|
1791
|
+
"""
|
|
1792
|
+
@summary 创建私网DNS终端节点
|
|
1793
|
+
|
|
1794
|
+
@param request: CreatePrivateDnsEndpointRequest
|
|
1795
|
+
@return: CreatePrivateDnsEndpointResponse
|
|
1796
|
+
"""
|
|
1797
|
+
runtime = util_models.RuntimeOptions()
|
|
1798
|
+
return await self.create_private_dns_endpoint_with_options_async(request, runtime)
|
|
1799
|
+
|
|
1652
1800
|
def create_security_proxy_with_options(
|
|
1653
1801
|
self,
|
|
1654
1802
|
request: cloudfw_20171207_models.CreateSecurityProxyRequest,
|
|
@@ -9723,6 +9871,8 @@ class Client(OpenApiClient):
|
|
|
9723
9871
|
query['IsIgnore'] = request.is_ignore
|
|
9724
9872
|
if not UtilClient.is_unset(request.lang):
|
|
9725
9873
|
query['Lang'] = request.lang
|
|
9874
|
+
if not UtilClient.is_unset(request.lang):
|
|
9875
|
+
query['Lang'] = request.lang
|
|
9726
9876
|
if not UtilClient.is_unset(request.member_uid):
|
|
9727
9877
|
query['MemberUid'] = request.member_uid
|
|
9728
9878
|
if not UtilClient.is_unset(request.page_size):
|
|
@@ -9788,6 +9938,8 @@ class Client(OpenApiClient):
|
|
|
9788
9938
|
query['IsIgnore'] = request.is_ignore
|
|
9789
9939
|
if not UtilClient.is_unset(request.lang):
|
|
9790
9940
|
query['Lang'] = request.lang
|
|
9941
|
+
if not UtilClient.is_unset(request.lang):
|
|
9942
|
+
query['Lang'] = request.lang
|
|
9791
9943
|
if not UtilClient.is_unset(request.member_uid):
|
|
9792
9944
|
query['MemberUid'] = request.member_uid
|
|
9793
9945
|
if not UtilClient.is_unset(request.page_size):
|
|
@@ -11049,6 +11201,10 @@ class Client(OpenApiClient):
|
|
|
11049
11201
|
query['Lang'] = request.lang
|
|
11050
11202
|
if not UtilClient.is_unset(request.lang):
|
|
11051
11203
|
query['Lang'] = request.lang
|
|
11204
|
+
if not UtilClient.is_unset(request.network_instance_id):
|
|
11205
|
+
query['NetworkInstanceId'] = request.network_instance_id
|
|
11206
|
+
if not UtilClient.is_unset(request.peer_network_instance_id):
|
|
11207
|
+
query['PeerNetworkInstanceId'] = request.peer_network_instance_id
|
|
11052
11208
|
req = open_api_models.OpenApiRequest(
|
|
11053
11209
|
query=OpenApiUtilClient.query(query)
|
|
11054
11210
|
)
|
|
@@ -11090,6 +11246,10 @@ class Client(OpenApiClient):
|
|
|
11090
11246
|
query['Lang'] = request.lang
|
|
11091
11247
|
if not UtilClient.is_unset(request.lang):
|
|
11092
11248
|
query['Lang'] = request.lang
|
|
11249
|
+
if not UtilClient.is_unset(request.network_instance_id):
|
|
11250
|
+
query['NetworkInstanceId'] = request.network_instance_id
|
|
11251
|
+
if not UtilClient.is_unset(request.peer_network_instance_id):
|
|
11252
|
+
query['PeerNetworkInstanceId'] = request.peer_network_instance_id
|
|
11093
11253
|
req = open_api_models.OpenApiRequest(
|
|
11094
11254
|
query=OpenApiUtilClient.query(query)
|
|
11095
11255
|
)
|
|
@@ -13043,6 +13203,98 @@ class Client(OpenApiClient):
|
|
|
13043
13203
|
runtime = util_models.RuntimeOptions()
|
|
13044
13204
|
return await self.describe_postpay_user_nat_status_with_options_async(request, runtime)
|
|
13045
13205
|
|
|
13206
|
+
def describe_postpay_user_vpc_status_with_options(
|
|
13207
|
+
self,
|
|
13208
|
+
request: cloudfw_20171207_models.DescribePostpayUserVpcStatusRequest,
|
|
13209
|
+
runtime: util_models.RuntimeOptions,
|
|
13210
|
+
) -> cloudfw_20171207_models.DescribePostpayUserVpcStatusResponse:
|
|
13211
|
+
"""
|
|
13212
|
+
@summary Queries the status of the virtual private cloud (VPC) Firewall feature in Cloud Firewall that uses the pay-as-you-go billing method.
|
|
13213
|
+
|
|
13214
|
+
@param request: DescribePostpayUserVpcStatusRequest
|
|
13215
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
13216
|
+
@return: DescribePostpayUserVpcStatusResponse
|
|
13217
|
+
"""
|
|
13218
|
+
UtilClient.validate_model(request)
|
|
13219
|
+
query = OpenApiUtilClient.query(UtilClient.to_map(request))
|
|
13220
|
+
req = open_api_models.OpenApiRequest(
|
|
13221
|
+
query=OpenApiUtilClient.query(query)
|
|
13222
|
+
)
|
|
13223
|
+
params = open_api_models.Params(
|
|
13224
|
+
action='DescribePostpayUserVpcStatus',
|
|
13225
|
+
version='2017-12-07',
|
|
13226
|
+
protocol='HTTPS',
|
|
13227
|
+
pathname='/',
|
|
13228
|
+
method='GET',
|
|
13229
|
+
auth_type='AK',
|
|
13230
|
+
style='RPC',
|
|
13231
|
+
req_body_type='formData',
|
|
13232
|
+
body_type='json'
|
|
13233
|
+
)
|
|
13234
|
+
return TeaCore.from_map(
|
|
13235
|
+
cloudfw_20171207_models.DescribePostpayUserVpcStatusResponse(),
|
|
13236
|
+
self.call_api(params, req, runtime)
|
|
13237
|
+
)
|
|
13238
|
+
|
|
13239
|
+
async def describe_postpay_user_vpc_status_with_options_async(
|
|
13240
|
+
self,
|
|
13241
|
+
request: cloudfw_20171207_models.DescribePostpayUserVpcStatusRequest,
|
|
13242
|
+
runtime: util_models.RuntimeOptions,
|
|
13243
|
+
) -> cloudfw_20171207_models.DescribePostpayUserVpcStatusResponse:
|
|
13244
|
+
"""
|
|
13245
|
+
@summary Queries the status of the virtual private cloud (VPC) Firewall feature in Cloud Firewall that uses the pay-as-you-go billing method.
|
|
13246
|
+
|
|
13247
|
+
@param request: DescribePostpayUserVpcStatusRequest
|
|
13248
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
13249
|
+
@return: DescribePostpayUserVpcStatusResponse
|
|
13250
|
+
"""
|
|
13251
|
+
UtilClient.validate_model(request)
|
|
13252
|
+
query = OpenApiUtilClient.query(UtilClient.to_map(request))
|
|
13253
|
+
req = open_api_models.OpenApiRequest(
|
|
13254
|
+
query=OpenApiUtilClient.query(query)
|
|
13255
|
+
)
|
|
13256
|
+
params = open_api_models.Params(
|
|
13257
|
+
action='DescribePostpayUserVpcStatus',
|
|
13258
|
+
version='2017-12-07',
|
|
13259
|
+
protocol='HTTPS',
|
|
13260
|
+
pathname='/',
|
|
13261
|
+
method='GET',
|
|
13262
|
+
auth_type='AK',
|
|
13263
|
+
style='RPC',
|
|
13264
|
+
req_body_type='formData',
|
|
13265
|
+
body_type='json'
|
|
13266
|
+
)
|
|
13267
|
+
return TeaCore.from_map(
|
|
13268
|
+
cloudfw_20171207_models.DescribePostpayUserVpcStatusResponse(),
|
|
13269
|
+
await self.call_api_async(params, req, runtime)
|
|
13270
|
+
)
|
|
13271
|
+
|
|
13272
|
+
def describe_postpay_user_vpc_status(
|
|
13273
|
+
self,
|
|
13274
|
+
request: cloudfw_20171207_models.DescribePostpayUserVpcStatusRequest,
|
|
13275
|
+
) -> cloudfw_20171207_models.DescribePostpayUserVpcStatusResponse:
|
|
13276
|
+
"""
|
|
13277
|
+
@summary Queries the status of the virtual private cloud (VPC) Firewall feature in Cloud Firewall that uses the pay-as-you-go billing method.
|
|
13278
|
+
|
|
13279
|
+
@param request: DescribePostpayUserVpcStatusRequest
|
|
13280
|
+
@return: DescribePostpayUserVpcStatusResponse
|
|
13281
|
+
"""
|
|
13282
|
+
runtime = util_models.RuntimeOptions()
|
|
13283
|
+
return self.describe_postpay_user_vpc_status_with_options(request, runtime)
|
|
13284
|
+
|
|
13285
|
+
async def describe_postpay_user_vpc_status_async(
|
|
13286
|
+
self,
|
|
13287
|
+
request: cloudfw_20171207_models.DescribePostpayUserVpcStatusRequest,
|
|
13288
|
+
) -> cloudfw_20171207_models.DescribePostpayUserVpcStatusResponse:
|
|
13289
|
+
"""
|
|
13290
|
+
@summary Queries the status of the virtual private cloud (VPC) Firewall feature in Cloud Firewall that uses the pay-as-you-go billing method.
|
|
13291
|
+
|
|
13292
|
+
@param request: DescribePostpayUserVpcStatusRequest
|
|
13293
|
+
@return: DescribePostpayUserVpcStatusResponse
|
|
13294
|
+
"""
|
|
13295
|
+
runtime = util_models.RuntimeOptions()
|
|
13296
|
+
return await self.describe_postpay_user_vpc_status_with_options_async(request, runtime)
|
|
13297
|
+
|
|
13046
13298
|
def describe_prefix_lists_with_options(
|
|
13047
13299
|
self,
|
|
13048
13300
|
request: cloudfw_20171207_models.DescribePrefixListsRequest,
|
|
@@ -14303,72 +14555,208 @@ class Client(OpenApiClient):
|
|
|
14303
14555
|
runtime = util_models.RuntimeOptions()
|
|
14304
14556
|
return await self.describe_security_mode_with_options_async(request, runtime)
|
|
14305
14557
|
|
|
14306
|
-
def
|
|
14558
|
+
def describe_security_proxy_with_options(
|
|
14307
14559
|
self,
|
|
14560
|
+
request: cloudfw_20171207_models.DescribeSecurityProxyRequest,
|
|
14308
14561
|
runtime: util_models.RuntimeOptions,
|
|
14309
|
-
) -> cloudfw_20171207_models.
|
|
14562
|
+
) -> cloudfw_20171207_models.DescribeSecurityProxyResponse:
|
|
14310
14563
|
"""
|
|
14311
|
-
@summary
|
|
14564
|
+
@summary 获取正向代理
|
|
14312
14565
|
|
|
14313
|
-
@param request:
|
|
14566
|
+
@param request: DescribeSecurityProxyRequest
|
|
14314
14567
|
@param runtime: runtime options for this request RuntimeOptions
|
|
14315
|
-
@return:
|
|
14568
|
+
@return: DescribeSecurityProxyResponse
|
|
14316
14569
|
"""
|
|
14317
|
-
|
|
14570
|
+
UtilClient.validate_model(request)
|
|
14571
|
+
query = {}
|
|
14572
|
+
if not UtilClient.is_unset(request.lang):
|
|
14573
|
+
query['Lang'] = request.lang
|
|
14574
|
+
if not UtilClient.is_unset(request.lang):
|
|
14575
|
+
query['Lang'] = request.lang
|
|
14576
|
+
if not UtilClient.is_unset(request.member_uid):
|
|
14577
|
+
query['MemberUid'] = request.member_uid
|
|
14578
|
+
if not UtilClient.is_unset(request.nat_gateway_id):
|
|
14579
|
+
query['NatGatewayId'] = request.nat_gateway_id
|
|
14580
|
+
if not UtilClient.is_unset(request.page_no):
|
|
14581
|
+
query['PageNo'] = request.page_no
|
|
14582
|
+
if not UtilClient.is_unset(request.page_size):
|
|
14583
|
+
query['PageSize'] = request.page_size
|
|
14584
|
+
if not UtilClient.is_unset(request.proxy_id):
|
|
14585
|
+
query['ProxyId'] = request.proxy_id
|
|
14586
|
+
if not UtilClient.is_unset(request.proxy_name):
|
|
14587
|
+
query['ProxyName'] = request.proxy_name
|
|
14588
|
+
if not UtilClient.is_unset(request.region_no):
|
|
14589
|
+
query['RegionNo'] = request.region_no
|
|
14590
|
+
if not UtilClient.is_unset(request.status):
|
|
14591
|
+
query['Status'] = request.status
|
|
14592
|
+
if not UtilClient.is_unset(request.vpc_id):
|
|
14593
|
+
query['VpcId'] = request.vpc_id
|
|
14594
|
+
req = open_api_models.OpenApiRequest(
|
|
14595
|
+
query=OpenApiUtilClient.query(query)
|
|
14596
|
+
)
|
|
14318
14597
|
params = open_api_models.Params(
|
|
14319
|
-
action='
|
|
14598
|
+
action='DescribeSecurityProxy',
|
|
14320
14599
|
version='2017-12-07',
|
|
14321
14600
|
protocol='HTTPS',
|
|
14322
14601
|
pathname='/',
|
|
14323
|
-
method='
|
|
14602
|
+
method='POST',
|
|
14324
14603
|
auth_type='AK',
|
|
14325
14604
|
style='RPC',
|
|
14326
14605
|
req_body_type='formData',
|
|
14327
14606
|
body_type='json'
|
|
14328
14607
|
)
|
|
14329
14608
|
return TeaCore.from_map(
|
|
14330
|
-
cloudfw_20171207_models.
|
|
14609
|
+
cloudfw_20171207_models.DescribeSecurityProxyResponse(),
|
|
14331
14610
|
self.call_api(params, req, runtime)
|
|
14332
14611
|
)
|
|
14333
14612
|
|
|
14334
|
-
async def
|
|
14613
|
+
async def describe_security_proxy_with_options_async(
|
|
14335
14614
|
self,
|
|
14615
|
+
request: cloudfw_20171207_models.DescribeSecurityProxyRequest,
|
|
14336
14616
|
runtime: util_models.RuntimeOptions,
|
|
14337
|
-
) -> cloudfw_20171207_models.
|
|
14617
|
+
) -> cloudfw_20171207_models.DescribeSecurityProxyResponse:
|
|
14338
14618
|
"""
|
|
14339
|
-
@summary
|
|
14619
|
+
@summary 获取正向代理
|
|
14340
14620
|
|
|
14341
|
-
@param request:
|
|
14621
|
+
@param request: DescribeSecurityProxyRequest
|
|
14342
14622
|
@param runtime: runtime options for this request RuntimeOptions
|
|
14343
|
-
@return:
|
|
14623
|
+
@return: DescribeSecurityProxyResponse
|
|
14344
14624
|
"""
|
|
14345
|
-
|
|
14625
|
+
UtilClient.validate_model(request)
|
|
14626
|
+
query = {}
|
|
14627
|
+
if not UtilClient.is_unset(request.lang):
|
|
14628
|
+
query['Lang'] = request.lang
|
|
14629
|
+
if not UtilClient.is_unset(request.lang):
|
|
14630
|
+
query['Lang'] = request.lang
|
|
14631
|
+
if not UtilClient.is_unset(request.member_uid):
|
|
14632
|
+
query['MemberUid'] = request.member_uid
|
|
14633
|
+
if not UtilClient.is_unset(request.nat_gateway_id):
|
|
14634
|
+
query['NatGatewayId'] = request.nat_gateway_id
|
|
14635
|
+
if not UtilClient.is_unset(request.page_no):
|
|
14636
|
+
query['PageNo'] = request.page_no
|
|
14637
|
+
if not UtilClient.is_unset(request.page_size):
|
|
14638
|
+
query['PageSize'] = request.page_size
|
|
14639
|
+
if not UtilClient.is_unset(request.proxy_id):
|
|
14640
|
+
query['ProxyId'] = request.proxy_id
|
|
14641
|
+
if not UtilClient.is_unset(request.proxy_name):
|
|
14642
|
+
query['ProxyName'] = request.proxy_name
|
|
14643
|
+
if not UtilClient.is_unset(request.region_no):
|
|
14644
|
+
query['RegionNo'] = request.region_no
|
|
14645
|
+
if not UtilClient.is_unset(request.status):
|
|
14646
|
+
query['Status'] = request.status
|
|
14647
|
+
if not UtilClient.is_unset(request.vpc_id):
|
|
14648
|
+
query['VpcId'] = request.vpc_id
|
|
14649
|
+
req = open_api_models.OpenApiRequest(
|
|
14650
|
+
query=OpenApiUtilClient.query(query)
|
|
14651
|
+
)
|
|
14346
14652
|
params = open_api_models.Params(
|
|
14347
|
-
action='
|
|
14653
|
+
action='DescribeSecurityProxy',
|
|
14348
14654
|
version='2017-12-07',
|
|
14349
14655
|
protocol='HTTPS',
|
|
14350
14656
|
pathname='/',
|
|
14351
|
-
method='
|
|
14657
|
+
method='POST',
|
|
14352
14658
|
auth_type='AK',
|
|
14353
14659
|
style='RPC',
|
|
14354
14660
|
req_body_type='formData',
|
|
14355
14661
|
body_type='json'
|
|
14356
14662
|
)
|
|
14357
14663
|
return TeaCore.from_map(
|
|
14358
|
-
cloudfw_20171207_models.
|
|
14664
|
+
cloudfw_20171207_models.DescribeSecurityProxyResponse(),
|
|
14359
14665
|
await self.call_api_async(params, req, runtime)
|
|
14360
14666
|
)
|
|
14361
14667
|
|
|
14362
|
-
def
|
|
14668
|
+
def describe_security_proxy(
|
|
14669
|
+
self,
|
|
14670
|
+
request: cloudfw_20171207_models.DescribeSecurityProxyRequest,
|
|
14671
|
+
) -> cloudfw_20171207_models.DescribeSecurityProxyResponse:
|
|
14363
14672
|
"""
|
|
14364
|
-
@summary
|
|
14673
|
+
@summary 获取正向代理
|
|
14365
14674
|
|
|
14366
|
-
@
|
|
14675
|
+
@param request: DescribeSecurityProxyRequest
|
|
14676
|
+
@return: DescribeSecurityProxyResponse
|
|
14367
14677
|
"""
|
|
14368
14678
|
runtime = util_models.RuntimeOptions()
|
|
14369
|
-
return self.
|
|
14679
|
+
return self.describe_security_proxy_with_options(request, runtime)
|
|
14370
14680
|
|
|
14371
|
-
async def
|
|
14681
|
+
async def describe_security_proxy_async(
|
|
14682
|
+
self,
|
|
14683
|
+
request: cloudfw_20171207_models.DescribeSecurityProxyRequest,
|
|
14684
|
+
) -> cloudfw_20171207_models.DescribeSecurityProxyResponse:
|
|
14685
|
+
"""
|
|
14686
|
+
@summary 获取正向代理
|
|
14687
|
+
|
|
14688
|
+
@param request: DescribeSecurityProxyRequest
|
|
14689
|
+
@return: DescribeSecurityProxyResponse
|
|
14690
|
+
"""
|
|
14691
|
+
runtime = util_models.RuntimeOptions()
|
|
14692
|
+
return await self.describe_security_proxy_with_options_async(request, runtime)
|
|
14693
|
+
|
|
14694
|
+
def describe_signature_lib_version_with_options(
|
|
14695
|
+
self,
|
|
14696
|
+
runtime: util_models.RuntimeOptions,
|
|
14697
|
+
) -> cloudfw_20171207_models.DescribeSignatureLibVersionResponse:
|
|
14698
|
+
"""
|
|
14699
|
+
@summary Queries the information about signature library versions.
|
|
14700
|
+
|
|
14701
|
+
@param request: DescribeSignatureLibVersionRequest
|
|
14702
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
14703
|
+
@return: DescribeSignatureLibVersionResponse
|
|
14704
|
+
"""
|
|
14705
|
+
req = open_api_models.OpenApiRequest()
|
|
14706
|
+
params = open_api_models.Params(
|
|
14707
|
+
action='DescribeSignatureLibVersion',
|
|
14708
|
+
version='2017-12-07',
|
|
14709
|
+
protocol='HTTPS',
|
|
14710
|
+
pathname='/',
|
|
14711
|
+
method='GET',
|
|
14712
|
+
auth_type='AK',
|
|
14713
|
+
style='RPC',
|
|
14714
|
+
req_body_type='formData',
|
|
14715
|
+
body_type='json'
|
|
14716
|
+
)
|
|
14717
|
+
return TeaCore.from_map(
|
|
14718
|
+
cloudfw_20171207_models.DescribeSignatureLibVersionResponse(),
|
|
14719
|
+
self.call_api(params, req, runtime)
|
|
14720
|
+
)
|
|
14721
|
+
|
|
14722
|
+
async def describe_signature_lib_version_with_options_async(
|
|
14723
|
+
self,
|
|
14724
|
+
runtime: util_models.RuntimeOptions,
|
|
14725
|
+
) -> cloudfw_20171207_models.DescribeSignatureLibVersionResponse:
|
|
14726
|
+
"""
|
|
14727
|
+
@summary Queries the information about signature library versions.
|
|
14728
|
+
|
|
14729
|
+
@param request: DescribeSignatureLibVersionRequest
|
|
14730
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
14731
|
+
@return: DescribeSignatureLibVersionResponse
|
|
14732
|
+
"""
|
|
14733
|
+
req = open_api_models.OpenApiRequest()
|
|
14734
|
+
params = open_api_models.Params(
|
|
14735
|
+
action='DescribeSignatureLibVersion',
|
|
14736
|
+
version='2017-12-07',
|
|
14737
|
+
protocol='HTTPS',
|
|
14738
|
+
pathname='/',
|
|
14739
|
+
method='GET',
|
|
14740
|
+
auth_type='AK',
|
|
14741
|
+
style='RPC',
|
|
14742
|
+
req_body_type='formData',
|
|
14743
|
+
body_type='json'
|
|
14744
|
+
)
|
|
14745
|
+
return TeaCore.from_map(
|
|
14746
|
+
cloudfw_20171207_models.DescribeSignatureLibVersionResponse(),
|
|
14747
|
+
await self.call_api_async(params, req, runtime)
|
|
14748
|
+
)
|
|
14749
|
+
|
|
14750
|
+
def describe_signature_lib_version(self) -> cloudfw_20171207_models.DescribeSignatureLibVersionResponse:
|
|
14751
|
+
"""
|
|
14752
|
+
@summary Queries the information about signature library versions.
|
|
14753
|
+
|
|
14754
|
+
@return: DescribeSignatureLibVersionResponse
|
|
14755
|
+
"""
|
|
14756
|
+
runtime = util_models.RuntimeOptions()
|
|
14757
|
+
return self.describe_signature_lib_version_with_options(runtime)
|
|
14758
|
+
|
|
14759
|
+
async def describe_signature_lib_version_async(self) -> cloudfw_20171207_models.DescribeSignatureLibVersionResponse:
|
|
14372
14760
|
"""
|
|
14373
14761
|
@summary Queries the information about signature library versions.
|
|
14374
14762
|
|
|
@@ -14473,6 +14861,80 @@ class Client(OpenApiClient):
|
|
|
14473
14861
|
runtime = util_models.RuntimeOptions()
|
|
14474
14862
|
return await self.describe_sls_analyze_open_status_with_options_async(request, runtime)
|
|
14475
14863
|
|
|
14864
|
+
def describe_threat_intelligence_switch_with_options(
|
|
14865
|
+
self,
|
|
14866
|
+
runtime: util_models.RuntimeOptions,
|
|
14867
|
+
) -> cloudfw_20171207_models.DescribeThreatIntelligenceSwitchResponse:
|
|
14868
|
+
"""
|
|
14869
|
+
@summary 查询威胁情报配置的信息
|
|
14870
|
+
|
|
14871
|
+
@param request: DescribeThreatIntelligenceSwitchRequest
|
|
14872
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
14873
|
+
@return: DescribeThreatIntelligenceSwitchResponse
|
|
14874
|
+
"""
|
|
14875
|
+
req = open_api_models.OpenApiRequest()
|
|
14876
|
+
params = open_api_models.Params(
|
|
14877
|
+
action='DescribeThreatIntelligenceSwitch',
|
|
14878
|
+
version='2017-12-07',
|
|
14879
|
+
protocol='HTTPS',
|
|
14880
|
+
pathname='/',
|
|
14881
|
+
method='POST',
|
|
14882
|
+
auth_type='AK',
|
|
14883
|
+
style='RPC',
|
|
14884
|
+
req_body_type='formData',
|
|
14885
|
+
body_type='json'
|
|
14886
|
+
)
|
|
14887
|
+
return TeaCore.from_map(
|
|
14888
|
+
cloudfw_20171207_models.DescribeThreatIntelligenceSwitchResponse(),
|
|
14889
|
+
self.call_api(params, req, runtime)
|
|
14890
|
+
)
|
|
14891
|
+
|
|
14892
|
+
async def describe_threat_intelligence_switch_with_options_async(
|
|
14893
|
+
self,
|
|
14894
|
+
runtime: util_models.RuntimeOptions,
|
|
14895
|
+
) -> cloudfw_20171207_models.DescribeThreatIntelligenceSwitchResponse:
|
|
14896
|
+
"""
|
|
14897
|
+
@summary 查询威胁情报配置的信息
|
|
14898
|
+
|
|
14899
|
+
@param request: DescribeThreatIntelligenceSwitchRequest
|
|
14900
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
14901
|
+
@return: DescribeThreatIntelligenceSwitchResponse
|
|
14902
|
+
"""
|
|
14903
|
+
req = open_api_models.OpenApiRequest()
|
|
14904
|
+
params = open_api_models.Params(
|
|
14905
|
+
action='DescribeThreatIntelligenceSwitch',
|
|
14906
|
+
version='2017-12-07',
|
|
14907
|
+
protocol='HTTPS',
|
|
14908
|
+
pathname='/',
|
|
14909
|
+
method='POST',
|
|
14910
|
+
auth_type='AK',
|
|
14911
|
+
style='RPC',
|
|
14912
|
+
req_body_type='formData',
|
|
14913
|
+
body_type='json'
|
|
14914
|
+
)
|
|
14915
|
+
return TeaCore.from_map(
|
|
14916
|
+
cloudfw_20171207_models.DescribeThreatIntelligenceSwitchResponse(),
|
|
14917
|
+
await self.call_api_async(params, req, runtime)
|
|
14918
|
+
)
|
|
14919
|
+
|
|
14920
|
+
def describe_threat_intelligence_switch(self) -> cloudfw_20171207_models.DescribeThreatIntelligenceSwitchResponse:
|
|
14921
|
+
"""
|
|
14922
|
+
@summary 查询威胁情报配置的信息
|
|
14923
|
+
|
|
14924
|
+
@return: DescribeThreatIntelligenceSwitchResponse
|
|
14925
|
+
"""
|
|
14926
|
+
runtime = util_models.RuntimeOptions()
|
|
14927
|
+
return self.describe_threat_intelligence_switch_with_options(runtime)
|
|
14928
|
+
|
|
14929
|
+
async def describe_threat_intelligence_switch_async(self) -> cloudfw_20171207_models.DescribeThreatIntelligenceSwitchResponse:
|
|
14930
|
+
"""
|
|
14931
|
+
@summary 查询威胁情报配置的信息
|
|
14932
|
+
|
|
14933
|
+
@return: DescribeThreatIntelligenceSwitchResponse
|
|
14934
|
+
"""
|
|
14935
|
+
runtime = util_models.RuntimeOptions()
|
|
14936
|
+
return await self.describe_threat_intelligence_switch_with_options_async(runtime)
|
|
14937
|
+
|
|
14476
14938
|
def describe_tr_firewall_policy_back_up_association_list_with_options(
|
|
14477
14939
|
self,
|
|
14478
14940
|
tmp_req: cloudfw_20171207_models.DescribeTrFirewallPolicyBackUpAssociationListRequest,
|
|
@@ -17641,6 +18103,206 @@ class Client(OpenApiClient):
|
|
|
17641
18103
|
runtime = util_models.RuntimeOptions()
|
|
17642
18104
|
return await self.enable_sdl_protected_asset_with_options_async(request, runtime)
|
|
17643
18105
|
|
|
18106
|
+
def get_tls_inspect_certificate_download_url_with_options(
|
|
18107
|
+
self,
|
|
18108
|
+
request: cloudfw_20171207_models.GetTlsInspectCertificateDownloadUrlRequest,
|
|
18109
|
+
runtime: util_models.RuntimeOptions,
|
|
18110
|
+
) -> cloudfw_20171207_models.GetTlsInspectCertificateDownloadUrlResponse:
|
|
18111
|
+
"""
|
|
18112
|
+
@summary 下载TLS证书
|
|
18113
|
+
|
|
18114
|
+
@param request: GetTlsInspectCertificateDownloadUrlRequest
|
|
18115
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
18116
|
+
@return: GetTlsInspectCertificateDownloadUrlResponse
|
|
18117
|
+
"""
|
|
18118
|
+
UtilClient.validate_model(request)
|
|
18119
|
+
query = {}
|
|
18120
|
+
if not UtilClient.is_unset(request.ca_cert_id):
|
|
18121
|
+
query['CaCertId'] = request.ca_cert_id
|
|
18122
|
+
req = open_api_models.OpenApiRequest(
|
|
18123
|
+
query=OpenApiUtilClient.query(query)
|
|
18124
|
+
)
|
|
18125
|
+
params = open_api_models.Params(
|
|
18126
|
+
action='GetTlsInspectCertificateDownloadUrl',
|
|
18127
|
+
version='2017-12-07',
|
|
18128
|
+
protocol='HTTPS',
|
|
18129
|
+
pathname='/',
|
|
18130
|
+
method='POST',
|
|
18131
|
+
auth_type='AK',
|
|
18132
|
+
style='RPC',
|
|
18133
|
+
req_body_type='formData',
|
|
18134
|
+
body_type='json'
|
|
18135
|
+
)
|
|
18136
|
+
return TeaCore.from_map(
|
|
18137
|
+
cloudfw_20171207_models.GetTlsInspectCertificateDownloadUrlResponse(),
|
|
18138
|
+
self.call_api(params, req, runtime)
|
|
18139
|
+
)
|
|
18140
|
+
|
|
18141
|
+
async def get_tls_inspect_certificate_download_url_with_options_async(
|
|
18142
|
+
self,
|
|
18143
|
+
request: cloudfw_20171207_models.GetTlsInspectCertificateDownloadUrlRequest,
|
|
18144
|
+
runtime: util_models.RuntimeOptions,
|
|
18145
|
+
) -> cloudfw_20171207_models.GetTlsInspectCertificateDownloadUrlResponse:
|
|
18146
|
+
"""
|
|
18147
|
+
@summary 下载TLS证书
|
|
18148
|
+
|
|
18149
|
+
@param request: GetTlsInspectCertificateDownloadUrlRequest
|
|
18150
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
18151
|
+
@return: GetTlsInspectCertificateDownloadUrlResponse
|
|
18152
|
+
"""
|
|
18153
|
+
UtilClient.validate_model(request)
|
|
18154
|
+
query = {}
|
|
18155
|
+
if not UtilClient.is_unset(request.ca_cert_id):
|
|
18156
|
+
query['CaCertId'] = request.ca_cert_id
|
|
18157
|
+
req = open_api_models.OpenApiRequest(
|
|
18158
|
+
query=OpenApiUtilClient.query(query)
|
|
18159
|
+
)
|
|
18160
|
+
params = open_api_models.Params(
|
|
18161
|
+
action='GetTlsInspectCertificateDownloadUrl',
|
|
18162
|
+
version='2017-12-07',
|
|
18163
|
+
protocol='HTTPS',
|
|
18164
|
+
pathname='/',
|
|
18165
|
+
method='POST',
|
|
18166
|
+
auth_type='AK',
|
|
18167
|
+
style='RPC',
|
|
18168
|
+
req_body_type='formData',
|
|
18169
|
+
body_type='json'
|
|
18170
|
+
)
|
|
18171
|
+
return TeaCore.from_map(
|
|
18172
|
+
cloudfw_20171207_models.GetTlsInspectCertificateDownloadUrlResponse(),
|
|
18173
|
+
await self.call_api_async(params, req, runtime)
|
|
18174
|
+
)
|
|
18175
|
+
|
|
18176
|
+
def get_tls_inspect_certificate_download_url(
|
|
18177
|
+
self,
|
|
18178
|
+
request: cloudfw_20171207_models.GetTlsInspectCertificateDownloadUrlRequest,
|
|
18179
|
+
) -> cloudfw_20171207_models.GetTlsInspectCertificateDownloadUrlResponse:
|
|
18180
|
+
"""
|
|
18181
|
+
@summary 下载TLS证书
|
|
18182
|
+
|
|
18183
|
+
@param request: GetTlsInspectCertificateDownloadUrlRequest
|
|
18184
|
+
@return: GetTlsInspectCertificateDownloadUrlResponse
|
|
18185
|
+
"""
|
|
18186
|
+
runtime = util_models.RuntimeOptions()
|
|
18187
|
+
return self.get_tls_inspect_certificate_download_url_with_options(request, runtime)
|
|
18188
|
+
|
|
18189
|
+
async def get_tls_inspect_certificate_download_url_async(
|
|
18190
|
+
self,
|
|
18191
|
+
request: cloudfw_20171207_models.GetTlsInspectCertificateDownloadUrlRequest,
|
|
18192
|
+
) -> cloudfw_20171207_models.GetTlsInspectCertificateDownloadUrlResponse:
|
|
18193
|
+
"""
|
|
18194
|
+
@summary 下载TLS证书
|
|
18195
|
+
|
|
18196
|
+
@param request: GetTlsInspectCertificateDownloadUrlRequest
|
|
18197
|
+
@return: GetTlsInspectCertificateDownloadUrlResponse
|
|
18198
|
+
"""
|
|
18199
|
+
runtime = util_models.RuntimeOptions()
|
|
18200
|
+
return await self.get_tls_inspect_certificate_download_url_with_options_async(request, runtime)
|
|
18201
|
+
|
|
18202
|
+
def list_tls_inspect_cacertificates_with_options(
|
|
18203
|
+
self,
|
|
18204
|
+
request: cloudfw_20171207_models.ListTlsInspectCACertificatesRequest,
|
|
18205
|
+
runtime: util_models.RuntimeOptions,
|
|
18206
|
+
) -> cloudfw_20171207_models.ListTlsInspectCACertificatesResponse:
|
|
18207
|
+
"""
|
|
18208
|
+
@summary 查询TLS检查证书
|
|
18209
|
+
|
|
18210
|
+
@param request: ListTlsInspectCACertificatesRequest
|
|
18211
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
18212
|
+
@return: ListTlsInspectCACertificatesResponse
|
|
18213
|
+
"""
|
|
18214
|
+
UtilClient.validate_model(request)
|
|
18215
|
+
query = {}
|
|
18216
|
+
if not UtilClient.is_unset(request.ca_cert_id):
|
|
18217
|
+
query['CaCertId'] = request.ca_cert_id
|
|
18218
|
+
if not UtilClient.is_unset(request.current_page):
|
|
18219
|
+
query['CurrentPage'] = request.current_page
|
|
18220
|
+
if not UtilClient.is_unset(request.page_size):
|
|
18221
|
+
query['PageSize'] = request.page_size
|
|
18222
|
+
req = open_api_models.OpenApiRequest(
|
|
18223
|
+
query=OpenApiUtilClient.query(query)
|
|
18224
|
+
)
|
|
18225
|
+
params = open_api_models.Params(
|
|
18226
|
+
action='ListTlsInspectCACertificates',
|
|
18227
|
+
version='2017-12-07',
|
|
18228
|
+
protocol='HTTPS',
|
|
18229
|
+
pathname='/',
|
|
18230
|
+
method='POST',
|
|
18231
|
+
auth_type='AK',
|
|
18232
|
+
style='RPC',
|
|
18233
|
+
req_body_type='formData',
|
|
18234
|
+
body_type='json'
|
|
18235
|
+
)
|
|
18236
|
+
return TeaCore.from_map(
|
|
18237
|
+
cloudfw_20171207_models.ListTlsInspectCACertificatesResponse(),
|
|
18238
|
+
self.call_api(params, req, runtime)
|
|
18239
|
+
)
|
|
18240
|
+
|
|
18241
|
+
async def list_tls_inspect_cacertificates_with_options_async(
|
|
18242
|
+
self,
|
|
18243
|
+
request: cloudfw_20171207_models.ListTlsInspectCACertificatesRequest,
|
|
18244
|
+
runtime: util_models.RuntimeOptions,
|
|
18245
|
+
) -> cloudfw_20171207_models.ListTlsInspectCACertificatesResponse:
|
|
18246
|
+
"""
|
|
18247
|
+
@summary 查询TLS检查证书
|
|
18248
|
+
|
|
18249
|
+
@param request: ListTlsInspectCACertificatesRequest
|
|
18250
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
18251
|
+
@return: ListTlsInspectCACertificatesResponse
|
|
18252
|
+
"""
|
|
18253
|
+
UtilClient.validate_model(request)
|
|
18254
|
+
query = {}
|
|
18255
|
+
if not UtilClient.is_unset(request.ca_cert_id):
|
|
18256
|
+
query['CaCertId'] = request.ca_cert_id
|
|
18257
|
+
if not UtilClient.is_unset(request.current_page):
|
|
18258
|
+
query['CurrentPage'] = request.current_page
|
|
18259
|
+
if not UtilClient.is_unset(request.page_size):
|
|
18260
|
+
query['PageSize'] = request.page_size
|
|
18261
|
+
req = open_api_models.OpenApiRequest(
|
|
18262
|
+
query=OpenApiUtilClient.query(query)
|
|
18263
|
+
)
|
|
18264
|
+
params = open_api_models.Params(
|
|
18265
|
+
action='ListTlsInspectCACertificates',
|
|
18266
|
+
version='2017-12-07',
|
|
18267
|
+
protocol='HTTPS',
|
|
18268
|
+
pathname='/',
|
|
18269
|
+
method='POST',
|
|
18270
|
+
auth_type='AK',
|
|
18271
|
+
style='RPC',
|
|
18272
|
+
req_body_type='formData',
|
|
18273
|
+
body_type='json'
|
|
18274
|
+
)
|
|
18275
|
+
return TeaCore.from_map(
|
|
18276
|
+
cloudfw_20171207_models.ListTlsInspectCACertificatesResponse(),
|
|
18277
|
+
await self.call_api_async(params, req, runtime)
|
|
18278
|
+
)
|
|
18279
|
+
|
|
18280
|
+
def list_tls_inspect_cacertificates(
|
|
18281
|
+
self,
|
|
18282
|
+
request: cloudfw_20171207_models.ListTlsInspectCACertificatesRequest,
|
|
18283
|
+
) -> cloudfw_20171207_models.ListTlsInspectCACertificatesResponse:
|
|
18284
|
+
"""
|
|
18285
|
+
@summary 查询TLS检查证书
|
|
18286
|
+
|
|
18287
|
+
@param request: ListTlsInspectCACertificatesRequest
|
|
18288
|
+
@return: ListTlsInspectCACertificatesResponse
|
|
18289
|
+
"""
|
|
18290
|
+
runtime = util_models.RuntimeOptions()
|
|
18291
|
+
return self.list_tls_inspect_cacertificates_with_options(request, runtime)
|
|
18292
|
+
|
|
18293
|
+
async def list_tls_inspect_cacertificates_async(
|
|
18294
|
+
self,
|
|
18295
|
+
request: cloudfw_20171207_models.ListTlsInspectCACertificatesRequest,
|
|
18296
|
+
) -> cloudfw_20171207_models.ListTlsInspectCACertificatesResponse:
|
|
18297
|
+
"""
|
|
18298
|
+
@summary 查询TLS检查证书
|
|
18299
|
+
|
|
18300
|
+
@param request: ListTlsInspectCACertificatesRequest
|
|
18301
|
+
@return: ListTlsInspectCACertificatesResponse
|
|
18302
|
+
"""
|
|
18303
|
+
runtime = util_models.RuntimeOptions()
|
|
18304
|
+
return await self.list_tls_inspect_cacertificates_with_options_async(request, runtime)
|
|
18305
|
+
|
|
17644
18306
|
def modify_address_book_with_options(
|
|
17645
18307
|
self,
|
|
17646
18308
|
request: cloudfw_20171207_models.ModifyAddressBookRequest,
|
|
@@ -22981,6 +23643,214 @@ class Client(OpenApiClient):
|
|
|
22981
23643
|
runtime = util_models.RuntimeOptions()
|
|
22982
23644
|
return await self.update_postpay_user_internet_status_with_options_async(request, runtime)
|
|
22983
23645
|
|
|
23646
|
+
def update_postpay_user_nat_status_with_options(
|
|
23647
|
+
self,
|
|
23648
|
+
request: cloudfw_20171207_models.UpdatePostpayUserNatStatusRequest,
|
|
23649
|
+
runtime: util_models.RuntimeOptions,
|
|
23650
|
+
) -> cloudfw_20171207_models.UpdatePostpayUserNatStatusResponse:
|
|
23651
|
+
"""
|
|
23652
|
+
@summary Updates the status of the NAT Firewall feature for Cloud Firewall that uses the pay-as-you-go billing method.
|
|
23653
|
+
|
|
23654
|
+
@param request: UpdatePostpayUserNatStatusRequest
|
|
23655
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
23656
|
+
@return: UpdatePostpayUserNatStatusResponse
|
|
23657
|
+
"""
|
|
23658
|
+
UtilClient.validate_model(request)
|
|
23659
|
+
query = {}
|
|
23660
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
23661
|
+
query['InstanceId'] = request.instance_id
|
|
23662
|
+
if not UtilClient.is_unset(request.lang):
|
|
23663
|
+
query['Lang'] = request.lang
|
|
23664
|
+
if not UtilClient.is_unset(request.operate):
|
|
23665
|
+
query['Operate'] = request.operate
|
|
23666
|
+
req = open_api_models.OpenApiRequest(
|
|
23667
|
+
query=OpenApiUtilClient.query(query)
|
|
23668
|
+
)
|
|
23669
|
+
params = open_api_models.Params(
|
|
23670
|
+
action='UpdatePostpayUserNatStatus',
|
|
23671
|
+
version='2017-12-07',
|
|
23672
|
+
protocol='HTTPS',
|
|
23673
|
+
pathname='/',
|
|
23674
|
+
method='POST',
|
|
23675
|
+
auth_type='AK',
|
|
23676
|
+
style='RPC',
|
|
23677
|
+
req_body_type='formData',
|
|
23678
|
+
body_type='json'
|
|
23679
|
+
)
|
|
23680
|
+
return TeaCore.from_map(
|
|
23681
|
+
cloudfw_20171207_models.UpdatePostpayUserNatStatusResponse(),
|
|
23682
|
+
self.call_api(params, req, runtime)
|
|
23683
|
+
)
|
|
23684
|
+
|
|
23685
|
+
async def update_postpay_user_nat_status_with_options_async(
|
|
23686
|
+
self,
|
|
23687
|
+
request: cloudfw_20171207_models.UpdatePostpayUserNatStatusRequest,
|
|
23688
|
+
runtime: util_models.RuntimeOptions,
|
|
23689
|
+
) -> cloudfw_20171207_models.UpdatePostpayUserNatStatusResponse:
|
|
23690
|
+
"""
|
|
23691
|
+
@summary Updates the status of the NAT Firewall feature for Cloud Firewall that uses the pay-as-you-go billing method.
|
|
23692
|
+
|
|
23693
|
+
@param request: UpdatePostpayUserNatStatusRequest
|
|
23694
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
23695
|
+
@return: UpdatePostpayUserNatStatusResponse
|
|
23696
|
+
"""
|
|
23697
|
+
UtilClient.validate_model(request)
|
|
23698
|
+
query = {}
|
|
23699
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
23700
|
+
query['InstanceId'] = request.instance_id
|
|
23701
|
+
if not UtilClient.is_unset(request.lang):
|
|
23702
|
+
query['Lang'] = request.lang
|
|
23703
|
+
if not UtilClient.is_unset(request.operate):
|
|
23704
|
+
query['Operate'] = request.operate
|
|
23705
|
+
req = open_api_models.OpenApiRequest(
|
|
23706
|
+
query=OpenApiUtilClient.query(query)
|
|
23707
|
+
)
|
|
23708
|
+
params = open_api_models.Params(
|
|
23709
|
+
action='UpdatePostpayUserNatStatus',
|
|
23710
|
+
version='2017-12-07',
|
|
23711
|
+
protocol='HTTPS',
|
|
23712
|
+
pathname='/',
|
|
23713
|
+
method='POST',
|
|
23714
|
+
auth_type='AK',
|
|
23715
|
+
style='RPC',
|
|
23716
|
+
req_body_type='formData',
|
|
23717
|
+
body_type='json'
|
|
23718
|
+
)
|
|
23719
|
+
return TeaCore.from_map(
|
|
23720
|
+
cloudfw_20171207_models.UpdatePostpayUserNatStatusResponse(),
|
|
23721
|
+
await self.call_api_async(params, req, runtime)
|
|
23722
|
+
)
|
|
23723
|
+
|
|
23724
|
+
def update_postpay_user_nat_status(
|
|
23725
|
+
self,
|
|
23726
|
+
request: cloudfw_20171207_models.UpdatePostpayUserNatStatusRequest,
|
|
23727
|
+
) -> cloudfw_20171207_models.UpdatePostpayUserNatStatusResponse:
|
|
23728
|
+
"""
|
|
23729
|
+
@summary Updates the status of the NAT Firewall feature for Cloud Firewall that uses the pay-as-you-go billing method.
|
|
23730
|
+
|
|
23731
|
+
@param request: UpdatePostpayUserNatStatusRequest
|
|
23732
|
+
@return: UpdatePostpayUserNatStatusResponse
|
|
23733
|
+
"""
|
|
23734
|
+
runtime = util_models.RuntimeOptions()
|
|
23735
|
+
return self.update_postpay_user_nat_status_with_options(request, runtime)
|
|
23736
|
+
|
|
23737
|
+
async def update_postpay_user_nat_status_async(
|
|
23738
|
+
self,
|
|
23739
|
+
request: cloudfw_20171207_models.UpdatePostpayUserNatStatusRequest,
|
|
23740
|
+
) -> cloudfw_20171207_models.UpdatePostpayUserNatStatusResponse:
|
|
23741
|
+
"""
|
|
23742
|
+
@summary Updates the status of the NAT Firewall feature for Cloud Firewall that uses the pay-as-you-go billing method.
|
|
23743
|
+
|
|
23744
|
+
@param request: UpdatePostpayUserNatStatusRequest
|
|
23745
|
+
@return: UpdatePostpayUserNatStatusResponse
|
|
23746
|
+
"""
|
|
23747
|
+
runtime = util_models.RuntimeOptions()
|
|
23748
|
+
return await self.update_postpay_user_nat_status_with_options_async(request, runtime)
|
|
23749
|
+
|
|
23750
|
+
def update_postpay_user_vpc_status_with_options(
|
|
23751
|
+
self,
|
|
23752
|
+
request: cloudfw_20171207_models.UpdatePostpayUserVpcStatusRequest,
|
|
23753
|
+
runtime: util_models.RuntimeOptions,
|
|
23754
|
+
) -> cloudfw_20171207_models.UpdatePostpayUserVpcStatusResponse:
|
|
23755
|
+
"""
|
|
23756
|
+
@summary Updates the status of the virtual private cloud (VPC) Firewall feature for Cloud Firewall that uses the pay-as-you-go billing method.
|
|
23757
|
+
|
|
23758
|
+
@param request: UpdatePostpayUserVpcStatusRequest
|
|
23759
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
23760
|
+
@return: UpdatePostpayUserVpcStatusResponse
|
|
23761
|
+
"""
|
|
23762
|
+
UtilClient.validate_model(request)
|
|
23763
|
+
query = {}
|
|
23764
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
23765
|
+
query['InstanceId'] = request.instance_id
|
|
23766
|
+
if not UtilClient.is_unset(request.lang):
|
|
23767
|
+
query['Lang'] = request.lang
|
|
23768
|
+
if not UtilClient.is_unset(request.operate):
|
|
23769
|
+
query['Operate'] = request.operate
|
|
23770
|
+
req = open_api_models.OpenApiRequest(
|
|
23771
|
+
query=OpenApiUtilClient.query(query)
|
|
23772
|
+
)
|
|
23773
|
+
params = open_api_models.Params(
|
|
23774
|
+
action='UpdatePostpayUserVpcStatus',
|
|
23775
|
+
version='2017-12-07',
|
|
23776
|
+
protocol='HTTPS',
|
|
23777
|
+
pathname='/',
|
|
23778
|
+
method='POST',
|
|
23779
|
+
auth_type='AK',
|
|
23780
|
+
style='RPC',
|
|
23781
|
+
req_body_type='formData',
|
|
23782
|
+
body_type='json'
|
|
23783
|
+
)
|
|
23784
|
+
return TeaCore.from_map(
|
|
23785
|
+
cloudfw_20171207_models.UpdatePostpayUserVpcStatusResponse(),
|
|
23786
|
+
self.call_api(params, req, runtime)
|
|
23787
|
+
)
|
|
23788
|
+
|
|
23789
|
+
async def update_postpay_user_vpc_status_with_options_async(
|
|
23790
|
+
self,
|
|
23791
|
+
request: cloudfw_20171207_models.UpdatePostpayUserVpcStatusRequest,
|
|
23792
|
+
runtime: util_models.RuntimeOptions,
|
|
23793
|
+
) -> cloudfw_20171207_models.UpdatePostpayUserVpcStatusResponse:
|
|
23794
|
+
"""
|
|
23795
|
+
@summary Updates the status of the virtual private cloud (VPC) Firewall feature for Cloud Firewall that uses the pay-as-you-go billing method.
|
|
23796
|
+
|
|
23797
|
+
@param request: UpdatePostpayUserVpcStatusRequest
|
|
23798
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
23799
|
+
@return: UpdatePostpayUserVpcStatusResponse
|
|
23800
|
+
"""
|
|
23801
|
+
UtilClient.validate_model(request)
|
|
23802
|
+
query = {}
|
|
23803
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
23804
|
+
query['InstanceId'] = request.instance_id
|
|
23805
|
+
if not UtilClient.is_unset(request.lang):
|
|
23806
|
+
query['Lang'] = request.lang
|
|
23807
|
+
if not UtilClient.is_unset(request.operate):
|
|
23808
|
+
query['Operate'] = request.operate
|
|
23809
|
+
req = open_api_models.OpenApiRequest(
|
|
23810
|
+
query=OpenApiUtilClient.query(query)
|
|
23811
|
+
)
|
|
23812
|
+
params = open_api_models.Params(
|
|
23813
|
+
action='UpdatePostpayUserVpcStatus',
|
|
23814
|
+
version='2017-12-07',
|
|
23815
|
+
protocol='HTTPS',
|
|
23816
|
+
pathname='/',
|
|
23817
|
+
method='POST',
|
|
23818
|
+
auth_type='AK',
|
|
23819
|
+
style='RPC',
|
|
23820
|
+
req_body_type='formData',
|
|
23821
|
+
body_type='json'
|
|
23822
|
+
)
|
|
23823
|
+
return TeaCore.from_map(
|
|
23824
|
+
cloudfw_20171207_models.UpdatePostpayUserVpcStatusResponse(),
|
|
23825
|
+
await self.call_api_async(params, req, runtime)
|
|
23826
|
+
)
|
|
23827
|
+
|
|
23828
|
+
def update_postpay_user_vpc_status(
|
|
23829
|
+
self,
|
|
23830
|
+
request: cloudfw_20171207_models.UpdatePostpayUserVpcStatusRequest,
|
|
23831
|
+
) -> cloudfw_20171207_models.UpdatePostpayUserVpcStatusResponse:
|
|
23832
|
+
"""
|
|
23833
|
+
@summary Updates the status of the virtual private cloud (VPC) Firewall feature for Cloud Firewall that uses the pay-as-you-go billing method.
|
|
23834
|
+
|
|
23835
|
+
@param request: UpdatePostpayUserVpcStatusRequest
|
|
23836
|
+
@return: UpdatePostpayUserVpcStatusResponse
|
|
23837
|
+
"""
|
|
23838
|
+
runtime = util_models.RuntimeOptions()
|
|
23839
|
+
return self.update_postpay_user_vpc_status_with_options(request, runtime)
|
|
23840
|
+
|
|
23841
|
+
async def update_postpay_user_vpc_status_async(
|
|
23842
|
+
self,
|
|
23843
|
+
request: cloudfw_20171207_models.UpdatePostpayUserVpcStatusRequest,
|
|
23844
|
+
) -> cloudfw_20171207_models.UpdatePostpayUserVpcStatusResponse:
|
|
23845
|
+
"""
|
|
23846
|
+
@summary Updates the status of the virtual private cloud (VPC) Firewall feature for Cloud Firewall that uses the pay-as-you-go billing method.
|
|
23847
|
+
|
|
23848
|
+
@param request: UpdatePostpayUserVpcStatusRequest
|
|
23849
|
+
@return: UpdatePostpayUserVpcStatusResponse
|
|
23850
|
+
"""
|
|
23851
|
+
runtime = util_models.RuntimeOptions()
|
|
23852
|
+
return await self.update_postpay_user_vpc_status_with_options_async(request, runtime)
|
|
23853
|
+
|
|
22984
23854
|
def update_security_proxy_with_options(
|
|
22985
23855
|
self,
|
|
22986
23856
|
request: cloudfw_20171207_models.UpdateSecurityProxyRequest,
|