alibabacloud-vpc20160428 6.9.4__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.4 → alibabacloud_vpc20160428-6.9.5}/ChangeLog.md +11 -0
- {alibabacloud_vpc20160428-6.9.4 → alibabacloud_vpc20160428-6.9.5}/PKG-INFO +1 -1
- alibabacloud_vpc20160428-6.9.5/alibabacloud_vpc20160428/__init__.py +1 -0
- {alibabacloud_vpc20160428-6.9.4 → alibabacloud_vpc20160428-6.9.5}/alibabacloud_vpc20160428/client.py +68 -32
- {alibabacloud_vpc20160428-6.9.4 → alibabacloud_vpc20160428-6.9.5}/alibabacloud_vpc20160428/models.py +1201 -161
- {alibabacloud_vpc20160428-6.9.4 → alibabacloud_vpc20160428-6.9.5}/alibabacloud_vpc20160428.egg-info/PKG-INFO +1 -1
- {alibabacloud_vpc20160428-6.9.4 → alibabacloud_vpc20160428-6.9.5}/alibabacloud_vpc20160428.egg-info/requires.txt +1 -1
- {alibabacloud_vpc20160428-6.9.4 → alibabacloud_vpc20160428-6.9.5}/setup.py +2 -2
- alibabacloud_vpc20160428-6.9.4/alibabacloud_vpc20160428/__init__.py +0 -1
- {alibabacloud_vpc20160428-6.9.4 → alibabacloud_vpc20160428-6.9.5}/LICENSE +0 -0
- {alibabacloud_vpc20160428-6.9.4 → alibabacloud_vpc20160428-6.9.5}/MANIFEST.in +0 -0
- {alibabacloud_vpc20160428-6.9.4 → alibabacloud_vpc20160428-6.9.5}/README-CN.md +0 -0
- {alibabacloud_vpc20160428-6.9.4 → alibabacloud_vpc20160428-6.9.5}/README.md +0 -0
- {alibabacloud_vpc20160428-6.9.4 → alibabacloud_vpc20160428-6.9.5}/alibabacloud_vpc20160428.egg-info/SOURCES.txt +0 -0
- {alibabacloud_vpc20160428-6.9.4 → alibabacloud_vpc20160428-6.9.5}/alibabacloud_vpc20160428.egg-info/dependency_links.txt +0 -0
- {alibabacloud_vpc20160428-6.9.4 → alibabacloud_vpc20160428-6.9.5}/alibabacloud_vpc20160428.egg-info/top_level.txt +0 -0
- {alibabacloud_vpc20160428-6.9.4 → alibabacloud_vpc20160428-6.9.5}/setup.cfg +0 -0
|
@@ -1,3 +1,14 @@
|
|
|
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
|
+
|
|
1
12
|
2024-09-14 Version: 6.9.3
|
|
2
13
|
- Update API ListVpcPublishedRouteEntries: update response param.
|
|
3
14
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '6.9.5'
|
{alibabacloud_vpc20160428-6.9.4 → alibabacloud_vpc20160428-6.9.5}/alibabacloud_vpc20160428/client.py
RENAMED
|
@@ -9691,15 +9691,14 @@ class Client(OpenApiClient):
|
|
|
9691
9691
|
"""
|
|
9692
9692
|
@summary Creates an enhanced Internet NAT gateway or a Virtual Private Cloud (VPC) NAT gateway.
|
|
9693
9693
|
|
|
9694
|
-
@description ##
|
|
9694
|
+
@description ## Usage notes
|
|
9695
9695
|
Before you call this operation, take note of the following items:
|
|
9696
|
-
|
|
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).
|
|
9697
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.
|
|
9698
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.
|
|
9699
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.
|
|
9700
9700
|
If a NAT gateway is in the **Available** state, the NAT gateway is created.
|
|
9701
9701
|
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
9702
|
|
|
9704
9703
|
@param tmp_req: CreateNatGatewayRequest
|
|
9705
9704
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -9786,15 +9785,14 @@ class Client(OpenApiClient):
|
|
|
9786
9785
|
"""
|
|
9787
9786
|
@summary Creates an enhanced Internet NAT gateway or a Virtual Private Cloud (VPC) NAT gateway.
|
|
9788
9787
|
|
|
9789
|
-
@description ##
|
|
9788
|
+
@description ## Usage notes
|
|
9790
9789
|
Before you call this operation, take note of the following items:
|
|
9791
|
-
|
|
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).
|
|
9792
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.
|
|
9793
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.
|
|
9794
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.
|
|
9795
9794
|
If a NAT gateway is in the **Available** state, the NAT gateway is created.
|
|
9796
9795
|
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
9796
|
|
|
9799
9797
|
@param tmp_req: CreateNatGatewayRequest
|
|
9800
9798
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -9880,15 +9878,14 @@ class Client(OpenApiClient):
|
|
|
9880
9878
|
"""
|
|
9881
9879
|
@summary Creates an enhanced Internet NAT gateway or a Virtual Private Cloud (VPC) NAT gateway.
|
|
9882
9880
|
|
|
9883
|
-
@description ##
|
|
9881
|
+
@description ## Usage notes
|
|
9884
9882
|
Before you call this operation, take note of the following items:
|
|
9885
|
-
|
|
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).
|
|
9886
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.
|
|
9887
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.
|
|
9888
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.
|
|
9889
9887
|
If a NAT gateway is in the **Available** state, the NAT gateway is created.
|
|
9890
9888
|
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
9889
|
|
|
9893
9890
|
@param request: CreateNatGatewayRequest
|
|
9894
9891
|
@return: CreateNatGatewayResponse
|
|
@@ -9903,15 +9900,14 @@ class Client(OpenApiClient):
|
|
|
9903
9900
|
"""
|
|
9904
9901
|
@summary Creates an enhanced Internet NAT gateway or a Virtual Private Cloud (VPC) NAT gateway.
|
|
9905
9902
|
|
|
9906
|
-
@description ##
|
|
9903
|
+
@description ## Usage notes
|
|
9907
9904
|
Before you call this operation, take note of the following items:
|
|
9908
|
-
|
|
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).
|
|
9909
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.
|
|
9910
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.
|
|
9911
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.
|
|
9912
9909
|
If a NAT gateway is in the **Available** state, the NAT gateway is created.
|
|
9913
9910
|
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
9911
|
|
|
9916
9912
|
@param request: CreateNatGatewayRequest
|
|
9917
9913
|
@return: CreateNatGatewayResponse
|
|
@@ -12159,12 +12155,13 @@ class Client(OpenApiClient):
|
|
|
12159
12155
|
"""
|
|
12160
12156
|
@summary Creates an SSL server.
|
|
12161
12157
|
|
|
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/
|
|
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.
|
|
12163
12159
|
If the VPN gateway is in the **updating** state, the SSL server is being created.
|
|
12164
12160
|
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/
|
|
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).
|
|
12168
12165
|
|
|
12169
12166
|
@param request: CreateSslVpnServerRequest
|
|
12170
12167
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -12235,12 +12232,13 @@ class Client(OpenApiClient):
|
|
|
12235
12232
|
"""
|
|
12236
12233
|
@summary Creates an SSL server.
|
|
12237
12234
|
|
|
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/
|
|
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.
|
|
12239
12236
|
If the VPN gateway is in the **updating** state, the SSL server is being created.
|
|
12240
12237
|
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/
|
|
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).
|
|
12244
12242
|
|
|
12245
12243
|
@param request: CreateSslVpnServerRequest
|
|
12246
12244
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -12310,12 +12308,13 @@ class Client(OpenApiClient):
|
|
|
12310
12308
|
"""
|
|
12311
12309
|
@summary Creates an SSL server.
|
|
12312
12310
|
|
|
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/
|
|
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.
|
|
12314
12312
|
If the VPN gateway is in the **updating** state, the SSL server is being created.
|
|
12315
12313
|
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/
|
|
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).
|
|
12319
12318
|
|
|
12320
12319
|
@param request: CreateSslVpnServerRequest
|
|
12321
12320
|
@return: CreateSslVpnServerResponse
|
|
@@ -12330,12 +12329,13 @@ class Client(OpenApiClient):
|
|
|
12330
12329
|
"""
|
|
12331
12330
|
@summary Creates an SSL server.
|
|
12332
12331
|
|
|
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/
|
|
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.
|
|
12334
12333
|
If the VPN gateway is in the **updating** state, the SSL server is being created.
|
|
12335
12334
|
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/
|
|
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).
|
|
12339
12339
|
|
|
12340
12340
|
@param request: CreateSslVpnServerRequest
|
|
12341
12341
|
@return: CreateSslVpnServerResponse
|
|
@@ -14580,6 +14580,8 @@ class Client(OpenApiClient):
|
|
|
14580
14580
|
query['EnableDpd'] = request.enable_dpd
|
|
14581
14581
|
if not UtilClient.is_unset(request.enable_nat_traversal):
|
|
14582
14582
|
query['EnableNatTraversal'] = request.enable_nat_traversal
|
|
14583
|
+
if not UtilClient.is_unset(request.enable_tunnels_bgp):
|
|
14584
|
+
query['EnableTunnelsBgp'] = request.enable_tunnels_bgp
|
|
14583
14585
|
if not UtilClient.is_unset(request.health_check_config):
|
|
14584
14586
|
query['HealthCheckConfig'] = request.health_check_config
|
|
14585
14587
|
if not UtilClient.is_unset(request.ike_config):
|
|
@@ -14608,8 +14610,15 @@ class Client(OpenApiClient):
|
|
|
14608
14610
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
14609
14611
|
if not UtilClient.is_unset(request.tags):
|
|
14610
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))
|
|
14611
14619
|
req = open_api_models.OpenApiRequest(
|
|
14612
|
-
query=OpenApiUtilClient.query(query)
|
|
14620
|
+
query=OpenApiUtilClient.query(query),
|
|
14621
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
14613
14622
|
)
|
|
14614
14623
|
params = open_api_models.Params(
|
|
14615
14624
|
action='CreateVpnAttachment',
|
|
@@ -14660,6 +14669,8 @@ class Client(OpenApiClient):
|
|
|
14660
14669
|
query['EnableDpd'] = request.enable_dpd
|
|
14661
14670
|
if not UtilClient.is_unset(request.enable_nat_traversal):
|
|
14662
14671
|
query['EnableNatTraversal'] = request.enable_nat_traversal
|
|
14672
|
+
if not UtilClient.is_unset(request.enable_tunnels_bgp):
|
|
14673
|
+
query['EnableTunnelsBgp'] = request.enable_tunnels_bgp
|
|
14663
14674
|
if not UtilClient.is_unset(request.health_check_config):
|
|
14664
14675
|
query['HealthCheckConfig'] = request.health_check_config
|
|
14665
14676
|
if not UtilClient.is_unset(request.ike_config):
|
|
@@ -14688,8 +14699,15 @@ class Client(OpenApiClient):
|
|
|
14688
14699
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
14689
14700
|
if not UtilClient.is_unset(request.tags):
|
|
14690
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))
|
|
14691
14708
|
req = open_api_models.OpenApiRequest(
|
|
14692
|
-
query=OpenApiUtilClient.query(query)
|
|
14709
|
+
query=OpenApiUtilClient.query(query),
|
|
14710
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
14693
14711
|
)
|
|
14694
14712
|
params = open_api_models.Params(
|
|
14695
14713
|
action='CreateVpnAttachment',
|
|
@@ -47359,6 +47377,8 @@ class Client(OpenApiClient):
|
|
|
47359
47377
|
query['EnableDpd'] = request.enable_dpd
|
|
47360
47378
|
if not UtilClient.is_unset(request.enable_nat_traversal):
|
|
47361
47379
|
query['EnableNatTraversal'] = request.enable_nat_traversal
|
|
47380
|
+
if not UtilClient.is_unset(request.enable_tunnels_bgp):
|
|
47381
|
+
query['EnableTunnelsBgp'] = request.enable_tunnels_bgp
|
|
47362
47382
|
if not UtilClient.is_unset(request.health_check_config):
|
|
47363
47383
|
query['HealthCheckConfig'] = request.health_check_config
|
|
47364
47384
|
if not UtilClient.is_unset(request.ike_config):
|
|
@@ -47385,8 +47405,15 @@ class Client(OpenApiClient):
|
|
|
47385
47405
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
47386
47406
|
if not UtilClient.is_unset(request.vpn_connection_id):
|
|
47387
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))
|
|
47388
47414
|
req = open_api_models.OpenApiRequest(
|
|
47389
|
-
query=OpenApiUtilClient.query(query)
|
|
47415
|
+
query=OpenApiUtilClient.query(query),
|
|
47416
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
47390
47417
|
)
|
|
47391
47418
|
params = open_api_models.Params(
|
|
47392
47419
|
action='ModifyVpnAttachmentAttribute',
|
|
@@ -47440,6 +47467,8 @@ class Client(OpenApiClient):
|
|
|
47440
47467
|
query['EnableDpd'] = request.enable_dpd
|
|
47441
47468
|
if not UtilClient.is_unset(request.enable_nat_traversal):
|
|
47442
47469
|
query['EnableNatTraversal'] = request.enable_nat_traversal
|
|
47470
|
+
if not UtilClient.is_unset(request.enable_tunnels_bgp):
|
|
47471
|
+
query['EnableTunnelsBgp'] = request.enable_tunnels_bgp
|
|
47443
47472
|
if not UtilClient.is_unset(request.health_check_config):
|
|
47444
47473
|
query['HealthCheckConfig'] = request.health_check_config
|
|
47445
47474
|
if not UtilClient.is_unset(request.ike_config):
|
|
@@ -47466,8 +47495,15 @@ class Client(OpenApiClient):
|
|
|
47466
47495
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
47467
47496
|
if not UtilClient.is_unset(request.vpn_connection_id):
|
|
47468
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))
|
|
47469
47504
|
req = open_api_models.OpenApiRequest(
|
|
47470
|
-
query=OpenApiUtilClient.query(query)
|
|
47505
|
+
query=OpenApiUtilClient.query(query),
|
|
47506
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
47471
47507
|
)
|
|
47472
47508
|
params = open_api_models.Params(
|
|
47473
47509
|
action='ModifyVpnAttachmentAttribute',
|