alibabacloud-vpc20160428 6.9.4__tar.gz → 6.9.6__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.4 → alibabacloud_vpc20160428-6.9.6}/ChangeLog.md +30 -0
- {alibabacloud_vpc20160428-6.9.4 → alibabacloud_vpc20160428-6.9.6}/PKG-INFO +1 -1
- alibabacloud_vpc20160428-6.9.6/alibabacloud_vpc20160428/__init__.py +1 -0
- {alibabacloud_vpc20160428-6.9.4 → alibabacloud_vpc20160428-6.9.6}/alibabacloud_vpc20160428/client.py +100 -32
- {alibabacloud_vpc20160428-6.9.4 → alibabacloud_vpc20160428-6.9.6}/alibabacloud_vpc20160428/models.py +1387 -163
- {alibabacloud_vpc20160428-6.9.4 → alibabacloud_vpc20160428-6.9.6}/alibabacloud_vpc20160428.egg-info/PKG-INFO +1 -1
- {alibabacloud_vpc20160428-6.9.4 → alibabacloud_vpc20160428-6.9.6}/alibabacloud_vpc20160428.egg-info/requires.txt +1 -1
- {alibabacloud_vpc20160428-6.9.4 → alibabacloud_vpc20160428-6.9.6}/setup.py +2 -2
- alibabacloud_vpc20160428-6.9.4/alibabacloud_vpc20160428/__init__.py +0 -1
- {alibabacloud_vpc20160428-6.9.4 → alibabacloud_vpc20160428-6.9.6}/LICENSE +0 -0
- {alibabacloud_vpc20160428-6.9.4 → alibabacloud_vpc20160428-6.9.6}/MANIFEST.in +0 -0
- {alibabacloud_vpc20160428-6.9.4 → alibabacloud_vpc20160428-6.9.6}/README-CN.md +0 -0
- {alibabacloud_vpc20160428-6.9.4 → alibabacloud_vpc20160428-6.9.6}/README.md +0 -0
- {alibabacloud_vpc20160428-6.9.4 → alibabacloud_vpc20160428-6.9.6}/alibabacloud_vpc20160428.egg-info/SOURCES.txt +0 -0
- {alibabacloud_vpc20160428-6.9.4 → alibabacloud_vpc20160428-6.9.6}/alibabacloud_vpc20160428.egg-info/dependency_links.txt +0 -0
- {alibabacloud_vpc20160428-6.9.4 → alibabacloud_vpc20160428-6.9.6}/alibabacloud_vpc20160428.egg-info/top_level.txt +0 -0
- {alibabacloud_vpc20160428-6.9.4 → alibabacloud_vpc20160428-6.9.6}/setup.cfg +0 -0
|
@@ -1,3 +1,33 @@
|
|
|
1
|
+
2024-11-29 Version: 6.9.5
|
|
2
|
+
- Update API CreateVpnAttachment: add param EnableTunnelsBgp.
|
|
3
|
+
- Update API CreateVpnAttachment: add param TunnelOptionsSpecification.
|
|
4
|
+
- Update API CreateVpnAttachment: update param CustomerGatewayId.
|
|
5
|
+
- Update API CreateVpnAttachment: update param RemoteCaCert.
|
|
6
|
+
- Update API DescribeVcoRouteEntries: update response param.
|
|
7
|
+
- Update API DescribeVpnAttachments: update response param.
|
|
8
|
+
- Update API DescribeVpnConnection: update response param.
|
|
9
|
+
- Update API DescribeVpnConnections: update response param.
|
|
10
|
+
- Update API DescribeVpnRouteEntries: update response param.
|
|
11
|
+
- Update API ModifyRouteEntry: update param RouteEntryId.
|
|
12
|
+
- Update API ModifyTunnelAttribute: update param TunnelOptionsSpecification.
|
|
13
|
+
- Update API ModifyVpnAttachmentAttribute: add param EnableTunnelsBgp.
|
|
14
|
+
- Update API ModifyVpnAttachmentAttribute: add param TunnelOptionsSpecification.
|
|
15
|
+
- Update API ModifyVpnAttachmentAttribute: update param RemoteCaCert.
|
|
16
|
+
- Update API ModifyVpnAttachmentAttribute: update response param.
|
|
17
|
+
- Update API ModifyVpnConnectionAttribute: update param TunnelOptionsSpecification.
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
2024-10-24 Version: 6.9.4
|
|
21
|
+
- Update API CreateFlowLog: add param IpVersion.
|
|
22
|
+
- Update API CreateNatGateway: add param AccessMode.
|
|
23
|
+
- Update API CreateNatGateway: add param PrivateLinkEnabled.
|
|
24
|
+
- Update API DescribeFlowLogs: update response param.
|
|
25
|
+
- Update API DescribeNatGatewayAssociateNetworkInterfaces: update response param.
|
|
26
|
+
- Update API DescribeNatGateways: update response param.
|
|
27
|
+
- Update API GetNatGatewayAttribute: update response param.
|
|
28
|
+
- Update API ModifyFlowLogAttribute: add param IpVersion.
|
|
29
|
+
|
|
30
|
+
|
|
1
31
|
2024-09-14 Version: 6.9.3
|
|
2
32
|
- Update API ListVpcPublishedRouteEntries: update response param.
|
|
3
33
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '6.9.6'
|
{alibabacloud_vpc20160428-6.9.4 → alibabacloud_vpc20160428-6.9.6}/alibabacloud_vpc20160428/client.py
RENAMED
|
@@ -6971,8 +6971,12 @@ class Client(OpenApiClient):
|
|
|
6971
6971
|
query['QosName'] = request.qos_name
|
|
6972
6972
|
if not UtilClient.is_unset(request.region_id):
|
|
6973
6973
|
query['RegionId'] = request.region_id
|
|
6974
|
+
if not UtilClient.is_unset(request.resource_group_id):
|
|
6975
|
+
query['ResourceGroupId'] = request.resource_group_id
|
|
6974
6976
|
if not UtilClient.is_unset(request.resource_owner_account):
|
|
6975
6977
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
6978
|
+
if not UtilClient.is_unset(request.tags):
|
|
6979
|
+
query['Tags'] = request.tags
|
|
6976
6980
|
req = open_api_models.OpenApiRequest(
|
|
6977
6981
|
query=OpenApiUtilClient.query(query)
|
|
6978
6982
|
)
|
|
@@ -7020,8 +7024,12 @@ class Client(OpenApiClient):
|
|
|
7020
7024
|
query['QosName'] = request.qos_name
|
|
7021
7025
|
if not UtilClient.is_unset(request.region_id):
|
|
7022
7026
|
query['RegionId'] = request.region_id
|
|
7027
|
+
if not UtilClient.is_unset(request.resource_group_id):
|
|
7028
|
+
query['ResourceGroupId'] = request.resource_group_id
|
|
7023
7029
|
if not UtilClient.is_unset(request.resource_owner_account):
|
|
7024
7030
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
7031
|
+
if not UtilClient.is_unset(request.tags):
|
|
7032
|
+
query['Tags'] = request.tags
|
|
7025
7033
|
req = open_api_models.OpenApiRequest(
|
|
7026
7034
|
query=OpenApiUtilClient.query(query)
|
|
7027
7035
|
)
|
|
@@ -7760,6 +7768,8 @@ class Client(OpenApiClient):
|
|
|
7760
7768
|
query = {}
|
|
7761
7769
|
if not UtilClient.is_unset(request.client_token):
|
|
7762
7770
|
query['ClientToken'] = request.client_token
|
|
7771
|
+
if not UtilClient.is_unset(request.dry_run):
|
|
7772
|
+
query['DryRun'] = request.dry_run
|
|
7763
7773
|
if not UtilClient.is_unset(request.external_ip):
|
|
7764
7774
|
query['ExternalIp'] = request.external_ip
|
|
7765
7775
|
if not UtilClient.is_unset(request.external_port):
|
|
@@ -7834,6 +7844,8 @@ class Client(OpenApiClient):
|
|
|
7834
7844
|
query = {}
|
|
7835
7845
|
if not UtilClient.is_unset(request.client_token):
|
|
7836
7846
|
query['ClientToken'] = request.client_token
|
|
7847
|
+
if not UtilClient.is_unset(request.dry_run):
|
|
7848
|
+
query['DryRun'] = request.dry_run
|
|
7837
7849
|
if not UtilClient.is_unset(request.external_ip):
|
|
7838
7850
|
query['ExternalIp'] = request.external_ip
|
|
7839
7851
|
if not UtilClient.is_unset(request.external_port):
|
|
@@ -9691,15 +9703,14 @@ class Client(OpenApiClient):
|
|
|
9691
9703
|
"""
|
|
9692
9704
|
@summary Creates an enhanced Internet NAT gateway or a Virtual Private Cloud (VPC) NAT gateway.
|
|
9693
9705
|
|
|
9694
|
-
@description ##
|
|
9706
|
+
@description ## Usage notes
|
|
9695
9707
|
Before you call this operation, take note of the following items:
|
|
9696
|
-
|
|
9708
|
+
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).
|
|
9697
9709
|
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.
|
|
9698
9710
|
**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.
|
|
9699
9711
|
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.
|
|
9700
9712
|
If a NAT gateway is in the **Available** state, the NAT gateway is created.
|
|
9701
9713
|
It takes 1 to 3 minutes to create a NAT gateway.
|
|
9702
|
-
You cannot repeatedly call the **CreateNatGateway** operation within a specific period of time.
|
|
9703
9714
|
|
|
9704
9715
|
@param tmp_req: CreateNatGatewayRequest
|
|
9705
9716
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -9786,15 +9797,14 @@ class Client(OpenApiClient):
|
|
|
9786
9797
|
"""
|
|
9787
9798
|
@summary Creates an enhanced Internet NAT gateway or a Virtual Private Cloud (VPC) NAT gateway.
|
|
9788
9799
|
|
|
9789
|
-
@description ##
|
|
9800
|
+
@description ## Usage notes
|
|
9790
9801
|
Before you call this operation, take note of the following items:
|
|
9791
|
-
|
|
9802
|
+
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).
|
|
9792
9803
|
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.
|
|
9793
9804
|
**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.
|
|
9794
9805
|
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.
|
|
9795
9806
|
If a NAT gateway is in the **Available** state, the NAT gateway is created.
|
|
9796
9807
|
It takes 1 to 3 minutes to create a NAT gateway.
|
|
9797
|
-
You cannot repeatedly call the **CreateNatGateway** operation within a specific period of time.
|
|
9798
9808
|
|
|
9799
9809
|
@param tmp_req: CreateNatGatewayRequest
|
|
9800
9810
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -9880,15 +9890,14 @@ class Client(OpenApiClient):
|
|
|
9880
9890
|
"""
|
|
9881
9891
|
@summary Creates an enhanced Internet NAT gateway or a Virtual Private Cloud (VPC) NAT gateway.
|
|
9882
9892
|
|
|
9883
|
-
@description ##
|
|
9893
|
+
@description ## Usage notes
|
|
9884
9894
|
Before you call this operation, take note of the following items:
|
|
9885
|
-
|
|
9895
|
+
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).
|
|
9886
9896
|
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.
|
|
9887
9897
|
**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.
|
|
9888
9898
|
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.
|
|
9889
9899
|
If a NAT gateway is in the **Available** state, the NAT gateway is created.
|
|
9890
9900
|
It takes 1 to 3 minutes to create a NAT gateway.
|
|
9891
|
-
You cannot repeatedly call the **CreateNatGateway** operation within a specific period of time.
|
|
9892
9901
|
|
|
9893
9902
|
@param request: CreateNatGatewayRequest
|
|
9894
9903
|
@return: CreateNatGatewayResponse
|
|
@@ -9903,15 +9912,14 @@ class Client(OpenApiClient):
|
|
|
9903
9912
|
"""
|
|
9904
9913
|
@summary Creates an enhanced Internet NAT gateway or a Virtual Private Cloud (VPC) NAT gateway.
|
|
9905
9914
|
|
|
9906
|
-
@description ##
|
|
9915
|
+
@description ## Usage notes
|
|
9907
9916
|
Before you call this operation, take note of the following items:
|
|
9908
|
-
|
|
9917
|
+
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).
|
|
9909
9918
|
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.
|
|
9910
9919
|
**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.
|
|
9911
9920
|
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.
|
|
9912
9921
|
If a NAT gateway is in the **Available** state, the NAT gateway is created.
|
|
9913
9922
|
It takes 1 to 3 minutes to create a NAT gateway.
|
|
9914
|
-
You cannot repeatedly call the **CreateNatGateway** operation within a specific period of time.
|
|
9915
9923
|
|
|
9916
9924
|
@param request: CreateNatGatewayRequest
|
|
9917
9925
|
@return: CreateNatGatewayResponse
|
|
@@ -11869,6 +11877,8 @@ class Client(OpenApiClient):
|
|
|
11869
11877
|
query = {}
|
|
11870
11878
|
if not UtilClient.is_unset(request.client_token):
|
|
11871
11879
|
query['ClientToken'] = request.client_token
|
|
11880
|
+
if not UtilClient.is_unset(request.dry_run):
|
|
11881
|
+
query['DryRun'] = request.dry_run
|
|
11872
11882
|
if not UtilClient.is_unset(request.eip_affinity):
|
|
11873
11883
|
query['EipAffinity'] = request.eip_affinity
|
|
11874
11884
|
if not UtilClient.is_unset(request.network_interface_id):
|
|
@@ -11938,6 +11948,8 @@ class Client(OpenApiClient):
|
|
|
11938
11948
|
query = {}
|
|
11939
11949
|
if not UtilClient.is_unset(request.client_token):
|
|
11940
11950
|
query['ClientToken'] = request.client_token
|
|
11951
|
+
if not UtilClient.is_unset(request.dry_run):
|
|
11952
|
+
query['DryRun'] = request.dry_run
|
|
11941
11953
|
if not UtilClient.is_unset(request.eip_affinity):
|
|
11942
11954
|
query['EipAffinity'] = request.eip_affinity
|
|
11943
11955
|
if not UtilClient.is_unset(request.network_interface_id):
|
|
@@ -12159,12 +12171,13 @@ class Client(OpenApiClient):
|
|
|
12159
12171
|
"""
|
|
12160
12172
|
@summary Creates an SSL server.
|
|
12161
12173
|
|
|
12162
|
-
@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/
|
|
12174
|
+
@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.
|
|
12163
12175
|
If the VPN gateway is in the **updating** state, the SSL server is being created.
|
|
12164
12176
|
If the VPN gateway is in the **active** state, the SSL server is created.
|
|
12165
|
-
You cannot call the **CreateSslVpnServer** operation
|
|
12166
|
-
### [](#)
|
|
12167
|
-
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/
|
|
12177
|
+
You cannot repeatedly call the **CreateSslVpnServer** operation within the specified period of time.
|
|
12178
|
+
### [](#)Prerequisite
|
|
12179
|
+
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).
|
|
12180
|
+
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).
|
|
12168
12181
|
|
|
12169
12182
|
@param request: CreateSslVpnServerRequest
|
|
12170
12183
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -12235,12 +12248,13 @@ class Client(OpenApiClient):
|
|
|
12235
12248
|
"""
|
|
12236
12249
|
@summary Creates an SSL server.
|
|
12237
12250
|
|
|
12238
|
-
@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/
|
|
12251
|
+
@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.
|
|
12239
12252
|
If the VPN gateway is in the **updating** state, the SSL server is being created.
|
|
12240
12253
|
If the VPN gateway is in the **active** state, the SSL server is created.
|
|
12241
|
-
You cannot call the **CreateSslVpnServer** operation
|
|
12242
|
-
### [](#)
|
|
12243
|
-
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/
|
|
12254
|
+
You cannot repeatedly call the **CreateSslVpnServer** operation within the specified period of time.
|
|
12255
|
+
### [](#)Prerequisite
|
|
12256
|
+
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).
|
|
12257
|
+
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).
|
|
12244
12258
|
|
|
12245
12259
|
@param request: CreateSslVpnServerRequest
|
|
12246
12260
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -12310,12 +12324,13 @@ class Client(OpenApiClient):
|
|
|
12310
12324
|
"""
|
|
12311
12325
|
@summary Creates an SSL server.
|
|
12312
12326
|
|
|
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/
|
|
12327
|
+
@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
12328
|
If the VPN gateway is in the **updating** state, the SSL server is being created.
|
|
12315
12329
|
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/
|
|
12330
|
+
You cannot repeatedly call the **CreateSslVpnServer** operation within the specified period of time.
|
|
12331
|
+
### [](#)Prerequisite
|
|
12332
|
+
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).
|
|
12333
|
+
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
12334
|
|
|
12320
12335
|
@param request: CreateSslVpnServerRequest
|
|
12321
12336
|
@return: CreateSslVpnServerResponse
|
|
@@ -12330,12 +12345,13 @@ class Client(OpenApiClient):
|
|
|
12330
12345
|
"""
|
|
12331
12346
|
@summary Creates an SSL server.
|
|
12332
12347
|
|
|
12333
|
-
@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/
|
|
12348
|
+
@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.
|
|
12334
12349
|
If the VPN gateway is in the **updating** state, the SSL server is being created.
|
|
12335
12350
|
If the VPN gateway is in the **active** state, the SSL server is created.
|
|
12336
|
-
You cannot call the **CreateSslVpnServer** operation
|
|
12337
|
-
### [](#)
|
|
12338
|
-
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/
|
|
12351
|
+
You cannot repeatedly call the **CreateSslVpnServer** operation within the specified period of time.
|
|
12352
|
+
### [](#)Prerequisite
|
|
12353
|
+
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).
|
|
12354
|
+
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).
|
|
12339
12355
|
|
|
12340
12356
|
@param request: CreateSslVpnServerRequest
|
|
12341
12357
|
@return: CreateSslVpnServerResponse
|
|
@@ -14580,6 +14596,8 @@ class Client(OpenApiClient):
|
|
|
14580
14596
|
query['EnableDpd'] = request.enable_dpd
|
|
14581
14597
|
if not UtilClient.is_unset(request.enable_nat_traversal):
|
|
14582
14598
|
query['EnableNatTraversal'] = request.enable_nat_traversal
|
|
14599
|
+
if not UtilClient.is_unset(request.enable_tunnels_bgp):
|
|
14600
|
+
query['EnableTunnelsBgp'] = request.enable_tunnels_bgp
|
|
14583
14601
|
if not UtilClient.is_unset(request.health_check_config):
|
|
14584
14602
|
query['HealthCheckConfig'] = request.health_check_config
|
|
14585
14603
|
if not UtilClient.is_unset(request.ike_config):
|
|
@@ -14608,8 +14626,15 @@ class Client(OpenApiClient):
|
|
|
14608
14626
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
14609
14627
|
if not UtilClient.is_unset(request.tags):
|
|
14610
14628
|
query['Tags'] = request.tags
|
|
14629
|
+
body = {}
|
|
14630
|
+
body_flat = {}
|
|
14631
|
+
if not UtilClient.is_unset(request.tunnel_options_specification):
|
|
14632
|
+
body_flat['TunnelOptionsSpecification'] = request.tunnel_options_specification
|
|
14633
|
+
body = TeaCore.merge(body,
|
|
14634
|
+
OpenApiUtilClient.query(body_flat))
|
|
14611
14635
|
req = open_api_models.OpenApiRequest(
|
|
14612
|
-
query=OpenApiUtilClient.query(query)
|
|
14636
|
+
query=OpenApiUtilClient.query(query),
|
|
14637
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
14613
14638
|
)
|
|
14614
14639
|
params = open_api_models.Params(
|
|
14615
14640
|
action='CreateVpnAttachment',
|
|
@@ -14660,6 +14685,8 @@ class Client(OpenApiClient):
|
|
|
14660
14685
|
query['EnableDpd'] = request.enable_dpd
|
|
14661
14686
|
if not UtilClient.is_unset(request.enable_nat_traversal):
|
|
14662
14687
|
query['EnableNatTraversal'] = request.enable_nat_traversal
|
|
14688
|
+
if not UtilClient.is_unset(request.enable_tunnels_bgp):
|
|
14689
|
+
query['EnableTunnelsBgp'] = request.enable_tunnels_bgp
|
|
14663
14690
|
if not UtilClient.is_unset(request.health_check_config):
|
|
14664
14691
|
query['HealthCheckConfig'] = request.health_check_config
|
|
14665
14692
|
if not UtilClient.is_unset(request.ike_config):
|
|
@@ -14688,8 +14715,15 @@ class Client(OpenApiClient):
|
|
|
14688
14715
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
14689
14716
|
if not UtilClient.is_unset(request.tags):
|
|
14690
14717
|
query['Tags'] = request.tags
|
|
14718
|
+
body = {}
|
|
14719
|
+
body_flat = {}
|
|
14720
|
+
if not UtilClient.is_unset(request.tunnel_options_specification):
|
|
14721
|
+
body_flat['TunnelOptionsSpecification'] = request.tunnel_options_specification
|
|
14722
|
+
body = TeaCore.merge(body,
|
|
14723
|
+
OpenApiUtilClient.query(body_flat))
|
|
14691
14724
|
req = open_api_models.OpenApiRequest(
|
|
14692
|
-
query=OpenApiUtilClient.query(query)
|
|
14725
|
+
query=OpenApiUtilClient.query(query),
|
|
14726
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
14693
14727
|
)
|
|
14694
14728
|
params = open_api_models.Params(
|
|
14695
14729
|
action='CreateVpnAttachment',
|
|
@@ -25109,8 +25143,12 @@ class Client(OpenApiClient):
|
|
|
25109
25143
|
query['QosNameList'] = request.qos_name_list
|
|
25110
25144
|
if not UtilClient.is_unset(request.region_id):
|
|
25111
25145
|
query['RegionId'] = request.region_id
|
|
25146
|
+
if not UtilClient.is_unset(request.resource_group_id):
|
|
25147
|
+
query['ResourceGroupId'] = request.resource_group_id
|
|
25112
25148
|
if not UtilClient.is_unset(request.resource_owner_account):
|
|
25113
25149
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
25150
|
+
if not UtilClient.is_unset(request.tags):
|
|
25151
|
+
query['Tags'] = request.tags
|
|
25114
25152
|
req = open_api_models.OpenApiRequest(
|
|
25115
25153
|
query=OpenApiUtilClient.query(query)
|
|
25116
25154
|
)
|
|
@@ -25162,8 +25200,12 @@ class Client(OpenApiClient):
|
|
|
25162
25200
|
query['QosNameList'] = request.qos_name_list
|
|
25163
25201
|
if not UtilClient.is_unset(request.region_id):
|
|
25164
25202
|
query['RegionId'] = request.region_id
|
|
25203
|
+
if not UtilClient.is_unset(request.resource_group_id):
|
|
25204
|
+
query['ResourceGroupId'] = request.resource_group_id
|
|
25165
25205
|
if not UtilClient.is_unset(request.resource_owner_account):
|
|
25166
25206
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
25207
|
+
if not UtilClient.is_unset(request.tags):
|
|
25208
|
+
query['Tags'] = request.tags
|
|
25167
25209
|
req = open_api_models.OpenApiRequest(
|
|
25168
25210
|
query=OpenApiUtilClient.query(query)
|
|
25169
25211
|
)
|
|
@@ -42248,6 +42290,8 @@ class Client(OpenApiClient):
|
|
|
42248
42290
|
query = {}
|
|
42249
42291
|
if not UtilClient.is_unset(request.client_token):
|
|
42250
42292
|
query['ClientToken'] = request.client_token
|
|
42293
|
+
if not UtilClient.is_unset(request.dry_run):
|
|
42294
|
+
query['DryRun'] = request.dry_run
|
|
42251
42295
|
if not UtilClient.is_unset(request.external_ip):
|
|
42252
42296
|
query['ExternalIp'] = request.external_ip
|
|
42253
42297
|
if not UtilClient.is_unset(request.external_port):
|
|
@@ -42316,6 +42360,8 @@ class Client(OpenApiClient):
|
|
|
42316
42360
|
query = {}
|
|
42317
42361
|
if not UtilClient.is_unset(request.client_token):
|
|
42318
42362
|
query['ClientToken'] = request.client_token
|
|
42363
|
+
if not UtilClient.is_unset(request.dry_run):
|
|
42364
|
+
query['DryRun'] = request.dry_run
|
|
42319
42365
|
if not UtilClient.is_unset(request.external_ip):
|
|
42320
42366
|
query['ExternalIp'] = request.external_ip
|
|
42321
42367
|
if not UtilClient.is_unset(request.external_port):
|
|
@@ -45606,6 +45652,8 @@ class Client(OpenApiClient):
|
|
|
45606
45652
|
query = {}
|
|
45607
45653
|
if not UtilClient.is_unset(request.client_token):
|
|
45608
45654
|
query['ClientToken'] = request.client_token
|
|
45655
|
+
if not UtilClient.is_unset(request.dry_run):
|
|
45656
|
+
query['DryRun'] = request.dry_run
|
|
45609
45657
|
if not UtilClient.is_unset(request.eip_affinity):
|
|
45610
45658
|
query['EipAffinity'] = request.eip_affinity
|
|
45611
45659
|
if not UtilClient.is_unset(request.network_interface_id):
|
|
@@ -45670,6 +45718,8 @@ class Client(OpenApiClient):
|
|
|
45670
45718
|
query = {}
|
|
45671
45719
|
if not UtilClient.is_unset(request.client_token):
|
|
45672
45720
|
query['ClientToken'] = request.client_token
|
|
45721
|
+
if not UtilClient.is_unset(request.dry_run):
|
|
45722
|
+
query['DryRun'] = request.dry_run
|
|
45673
45723
|
if not UtilClient.is_unset(request.eip_affinity):
|
|
45674
45724
|
query['EipAffinity'] = request.eip_affinity
|
|
45675
45725
|
if not UtilClient.is_unset(request.network_interface_id):
|
|
@@ -47359,6 +47409,8 @@ class Client(OpenApiClient):
|
|
|
47359
47409
|
query['EnableDpd'] = request.enable_dpd
|
|
47360
47410
|
if not UtilClient.is_unset(request.enable_nat_traversal):
|
|
47361
47411
|
query['EnableNatTraversal'] = request.enable_nat_traversal
|
|
47412
|
+
if not UtilClient.is_unset(request.enable_tunnels_bgp):
|
|
47413
|
+
query['EnableTunnelsBgp'] = request.enable_tunnels_bgp
|
|
47362
47414
|
if not UtilClient.is_unset(request.health_check_config):
|
|
47363
47415
|
query['HealthCheckConfig'] = request.health_check_config
|
|
47364
47416
|
if not UtilClient.is_unset(request.ike_config):
|
|
@@ -47385,8 +47437,15 @@ class Client(OpenApiClient):
|
|
|
47385
47437
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
47386
47438
|
if not UtilClient.is_unset(request.vpn_connection_id):
|
|
47387
47439
|
query['VpnConnectionId'] = request.vpn_connection_id
|
|
47440
|
+
body = {}
|
|
47441
|
+
body_flat = {}
|
|
47442
|
+
if not UtilClient.is_unset(request.tunnel_options_specification):
|
|
47443
|
+
body_flat['TunnelOptionsSpecification'] = request.tunnel_options_specification
|
|
47444
|
+
body = TeaCore.merge(body,
|
|
47445
|
+
OpenApiUtilClient.query(body_flat))
|
|
47388
47446
|
req = open_api_models.OpenApiRequest(
|
|
47389
|
-
query=OpenApiUtilClient.query(query)
|
|
47447
|
+
query=OpenApiUtilClient.query(query),
|
|
47448
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
47390
47449
|
)
|
|
47391
47450
|
params = open_api_models.Params(
|
|
47392
47451
|
action='ModifyVpnAttachmentAttribute',
|
|
@@ -47440,6 +47499,8 @@ class Client(OpenApiClient):
|
|
|
47440
47499
|
query['EnableDpd'] = request.enable_dpd
|
|
47441
47500
|
if not UtilClient.is_unset(request.enable_nat_traversal):
|
|
47442
47501
|
query['EnableNatTraversal'] = request.enable_nat_traversal
|
|
47502
|
+
if not UtilClient.is_unset(request.enable_tunnels_bgp):
|
|
47503
|
+
query['EnableTunnelsBgp'] = request.enable_tunnels_bgp
|
|
47443
47504
|
if not UtilClient.is_unset(request.health_check_config):
|
|
47444
47505
|
query['HealthCheckConfig'] = request.health_check_config
|
|
47445
47506
|
if not UtilClient.is_unset(request.ike_config):
|
|
@@ -47466,8 +47527,15 @@ class Client(OpenApiClient):
|
|
|
47466
47527
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
47467
47528
|
if not UtilClient.is_unset(request.vpn_connection_id):
|
|
47468
47529
|
query['VpnConnectionId'] = request.vpn_connection_id
|
|
47530
|
+
body = {}
|
|
47531
|
+
body_flat = {}
|
|
47532
|
+
if not UtilClient.is_unset(request.tunnel_options_specification):
|
|
47533
|
+
body_flat['TunnelOptionsSpecification'] = request.tunnel_options_specification
|
|
47534
|
+
body = TeaCore.merge(body,
|
|
47535
|
+
OpenApiUtilClient.query(body_flat))
|
|
47469
47536
|
req = open_api_models.OpenApiRequest(
|
|
47470
|
-
query=OpenApiUtilClient.query(query)
|
|
47537
|
+
query=OpenApiUtilClient.query(query),
|
|
47538
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
47471
47539
|
)
|
|
47472
47540
|
params = open_api_models.Params(
|
|
47473
47541
|
action='ModifyVpnAttachmentAttribute',
|