alibabacloud-vpc20160428 6.6.6__py3-none-any.whl → 6.6.8__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- alibabacloud_vpc20160428/__init__.py +1 -1
- alibabacloud_vpc20160428/client.py +88 -36
- alibabacloud_vpc20160428/models.py +146 -117
- {alibabacloud_vpc20160428-6.6.6.dist-info → alibabacloud_vpc20160428-6.6.8.dist-info}/METADATA +1 -1
- alibabacloud_vpc20160428-6.6.8.dist-info/RECORD +8 -0
- alibabacloud_vpc20160428-6.6.6.dist-info/RECORD +0 -8
- {alibabacloud_vpc20160428-6.6.6.dist-info → alibabacloud_vpc20160428-6.6.8.dist-info}/LICENSE +0 -0
- {alibabacloud_vpc20160428-6.6.6.dist-info → alibabacloud_vpc20160428-6.6.8.dist-info}/WHEEL +0 -0
- {alibabacloud_vpc20160428-6.6.6.dist-info → alibabacloud_vpc20160428-6.6.8.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '6.6.
|
|
1
|
+
__version__ = '6.6.8'
|
|
@@ -16177,6 +16177,8 @@ class Client(OpenApiClient):
|
|
|
16177
16177
|
"""
|
|
16178
16178
|
@summary Deletes a customer gateway.
|
|
16179
16179
|
|
|
16180
|
+
@description Before you delete a customer gateway, make sure that no IPsec-VPN connection is associated with the customer gateway. For more information about how to delete an IPsec-VPN connection, see [DeleteVpnAttachment](https://help.aliyun.com/document_detail/2526938.html) or [DeleteVpnConnection](https://help.aliyun.com/document_detail/2526948.html).
|
|
16181
|
+
|
|
16180
16182
|
@param request: DeleteCustomerGatewayRequest
|
|
16181
16183
|
@param runtime: runtime options for this request RuntimeOptions
|
|
16182
16184
|
@return: DeleteCustomerGatewayResponse
|
|
@@ -16224,6 +16226,8 @@ class Client(OpenApiClient):
|
|
|
16224
16226
|
"""
|
|
16225
16227
|
@summary Deletes a customer gateway.
|
|
16226
16228
|
|
|
16229
|
+
@description Before you delete a customer gateway, make sure that no IPsec-VPN connection is associated with the customer gateway. For more information about how to delete an IPsec-VPN connection, see [DeleteVpnAttachment](https://help.aliyun.com/document_detail/2526938.html) or [DeleteVpnConnection](https://help.aliyun.com/document_detail/2526948.html).
|
|
16230
|
+
|
|
16227
16231
|
@param request: DeleteCustomerGatewayRequest
|
|
16228
16232
|
@param runtime: runtime options for this request RuntimeOptions
|
|
16229
16233
|
@return: DeleteCustomerGatewayResponse
|
|
@@ -16270,6 +16274,8 @@ class Client(OpenApiClient):
|
|
|
16270
16274
|
"""
|
|
16271
16275
|
@summary Deletes a customer gateway.
|
|
16272
16276
|
|
|
16277
|
+
@description Before you delete a customer gateway, make sure that no IPsec-VPN connection is associated with the customer gateway. For more information about how to delete an IPsec-VPN connection, see [DeleteVpnAttachment](https://help.aliyun.com/document_detail/2526938.html) or [DeleteVpnConnection](https://help.aliyun.com/document_detail/2526948.html).
|
|
16278
|
+
|
|
16273
16279
|
@param request: DeleteCustomerGatewayRequest
|
|
16274
16280
|
@return: DeleteCustomerGatewayResponse
|
|
16275
16281
|
"""
|
|
@@ -16283,6 +16289,8 @@ class Client(OpenApiClient):
|
|
|
16283
16289
|
"""
|
|
16284
16290
|
@summary Deletes a customer gateway.
|
|
16285
16291
|
|
|
16292
|
+
@description Before you delete a customer gateway, make sure that no IPsec-VPN connection is associated with the customer gateway. For more information about how to delete an IPsec-VPN connection, see [DeleteVpnAttachment](https://help.aliyun.com/document_detail/2526938.html) or [DeleteVpnConnection](https://help.aliyun.com/document_detail/2526948.html).
|
|
16293
|
+
|
|
16286
16294
|
@param request: DeleteCustomerGatewayRequest
|
|
16287
16295
|
@return: DeleteCustomerGatewayResponse
|
|
16288
16296
|
"""
|
|
@@ -18202,6 +18210,8 @@ class Client(OpenApiClient):
|
|
|
18202
18210
|
query['ClientToken'] = request.client_token
|
|
18203
18211
|
if not UtilClient.is_unset(request.dry_run):
|
|
18204
18212
|
query['DryRun'] = request.dry_run
|
|
18213
|
+
if not UtilClient.is_unset(request.internet_mode):
|
|
18214
|
+
query['InternetMode'] = request.internet_mode
|
|
18205
18215
|
if not UtilClient.is_unset(request.ipv_4gateway_id):
|
|
18206
18216
|
query['Ipv4GatewayId'] = request.ipv_4gateway_id
|
|
18207
18217
|
if not UtilClient.is_unset(request.owner_account):
|
|
@@ -18260,6 +18270,8 @@ class Client(OpenApiClient):
|
|
|
18260
18270
|
query['ClientToken'] = request.client_token
|
|
18261
18271
|
if not UtilClient.is_unset(request.dry_run):
|
|
18262
18272
|
query['DryRun'] = request.dry_run
|
|
18273
|
+
if not UtilClient.is_unset(request.internet_mode):
|
|
18274
|
+
query['InternetMode'] = request.internet_mode
|
|
18263
18275
|
if not UtilClient.is_unset(request.ipv_4gateway_id):
|
|
18264
18276
|
query['Ipv4GatewayId'] = request.ipv_4gateway_id
|
|
18265
18277
|
if not UtilClient.is_unset(request.owner_account):
|
|
@@ -22485,11 +22497,11 @@ class Client(OpenApiClient):
|
|
|
22485
22497
|
"""
|
|
22486
22498
|
@summary Deletes an IPsec-VPN connection.
|
|
22487
22499
|
|
|
22488
|
-
@description **DeleteVpnConnection** 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/73720.html) operation to query the status of
|
|
22489
|
-
If
|
|
22490
|
-
If
|
|
22491
|
-
You cannot
|
|
22492
|
-
> After an IPsec-VPN connection between a
|
|
22500
|
+
@description **DeleteVpnConnection** 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/73720.html) operation to query the status of a VPN gateway.
|
|
22501
|
+
If a VPN gateway is in the **updating** state, the IPsec-VPN connection is being deleted.
|
|
22502
|
+
If a VPN gateway is in the **active** state, the IPsec-VPN connection has been deleted.
|
|
22503
|
+
You cannot call the **DeleteVpnConnection** operation to delete multiple IPsec-VPN connections for a VPN gateway at a time.
|
|
22504
|
+
> After an IPsec-VPN connection between a data center and Alibaba Cloud is deleted, the connection between the data center and Alibaba Cloud is closed.
|
|
22493
22505
|
|
|
22494
22506
|
@param request: DeleteVpnConnectionRequest
|
|
22495
22507
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -22538,11 +22550,11 @@ class Client(OpenApiClient):
|
|
|
22538
22550
|
"""
|
|
22539
22551
|
@summary Deletes an IPsec-VPN connection.
|
|
22540
22552
|
|
|
22541
|
-
@description **DeleteVpnConnection** 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/73720.html) operation to query the status of
|
|
22542
|
-
If
|
|
22543
|
-
If
|
|
22544
|
-
You cannot
|
|
22545
|
-
> After an IPsec-VPN connection between a
|
|
22553
|
+
@description **DeleteVpnConnection** 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/73720.html) operation to query the status of a VPN gateway.
|
|
22554
|
+
If a VPN gateway is in the **updating** state, the IPsec-VPN connection is being deleted.
|
|
22555
|
+
If a VPN gateway is in the **active** state, the IPsec-VPN connection has been deleted.
|
|
22556
|
+
You cannot call the **DeleteVpnConnection** operation to delete multiple IPsec-VPN connections for a VPN gateway at a time.
|
|
22557
|
+
> After an IPsec-VPN connection between a data center and Alibaba Cloud is deleted, the connection between the data center and Alibaba Cloud is closed.
|
|
22546
22558
|
|
|
22547
22559
|
@param request: DeleteVpnConnectionRequest
|
|
22548
22560
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -22590,11 +22602,11 @@ class Client(OpenApiClient):
|
|
|
22590
22602
|
"""
|
|
22591
22603
|
@summary Deletes an IPsec-VPN connection.
|
|
22592
22604
|
|
|
22593
|
-
@description **DeleteVpnConnection** 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/73720.html) operation to query the status of
|
|
22594
|
-
If
|
|
22595
|
-
If
|
|
22596
|
-
You cannot
|
|
22597
|
-
> After an IPsec-VPN connection between a
|
|
22605
|
+
@description **DeleteVpnConnection** 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/73720.html) operation to query the status of a VPN gateway.
|
|
22606
|
+
If a VPN gateway is in the **updating** state, the IPsec-VPN connection is being deleted.
|
|
22607
|
+
If a VPN gateway is in the **active** state, the IPsec-VPN connection has been deleted.
|
|
22608
|
+
You cannot call the **DeleteVpnConnection** operation to delete multiple IPsec-VPN connections for a VPN gateway at a time.
|
|
22609
|
+
> After an IPsec-VPN connection between a data center and Alibaba Cloud is deleted, the connection between the data center and Alibaba Cloud is closed.
|
|
22598
22610
|
|
|
22599
22611
|
@param request: DeleteVpnConnectionRequest
|
|
22600
22612
|
@return: DeleteVpnConnectionResponse
|
|
@@ -22609,11 +22621,11 @@ class Client(OpenApiClient):
|
|
|
22609
22621
|
"""
|
|
22610
22622
|
@summary Deletes an IPsec-VPN connection.
|
|
22611
22623
|
|
|
22612
|
-
@description **DeleteVpnConnection** 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/73720.html) operation to query the status of
|
|
22613
|
-
If
|
|
22614
|
-
If
|
|
22615
|
-
You cannot
|
|
22616
|
-
> After an IPsec-VPN connection between a
|
|
22624
|
+
@description **DeleteVpnConnection** 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/73720.html) operation to query the status of a VPN gateway.
|
|
22625
|
+
If a VPN gateway is in the **updating** state, the IPsec-VPN connection is being deleted.
|
|
22626
|
+
If a VPN gateway is in the **active** state, the IPsec-VPN connection has been deleted.
|
|
22627
|
+
You cannot call the **DeleteVpnConnection** operation to delete multiple IPsec-VPN connections for a VPN gateway at a time.
|
|
22628
|
+
> After an IPsec-VPN connection between a data center and Alibaba Cloud is deleted, the connection between the data center and Alibaba Cloud is closed.
|
|
22617
22629
|
|
|
22618
22630
|
@param request: DeleteVpnConnectionRequest
|
|
22619
22631
|
@return: DeleteVpnConnectionResponse
|
|
@@ -28927,11 +28939,14 @@ class Client(OpenApiClient):
|
|
|
28927
28939
|
runtime: util_models.RuntimeOptions,
|
|
28928
28940
|
) -> vpc_20160428_models.DescribeRouteTablesResponse:
|
|
28929
28941
|
"""
|
|
28942
|
+
@deprecated OpenAPI DescribeRouteTables is deprecated, please use Vpc::2016-04-28::DescribeRouteTableList instead.
|
|
28943
|
+
|
|
28930
28944
|
@summary Queries route tables.
|
|
28931
28945
|
|
|
28932
28946
|
@param request: DescribeRouteTablesRequest
|
|
28933
28947
|
@param runtime: runtime options for this request RuntimeOptions
|
|
28934
28948
|
@return: DescribeRouteTablesResponse
|
|
28949
|
+
Deprecated
|
|
28935
28950
|
"""
|
|
28936
28951
|
UtilClient.validate_model(request)
|
|
28937
28952
|
query = {}
|
|
@@ -28988,11 +29003,14 @@ class Client(OpenApiClient):
|
|
|
28988
29003
|
runtime: util_models.RuntimeOptions,
|
|
28989
29004
|
) -> vpc_20160428_models.DescribeRouteTablesResponse:
|
|
28990
29005
|
"""
|
|
29006
|
+
@deprecated OpenAPI DescribeRouteTables is deprecated, please use Vpc::2016-04-28::DescribeRouteTableList instead.
|
|
29007
|
+
|
|
28991
29008
|
@summary Queries route tables.
|
|
28992
29009
|
|
|
28993
29010
|
@param request: DescribeRouteTablesRequest
|
|
28994
29011
|
@param runtime: runtime options for this request RuntimeOptions
|
|
28995
29012
|
@return: DescribeRouteTablesResponse
|
|
29013
|
+
Deprecated
|
|
28996
29014
|
"""
|
|
28997
29015
|
UtilClient.validate_model(request)
|
|
28998
29016
|
query = {}
|
|
@@ -29048,10 +29066,13 @@ class Client(OpenApiClient):
|
|
|
29048
29066
|
request: vpc_20160428_models.DescribeRouteTablesRequest,
|
|
29049
29067
|
) -> vpc_20160428_models.DescribeRouteTablesResponse:
|
|
29050
29068
|
"""
|
|
29069
|
+
@deprecated OpenAPI DescribeRouteTables is deprecated, please use Vpc::2016-04-28::DescribeRouteTableList instead.
|
|
29070
|
+
|
|
29051
29071
|
@summary Queries route tables.
|
|
29052
29072
|
|
|
29053
29073
|
@param request: DescribeRouteTablesRequest
|
|
29054
29074
|
@return: DescribeRouteTablesResponse
|
|
29075
|
+
Deprecated
|
|
29055
29076
|
"""
|
|
29056
29077
|
runtime = util_models.RuntimeOptions()
|
|
29057
29078
|
return self.describe_route_tables_with_options(request, runtime)
|
|
@@ -29061,10 +29082,13 @@ class Client(OpenApiClient):
|
|
|
29061
29082
|
request: vpc_20160428_models.DescribeRouteTablesRequest,
|
|
29062
29083
|
) -> vpc_20160428_models.DescribeRouteTablesResponse:
|
|
29063
29084
|
"""
|
|
29085
|
+
@deprecated OpenAPI DescribeRouteTables is deprecated, please use Vpc::2016-04-28::DescribeRouteTableList instead.
|
|
29086
|
+
|
|
29064
29087
|
@summary Queries route tables.
|
|
29065
29088
|
|
|
29066
29089
|
@param request: DescribeRouteTablesRequest
|
|
29067
29090
|
@return: DescribeRouteTablesResponse
|
|
29091
|
+
Deprecated
|
|
29068
29092
|
"""
|
|
29069
29093
|
runtime = util_models.RuntimeOptions()
|
|
29070
29094
|
return await self.describe_route_tables_with_options_async(request, runtime)
|
|
@@ -33399,7 +33423,11 @@ class Client(OpenApiClient):
|
|
|
33399
33423
|
runtime: util_models.RuntimeOptions,
|
|
33400
33424
|
) -> vpc_20160428_models.DiagnoseVpnConnectionsResponse:
|
|
33401
33425
|
"""
|
|
33402
|
-
@summary
|
|
33426
|
+
@summary Diagnoses IPsec-VPN connections.
|
|
33427
|
+
|
|
33428
|
+
@description If the IPsec-VPN connection is in single-tunnel mode, the request parameter `VpnConnectionIds` is required when you call the **DiagnoseVpnConnections** operation.
|
|
33429
|
+
If the IPsec-VPN connection is in dual-tunnel mode, the request parameter `TunnelIds` is required when you call the **DiagnoseVpnConnections** operation.
|
|
33430
|
+
After you call the **DiagnoseVpnConnections** operation, if the current IPsec-VPN connection is faulty, the operation returns the corresponding error code (**FailedReasonCode**) and log (**SourceLog**). You can troubleshoot based on the error code and log information. For more information, see [Common errors and troubleshooting methods for IPsec-VPN connections](https://help.aliyun.com/document_detail/477862.html).
|
|
33403
33431
|
|
|
33404
33432
|
@param request: DiagnoseVpnConnectionsRequest
|
|
33405
33433
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -33446,7 +33474,11 @@ class Client(OpenApiClient):
|
|
|
33446
33474
|
runtime: util_models.RuntimeOptions,
|
|
33447
33475
|
) -> vpc_20160428_models.DiagnoseVpnConnectionsResponse:
|
|
33448
33476
|
"""
|
|
33449
|
-
@summary
|
|
33477
|
+
@summary Diagnoses IPsec-VPN connections.
|
|
33478
|
+
|
|
33479
|
+
@description If the IPsec-VPN connection is in single-tunnel mode, the request parameter `VpnConnectionIds` is required when you call the **DiagnoseVpnConnections** operation.
|
|
33480
|
+
If the IPsec-VPN connection is in dual-tunnel mode, the request parameter `TunnelIds` is required when you call the **DiagnoseVpnConnections** operation.
|
|
33481
|
+
After you call the **DiagnoseVpnConnections** operation, if the current IPsec-VPN connection is faulty, the operation returns the corresponding error code (**FailedReasonCode**) and log (**SourceLog**). You can troubleshoot based on the error code and log information. For more information, see [Common errors and troubleshooting methods for IPsec-VPN connections](https://help.aliyun.com/document_detail/477862.html).
|
|
33450
33482
|
|
|
33451
33483
|
@param request: DiagnoseVpnConnectionsRequest
|
|
33452
33484
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -33492,7 +33524,11 @@ class Client(OpenApiClient):
|
|
|
33492
33524
|
request: vpc_20160428_models.DiagnoseVpnConnectionsRequest,
|
|
33493
33525
|
) -> vpc_20160428_models.DiagnoseVpnConnectionsResponse:
|
|
33494
33526
|
"""
|
|
33495
|
-
@summary
|
|
33527
|
+
@summary Diagnoses IPsec-VPN connections.
|
|
33528
|
+
|
|
33529
|
+
@description If the IPsec-VPN connection is in single-tunnel mode, the request parameter `VpnConnectionIds` is required when you call the **DiagnoseVpnConnections** operation.
|
|
33530
|
+
If the IPsec-VPN connection is in dual-tunnel mode, the request parameter `TunnelIds` is required when you call the **DiagnoseVpnConnections** operation.
|
|
33531
|
+
After you call the **DiagnoseVpnConnections** operation, if the current IPsec-VPN connection is faulty, the operation returns the corresponding error code (**FailedReasonCode**) and log (**SourceLog**). You can troubleshoot based on the error code and log information. For more information, see [Common errors and troubleshooting methods for IPsec-VPN connections](https://help.aliyun.com/document_detail/477862.html).
|
|
33496
33532
|
|
|
33497
33533
|
@param request: DiagnoseVpnConnectionsRequest
|
|
33498
33534
|
@return: DiagnoseVpnConnectionsResponse
|
|
@@ -33505,7 +33541,11 @@ class Client(OpenApiClient):
|
|
|
33505
33541
|
request: vpc_20160428_models.DiagnoseVpnConnectionsRequest,
|
|
33506
33542
|
) -> vpc_20160428_models.DiagnoseVpnConnectionsResponse:
|
|
33507
33543
|
"""
|
|
33508
|
-
@summary
|
|
33544
|
+
@summary Diagnoses IPsec-VPN connections.
|
|
33545
|
+
|
|
33546
|
+
@description If the IPsec-VPN connection is in single-tunnel mode, the request parameter `VpnConnectionIds` is required when you call the **DiagnoseVpnConnections** operation.
|
|
33547
|
+
If the IPsec-VPN connection is in dual-tunnel mode, the request parameter `TunnelIds` is required when you call the **DiagnoseVpnConnections** operation.
|
|
33548
|
+
After you call the **DiagnoseVpnConnections** operation, if the current IPsec-VPN connection is faulty, the operation returns the corresponding error code (**FailedReasonCode**) and log (**SourceLog**). You can troubleshoot based on the error code and log information. For more information, see [Common errors and troubleshooting methods for IPsec-VPN connections](https://help.aliyun.com/document_detail/477862.html).
|
|
33509
33549
|
|
|
33510
33550
|
@param request: DiagnoseVpnConnectionsRequest
|
|
33511
33551
|
@return: DiagnoseVpnConnectionsResponse
|
|
@@ -45101,6 +45141,8 @@ class Client(OpenApiClient):
|
|
|
45101
45141
|
runtime: util_models.RuntimeOptions,
|
|
45102
45142
|
) -> vpc_20160428_models.ModifySslVpnClientCertResponse:
|
|
45103
45143
|
"""
|
|
45144
|
+
@summary Modifies the name of an SSL-VPN client certificate.
|
|
45145
|
+
|
|
45104
45146
|
@param request: ModifySslVpnClientCertRequest
|
|
45105
45147
|
@param runtime: runtime options for this request RuntimeOptions
|
|
45106
45148
|
@return: ModifySslVpnClientCertResponse
|
|
@@ -45148,6 +45190,8 @@ class Client(OpenApiClient):
|
|
|
45148
45190
|
runtime: util_models.RuntimeOptions,
|
|
45149
45191
|
) -> vpc_20160428_models.ModifySslVpnClientCertResponse:
|
|
45150
45192
|
"""
|
|
45193
|
+
@summary Modifies the name of an SSL-VPN client certificate.
|
|
45194
|
+
|
|
45151
45195
|
@param request: ModifySslVpnClientCertRequest
|
|
45152
45196
|
@param runtime: runtime options for this request RuntimeOptions
|
|
45153
45197
|
@return: ModifySslVpnClientCertResponse
|
|
@@ -45194,6 +45238,8 @@ class Client(OpenApiClient):
|
|
|
45194
45238
|
request: vpc_20160428_models.ModifySslVpnClientCertRequest,
|
|
45195
45239
|
) -> vpc_20160428_models.ModifySslVpnClientCertResponse:
|
|
45196
45240
|
"""
|
|
45241
|
+
@summary Modifies the name of an SSL-VPN client certificate.
|
|
45242
|
+
|
|
45197
45243
|
@param request: ModifySslVpnClientCertRequest
|
|
45198
45244
|
@return: ModifySslVpnClientCertResponse
|
|
45199
45245
|
"""
|
|
@@ -45205,6 +45251,8 @@ class Client(OpenApiClient):
|
|
|
45205
45251
|
request: vpc_20160428_models.ModifySslVpnClientCertRequest,
|
|
45206
45252
|
) -> vpc_20160428_models.ModifySslVpnClientCertResponse:
|
|
45207
45253
|
"""
|
|
45254
|
+
@summary Modifies the name of an SSL-VPN client certificate.
|
|
45255
|
+
|
|
45208
45256
|
@param request: ModifySslVpnClientCertRequest
|
|
45209
45257
|
@return: ModifySslVpnClientCertResponse
|
|
45210
45258
|
"""
|
|
@@ -45220,7 +45268,7 @@ class Client(OpenApiClient):
|
|
|
45220
45268
|
@summary Modifies the configurations of an SSL server.
|
|
45221
45269
|
|
|
45222
45270
|
@description If you modify only the **name** of the SSL server, the operation is synchronous. If you also modify other configurations besides the **name**, the operation is asynchronous.
|
|
45223
|
-
When **ModifySslVpnServer** is an asynchronous operation, the system returns a request ID and runs the task in the background. You can call [DescribeVpnGateway](https://help.aliyun.com/document_detail/
|
|
45271
|
+
When **ModifySslVpnServer** is an asynchronous operation, the system returns a request ID and runs the task in the background. You can call [DescribeVpnGateway](https://help.aliyun.com/document_detail/2794055.html) to query the status of the task.
|
|
45224
45272
|
If a VPN gateway is in the **updating** state, the configurations of the SSL server are being modified.
|
|
45225
45273
|
If a VPN gateway is in the **active** state, the configurations of the SSL server are modified.
|
|
45226
45274
|
You cannot repeatedly call **ModifySslVpnServer** to modify the configurations of an SSL server within the specified period of time.
|
|
@@ -45295,7 +45343,7 @@ class Client(OpenApiClient):
|
|
|
45295
45343
|
@summary Modifies the configurations of an SSL server.
|
|
45296
45344
|
|
|
45297
45345
|
@description If you modify only the **name** of the SSL server, the operation is synchronous. If you also modify other configurations besides the **name**, the operation is asynchronous.
|
|
45298
|
-
When **ModifySslVpnServer** is an asynchronous operation, the system returns a request ID and runs the task in the background. You can call [DescribeVpnGateway](https://help.aliyun.com/document_detail/
|
|
45346
|
+
When **ModifySslVpnServer** is an asynchronous operation, the system returns a request ID and runs the task in the background. You can call [DescribeVpnGateway](https://help.aliyun.com/document_detail/2794055.html) to query the status of the task.
|
|
45299
45347
|
If a VPN gateway is in the **updating** state, the configurations of the SSL server are being modified.
|
|
45300
45348
|
If a VPN gateway is in the **active** state, the configurations of the SSL server are modified.
|
|
45301
45349
|
You cannot repeatedly call **ModifySslVpnServer** to modify the configurations of an SSL server within the specified period of time.
|
|
@@ -45369,7 +45417,7 @@ class Client(OpenApiClient):
|
|
|
45369
45417
|
@summary Modifies the configurations of an SSL server.
|
|
45370
45418
|
|
|
45371
45419
|
@description If you modify only the **name** of the SSL server, the operation is synchronous. If you also modify other configurations besides the **name**, the operation is asynchronous.
|
|
45372
|
-
When **ModifySslVpnServer** is an asynchronous operation, the system returns a request ID and runs the task in the background. You can call [DescribeVpnGateway](https://help.aliyun.com/document_detail/
|
|
45420
|
+
When **ModifySslVpnServer** is an asynchronous operation, the system returns a request ID and runs the task in the background. You can call [DescribeVpnGateway](https://help.aliyun.com/document_detail/2794055.html) to query the status of the task.
|
|
45373
45421
|
If a VPN gateway is in the **updating** state, the configurations of the SSL server are being modified.
|
|
45374
45422
|
If a VPN gateway is in the **active** state, the configurations of the SSL server are modified.
|
|
45375
45423
|
You cannot repeatedly call **ModifySslVpnServer** to modify the configurations of an SSL server within the specified period of time.
|
|
@@ -45388,7 +45436,7 @@ class Client(OpenApiClient):
|
|
|
45388
45436
|
@summary Modifies the configurations of an SSL server.
|
|
45389
45437
|
|
|
45390
45438
|
@description If you modify only the **name** of the SSL server, the operation is synchronous. If you also modify other configurations besides the **name**, the operation is asynchronous.
|
|
45391
|
-
When **ModifySslVpnServer** is an asynchronous operation, the system returns a request ID and runs the task in the background. You can call [DescribeVpnGateway](https://help.aliyun.com/document_detail/
|
|
45439
|
+
When **ModifySslVpnServer** is an asynchronous operation, the system returns a request ID and runs the task in the background. You can call [DescribeVpnGateway](https://help.aliyun.com/document_detail/2794055.html) to query the status of the task.
|
|
45392
45440
|
If a VPN gateway is in the **updating** state, the configurations of the SSL server are being modified.
|
|
45393
45441
|
If a VPN gateway is in the **active** state, the configurations of the SSL server are modified.
|
|
45394
45442
|
You cannot repeatedly call **ModifySslVpnServer** to modify the configurations of an SSL server within the specified period of time.
|
|
@@ -47747,9 +47795,10 @@ class Client(OpenApiClient):
|
|
|
47747
47795
|
runtime: util_models.RuntimeOptions,
|
|
47748
47796
|
) -> vpc_20160428_models.ModifyVpnRouteEntryWeightResponse:
|
|
47749
47797
|
"""
|
|
47750
|
-
@summary Modifies the weight of a destination-based route
|
|
47798
|
+
@summary Modifies the weight of a destination-based route.
|
|
47751
47799
|
|
|
47752
|
-
@description
|
|
47800
|
+
@description In scenarios where a VPN gateway has an active and a standby destination-based route, if you need to modify the weight of the active destination-based route, you must first delete the standby destination-based route. After you modify the active destination-based route, configure a standby destination-based route. If you need to modify the weight of the standby destination-based route, you also need to delete the active destination-based route first. After you modify the standby destination-based route, configure an active destination-based route. For more information about how to delete a destination-based route, see [DeleteVpnRouteEntry](https://help.aliyun.com/document_detail/2526961.html).
|
|
47801
|
+
**ModifyVpnRouteEntryWeight** 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 [DescribeVpnGateway](https://help.aliyun.com/document_detail/73720.html) to query the status of the task.
|
|
47753
47802
|
If the VPN gateway is in the **updating** state, the weight of the destination-based route is being modified.
|
|
47754
47803
|
If the VPN gateway is in the **active** state, the weight of the destination-based route is modified.
|
|
47755
47804
|
You cannot repeatedly call the **ModifyVpnRouteEntryWeight** operation to modify the weight of destination-based route for the same VPN gateway within the specified period of time.
|
|
@@ -47809,9 +47858,10 @@ class Client(OpenApiClient):
|
|
|
47809
47858
|
runtime: util_models.RuntimeOptions,
|
|
47810
47859
|
) -> vpc_20160428_models.ModifyVpnRouteEntryWeightResponse:
|
|
47811
47860
|
"""
|
|
47812
|
-
@summary Modifies the weight of a destination-based route
|
|
47861
|
+
@summary Modifies the weight of a destination-based route.
|
|
47813
47862
|
|
|
47814
|
-
@description
|
|
47863
|
+
@description In scenarios where a VPN gateway has an active and a standby destination-based route, if you need to modify the weight of the active destination-based route, you must first delete the standby destination-based route. After you modify the active destination-based route, configure a standby destination-based route. If you need to modify the weight of the standby destination-based route, you also need to delete the active destination-based route first. After you modify the standby destination-based route, configure an active destination-based route. For more information about how to delete a destination-based route, see [DeleteVpnRouteEntry](https://help.aliyun.com/document_detail/2526961.html).
|
|
47864
|
+
**ModifyVpnRouteEntryWeight** 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 [DescribeVpnGateway](https://help.aliyun.com/document_detail/73720.html) to query the status of the task.
|
|
47815
47865
|
If the VPN gateway is in the **updating** state, the weight of the destination-based route is being modified.
|
|
47816
47866
|
If the VPN gateway is in the **active** state, the weight of the destination-based route is modified.
|
|
47817
47867
|
You cannot repeatedly call the **ModifyVpnRouteEntryWeight** operation to modify the weight of destination-based route for the same VPN gateway within the specified period of time.
|
|
@@ -47870,9 +47920,10 @@ class Client(OpenApiClient):
|
|
|
47870
47920
|
request: vpc_20160428_models.ModifyVpnRouteEntryWeightRequest,
|
|
47871
47921
|
) -> vpc_20160428_models.ModifyVpnRouteEntryWeightResponse:
|
|
47872
47922
|
"""
|
|
47873
|
-
@summary Modifies the weight of a destination-based route
|
|
47923
|
+
@summary Modifies the weight of a destination-based route.
|
|
47874
47924
|
|
|
47875
|
-
@description
|
|
47925
|
+
@description In scenarios where a VPN gateway has an active and a standby destination-based route, if you need to modify the weight of the active destination-based route, you must first delete the standby destination-based route. After you modify the active destination-based route, configure a standby destination-based route. If you need to modify the weight of the standby destination-based route, you also need to delete the active destination-based route first. After you modify the standby destination-based route, configure an active destination-based route. For more information about how to delete a destination-based route, see [DeleteVpnRouteEntry](https://help.aliyun.com/document_detail/2526961.html).
|
|
47926
|
+
**ModifyVpnRouteEntryWeight** 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 [DescribeVpnGateway](https://help.aliyun.com/document_detail/73720.html) to query the status of the task.
|
|
47876
47927
|
If the VPN gateway is in the **updating** state, the weight of the destination-based route is being modified.
|
|
47877
47928
|
If the VPN gateway is in the **active** state, the weight of the destination-based route is modified.
|
|
47878
47929
|
You cannot repeatedly call the **ModifyVpnRouteEntryWeight** operation to modify the weight of destination-based route for the same VPN gateway within the specified period of time.
|
|
@@ -47888,9 +47939,10 @@ class Client(OpenApiClient):
|
|
|
47888
47939
|
request: vpc_20160428_models.ModifyVpnRouteEntryWeightRequest,
|
|
47889
47940
|
) -> vpc_20160428_models.ModifyVpnRouteEntryWeightResponse:
|
|
47890
47941
|
"""
|
|
47891
|
-
@summary Modifies the weight of a destination-based route
|
|
47942
|
+
@summary Modifies the weight of a destination-based route.
|
|
47892
47943
|
|
|
47893
|
-
@description
|
|
47944
|
+
@description In scenarios where a VPN gateway has an active and a standby destination-based route, if you need to modify the weight of the active destination-based route, you must first delete the standby destination-based route. After you modify the active destination-based route, configure a standby destination-based route. If you need to modify the weight of the standby destination-based route, you also need to delete the active destination-based route first. After you modify the standby destination-based route, configure an active destination-based route. For more information about how to delete a destination-based route, see [DeleteVpnRouteEntry](https://help.aliyun.com/document_detail/2526961.html).
|
|
47945
|
+
**ModifyVpnRouteEntryWeight** 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 [DescribeVpnGateway](https://help.aliyun.com/document_detail/73720.html) to query the status of the task.
|
|
47894
47946
|
If the VPN gateway is in the **updating** state, the weight of the destination-based route is being modified.
|
|
47895
47947
|
If the VPN gateway is in the **active** state, the weight of the destination-based route is modified.
|
|
47896
47948
|
You cannot repeatedly call the **ModifyVpnRouteEntryWeight** operation to modify the weight of destination-based route for the same VPN gateway within the specified period of time.
|
|
@@ -9923,8 +9923,6 @@ class CreateFullNatEntryRequest(TeaModel):
|
|
|
9923
9923
|
# This parameter is required.
|
|
9924
9924
|
self.nat_ip = nat_ip
|
|
9925
9925
|
# The frontend port to be modified in the mapping of FULLNAT port. Valid values: **1** to **65535**.
|
|
9926
|
-
#
|
|
9927
|
-
# This parameter is required.
|
|
9928
9926
|
self.nat_ip_port = nat_ip_port
|
|
9929
9927
|
# The elastic network interface (ENI) ID.
|
|
9930
9928
|
#
|
|
@@ -23852,7 +23850,7 @@ class DeleteCustomerGatewayRequest(TeaModel):
|
|
|
23852
23850
|
):
|
|
23853
23851
|
# The client token that is used to ensure the idempotence of the request.
|
|
23854
23852
|
#
|
|
23855
|
-
# You can use the client to generate
|
|
23853
|
+
# You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
|
|
23856
23854
|
#
|
|
23857
23855
|
# > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
|
|
23858
23856
|
self.client_token = client_token
|
|
@@ -25965,6 +25963,7 @@ class DeleteIpv4GatewayRequest(TeaModel):
|
|
|
25965
25963
|
self,
|
|
25966
25964
|
client_token: str = None,
|
|
25967
25965
|
dry_run: bool = None,
|
|
25966
|
+
internet_mode: str = None,
|
|
25968
25967
|
ipv_4gateway_id: str = None,
|
|
25969
25968
|
owner_account: str = None,
|
|
25970
25969
|
owner_id: int = None,
|
|
@@ -25983,6 +25982,7 @@ class DeleteIpv4GatewayRequest(TeaModel):
|
|
|
25983
25982
|
# * **true**: performs only a dry run, without performing the actual request. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
|
|
25984
25983
|
# * **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
25985
25984
|
self.dry_run = dry_run
|
|
25985
|
+
self.internet_mode = internet_mode
|
|
25986
25986
|
# The ID of the IPv4 gateway that you want to delete.
|
|
25987
25987
|
#
|
|
25988
25988
|
# This parameter is required.
|
|
@@ -26011,6 +26011,8 @@ class DeleteIpv4GatewayRequest(TeaModel):
|
|
|
26011
26011
|
result['ClientToken'] = self.client_token
|
|
26012
26012
|
if self.dry_run is not None:
|
|
26013
26013
|
result['DryRun'] = self.dry_run
|
|
26014
|
+
if self.internet_mode is not None:
|
|
26015
|
+
result['InternetMode'] = self.internet_mode
|
|
26014
26016
|
if self.ipv_4gateway_id is not None:
|
|
26015
26017
|
result['Ipv4GatewayId'] = self.ipv_4gateway_id
|
|
26016
26018
|
if self.owner_account is not None:
|
|
@@ -26031,6 +26033,8 @@ class DeleteIpv4GatewayRequest(TeaModel):
|
|
|
26031
26033
|
self.client_token = m.get('ClientToken')
|
|
26032
26034
|
if m.get('DryRun') is not None:
|
|
26033
26035
|
self.dry_run = m.get('DryRun')
|
|
26036
|
+
if m.get('InternetMode') is not None:
|
|
26037
|
+
self.internet_mode = m.get('InternetMode')
|
|
26034
26038
|
if m.get('Ipv4GatewayId') is not None:
|
|
26035
26039
|
self.ipv_4gateway_id = m.get('Ipv4GatewayId')
|
|
26036
26040
|
if m.get('OwnerAccount') is not None:
|
|
@@ -27947,7 +27951,7 @@ class DeleteRouteEntryRequest(TeaModel):
|
|
|
27947
27951
|
route_entry_id: str = None,
|
|
27948
27952
|
route_table_id: str = None,
|
|
27949
27953
|
):
|
|
27950
|
-
# The destination CIDR block of the route
|
|
27954
|
+
# The destination CIDR block of the route. Only IPv4 CIDR blocks, IPv6 CIDR blocks, and prefix lists are supported.
|
|
27951
27955
|
self.destination_cidr_block = destination_cidr_block
|
|
27952
27956
|
# The ID of the next hop.
|
|
27953
27957
|
#
|
|
@@ -30994,7 +30998,9 @@ class DeleteVpnPbrRouteEntryRequest(TeaModel):
|
|
|
30994
30998
|
#
|
|
30995
30999
|
# This parameter is required.
|
|
30996
31000
|
self.vpn_gateway_id = vpn_gateway_id
|
|
30997
|
-
# The weight of the policy-based route.
|
|
31001
|
+
# The weight of the policy-based route. Valid values:
|
|
31002
|
+
#
|
|
31003
|
+
# You can call [DescribeVpnPbrRouteEntries](https://help.aliyun.com/document_detail/2526959.html) to query weights of policy-based routes.
|
|
30998
31004
|
#
|
|
30999
31005
|
# This parameter is required.
|
|
31000
31006
|
self.weight = weight
|
|
@@ -34231,17 +34237,17 @@ class DescribeCustomerGatewaysRequestTag(TeaModel):
|
|
|
34231
34237
|
key: str = None,
|
|
34232
34238
|
value: str = None,
|
|
34233
34239
|
):
|
|
34234
|
-
# The tag
|
|
34240
|
+
# The key of the tag. The tag key cannot be an empty string.
|
|
34235
34241
|
#
|
|
34236
|
-
#
|
|
34242
|
+
# The tag key can be up to 64 characters in length and cannot contain `http://` or `https://`. The tag key cannot start with `aliyun` or `acs:`.
|
|
34237
34243
|
#
|
|
34238
|
-
# You can specify at most 20 tag keys
|
|
34244
|
+
# You can specify at most 20 tag keys at a time.
|
|
34239
34245
|
self.key = key
|
|
34240
|
-
# The tag
|
|
34246
|
+
# The value of the tag.
|
|
34241
34247
|
#
|
|
34242
|
-
# The tag value can be
|
|
34248
|
+
# The tag value can be up to 128 characters in length. It can be an empty string. It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.
|
|
34243
34249
|
#
|
|
34244
|
-
# Each tag key corresponds to one tag value. You can specify at most 20 tag values
|
|
34250
|
+
# Each tag key corresponds to one tag value. You can specify at most 20 tag values at a time.
|
|
34245
34251
|
self.value = value
|
|
34246
34252
|
|
|
34247
34253
|
def validate(self):
|
|
@@ -34304,11 +34310,7 @@ class DescribeCustomerGatewaysRequest(TeaModel):
|
|
|
34304
34310
|
self.resource_group_id = resource_group_id
|
|
34305
34311
|
self.resource_owner_account = resource_owner_account
|
|
34306
34312
|
self.resource_owner_id = resource_owner_id
|
|
34307
|
-
# The
|
|
34308
|
-
#
|
|
34309
|
-
# The tag value can be an empty string and cannot exceed 128 characters in length. It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.
|
|
34310
|
-
#
|
|
34311
|
-
# Each tag key corresponds to one tag value. You can specify up to 20 tag values in each call.
|
|
34313
|
+
# The tags to be added to the customer gateway.
|
|
34312
34314
|
self.tag = tag
|
|
34313
34315
|
|
|
34314
34316
|
def validate(self):
|
|
@@ -34381,9 +34383,9 @@ class DescribeCustomerGatewaysResponseBodyCustomerGatewaysCustomerGatewayTagsTag
|
|
|
34381
34383
|
key: str = None,
|
|
34382
34384
|
value: str = None,
|
|
34383
34385
|
):
|
|
34384
|
-
# The key of tag
|
|
34386
|
+
# The key of the tag.
|
|
34385
34387
|
self.key = key
|
|
34386
|
-
# The value of tag
|
|
34388
|
+
# The value of the tag.
|
|
34387
34389
|
self.value = value
|
|
34388
34390
|
|
|
34389
34391
|
def validate(self):
|
|
@@ -34460,25 +34462,25 @@ class DescribeCustomerGatewaysResponseBodyCustomerGatewaysCustomerGateway(TeaMod
|
|
|
34460
34462
|
):
|
|
34461
34463
|
# The autonomous system number (ASN) of the gateway device in the data center.
|
|
34462
34464
|
self.asn = asn
|
|
34463
|
-
# The authentication key
|
|
34465
|
+
# The authentication key that is used to connect to the gateway device in the data center by using Border Gateway Protocol (BGP).
|
|
34464
34466
|
self.auth_key = auth_key
|
|
34465
|
-
# The
|
|
34467
|
+
# The time when the customer gateway was created. Unit: millisecond.
|
|
34466
34468
|
#
|
|
34467
|
-
# This value is a UNIX timestamp representing the number of milliseconds that have elapsed since
|
|
34469
|
+
# This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
|
|
34468
34470
|
self.create_time = create_time
|
|
34469
|
-
# The
|
|
34471
|
+
# The customer gateway ID.
|
|
34470
34472
|
self.customer_gateway_id = customer_gateway_id
|
|
34471
34473
|
# The description of the customer gateway.
|
|
34472
34474
|
self.description = description
|
|
34473
|
-
# The
|
|
34475
|
+
# The IP address of the gateway device in the data center.
|
|
34474
34476
|
self.ip_address = ip_address
|
|
34475
34477
|
# The name of the customer gateway.
|
|
34476
34478
|
self.name = name
|
|
34477
34479
|
# The ID of the resource group to which the customer gateway belongs.
|
|
34478
34480
|
#
|
|
34479
|
-
# You can call the [ListResourceGroups](https://help.aliyun.com/document_detail/158855.html) operation to query
|
|
34481
|
+
# You can call the [ListResourceGroups](https://help.aliyun.com/document_detail/158855.html) operation to query resource groups.
|
|
34480
34482
|
self.resource_group_id = resource_group_id
|
|
34481
|
-
# The
|
|
34483
|
+
# The tags that are added to the customer gateway.
|
|
34482
34484
|
self.tags = tags
|
|
34483
34485
|
|
|
34484
34486
|
def validate(self):
|
|
@@ -52126,9 +52128,7 @@ class DescribeSslVpnClientCertResponseBody(TeaModel):
|
|
|
52126
52128
|
self.request_id = request_id
|
|
52127
52129
|
# The ID of the resource group to which the SSL client certificate belongs.
|
|
52128
52130
|
#
|
|
52129
|
-
# The SSL client certificate
|
|
52130
|
-
#
|
|
52131
|
-
# You can call the [ListResourceGroups](https://help.aliyun.com/document_detail/158855.html) operation to query the resource group information.
|
|
52131
|
+
# The SSL client certificate and the SSL server associated with the SSL client certificate belong to the same resource group. You can call the [ListResourceGroups](https://help.aliyun.com/document_detail/158855.html) operation to query resource groups.
|
|
52132
52132
|
self.resource_group_id = resource_group_id
|
|
52133
52133
|
# The ID of the SSL client certificate.
|
|
52134
52134
|
self.ssl_vpn_client_cert_id = ssl_vpn_client_cert_id
|
|
@@ -52992,7 +52992,7 @@ class DescribeSslVpnServersResponseBodySslVpnServersSslVpnServer(TeaModel):
|
|
|
52992
52992
|
self.compress = compress
|
|
52993
52993
|
# The total number of current connections.
|
|
52994
52994
|
self.connections = connections
|
|
52995
|
-
# The timestamp generated when the SSL server was created.
|
|
52995
|
+
# The timestamp generated when the SSL-VPN server was created.
|
|
52996
52996
|
self.create_time = create_time
|
|
52997
52997
|
# Indicates whether two-factor authentication is enabled.
|
|
52998
52998
|
#
|
|
@@ -53003,7 +53003,7 @@ class DescribeSslVpnServersResponseBodySslVpnServersSslVpnServer(TeaModel):
|
|
|
53003
53003
|
# The ID of the IDaaS instance.
|
|
53004
53004
|
self.idaa_sinstance_id = idaa_sinstance_id
|
|
53005
53005
|
self.idaa_sinstance_version = idaa_sinstance_version
|
|
53006
|
-
# The ID of the
|
|
53006
|
+
# The region ID of the IDaaS instance.
|
|
53007
53007
|
self.idaa_sregion_id = idaa_sregion_id
|
|
53008
53008
|
# The public IP address of the VPN gateway.
|
|
53009
53009
|
self.internet_ip = internet_ip
|
|
@@ -53011,19 +53011,19 @@ class DescribeSslVpnServersResponseBodySslVpnServersSslVpnServer(TeaModel):
|
|
|
53011
53011
|
self.local_subnet = local_subnet
|
|
53012
53012
|
# The maximum number of connections.
|
|
53013
53013
|
self.max_connections = max_connections
|
|
53014
|
-
# The name of the SSL server.
|
|
53014
|
+
# The name of the SSL-VPN server.
|
|
53015
53015
|
self.name = name
|
|
53016
|
-
# The port that is used by the SSL server.
|
|
53016
|
+
# The port that is used by the SSL-VPN server.
|
|
53017
53017
|
self.port = port
|
|
53018
|
-
# The protocol that is used by the SSL server.
|
|
53018
|
+
# The protocol that is used by the SSL-VPN server.
|
|
53019
53019
|
self.proto = proto
|
|
53020
|
-
# The ID of the
|
|
53020
|
+
# The region ID of the SSL-VPN server.
|
|
53021
53021
|
self.region_id = region_id
|
|
53022
|
-
# The
|
|
53022
|
+
# The resource group ID of the SSL-VPN server.
|
|
53023
53023
|
#
|
|
53024
|
-
# You can call the [ListResourceGroups](https://help.aliyun.com/document_detail/158855.html) operation to query
|
|
53024
|
+
# You can call the [ListResourceGroups](https://help.aliyun.com/document_detail/158855.html) operation to query resource groups.
|
|
53025
53025
|
self.resource_group_id = resource_group_id
|
|
53026
|
-
# The ID of the SSL server.
|
|
53026
|
+
# The ID of the SSL-VPN server.
|
|
53027
53027
|
self.ssl_vpn_server_id = ssl_vpn_server_id
|
|
53028
53028
|
# The ID of the VPN gateway.
|
|
53029
53029
|
self.vpn_gateway_id = vpn_gateway_id
|
|
@@ -53174,7 +53174,7 @@ class DescribeSslVpnServersResponseBody(TeaModel):
|
|
|
53174
53174
|
self.page_size = page_size
|
|
53175
53175
|
# The request ID.
|
|
53176
53176
|
self.request_id = request_id
|
|
53177
|
-
# The detailed information about the SSL
|
|
53177
|
+
# The detailed information about the SSL-VPN server.
|
|
53178
53178
|
self.ssl_vpn_servers = ssl_vpn_servers
|
|
53179
53179
|
# The number of entries returned.
|
|
53180
53180
|
self.total_count = total_count
|
|
@@ -60526,21 +60526,21 @@ class DescribeVpnConnectionLogsRequest(TeaModel):
|
|
|
60526
60526
|
tunnel_id: str = None,
|
|
60527
60527
|
vpn_connection_id: str = None,
|
|
60528
60528
|
):
|
|
60529
|
-
# The
|
|
60529
|
+
# The start time of the flow log. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
|
|
60530
60530
|
#
|
|
60531
|
-
# > If you specify **From**, you must
|
|
60531
|
+
# > If you specify **From**, you must specify **To** or **MinutePeriod**.
|
|
60532
60532
|
self.from_ = from_
|
|
60533
|
-
# The interval at which log data is
|
|
60533
|
+
# The interval at which log data is collected. Valid values: **1** to **10**. Unit: minutes.
|
|
60534
60534
|
#
|
|
60535
|
-
# > If
|
|
60535
|
+
# > If you do not specify **From** and **To**, you must specify **MinutePeriod**.
|
|
60536
60536
|
self.minute_period = minute_period
|
|
60537
60537
|
self.owner_account = owner_account
|
|
60538
60538
|
self.owner_id = owner_id
|
|
60539
|
-
# The
|
|
60539
|
+
# The page number. Default value: **1**.
|
|
60540
60540
|
self.page_number = page_number
|
|
60541
|
-
# The number of entries
|
|
60541
|
+
# The number of entries per page. Valid values: **1** to **50**. Default value: **10**.
|
|
60542
60542
|
self.page_size = page_size
|
|
60543
|
-
# The ID of the
|
|
60543
|
+
# The region ID of the IPsec-VPN connection.
|
|
60544
60544
|
#
|
|
60545
60545
|
# You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the most recent region list.
|
|
60546
60546
|
#
|
|
@@ -60548,11 +60548,13 @@ class DescribeVpnConnectionLogsRequest(TeaModel):
|
|
|
60548
60548
|
self.region_id = region_id
|
|
60549
60549
|
self.resource_owner_account = resource_owner_account
|
|
60550
60550
|
self.resource_owner_id = resource_owner_id
|
|
60551
|
-
# The end of the
|
|
60551
|
+
# The end time of the flow log. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
|
|
60552
60552
|
#
|
|
60553
|
-
# > If you specify **To**, you must
|
|
60553
|
+
# > If you specify **To**, you must specify **From** or **MinutePeriod**.
|
|
60554
60554
|
self.to = to
|
|
60555
|
-
# The
|
|
60555
|
+
# The ID of the IPsec-VPN connection.
|
|
60556
|
+
#
|
|
60557
|
+
# This parameter is available only for a dual-tunnel IPsec-VPN connection.
|
|
60556
60558
|
self.tunnel_id = tunnel_id
|
|
60557
60559
|
# The ID of the IPsec-VPN connection.
|
|
60558
60560
|
#
|
|
@@ -60662,20 +60664,18 @@ class DescribeVpnConnectionLogsResponseBody(TeaModel):
|
|
|
60662
60664
|
):
|
|
60663
60665
|
# The number of entries on the current page.
|
|
60664
60666
|
self.count = count
|
|
60665
|
-
#
|
|
60666
|
-
#
|
|
60667
|
-
# Each item in the array is a log entry.
|
|
60667
|
+
# The log list.
|
|
60668
60668
|
self.data = data
|
|
60669
60669
|
# Indicates whether the log is accurate. Valid values:
|
|
60670
60670
|
#
|
|
60671
|
-
# * **true
|
|
60672
|
-
# * **false
|
|
60671
|
+
# * **true**\
|
|
60672
|
+
# * **false**\
|
|
60673
60673
|
self.is_completed = is_completed
|
|
60674
|
-
# The page number
|
|
60674
|
+
# The page number.
|
|
60675
60675
|
self.page_number = page_number
|
|
60676
|
-
# The number of entries
|
|
60676
|
+
# The number of entries per page.
|
|
60677
60677
|
self.page_size = page_size
|
|
60678
|
-
# The ID
|
|
60678
|
+
# The request ID.
|
|
60679
60679
|
self.request_id = request_id
|
|
60680
60680
|
|
|
60681
60681
|
def validate(self):
|
|
@@ -63354,34 +63354,34 @@ class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGatewayReservationData(TeaMod
|
|
|
63354
63354
|
reservation_ssl: str = None,
|
|
63355
63355
|
status: str = None,
|
|
63356
63356
|
):
|
|
63357
|
-
# If the
|
|
63357
|
+
# If the value of ReservationOrderType is **TEMP_UPGRADE**, this parameter indicates the time when the temporary upgrade expires.
|
|
63358
63358
|
#
|
|
63359
|
-
# If the
|
|
63359
|
+
# If the value of ReservationOrderType is **RENEWCHANGE** or **RENEW**, this parameter indicates the time when the renewal or renewal with a specification change takes effect.
|
|
63360
63360
|
self.reservation_end_time = reservation_end_time
|
|
63361
|
-
# The IPsec-VPN status of the order
|
|
63361
|
+
# The IPsec-VPN status of the pending order. Valid values:
|
|
63362
63362
|
#
|
|
63363
63363
|
# * **enable**\
|
|
63364
63364
|
# * **disable**\
|
|
63365
63365
|
self.reservation_ipsec = reservation_ipsec
|
|
63366
63366
|
# The maximum number of concurrent SSL-VPN connections of the pending order.
|
|
63367
63367
|
self.reservation_max_connections = reservation_max_connections
|
|
63368
|
-
# The type of the order
|
|
63368
|
+
# The type of the pending order. Valid values:
|
|
63369
63369
|
#
|
|
63370
|
-
# * **RENEWCHANGE**: renewal with
|
|
63370
|
+
# * **RENEWCHANGE**: renewal with a specification change
|
|
63371
63371
|
# * **TEMP_UPGRADE**: temporary upgrade
|
|
63372
63372
|
# * **RENEW**: renewal
|
|
63373
63373
|
self.reservation_order_type = reservation_order_type
|
|
63374
63374
|
# The bandwidth of the pending order. Unit: Mbit/s.
|
|
63375
63375
|
self.reservation_spec = reservation_spec
|
|
63376
|
-
# The SSL-VPN status of the order
|
|
63376
|
+
# The SSL-VPN status of the pending order. Valid values:
|
|
63377
63377
|
#
|
|
63378
63378
|
# * **enable**\
|
|
63379
63379
|
# * **disable**\
|
|
63380
63380
|
self.reservation_ssl = reservation_ssl
|
|
63381
|
-
# The status of the order
|
|
63381
|
+
# The status of the pending order.
|
|
63382
63382
|
#
|
|
63383
63383
|
# * **1**: indicates that the order is an order for renewal or renewal with a specification change and the order has not taken effect.
|
|
63384
|
-
# * **2**: indicates that the order is an order for temporary upgrade and the order has taken effect. After the temporary upgrade expires, the system restores the VPN gateway to its previous specifications. In this case, **ReservationIpsec**, **ReservationMaxConnections**, **ReservationSpec**, and **ReservationSsl** indicate the previous
|
|
63384
|
+
# * **2**: indicates that the order is an order for temporary upgrade and the order has taken effect. After the temporary upgrade expires, the system restores the VPN gateway to its previous specifications. In this case, the values of **ReservationIpsec**, **ReservationMaxConnections**, **ReservationSpec**, and **ReservationSsl** indicate the previous specifications of the VPN gateway.
|
|
63385
63385
|
self.status = status
|
|
63386
63386
|
|
|
63387
63387
|
def validate(self):
|
|
@@ -63434,9 +63434,9 @@ class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGatewayTagsTag(TeaModel):
|
|
|
63434
63434
|
key: str = None,
|
|
63435
63435
|
value: str = None,
|
|
63436
63436
|
):
|
|
63437
|
-
# The
|
|
63437
|
+
# The tag key.
|
|
63438
63438
|
self.key = key
|
|
63439
|
-
# The
|
|
63439
|
+
# The tag value.
|
|
63440
63440
|
self.value = value
|
|
63441
63441
|
|
|
63442
63442
|
def validate(self):
|
|
@@ -63529,51 +63529,51 @@ class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway(TeaModel):
|
|
|
63529
63529
|
vpn_gateway_id: str = None,
|
|
63530
63530
|
vpn_type: str = None,
|
|
63531
63531
|
):
|
|
63532
|
-
# Indicates whether BGP routes are automatically advertised to the VPC. Valid values:
|
|
63532
|
+
# Indicates whether Border Gateway Protocol (BGP) routes are automatically advertised to the VPC. Valid values:
|
|
63533
63533
|
#
|
|
63534
63534
|
# * **true**\
|
|
63535
63535
|
# * **false**\
|
|
63536
63536
|
self.auto_propagate = auto_propagate
|
|
63537
|
-
# The payment status of the VPN gateway.
|
|
63537
|
+
# The payment status of the VPN gateway. Valid values:
|
|
63538
63538
|
#
|
|
63539
|
-
# * **Normal
|
|
63540
|
-
# * **FinancialLocked
|
|
63539
|
+
# * **Normal**: The VPN gateway runs as expected.
|
|
63540
|
+
# * **FinancialLocked**: The VPN gateway is locked due to overdue payments.
|
|
63541
63541
|
self.business_status = business_status
|
|
63542
63542
|
# The billing method of the VPN gateway.
|
|
63543
63543
|
#
|
|
63544
|
-
#
|
|
63544
|
+
# Only **POSTPAY** may be returned, which indicates the pay-as-you-go billing method.
|
|
63545
63545
|
self.charge_type = charge_type
|
|
63546
|
-
# The timestamp when the VPN gateway was created. Unit:
|
|
63546
|
+
# The timestamp generated when the VPN gateway was created. Unit: milliseconds.
|
|
63547
63547
|
#
|
|
63548
|
-
# This value is a UNIX timestamp representing the number of milliseconds that have elapsed since
|
|
63548
|
+
# This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
|
|
63549
63549
|
self.create_time = create_time
|
|
63550
63550
|
# The description of the VPN gateway.
|
|
63551
63551
|
self.description = description
|
|
63552
|
-
# The second IP address assigned
|
|
63552
|
+
# The second IP address that is assigned to the VPN gateway to create IPsec-VPN connections.
|
|
63553
63553
|
#
|
|
63554
|
-
# This parameter is returned only
|
|
63554
|
+
# This parameter is returned only if the VPN gateway supports IPsec-VPN connections in dual-tunnel mode.
|
|
63555
63555
|
self.disaster_recovery_internet_ip = disaster_recovery_internet_ip
|
|
63556
|
-
# The ID of the second vSwitch associated with the VPN gateway.
|
|
63556
|
+
# The ID of the second vSwitch that is associated with the VPN gateway.
|
|
63557
63557
|
#
|
|
63558
|
-
# This parameter is returned only
|
|
63558
|
+
# This parameter is returned only if the VPN gateway supports IPsec-VPN connections in dual-tunnel mode.
|
|
63559
63559
|
self.disaster_recovery_vswitch_id = disaster_recovery_vswitch_id
|
|
63560
|
-
# The BGP status of the VPN gateway.
|
|
63560
|
+
# The BGP status of the VPN gateway. Valid values:
|
|
63561
63561
|
#
|
|
63562
|
-
# * **true
|
|
63563
|
-
# * **false
|
|
63562
|
+
# * **true**: The feature is enabled.
|
|
63563
|
+
# * **false**: The feature is disabled.
|
|
63564
63564
|
self.enable_bgp = enable_bgp
|
|
63565
|
-
# The timestamp when the VPN gateway expires. Unit:
|
|
63565
|
+
# The timestamp generated when the VPN gateway expires. Unit: milliseconds.
|
|
63566
63566
|
#
|
|
63567
63567
|
# This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
|
|
63568
63568
|
self.end_time = end_time
|
|
63569
63569
|
self.eni_instance_ids = eni_instance_ids
|
|
63570
|
-
# * If the VPN gateway supports IPsec-VPN connections in single-tunnel mode, the
|
|
63570
|
+
# * If the VPN gateway supports IPsec-VPN connections in single-tunnel mode, the value of this parameter is the IP address of the VPN gateway, which can be used to create IPsec-VPN or SSL-VPN connections.
|
|
63571
63571
|
#
|
|
63572
|
-
# * If the VPN gateway supports IPsec-VPN connections in dual-tunnel mode, the
|
|
63572
|
+
# * If the VPN gateway supports IPsec-VPN connections in dual-tunnel mode, the value of this parameter is the first IP address that is used to create an IPsec-VPN connection. The IP address cannot be used to create SSL-VPN connections.
|
|
63573
63573
|
#
|
|
63574
|
-
# If the VPN gateway supports IPsec-VPN connections in dual-tunnel mode, the system assigns two
|
|
63574
|
+
# If the VPN gateway supports IPsec-VPN connections in dual-tunnel mode, the system assigns two IPsec addresses to the VPN gateway to create IPsec-VPN connections in dual-tunnel mode.
|
|
63575
63575
|
self.internet_ip = internet_ip
|
|
63576
|
-
# Indicates whether IPsec-VPN is enabled for the VPN gateway.
|
|
63576
|
+
# Indicates whether IPsec-VPN is enabled for the VPN gateway. Valid values:
|
|
63577
63577
|
#
|
|
63578
63578
|
# * **enable**\
|
|
63579
63579
|
# * **disable**\
|
|
@@ -63585,26 +63585,26 @@ class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway(TeaModel):
|
|
|
63585
63585
|
# * **public**\
|
|
63586
63586
|
# * **private**\
|
|
63587
63587
|
self.network_type = network_type
|
|
63588
|
-
# The
|
|
63588
|
+
# The pending orders.
|
|
63589
63589
|
#
|
|
63590
|
-
# > This parameter is returned only
|
|
63590
|
+
# > This parameter is returned only if **IncludeReservationData** is set to **true**.
|
|
63591
63591
|
self.reservation_data = reservation_data
|
|
63592
63592
|
# The ID of the resource group to which the VPN gateway belongs.
|
|
63593
63593
|
#
|
|
63594
|
-
# You can call the [ListResourceGroups](https://help.aliyun.com/document_detail/158855.html) operation to query
|
|
63594
|
+
# You can call the [ListResourceGroups](https://help.aliyun.com/document_detail/158855.html) operation to query resource groups.
|
|
63595
63595
|
self.resource_group_id = resource_group_id
|
|
63596
|
-
# The maximum bandwidth of the VPN gateway. **M
|
|
63596
|
+
# The maximum bandwidth of the VPN gateway. Unit: **M**, which indicates Mbit/s.
|
|
63597
63597
|
self.spec = spec
|
|
63598
63598
|
# The number of SSL-VPN connections supported by the VPN gateway.
|
|
63599
63599
|
self.ssl_max_connections = ssl_max_connections
|
|
63600
|
-
# Indicates whether SSL-VPN is enabled for the VPN gateway.
|
|
63600
|
+
# Indicates whether SSL-VPN is enabled for the VPN gateway. Valid values:
|
|
63601
63601
|
#
|
|
63602
63602
|
# * **enable**\
|
|
63603
63603
|
# * **disable**\
|
|
63604
63604
|
self.ssl_vpn = ssl_vpn
|
|
63605
63605
|
# The IP address of the SSL-VPN connection.
|
|
63606
63606
|
#
|
|
63607
|
-
# This parameter is returned only
|
|
63607
|
+
# This parameter is returned only if the VPN gateway is a public VPN gateway and supports IPsec-VPN connections in dual-tunnel mode. In addition, SSL-VPN must be enabled for the VPN gateway.
|
|
63608
63608
|
self.ssl_vpn_internet_ip = ssl_vpn_internet_ip
|
|
63609
63609
|
# The status of the VPN gateway. Valid values:
|
|
63610
63610
|
#
|
|
@@ -63614,43 +63614,43 @@ class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway(TeaModel):
|
|
|
63614
63614
|
# * **updating**\
|
|
63615
63615
|
# * **deleting**\
|
|
63616
63616
|
self.status = status
|
|
63617
|
-
# The automatically generated tag of the
|
|
63617
|
+
# The tag that is automatically generated for the VPN gateway. The tag consists of the following parameters:
|
|
63618
63618
|
#
|
|
63619
63619
|
# * **VpnEnableBgp**: indicates whether the VPN gateway supports BGP. Valid values:
|
|
63620
63620
|
#
|
|
63621
63621
|
# * **true**\
|
|
63622
63622
|
# * **false**\
|
|
63623
63623
|
#
|
|
63624
|
-
# * **VisuallySsl**: indicates whether the VPN gateway allows you to view information
|
|
63624
|
+
# * **VisuallySsl**: indicates whether the VPN gateway allows you to view the connection information of SSL clients. Valid values:
|
|
63625
63625
|
#
|
|
63626
63626
|
# * **true**\
|
|
63627
63627
|
# * **false**\
|
|
63628
63628
|
#
|
|
63629
|
-
# * **PbrPriority**: indicates whether the VPN gateway allows you to configure priorities for policy-based routes.
|
|
63629
|
+
# * **PbrPriority**: indicates whether the VPN gateway allows you to configure priorities for policy-based routes. Valid values:
|
|
63630
63630
|
#
|
|
63631
63631
|
# * **true**\
|
|
63632
63632
|
# * **false**\
|
|
63633
63633
|
#
|
|
63634
|
-
# * **VpnNewImage**: indicates whether the VPN gateway is upgraded.
|
|
63634
|
+
# * **VpnNewImage**: indicates whether the VPN gateway is upgraded. Valid values:
|
|
63635
63635
|
#
|
|
63636
63636
|
# * **true**\
|
|
63637
63637
|
# * **false**\
|
|
63638
63638
|
#
|
|
63639
|
-
# * **description**: the description of the VPN gateway. This parameter is for internal
|
|
63639
|
+
# * **description**: the description of the VPN gateway. This parameter is only for internal use.
|
|
63640
63640
|
#
|
|
63641
|
-
# * **VpnVersion**: the version of the VPN gateway.
|
|
63641
|
+
# * **VpnVersion**: the version number of the VPN gateway.
|
|
63642
63642
|
self.tag = tag
|
|
63643
|
-
# The tags
|
|
63643
|
+
# The tags that are added to the VPN gateway.
|
|
63644
63644
|
self.tags = tags
|
|
63645
63645
|
# The ID of the vSwitch to which the VPN gateway belongs.
|
|
63646
63646
|
self.v_switch_id = v_switch_id
|
|
63647
|
-
# The ID of the
|
|
63647
|
+
# The ID of the VPC to which the VPN gateway belongs.
|
|
63648
63648
|
self.vpc_id = vpc_id
|
|
63649
63649
|
# The ID of the VPN gateway.
|
|
63650
63650
|
self.vpn_gateway_id = vpn_gateway_id
|
|
63651
63651
|
# The type of the VPN gateway.
|
|
63652
63652
|
#
|
|
63653
|
-
# Only **Normal** may be returned, which indicates a standard
|
|
63653
|
+
# Only **Normal** may be returned, which indicates a standard VPN gateway.
|
|
63654
63654
|
self.vpn_type = vpn_type
|
|
63655
63655
|
|
|
63656
63656
|
def validate(self):
|
|
@@ -63837,7 +63837,7 @@ class DescribeVpnGatewaysResponseBody(TeaModel):
|
|
|
63837
63837
|
self.request_id = request_id
|
|
63838
63838
|
# The number of entries returned.
|
|
63839
63839
|
self.total_count = total_count
|
|
63840
|
-
# The
|
|
63840
|
+
# The VPN gateways.
|
|
63841
63841
|
self.vpn_gateways = vpn_gateways
|
|
63842
63842
|
|
|
63843
63843
|
def validate(self):
|
|
@@ -64011,7 +64011,7 @@ class DescribeVpnPbrRouteEntriesResponseBodyVpnPbrRouteEntriesVpnPbrRouteEntry(T
|
|
|
64011
64011
|
vpn_instance_id: str = None,
|
|
64012
64012
|
weight: int = None,
|
|
64013
64013
|
):
|
|
64014
|
-
# The time when the policy-based route was created. Unit:
|
|
64014
|
+
# The time when the policy-based route was created. Unit: millisecond.
|
|
64015
64015
|
#
|
|
64016
64016
|
# This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
|
|
64017
64017
|
self.create_time = create_time
|
|
@@ -64019,7 +64019,7 @@ class DescribeVpnPbrRouteEntriesResponseBodyVpnPbrRouteEntriesVpnPbrRouteEntry(T
|
|
|
64019
64019
|
self.next_hop = next_hop
|
|
64020
64020
|
# The ID of the tunnel associated with the next hop of the policy-based route.
|
|
64021
64021
|
#
|
|
64022
|
-
# This parameter is returned only if the VPN gateway supports
|
|
64022
|
+
# This parameter is returned only if the VPN gateway supports IPsec-VPN connections in dual-tunnel mode.
|
|
64023
64023
|
self.next_hop_tunnel_id = next_hop_tunnel_id
|
|
64024
64024
|
# The priority of the policy-based route.
|
|
64025
64025
|
#
|
|
@@ -64034,16 +64034,16 @@ class DescribeVpnPbrRouteEntriesResponseBodyVpnPbrRouteEntriesVpnPbrRouteEntry(T
|
|
|
64034
64034
|
# * **published**: advertised to the VPC route table.
|
|
64035
64035
|
# * **normal**: not advertised to the VPC route table.
|
|
64036
64036
|
self.state = state
|
|
64037
|
-
# The VPN gateway
|
|
64037
|
+
# The ID of the VPN gateway.
|
|
64038
64038
|
self.vpn_instance_id = vpn_instance_id
|
|
64039
|
-
# The weight of the policy-based route.
|
|
64039
|
+
# The weight of the policy-based route.
|
|
64040
64040
|
#
|
|
64041
|
-
#
|
|
64041
|
+
# For a VPN gateway that supports IPsec-VPN connections in single-tunnel mode, the weight of a policy-based route indicates the priority of the route.
|
|
64042
64042
|
#
|
|
64043
|
-
# *
|
|
64043
|
+
# * **100**: a high priority If multiple policy-based routes with the same source CIDR block and destination CIDR block exist, the IPsec-VPN connection associated with the policy-based route is the active connection.
|
|
64044
|
+
# * **0**: a low priority If multiple policy-based routes with the same source CIDR block and destination CIDR block exist, the IPsec-VPN connection associated with the policy-based route is the standby connection.
|
|
64044
64045
|
#
|
|
64045
|
-
#
|
|
64046
|
-
# * **0**: a low priority If multiple policy-based routes with the same source CIDR block and destination CIDR block exist, the IPsec-VPN connection associated with the policy-based route is the standby connection.
|
|
64046
|
+
# > For a VPN gateway that does not support IPsec-VPN connections in single-tunnel mode, this parameter does not take effect.
|
|
64047
64047
|
self.weight = weight
|
|
64048
64048
|
|
|
64049
64049
|
def validate(self):
|
|
@@ -65215,13 +65215,22 @@ class DiagnoseVpnConnectionsRequest(TeaModel):
|
|
|
65215
65215
|
vpn_connection_ids: List[str] = None,
|
|
65216
65216
|
vpn_gateway_id: str = None,
|
|
65217
65217
|
):
|
|
65218
|
+
# The page number. Default value: **1**.
|
|
65218
65219
|
self.page_number = page_number
|
|
65220
|
+
# The number of entries per page. Default value: **10**.
|
|
65219
65221
|
self.page_size = page_size
|
|
65222
|
+
# The region ID of the IPsec-VPN connection.
|
|
65223
|
+
#
|
|
65224
|
+
# You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the most recent region list.
|
|
65225
|
+
#
|
|
65220
65226
|
# This parameter is required.
|
|
65221
65227
|
self.region_id = region_id
|
|
65222
65228
|
self.resource_owner_id = resource_owner_id
|
|
65229
|
+
# The list of tunnel IDs.
|
|
65223
65230
|
self.tunnel_ids = tunnel_ids
|
|
65231
|
+
# The IDs of IPsec-VPN connections.
|
|
65224
65232
|
self.vpn_connection_ids = vpn_connection_ids
|
|
65233
|
+
# The ID of the VPN gateway.
|
|
65225
65234
|
self.vpn_gateway_id = vpn_gateway_id
|
|
65226
65235
|
|
|
65227
65236
|
def validate(self):
|
|
@@ -65281,14 +65290,29 @@ class DiagnoseVpnConnectionsResponseBodyVpnConnections(TeaModel):
|
|
|
65281
65290
|
tunnel_id: str = None,
|
|
65282
65291
|
vpn_connection_id: str = None,
|
|
65283
65292
|
):
|
|
65293
|
+
# The cause of the error.
|
|
65284
65294
|
self.failed_reason = failed_reason
|
|
65295
|
+
# The error code.
|
|
65285
65296
|
self.failed_reason_code = failed_reason_code
|
|
65297
|
+
# The timestamp when the current error occurred on the IPsec-VPN connection. Unit: millisecond.
|
|
65298
|
+
#
|
|
65299
|
+
# This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
|
|
65286
65300
|
self.failed_time = failed_time
|
|
65301
|
+
# If the values of the parameters configured for the IPsec-VPN connection and the peer gateway device do not match, this parameter indicates the value of the parameters configured for the IPsec-VPN connection.
|
|
65287
65302
|
self.mismatch_local_param = mismatch_local_param
|
|
65303
|
+
# If the parameter values configured for the IPsec-VPN connection and the peer gateway device do not match, this parameter indicates the value of the parameter configured for the peer gateway device.
|
|
65288
65304
|
self.mismatch_remote_param = mismatch_remote_param
|
|
65305
|
+
# The error level. Valid values:
|
|
65306
|
+
#
|
|
65307
|
+
# * **Critical**\
|
|
65308
|
+
# * **Warn**\
|
|
65309
|
+
# * **Normal**\
|
|
65289
65310
|
self.severity = severity
|
|
65311
|
+
# The log information about the error.
|
|
65290
65312
|
self.source_log = source_log
|
|
65313
|
+
# The tunnel ID.
|
|
65291
65314
|
self.tunnel_id = tunnel_id
|
|
65315
|
+
# The ID of the IPsec-VPN connection.
|
|
65292
65316
|
self.vpn_connection_id = vpn_connection_id
|
|
65293
65317
|
|
|
65294
65318
|
def validate(self):
|
|
@@ -65352,10 +65376,15 @@ class DiagnoseVpnConnectionsResponseBody(TeaModel):
|
|
|
65352
65376
|
total_count: int = None,
|
|
65353
65377
|
vpn_connections: List[DiagnoseVpnConnectionsResponseBodyVpnConnections] = None,
|
|
65354
65378
|
):
|
|
65379
|
+
# The page number.
|
|
65355
65380
|
self.page_number = page_number
|
|
65381
|
+
# The number of entries per page.
|
|
65356
65382
|
self.page_size = page_size
|
|
65383
|
+
# The request ID.
|
|
65357
65384
|
self.request_id = request_id
|
|
65385
|
+
# The number of entries returned.
|
|
65358
65386
|
self.total_count = total_count
|
|
65387
|
+
# The diagnostic information.
|
|
65359
65388
|
self.vpn_connections = vpn_connections
|
|
65360
65389
|
|
|
65361
65390
|
def validate(self):
|
|
@@ -86356,11 +86385,11 @@ class ModifySslVpnClientCertRequest(TeaModel):
|
|
|
86356
86385
|
):
|
|
86357
86386
|
# The client token that is used to ensure the idempotence of the request.
|
|
86358
86387
|
#
|
|
86359
|
-
# You can use the client to generate the
|
|
86388
|
+
# You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
|
|
86360
86389
|
#
|
|
86361
|
-
# > If you do not
|
|
86390
|
+
# > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
|
|
86362
86391
|
self.client_token = client_token
|
|
86363
|
-
# The name of the SSL
|
|
86392
|
+
# The new name of the SSL client certificate. This parameter cannot be left empty.
|
|
86364
86393
|
#
|
|
86365
86394
|
# The name must be 1 to 100 characters in length and cannot start with `http://` or `https://`.
|
|
86366
86395
|
self.name = name
|
|
@@ -86374,7 +86403,7 @@ class ModifySslVpnClientCertRequest(TeaModel):
|
|
|
86374
86403
|
self.region_id = region_id
|
|
86375
86404
|
self.resource_owner_account = resource_owner_account
|
|
86376
86405
|
self.resource_owner_id = resource_owner_id
|
|
86377
|
-
# The ID of the SSL
|
|
86406
|
+
# The ID of the SSL client certificate.
|
|
86378
86407
|
#
|
|
86379
86408
|
# This parameter is required.
|
|
86380
86409
|
self.ssl_vpn_client_cert_id = ssl_vpn_client_cert_id
|
|
@@ -86436,9 +86465,9 @@ class ModifySslVpnClientCertResponseBody(TeaModel):
|
|
|
86436
86465
|
):
|
|
86437
86466
|
# The name of the SSL client certificate.
|
|
86438
86467
|
self.name = name
|
|
86439
|
-
# The ID
|
|
86468
|
+
# The request ID.
|
|
86440
86469
|
self.request_id = request_id
|
|
86441
|
-
# The ID of the SSL
|
|
86470
|
+
# The ID of the SSL client certificate.
|
|
86442
86471
|
self.ssl_vpn_client_cert_id = ssl_vpn_client_cert_id
|
|
86443
86472
|
|
|
86444
86473
|
def validate(self):
|
|
@@ -92339,7 +92368,7 @@ class ModifyVpnRouteEntryWeightRequest(TeaModel):
|
|
|
92339
92368
|
#
|
|
92340
92369
|
# > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
|
|
92341
92370
|
self.client_token = client_token
|
|
92342
|
-
# The new weight
|
|
92371
|
+
# The new weight of the destination-based route. Valid values:
|
|
92343
92372
|
#
|
|
92344
92373
|
# * **0**: a low priority
|
|
92345
92374
|
# * **100**: a high priority
|
|
@@ -92368,7 +92397,7 @@ class ModifyVpnRouteEntryWeightRequest(TeaModel):
|
|
|
92368
92397
|
#
|
|
92369
92398
|
# This parameter is required.
|
|
92370
92399
|
self.vpn_gateway_id = vpn_gateway_id
|
|
92371
|
-
# The
|
|
92400
|
+
# The original weight of the destination-based route. Valid values:
|
|
92372
92401
|
#
|
|
92373
92402
|
# * **0**: a low priority
|
|
92374
92403
|
# * **100**: a high priority
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
alibabacloud_vpc20160428/__init__.py,sha256=os30UpKzjKlKPj8QkbvLJmR9B6vr36vn5ZPP7R6JP5U,21
|
|
2
|
+
alibabacloud_vpc20160428/client.py,sha256=5eiJhSikw72TmsOzJatElgdAUdumIU4w_8agzJ5F9FI,2775123
|
|
3
|
+
alibabacloud_vpc20160428/models.py,sha256=ctdkX26aaUgFSlrUWc-g4Gtays615dUTnlo_8yj3HqY,3939924
|
|
4
|
+
alibabacloud_vpc20160428-6.6.8.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
+
alibabacloud_vpc20160428-6.6.8.dist-info/METADATA,sha256=jvCfFiiU54LfRI0F72buOHXoUMgy663X0mNGK-1Yt94,2301
|
|
6
|
+
alibabacloud_vpc20160428-6.6.8.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
7
|
+
alibabacloud_vpc20160428-6.6.8.dist-info/top_level.txt,sha256=aF3N1qaLDlyXEHXQ7AIBXYBUVWa-5wNpQNKhEiij7uA,25
|
|
8
|
+
alibabacloud_vpc20160428-6.6.8.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
alibabacloud_vpc20160428/__init__.py,sha256=yrPGYVTSOq9bvto3GrsPjr33KnIq-ACPdGC41A1Co7U,21
|
|
2
|
-
alibabacloud_vpc20160428/client.py,sha256=OVniDYEx1RH_Vwupu2xGcEHqdj0jWuJaxPrvsnMokHQ,2766633
|
|
3
|
-
alibabacloud_vpc20160428/models.py,sha256=q5vbHnSUp72fiz4dJi3AXZh7wrTBAbjrK6ziV7c7z44,3938014
|
|
4
|
-
alibabacloud_vpc20160428-6.6.6.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
-
alibabacloud_vpc20160428-6.6.6.dist-info/METADATA,sha256=eSF5CHTe9VsSwpFh1v57sScxLRiyHTvACH6GzHPhHc0,2301
|
|
6
|
-
alibabacloud_vpc20160428-6.6.6.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
7
|
-
alibabacloud_vpc20160428-6.6.6.dist-info/top_level.txt,sha256=aF3N1qaLDlyXEHXQ7AIBXYBUVWa-5wNpQNKhEiij7uA,25
|
|
8
|
-
alibabacloud_vpc20160428-6.6.6.dist-info/RECORD,,
|
{alibabacloud_vpc20160428-6.6.6.dist-info → alibabacloud_vpc20160428-6.6.8.dist-info}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
{alibabacloud_vpc20160428-6.6.6.dist-info → alibabacloud_vpc20160428-6.6.8.dist-info}/top_level.txt
RENAMED
|
File without changes
|