alibabacloud-vpc20160428 6.9.3__tar.gz → 6.9.5__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.
- {alibabacloud_vpc20160428-6.9.3 → alibabacloud_vpc20160428-6.9.5}/ChangeLog.md +15 -0
- {alibabacloud_vpc20160428-6.9.3 → alibabacloud_vpc20160428-6.9.5}/PKG-INFO +2 -2
- {alibabacloud_vpc20160428-6.9.3 → alibabacloud_vpc20160428-6.9.5}/README-CN.md +1 -1
- {alibabacloud_vpc20160428-6.9.3 → alibabacloud_vpc20160428-6.9.5}/README.md +1 -1
- alibabacloud_vpc20160428-6.9.5/alibabacloud_vpc20160428/__init__.py +1 -0
- {alibabacloud_vpc20160428-6.9.3 → alibabacloud_vpc20160428-6.9.5}/alibabacloud_vpc20160428/client.py +138 -42
- {alibabacloud_vpc20160428-6.9.3 → alibabacloud_vpc20160428-6.9.5}/alibabacloud_vpc20160428/models.py +1625 -162
- {alibabacloud_vpc20160428-6.9.3 → alibabacloud_vpc20160428-6.9.5}/alibabacloud_vpc20160428.egg-info/PKG-INFO +2 -2
- alibabacloud_vpc20160428-6.9.5/alibabacloud_vpc20160428.egg-info/requires.txt +4 -0
- {alibabacloud_vpc20160428-6.9.3 → alibabacloud_vpc20160428-6.9.5}/setup.py +3 -3
- alibabacloud_vpc20160428-6.9.3/alibabacloud_vpc20160428/__init__.py +0 -1
- alibabacloud_vpc20160428-6.9.3/alibabacloud_vpc20160428.egg-info/requires.txt +0 -4
- {alibabacloud_vpc20160428-6.9.3 → alibabacloud_vpc20160428-6.9.5}/LICENSE +0 -0
- {alibabacloud_vpc20160428-6.9.3 → alibabacloud_vpc20160428-6.9.5}/MANIFEST.in +0 -0
- {alibabacloud_vpc20160428-6.9.3 → alibabacloud_vpc20160428-6.9.5}/alibabacloud_vpc20160428.egg-info/SOURCES.txt +0 -0
- {alibabacloud_vpc20160428-6.9.3 → alibabacloud_vpc20160428-6.9.5}/alibabacloud_vpc20160428.egg-info/dependency_links.txt +0 -0
- {alibabacloud_vpc20160428-6.9.3 → alibabacloud_vpc20160428-6.9.5}/alibabacloud_vpc20160428.egg-info/top_level.txt +0 -0
- {alibabacloud_vpc20160428-6.9.3 → alibabacloud_vpc20160428-6.9.5}/setup.cfg +0 -0
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
2024-10-24 Version: 6.9.4
|
|
2
|
+
- Update API CreateFlowLog: add param IpVersion.
|
|
3
|
+
- Update API CreateNatGateway: add param AccessMode.
|
|
4
|
+
- Update API CreateNatGateway: add param PrivateLinkEnabled.
|
|
5
|
+
- Update API DescribeFlowLogs: update response param.
|
|
6
|
+
- Update API DescribeNatGatewayAssociateNetworkInterfaces: update response param.
|
|
7
|
+
- Update API DescribeNatGateways: update response param.
|
|
8
|
+
- Update API GetNatGatewayAttribute: update response param.
|
|
9
|
+
- Update API ModifyFlowLogAttribute: add param IpVersion.
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
2024-09-14 Version: 6.9.3
|
|
13
|
+
- Update API ListVpcPublishedRouteEntries: update response param.
|
|
14
|
+
|
|
15
|
+
|
|
1
16
|
2024-08-29 Version: 6.9.2
|
|
2
17
|
- Update API ModifyRouteEntry: add param DestinationCidrBlock.
|
|
3
18
|
- Update API ModifyRouteEntry: add param RouteTableId.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: alibabacloud_vpc20160428
|
|
3
|
-
Version: 6.9.
|
|
3
|
+
Version: 6.9.5
|
|
4
4
|
Summary: Alibaba Cloud Virtual Private Cloud (20160428) SDK Library for Python
|
|
5
5
|
Home-page: https://github.com/aliyun/alibabacloud-python-sdk
|
|
6
6
|
Author: Alibaba Cloud SDK
|
|
@@ -29,7 +29,7 @@ English | [简体中文](README-CN.md)
|
|
|
29
29
|
|
|
30
30
|
## Requirements
|
|
31
31
|
|
|
32
|
-
- Python >= 3.
|
|
32
|
+
- Python >= 3.7
|
|
33
33
|
|
|
34
34
|
## Installation
|
|
35
35
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '6.9.5'
|
{alibabacloud_vpc20160428-6.9.3 → alibabacloud_vpc20160428-6.9.5}/alibabacloud_vpc20160428/client.py
RENAMED
|
@@ -7579,6 +7579,8 @@ class Client(OpenApiClient):
|
|
|
7579
7579
|
query['Description'] = request.description
|
|
7580
7580
|
if not UtilClient.is_unset(request.flow_log_name):
|
|
7581
7581
|
query['FlowLogName'] = request.flow_log_name
|
|
7582
|
+
if not UtilClient.is_unset(request.ip_version):
|
|
7583
|
+
query['IpVersion'] = request.ip_version
|
|
7582
7584
|
if not UtilClient.is_unset(request.log_store_name):
|
|
7583
7585
|
query['LogStoreName'] = request.log_store_name
|
|
7584
7586
|
if not UtilClient.is_unset(request.owner_account):
|
|
@@ -7648,6 +7650,8 @@ class Client(OpenApiClient):
|
|
|
7648
7650
|
query['Description'] = request.description
|
|
7649
7651
|
if not UtilClient.is_unset(request.flow_log_name):
|
|
7650
7652
|
query['FlowLogName'] = request.flow_log_name
|
|
7653
|
+
if not UtilClient.is_unset(request.ip_version):
|
|
7654
|
+
query['IpVersion'] = request.ip_version
|
|
7651
7655
|
if not UtilClient.is_unset(request.log_store_name):
|
|
7652
7656
|
query['LogStoreName'] = request.log_store_name
|
|
7653
7657
|
if not UtilClient.is_unset(request.owner_account):
|
|
@@ -9681,28 +9685,33 @@ class Client(OpenApiClient):
|
|
|
9681
9685
|
|
|
9682
9686
|
def create_nat_gateway_with_options(
|
|
9683
9687
|
self,
|
|
9684
|
-
|
|
9688
|
+
tmp_req: vpc_20160428_models.CreateNatGatewayRequest,
|
|
9685
9689
|
runtime: util_models.RuntimeOptions,
|
|
9686
9690
|
) -> vpc_20160428_models.CreateNatGatewayResponse:
|
|
9687
9691
|
"""
|
|
9688
9692
|
@summary Creates an enhanced Internet NAT gateway or a Virtual Private Cloud (VPC) NAT gateway.
|
|
9689
9693
|
|
|
9690
|
-
@description ##
|
|
9694
|
+
@description ## Usage notes
|
|
9691
9695
|
Before you call this operation, take note of the following items:
|
|
9692
|
-
|
|
9696
|
+
When you create an enhanced NAT gateway for the first time, the system automatically creates the service-linked role AliyunServiceRoleForNatgw. Then, the system attaches the permission policy AliyunServiceRolePolicyForNatgw to the role. This allows the NAT gateway to access other resources on Alibaba Cloud. For more information, see [Service-linked roles](https://help.aliyun.com/document_detail/174251.html).
|
|
9693
9697
|
After you create an enhanced Internet NAT gateway, a route entry is automatically added to the route table of the VPC. The destination CIDR block of the route entry is 0.0.0.0/0 and the next hop is the NAT gateway. This ensures that traffic is routed to the NAT gateway.
|
|
9694
9698
|
**CreateNatGateway** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeNatGateways](https://help.aliyun.com/document_detail/36054.html) operation to query the status of the task.
|
|
9695
9699
|
If a NAT gateway is in the **Creating** state, the NAT gateway is being created. In this case, you can query the NAT gateway but cannot perform other operations.
|
|
9696
9700
|
If a NAT gateway is in the **Available** state, the NAT gateway is created.
|
|
9697
9701
|
It takes 1 to 3 minutes to create a NAT gateway.
|
|
9698
|
-
You cannot repeatedly call the **CreateNatGateway** operation within a specific period of time.
|
|
9699
9702
|
|
|
9700
|
-
@param
|
|
9703
|
+
@param tmp_req: CreateNatGatewayRequest
|
|
9701
9704
|
@param runtime: runtime options for this request RuntimeOptions
|
|
9702
9705
|
@return: CreateNatGatewayResponse
|
|
9703
9706
|
"""
|
|
9704
|
-
UtilClient.validate_model(
|
|
9707
|
+
UtilClient.validate_model(tmp_req)
|
|
9708
|
+
request = vpc_20160428_models.CreateNatGatewayShrinkRequest()
|
|
9709
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
9710
|
+
if not UtilClient.is_unset(tmp_req.access_mode):
|
|
9711
|
+
request.access_mode_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.access_mode, 'AccessMode', 'json')
|
|
9705
9712
|
query = {}
|
|
9713
|
+
if not UtilClient.is_unset(request.access_mode_shrink):
|
|
9714
|
+
query['AccessMode'] = request.access_mode_shrink
|
|
9706
9715
|
if not UtilClient.is_unset(request.auto_pay):
|
|
9707
9716
|
query['AutoPay'] = request.auto_pay
|
|
9708
9717
|
if not UtilClient.is_unset(request.client_token):
|
|
@@ -9731,6 +9740,8 @@ class Client(OpenApiClient):
|
|
|
9731
9740
|
query['OwnerId'] = request.owner_id
|
|
9732
9741
|
if not UtilClient.is_unset(request.pricing_cycle):
|
|
9733
9742
|
query['PricingCycle'] = request.pricing_cycle
|
|
9743
|
+
if not UtilClient.is_unset(request.private_link_enabled):
|
|
9744
|
+
query['PrivateLinkEnabled'] = request.private_link_enabled
|
|
9734
9745
|
if not UtilClient.is_unset(request.region_id):
|
|
9735
9746
|
query['RegionId'] = request.region_id
|
|
9736
9747
|
if not UtilClient.is_unset(request.resource_owner_account):
|
|
@@ -9768,28 +9779,33 @@ class Client(OpenApiClient):
|
|
|
9768
9779
|
|
|
9769
9780
|
async def create_nat_gateway_with_options_async(
|
|
9770
9781
|
self,
|
|
9771
|
-
|
|
9782
|
+
tmp_req: vpc_20160428_models.CreateNatGatewayRequest,
|
|
9772
9783
|
runtime: util_models.RuntimeOptions,
|
|
9773
9784
|
) -> vpc_20160428_models.CreateNatGatewayResponse:
|
|
9774
9785
|
"""
|
|
9775
9786
|
@summary Creates an enhanced Internet NAT gateway or a Virtual Private Cloud (VPC) NAT gateway.
|
|
9776
9787
|
|
|
9777
|
-
@description ##
|
|
9788
|
+
@description ## Usage notes
|
|
9778
9789
|
Before you call this operation, take note of the following items:
|
|
9779
|
-
|
|
9790
|
+
When you create an enhanced NAT gateway for the first time, the system automatically creates the service-linked role AliyunServiceRoleForNatgw. Then, the system attaches the permission policy AliyunServiceRolePolicyForNatgw to the role. This allows the NAT gateway to access other resources on Alibaba Cloud. For more information, see [Service-linked roles](https://help.aliyun.com/document_detail/174251.html).
|
|
9780
9791
|
After you create an enhanced Internet NAT gateway, a route entry is automatically added to the route table of the VPC. The destination CIDR block of the route entry is 0.0.0.0/0 and the next hop is the NAT gateway. This ensures that traffic is routed to the NAT gateway.
|
|
9781
9792
|
**CreateNatGateway** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeNatGateways](https://help.aliyun.com/document_detail/36054.html) operation to query the status of the task.
|
|
9782
9793
|
If a NAT gateway is in the **Creating** state, the NAT gateway is being created. In this case, you can query the NAT gateway but cannot perform other operations.
|
|
9783
9794
|
If a NAT gateway is in the **Available** state, the NAT gateway is created.
|
|
9784
9795
|
It takes 1 to 3 minutes to create a NAT gateway.
|
|
9785
|
-
You cannot repeatedly call the **CreateNatGateway** operation within a specific period of time.
|
|
9786
9796
|
|
|
9787
|
-
@param
|
|
9797
|
+
@param tmp_req: CreateNatGatewayRequest
|
|
9788
9798
|
@param runtime: runtime options for this request RuntimeOptions
|
|
9789
9799
|
@return: CreateNatGatewayResponse
|
|
9790
9800
|
"""
|
|
9791
|
-
UtilClient.validate_model(
|
|
9801
|
+
UtilClient.validate_model(tmp_req)
|
|
9802
|
+
request = vpc_20160428_models.CreateNatGatewayShrinkRequest()
|
|
9803
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
9804
|
+
if not UtilClient.is_unset(tmp_req.access_mode):
|
|
9805
|
+
request.access_mode_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.access_mode, 'AccessMode', 'json')
|
|
9792
9806
|
query = {}
|
|
9807
|
+
if not UtilClient.is_unset(request.access_mode_shrink):
|
|
9808
|
+
query['AccessMode'] = request.access_mode_shrink
|
|
9793
9809
|
if not UtilClient.is_unset(request.auto_pay):
|
|
9794
9810
|
query['AutoPay'] = request.auto_pay
|
|
9795
9811
|
if not UtilClient.is_unset(request.client_token):
|
|
@@ -9818,6 +9834,8 @@ class Client(OpenApiClient):
|
|
|
9818
9834
|
query['OwnerId'] = request.owner_id
|
|
9819
9835
|
if not UtilClient.is_unset(request.pricing_cycle):
|
|
9820
9836
|
query['PricingCycle'] = request.pricing_cycle
|
|
9837
|
+
if not UtilClient.is_unset(request.private_link_enabled):
|
|
9838
|
+
query['PrivateLinkEnabled'] = request.private_link_enabled
|
|
9821
9839
|
if not UtilClient.is_unset(request.region_id):
|
|
9822
9840
|
query['RegionId'] = request.region_id
|
|
9823
9841
|
if not UtilClient.is_unset(request.resource_owner_account):
|
|
@@ -9860,15 +9878,14 @@ class Client(OpenApiClient):
|
|
|
9860
9878
|
"""
|
|
9861
9879
|
@summary Creates an enhanced Internet NAT gateway or a Virtual Private Cloud (VPC) NAT gateway.
|
|
9862
9880
|
|
|
9863
|
-
@description ##
|
|
9881
|
+
@description ## Usage notes
|
|
9864
9882
|
Before you call this operation, take note of the following items:
|
|
9865
|
-
|
|
9883
|
+
When you create an enhanced NAT gateway for the first time, the system automatically creates the service-linked role AliyunServiceRoleForNatgw. Then, the system attaches the permission policy AliyunServiceRolePolicyForNatgw to the role. This allows the NAT gateway to access other resources on Alibaba Cloud. For more information, see [Service-linked roles](https://help.aliyun.com/document_detail/174251.html).
|
|
9866
9884
|
After you create an enhanced Internet NAT gateway, a route entry is automatically added to the route table of the VPC. The destination CIDR block of the route entry is 0.0.0.0/0 and the next hop is the NAT gateway. This ensures that traffic is routed to the NAT gateway.
|
|
9867
9885
|
**CreateNatGateway** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeNatGateways](https://help.aliyun.com/document_detail/36054.html) operation to query the status of the task.
|
|
9868
9886
|
If a NAT gateway is in the **Creating** state, the NAT gateway is being created. In this case, you can query the NAT gateway but cannot perform other operations.
|
|
9869
9887
|
If a NAT gateway is in the **Available** state, the NAT gateway is created.
|
|
9870
9888
|
It takes 1 to 3 minutes to create a NAT gateway.
|
|
9871
|
-
You cannot repeatedly call the **CreateNatGateway** operation within a specific period of time.
|
|
9872
9889
|
|
|
9873
9890
|
@param request: CreateNatGatewayRequest
|
|
9874
9891
|
@return: CreateNatGatewayResponse
|
|
@@ -9883,15 +9900,14 @@ class Client(OpenApiClient):
|
|
|
9883
9900
|
"""
|
|
9884
9901
|
@summary Creates an enhanced Internet NAT gateway or a Virtual Private Cloud (VPC) NAT gateway.
|
|
9885
9902
|
|
|
9886
|
-
@description ##
|
|
9903
|
+
@description ## Usage notes
|
|
9887
9904
|
Before you call this operation, take note of the following items:
|
|
9888
|
-
|
|
9905
|
+
When you create an enhanced NAT gateway for the first time, the system automatically creates the service-linked role AliyunServiceRoleForNatgw. Then, the system attaches the permission policy AliyunServiceRolePolicyForNatgw to the role. This allows the NAT gateway to access other resources on Alibaba Cloud. For more information, see [Service-linked roles](https://help.aliyun.com/document_detail/174251.html).
|
|
9889
9906
|
After you create an enhanced Internet NAT gateway, a route entry is automatically added to the route table of the VPC. The destination CIDR block of the route entry is 0.0.0.0/0 and the next hop is the NAT gateway. This ensures that traffic is routed to the NAT gateway.
|
|
9890
9907
|
**CreateNatGateway** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeNatGateways](https://help.aliyun.com/document_detail/36054.html) operation to query the status of the task.
|
|
9891
9908
|
If a NAT gateway is in the **Creating** state, the NAT gateway is being created. In this case, you can query the NAT gateway but cannot perform other operations.
|
|
9892
9909
|
If a NAT gateway is in the **Available** state, the NAT gateway is created.
|
|
9893
9910
|
It takes 1 to 3 minutes to create a NAT gateway.
|
|
9894
|
-
You cannot repeatedly call the **CreateNatGateway** operation within a specific period of time.
|
|
9895
9911
|
|
|
9896
9912
|
@param request: CreateNatGatewayRequest
|
|
9897
9913
|
@return: CreateNatGatewayResponse
|
|
@@ -12139,12 +12155,13 @@ class Client(OpenApiClient):
|
|
|
12139
12155
|
"""
|
|
12140
12156
|
@summary Creates an SSL server.
|
|
12141
12157
|
|
|
12142
|
-
@description **CreateSslVpnServer** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVpnGateway](https://help.aliyun.com/document_detail/
|
|
12158
|
+
@description **CreateSslVpnServer** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVpnGateway](https://help.aliyun.com/document_detail/2794055.html) operation to query the status of the task.
|
|
12143
12159
|
If the VPN gateway is in the **updating** state, the SSL server is being created.
|
|
12144
12160
|
If the VPN gateway is in the **active** state, the SSL server is created.
|
|
12145
|
-
You cannot call the **CreateSslVpnServer** operation
|
|
12146
|
-
### [](#)
|
|
12147
|
-
A VPN gateway is created, and the SSL-VPN feature is enabled for the VPN gateway. For more information, see [CreateVpnGateway](https://help.aliyun.com/document_detail/
|
|
12161
|
+
You cannot repeatedly call the **CreateSslVpnServer** operation within the specified period of time.
|
|
12162
|
+
### [](#)Prerequisite
|
|
12163
|
+
A VPN gateway is created, and the SSL-VPN feature is enabled for the VPN gateway. For more information, see [CreateVpnGateway](https://help.aliyun.com/document_detail/2794049.html).
|
|
12164
|
+
If you want to enable two-factor authentication for the SSL server, make sure that the VPN gateway supports two-factor authentication. You may need to upgrade the VPN gateway. For more information, see [Two-factor authentication supports IDaaS EIAM 2.0](https://help.aliyun.com/document_detail/2785320.html).
|
|
12148
12165
|
|
|
12149
12166
|
@param request: CreateSslVpnServerRequest
|
|
12150
12167
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -12215,12 +12232,13 @@ class Client(OpenApiClient):
|
|
|
12215
12232
|
"""
|
|
12216
12233
|
@summary Creates an SSL server.
|
|
12217
12234
|
|
|
12218
|
-
@description **CreateSslVpnServer** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVpnGateway](https://help.aliyun.com/document_detail/
|
|
12235
|
+
@description **CreateSslVpnServer** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVpnGateway](https://help.aliyun.com/document_detail/2794055.html) operation to query the status of the task.
|
|
12219
12236
|
If the VPN gateway is in the **updating** state, the SSL server is being created.
|
|
12220
12237
|
If the VPN gateway is in the **active** state, the SSL server is created.
|
|
12221
|
-
You cannot call the **CreateSslVpnServer** operation
|
|
12222
|
-
### [](#)
|
|
12223
|
-
A VPN gateway is created, and the SSL-VPN feature is enabled for the VPN gateway. For more information, see [CreateVpnGateway](https://help.aliyun.com/document_detail/
|
|
12238
|
+
You cannot repeatedly call the **CreateSslVpnServer** operation within the specified period of time.
|
|
12239
|
+
### [](#)Prerequisite
|
|
12240
|
+
A VPN gateway is created, and the SSL-VPN feature is enabled for the VPN gateway. For more information, see [CreateVpnGateway](https://help.aliyun.com/document_detail/2794049.html).
|
|
12241
|
+
If you want to enable two-factor authentication for the SSL server, make sure that the VPN gateway supports two-factor authentication. You may need to upgrade the VPN gateway. For more information, see [Two-factor authentication supports IDaaS EIAM 2.0](https://help.aliyun.com/document_detail/2785320.html).
|
|
12224
12242
|
|
|
12225
12243
|
@param request: CreateSslVpnServerRequest
|
|
12226
12244
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -12290,12 +12308,13 @@ class Client(OpenApiClient):
|
|
|
12290
12308
|
"""
|
|
12291
12309
|
@summary Creates an SSL server.
|
|
12292
12310
|
|
|
12293
|
-
@description **CreateSslVpnServer** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVpnGateway](https://help.aliyun.com/document_detail/
|
|
12311
|
+
@description **CreateSslVpnServer** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVpnGateway](https://help.aliyun.com/document_detail/2794055.html) operation to query the status of the task.
|
|
12294
12312
|
If the VPN gateway is in the **updating** state, the SSL server is being created.
|
|
12295
12313
|
If the VPN gateway is in the **active** state, the SSL server is created.
|
|
12296
|
-
You cannot call the **CreateSslVpnServer** operation
|
|
12297
|
-
### [](#)
|
|
12298
|
-
A VPN gateway is created, and the SSL-VPN feature is enabled for the VPN gateway. For more information, see [CreateVpnGateway](https://help.aliyun.com/document_detail/
|
|
12314
|
+
You cannot repeatedly call the **CreateSslVpnServer** operation within the specified period of time.
|
|
12315
|
+
### [](#)Prerequisite
|
|
12316
|
+
A VPN gateway is created, and the SSL-VPN feature is enabled for the VPN gateway. For more information, see [CreateVpnGateway](https://help.aliyun.com/document_detail/2794049.html).
|
|
12317
|
+
If you want to enable two-factor authentication for the SSL server, make sure that the VPN gateway supports two-factor authentication. You may need to upgrade the VPN gateway. For more information, see [Two-factor authentication supports IDaaS EIAM 2.0](https://help.aliyun.com/document_detail/2785320.html).
|
|
12299
12318
|
|
|
12300
12319
|
@param request: CreateSslVpnServerRequest
|
|
12301
12320
|
@return: CreateSslVpnServerResponse
|
|
@@ -12310,12 +12329,13 @@ class Client(OpenApiClient):
|
|
|
12310
12329
|
"""
|
|
12311
12330
|
@summary Creates an SSL server.
|
|
12312
12331
|
|
|
12313
|
-
@description **CreateSslVpnServer** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVpnGateway](https://help.aliyun.com/document_detail/
|
|
12332
|
+
@description **CreateSslVpnServer** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVpnGateway](https://help.aliyun.com/document_detail/2794055.html) operation to query the status of the task.
|
|
12314
12333
|
If the VPN gateway is in the **updating** state, the SSL server is being created.
|
|
12315
12334
|
If the VPN gateway is in the **active** state, the SSL server is created.
|
|
12316
|
-
You cannot call the **CreateSslVpnServer** operation
|
|
12317
|
-
### [](#)
|
|
12318
|
-
A VPN gateway is created, and the SSL-VPN feature is enabled for the VPN gateway. For more information, see [CreateVpnGateway](https://help.aliyun.com/document_detail/
|
|
12335
|
+
You cannot repeatedly call the **CreateSslVpnServer** operation within the specified period of time.
|
|
12336
|
+
### [](#)Prerequisite
|
|
12337
|
+
A VPN gateway is created, and the SSL-VPN feature is enabled for the VPN gateway. For more information, see [CreateVpnGateway](https://help.aliyun.com/document_detail/2794049.html).
|
|
12338
|
+
If you want to enable two-factor authentication for the SSL server, make sure that the VPN gateway supports two-factor authentication. You may need to upgrade the VPN gateway. For more information, see [Two-factor authentication supports IDaaS EIAM 2.0](https://help.aliyun.com/document_detail/2785320.html).
|
|
12319
12339
|
|
|
12320
12340
|
@param request: CreateSslVpnServerRequest
|
|
12321
12341
|
@return: CreateSslVpnServerResponse
|
|
@@ -14560,6 +14580,8 @@ class Client(OpenApiClient):
|
|
|
14560
14580
|
query['EnableDpd'] = request.enable_dpd
|
|
14561
14581
|
if not UtilClient.is_unset(request.enable_nat_traversal):
|
|
14562
14582
|
query['EnableNatTraversal'] = request.enable_nat_traversal
|
|
14583
|
+
if not UtilClient.is_unset(request.enable_tunnels_bgp):
|
|
14584
|
+
query['EnableTunnelsBgp'] = request.enable_tunnels_bgp
|
|
14563
14585
|
if not UtilClient.is_unset(request.health_check_config):
|
|
14564
14586
|
query['HealthCheckConfig'] = request.health_check_config
|
|
14565
14587
|
if not UtilClient.is_unset(request.ike_config):
|
|
@@ -14588,8 +14610,15 @@ class Client(OpenApiClient):
|
|
|
14588
14610
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
14589
14611
|
if not UtilClient.is_unset(request.tags):
|
|
14590
14612
|
query['Tags'] = request.tags
|
|
14613
|
+
body = {}
|
|
14614
|
+
body_flat = {}
|
|
14615
|
+
if not UtilClient.is_unset(request.tunnel_options_specification):
|
|
14616
|
+
body_flat['TunnelOptionsSpecification'] = request.tunnel_options_specification
|
|
14617
|
+
body = TeaCore.merge(body,
|
|
14618
|
+
OpenApiUtilClient.query(body_flat))
|
|
14591
14619
|
req = open_api_models.OpenApiRequest(
|
|
14592
|
-
query=OpenApiUtilClient.query(query)
|
|
14620
|
+
query=OpenApiUtilClient.query(query),
|
|
14621
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
14593
14622
|
)
|
|
14594
14623
|
params = open_api_models.Params(
|
|
14595
14624
|
action='CreateVpnAttachment',
|
|
@@ -14640,6 +14669,8 @@ class Client(OpenApiClient):
|
|
|
14640
14669
|
query['EnableDpd'] = request.enable_dpd
|
|
14641
14670
|
if not UtilClient.is_unset(request.enable_nat_traversal):
|
|
14642
14671
|
query['EnableNatTraversal'] = request.enable_nat_traversal
|
|
14672
|
+
if not UtilClient.is_unset(request.enable_tunnels_bgp):
|
|
14673
|
+
query['EnableTunnelsBgp'] = request.enable_tunnels_bgp
|
|
14643
14674
|
if not UtilClient.is_unset(request.health_check_config):
|
|
14644
14675
|
query['HealthCheckConfig'] = request.health_check_config
|
|
14645
14676
|
if not UtilClient.is_unset(request.ike_config):
|
|
@@ -14668,8 +14699,15 @@ class Client(OpenApiClient):
|
|
|
14668
14699
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
14669
14700
|
if not UtilClient.is_unset(request.tags):
|
|
14670
14701
|
query['Tags'] = request.tags
|
|
14702
|
+
body = {}
|
|
14703
|
+
body_flat = {}
|
|
14704
|
+
if not UtilClient.is_unset(request.tunnel_options_specification):
|
|
14705
|
+
body_flat['TunnelOptionsSpecification'] = request.tunnel_options_specification
|
|
14706
|
+
body = TeaCore.merge(body,
|
|
14707
|
+
OpenApiUtilClient.query(body_flat))
|
|
14671
14708
|
req = open_api_models.OpenApiRequest(
|
|
14672
|
-
query=OpenApiUtilClient.query(query)
|
|
14709
|
+
query=OpenApiUtilClient.query(query),
|
|
14710
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
14673
14711
|
)
|
|
14674
14712
|
params = open_api_models.Params(
|
|
14675
14713
|
action='CreateVpnAttachment',
|
|
@@ -33951,11 +33989,14 @@ class Client(OpenApiClient):
|
|
|
33951
33989
|
runtime: util_models.RuntimeOptions,
|
|
33952
33990
|
) -> vpc_20160428_models.DisableNatGatewayEcsMetricResponse:
|
|
33953
33991
|
"""
|
|
33992
|
+
@deprecated OpenAPI DisableNatGatewayEcsMetric is deprecated
|
|
33993
|
+
|
|
33954
33994
|
@summary Disables traffic monitoring for an Elastic Compute Service (ECS) instance.
|
|
33955
33995
|
|
|
33956
33996
|
@param request: DisableNatGatewayEcsMetricRequest
|
|
33957
33997
|
@param runtime: runtime options for this request RuntimeOptions
|
|
33958
33998
|
@return: DisableNatGatewayEcsMetricResponse
|
|
33999
|
+
Deprecated
|
|
33959
34000
|
"""
|
|
33960
34001
|
UtilClient.validate_model(request)
|
|
33961
34002
|
query = {}
|
|
@@ -33992,11 +34033,14 @@ class Client(OpenApiClient):
|
|
|
33992
34033
|
runtime: util_models.RuntimeOptions,
|
|
33993
34034
|
) -> vpc_20160428_models.DisableNatGatewayEcsMetricResponse:
|
|
33994
34035
|
"""
|
|
34036
|
+
@deprecated OpenAPI DisableNatGatewayEcsMetric is deprecated
|
|
34037
|
+
|
|
33995
34038
|
@summary Disables traffic monitoring for an Elastic Compute Service (ECS) instance.
|
|
33996
34039
|
|
|
33997
34040
|
@param request: DisableNatGatewayEcsMetricRequest
|
|
33998
34041
|
@param runtime: runtime options for this request RuntimeOptions
|
|
33999
34042
|
@return: DisableNatGatewayEcsMetricResponse
|
|
34043
|
+
Deprecated
|
|
34000
34044
|
"""
|
|
34001
34045
|
UtilClient.validate_model(request)
|
|
34002
34046
|
query = {}
|
|
@@ -34032,10 +34076,13 @@ class Client(OpenApiClient):
|
|
|
34032
34076
|
request: vpc_20160428_models.DisableNatGatewayEcsMetricRequest,
|
|
34033
34077
|
) -> vpc_20160428_models.DisableNatGatewayEcsMetricResponse:
|
|
34034
34078
|
"""
|
|
34079
|
+
@deprecated OpenAPI DisableNatGatewayEcsMetric is deprecated
|
|
34080
|
+
|
|
34035
34081
|
@summary Disables traffic monitoring for an Elastic Compute Service (ECS) instance.
|
|
34036
34082
|
|
|
34037
34083
|
@param request: DisableNatGatewayEcsMetricRequest
|
|
34038
34084
|
@return: DisableNatGatewayEcsMetricResponse
|
|
34085
|
+
Deprecated
|
|
34039
34086
|
"""
|
|
34040
34087
|
runtime = util_models.RuntimeOptions()
|
|
34041
34088
|
return self.disable_nat_gateway_ecs_metric_with_options(request, runtime)
|
|
@@ -34045,10 +34092,13 @@ class Client(OpenApiClient):
|
|
|
34045
34092
|
request: vpc_20160428_models.DisableNatGatewayEcsMetricRequest,
|
|
34046
34093
|
) -> vpc_20160428_models.DisableNatGatewayEcsMetricResponse:
|
|
34047
34094
|
"""
|
|
34095
|
+
@deprecated OpenAPI DisableNatGatewayEcsMetric is deprecated
|
|
34096
|
+
|
|
34048
34097
|
@summary Disables traffic monitoring for an Elastic Compute Service (ECS) instance.
|
|
34049
34098
|
|
|
34050
34099
|
@param request: DisableNatGatewayEcsMetricRequest
|
|
34051
34100
|
@return: DisableNatGatewayEcsMetricResponse
|
|
34101
|
+
Deprecated
|
|
34052
34102
|
"""
|
|
34053
34103
|
runtime = util_models.RuntimeOptions()
|
|
34054
34104
|
return await self.disable_nat_gateway_ecs_metric_with_options_async(request, runtime)
|
|
@@ -34695,11 +34745,14 @@ class Client(OpenApiClient):
|
|
|
34695
34745
|
runtime: util_models.RuntimeOptions,
|
|
34696
34746
|
) -> vpc_20160428_models.EnableNatGatewayEcsMetricResponse:
|
|
34697
34747
|
"""
|
|
34748
|
+
@deprecated OpenAPI EnableNatGatewayEcsMetric is deprecated
|
|
34749
|
+
|
|
34698
34750
|
@summary Enables Elastic Compute Service (ECS) traffic monitoring.
|
|
34699
34751
|
|
|
34700
34752
|
@param request: EnableNatGatewayEcsMetricRequest
|
|
34701
34753
|
@param runtime: runtime options for this request RuntimeOptions
|
|
34702
34754
|
@return: EnableNatGatewayEcsMetricResponse
|
|
34755
|
+
Deprecated
|
|
34703
34756
|
"""
|
|
34704
34757
|
UtilClient.validate_model(request)
|
|
34705
34758
|
query = {}
|
|
@@ -34736,11 +34789,14 @@ class Client(OpenApiClient):
|
|
|
34736
34789
|
runtime: util_models.RuntimeOptions,
|
|
34737
34790
|
) -> vpc_20160428_models.EnableNatGatewayEcsMetricResponse:
|
|
34738
34791
|
"""
|
|
34792
|
+
@deprecated OpenAPI EnableNatGatewayEcsMetric is deprecated
|
|
34793
|
+
|
|
34739
34794
|
@summary Enables Elastic Compute Service (ECS) traffic monitoring.
|
|
34740
34795
|
|
|
34741
34796
|
@param request: EnableNatGatewayEcsMetricRequest
|
|
34742
34797
|
@param runtime: runtime options for this request RuntimeOptions
|
|
34743
34798
|
@return: EnableNatGatewayEcsMetricResponse
|
|
34799
|
+
Deprecated
|
|
34744
34800
|
"""
|
|
34745
34801
|
UtilClient.validate_model(request)
|
|
34746
34802
|
query = {}
|
|
@@ -34776,10 +34832,13 @@ class Client(OpenApiClient):
|
|
|
34776
34832
|
request: vpc_20160428_models.EnableNatGatewayEcsMetricRequest,
|
|
34777
34833
|
) -> vpc_20160428_models.EnableNatGatewayEcsMetricResponse:
|
|
34778
34834
|
"""
|
|
34835
|
+
@deprecated OpenAPI EnableNatGatewayEcsMetric is deprecated
|
|
34836
|
+
|
|
34779
34837
|
@summary Enables Elastic Compute Service (ECS) traffic monitoring.
|
|
34780
34838
|
|
|
34781
34839
|
@param request: EnableNatGatewayEcsMetricRequest
|
|
34782
34840
|
@return: EnableNatGatewayEcsMetricResponse
|
|
34841
|
+
Deprecated
|
|
34783
34842
|
"""
|
|
34784
34843
|
runtime = util_models.RuntimeOptions()
|
|
34785
34844
|
return self.enable_nat_gateway_ecs_metric_with_options(request, runtime)
|
|
@@ -34789,10 +34848,13 @@ class Client(OpenApiClient):
|
|
|
34789
34848
|
request: vpc_20160428_models.EnableNatGatewayEcsMetricRequest,
|
|
34790
34849
|
) -> vpc_20160428_models.EnableNatGatewayEcsMetricResponse:
|
|
34791
34850
|
"""
|
|
34851
|
+
@deprecated OpenAPI EnableNatGatewayEcsMetric is deprecated
|
|
34852
|
+
|
|
34792
34853
|
@summary Enables Elastic Compute Service (ECS) traffic monitoring.
|
|
34793
34854
|
|
|
34794
34855
|
@param request: EnableNatGatewayEcsMetricRequest
|
|
34795
34856
|
@return: EnableNatGatewayEcsMetricResponse
|
|
34857
|
+
Deprecated
|
|
34796
34858
|
"""
|
|
34797
34859
|
runtime = util_models.RuntimeOptions()
|
|
34798
34860
|
return await self.enable_nat_gateway_ecs_metric_with_options_async(request, runtime)
|
|
@@ -42058,6 +42120,8 @@ class Client(OpenApiClient):
|
|
|
42058
42120
|
query['FlowLogId'] = request.flow_log_id
|
|
42059
42121
|
if not UtilClient.is_unset(request.flow_log_name):
|
|
42060
42122
|
query['FlowLogName'] = request.flow_log_name
|
|
42123
|
+
if not UtilClient.is_unset(request.ip_version):
|
|
42124
|
+
query['IpVersion'] = request.ip_version
|
|
42061
42125
|
if not UtilClient.is_unset(request.owner_account):
|
|
42062
42126
|
query['OwnerAccount'] = request.owner_account
|
|
42063
42127
|
if not UtilClient.is_unset(request.owner_id):
|
|
@@ -42114,6 +42178,8 @@ class Client(OpenApiClient):
|
|
|
42114
42178
|
query['FlowLogId'] = request.flow_log_id
|
|
42115
42179
|
if not UtilClient.is_unset(request.flow_log_name):
|
|
42116
42180
|
query['FlowLogName'] = request.flow_log_name
|
|
42181
|
+
if not UtilClient.is_unset(request.ip_version):
|
|
42182
|
+
query['IpVersion'] = request.ip_version
|
|
42117
42183
|
if not UtilClient.is_unset(request.owner_account):
|
|
42118
42184
|
query['OwnerAccount'] = request.owner_account
|
|
42119
42185
|
if not UtilClient.is_unset(request.owner_id):
|
|
@@ -44965,7 +45031,7 @@ class Client(OpenApiClient):
|
|
|
44965
45031
|
runtime: util_models.RuntimeOptions,
|
|
44966
45032
|
) -> vpc_20160428_models.ModifyRouteEntryResponse:
|
|
44967
45033
|
"""
|
|
44968
|
-
@summary
|
|
45034
|
+
@summary Modifies the name and description of a custom route entry.
|
|
44969
45035
|
|
|
44970
45036
|
@description You cannot repeatedly call the *ModifyRouteEntry** operation to modify the name and description of a custom route within the specified period of time.
|
|
44971
45037
|
|
|
@@ -45024,7 +45090,7 @@ class Client(OpenApiClient):
|
|
|
45024
45090
|
runtime: util_models.RuntimeOptions,
|
|
45025
45091
|
) -> vpc_20160428_models.ModifyRouteEntryResponse:
|
|
45026
45092
|
"""
|
|
45027
|
-
@summary
|
|
45093
|
+
@summary Modifies the name and description of a custom route entry.
|
|
45028
45094
|
|
|
45029
45095
|
@description You cannot repeatedly call the *ModifyRouteEntry** operation to modify the name and description of a custom route within the specified period of time.
|
|
45030
45096
|
|
|
@@ -45082,7 +45148,7 @@ class Client(OpenApiClient):
|
|
|
45082
45148
|
request: vpc_20160428_models.ModifyRouteEntryRequest,
|
|
45083
45149
|
) -> vpc_20160428_models.ModifyRouteEntryResponse:
|
|
45084
45150
|
"""
|
|
45085
|
-
@summary
|
|
45151
|
+
@summary Modifies the name and description of a custom route entry.
|
|
45086
45152
|
|
|
45087
45153
|
@description You cannot repeatedly call the *ModifyRouteEntry** operation to modify the name and description of a custom route within the specified period of time.
|
|
45088
45154
|
|
|
@@ -45097,7 +45163,7 @@ class Client(OpenApiClient):
|
|
|
45097
45163
|
request: vpc_20160428_models.ModifyRouteEntryRequest,
|
|
45098
45164
|
) -> vpc_20160428_models.ModifyRouteEntryResponse:
|
|
45099
45165
|
"""
|
|
45100
|
-
@summary
|
|
45166
|
+
@summary Modifies the name and description of a custom route entry.
|
|
45101
45167
|
|
|
45102
45168
|
@description You cannot repeatedly call the *ModifyRouteEntry** operation to modify the name and description of a custom route within the specified period of time.
|
|
45103
45169
|
|
|
@@ -47311,6 +47377,8 @@ class Client(OpenApiClient):
|
|
|
47311
47377
|
query['EnableDpd'] = request.enable_dpd
|
|
47312
47378
|
if not UtilClient.is_unset(request.enable_nat_traversal):
|
|
47313
47379
|
query['EnableNatTraversal'] = request.enable_nat_traversal
|
|
47380
|
+
if not UtilClient.is_unset(request.enable_tunnels_bgp):
|
|
47381
|
+
query['EnableTunnelsBgp'] = request.enable_tunnels_bgp
|
|
47314
47382
|
if not UtilClient.is_unset(request.health_check_config):
|
|
47315
47383
|
query['HealthCheckConfig'] = request.health_check_config
|
|
47316
47384
|
if not UtilClient.is_unset(request.ike_config):
|
|
@@ -47337,8 +47405,15 @@ class Client(OpenApiClient):
|
|
|
47337
47405
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
47338
47406
|
if not UtilClient.is_unset(request.vpn_connection_id):
|
|
47339
47407
|
query['VpnConnectionId'] = request.vpn_connection_id
|
|
47408
|
+
body = {}
|
|
47409
|
+
body_flat = {}
|
|
47410
|
+
if not UtilClient.is_unset(request.tunnel_options_specification):
|
|
47411
|
+
body_flat['TunnelOptionsSpecification'] = request.tunnel_options_specification
|
|
47412
|
+
body = TeaCore.merge(body,
|
|
47413
|
+
OpenApiUtilClient.query(body_flat))
|
|
47340
47414
|
req = open_api_models.OpenApiRequest(
|
|
47341
|
-
query=OpenApiUtilClient.query(query)
|
|
47415
|
+
query=OpenApiUtilClient.query(query),
|
|
47416
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
47342
47417
|
)
|
|
47343
47418
|
params = open_api_models.Params(
|
|
47344
47419
|
action='ModifyVpnAttachmentAttribute',
|
|
@@ -47392,6 +47467,8 @@ class Client(OpenApiClient):
|
|
|
47392
47467
|
query['EnableDpd'] = request.enable_dpd
|
|
47393
47468
|
if not UtilClient.is_unset(request.enable_nat_traversal):
|
|
47394
47469
|
query['EnableNatTraversal'] = request.enable_nat_traversal
|
|
47470
|
+
if not UtilClient.is_unset(request.enable_tunnels_bgp):
|
|
47471
|
+
query['EnableTunnelsBgp'] = request.enable_tunnels_bgp
|
|
47395
47472
|
if not UtilClient.is_unset(request.health_check_config):
|
|
47396
47473
|
query['HealthCheckConfig'] = request.health_check_config
|
|
47397
47474
|
if not UtilClient.is_unset(request.ike_config):
|
|
@@ -47418,8 +47495,15 @@ class Client(OpenApiClient):
|
|
|
47418
47495
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
47419
47496
|
if not UtilClient.is_unset(request.vpn_connection_id):
|
|
47420
47497
|
query['VpnConnectionId'] = request.vpn_connection_id
|
|
47498
|
+
body = {}
|
|
47499
|
+
body_flat = {}
|
|
47500
|
+
if not UtilClient.is_unset(request.tunnel_options_specification):
|
|
47501
|
+
body_flat['TunnelOptionsSpecification'] = request.tunnel_options_specification
|
|
47502
|
+
body = TeaCore.merge(body,
|
|
47503
|
+
OpenApiUtilClient.query(body_flat))
|
|
47421
47504
|
req = open_api_models.OpenApiRequest(
|
|
47422
|
-
query=OpenApiUtilClient.query(query)
|
|
47505
|
+
query=OpenApiUtilClient.query(query),
|
|
47506
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
47423
47507
|
)
|
|
47424
47508
|
params = open_api_models.Params(
|
|
47425
47509
|
action='ModifyVpnAttachmentAttribute',
|
|
@@ -54463,6 +54547,8 @@ class Client(OpenApiClient):
|
|
|
54463
54547
|
runtime: util_models.RuntimeOptions,
|
|
54464
54548
|
) -> vpc_20160428_models.UpdateNatGatewayNatTypeResponse:
|
|
54465
54549
|
"""
|
|
54550
|
+
@deprecated OpenAPI UpdateNatGatewayNatType is deprecated
|
|
54551
|
+
|
|
54466
54552
|
@summary Upgrades a standard NAT gateway to an enhanced NAT gateway.
|
|
54467
54553
|
|
|
54468
54554
|
@description Before you call this operation, take note of the following limits:
|
|
@@ -54478,6 +54564,7 @@ class Client(OpenApiClient):
|
|
|
54478
54564
|
@param request: UpdateNatGatewayNatTypeRequest
|
|
54479
54565
|
@param runtime: runtime options for this request RuntimeOptions
|
|
54480
54566
|
@return: UpdateNatGatewayNatTypeResponse
|
|
54567
|
+
Deprecated
|
|
54481
54568
|
"""
|
|
54482
54569
|
UtilClient.validate_model(request)
|
|
54483
54570
|
query = {}
|
|
@@ -54528,6 +54615,8 @@ class Client(OpenApiClient):
|
|
|
54528
54615
|
runtime: util_models.RuntimeOptions,
|
|
54529
54616
|
) -> vpc_20160428_models.UpdateNatGatewayNatTypeResponse:
|
|
54530
54617
|
"""
|
|
54618
|
+
@deprecated OpenAPI UpdateNatGatewayNatType is deprecated
|
|
54619
|
+
|
|
54531
54620
|
@summary Upgrades a standard NAT gateway to an enhanced NAT gateway.
|
|
54532
54621
|
|
|
54533
54622
|
@description Before you call this operation, take note of the following limits:
|
|
@@ -54543,6 +54632,7 @@ class Client(OpenApiClient):
|
|
|
54543
54632
|
@param request: UpdateNatGatewayNatTypeRequest
|
|
54544
54633
|
@param runtime: runtime options for this request RuntimeOptions
|
|
54545
54634
|
@return: UpdateNatGatewayNatTypeResponse
|
|
54635
|
+
Deprecated
|
|
54546
54636
|
"""
|
|
54547
54637
|
UtilClient.validate_model(request)
|
|
54548
54638
|
query = {}
|
|
@@ -54592,6 +54682,8 @@ class Client(OpenApiClient):
|
|
|
54592
54682
|
request: vpc_20160428_models.UpdateNatGatewayNatTypeRequest,
|
|
54593
54683
|
) -> vpc_20160428_models.UpdateNatGatewayNatTypeResponse:
|
|
54594
54684
|
"""
|
|
54685
|
+
@deprecated OpenAPI UpdateNatGatewayNatType is deprecated
|
|
54686
|
+
|
|
54595
54687
|
@summary Upgrades a standard NAT gateway to an enhanced NAT gateway.
|
|
54596
54688
|
|
|
54597
54689
|
@description Before you call this operation, take note of the following limits:
|
|
@@ -54606,6 +54698,7 @@ class Client(OpenApiClient):
|
|
|
54606
54698
|
|
|
54607
54699
|
@param request: UpdateNatGatewayNatTypeRequest
|
|
54608
54700
|
@return: UpdateNatGatewayNatTypeResponse
|
|
54701
|
+
Deprecated
|
|
54609
54702
|
"""
|
|
54610
54703
|
runtime = util_models.RuntimeOptions()
|
|
54611
54704
|
return self.update_nat_gateway_nat_type_with_options(request, runtime)
|
|
@@ -54615,6 +54708,8 @@ class Client(OpenApiClient):
|
|
|
54615
54708
|
request: vpc_20160428_models.UpdateNatGatewayNatTypeRequest,
|
|
54616
54709
|
) -> vpc_20160428_models.UpdateNatGatewayNatTypeResponse:
|
|
54617
54710
|
"""
|
|
54711
|
+
@deprecated OpenAPI UpdateNatGatewayNatType is deprecated
|
|
54712
|
+
|
|
54618
54713
|
@summary Upgrades a standard NAT gateway to an enhanced NAT gateway.
|
|
54619
54714
|
|
|
54620
54715
|
@description Before you call this operation, take note of the following limits:
|
|
@@ -54629,6 +54724,7 @@ class Client(OpenApiClient):
|
|
|
54629
54724
|
|
|
54630
54725
|
@param request: UpdateNatGatewayNatTypeRequest
|
|
54631
54726
|
@return: UpdateNatGatewayNatTypeResponse
|
|
54727
|
+
Deprecated
|
|
54632
54728
|
"""
|
|
54633
54729
|
runtime = util_models.RuntimeOptions()
|
|
54634
54730
|
return await self.update_nat_gateway_nat_type_with_options_async(request, runtime)
|