@alicloud/vpc20160428 6.4.7 → 6.4.9
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.
- package/dist/client.d.ts +41 -18
- package/dist/client.js +47 -18
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +49 -18
package/dist/client.d.ts
CHANGED
|
@@ -6030,6 +6030,7 @@ export declare class DeleteIpsecServerResponse extends $tea.Model {
|
|
|
6030
6030
|
export declare class DeleteIpv4GatewayRequest extends $tea.Model {
|
|
6031
6031
|
clientToken?: string;
|
|
6032
6032
|
dryRun?: boolean;
|
|
6033
|
+
internetMode?: string;
|
|
6033
6034
|
ipv4GatewayId?: string;
|
|
6034
6035
|
ownerAccount?: string;
|
|
6035
6036
|
ownerId?: number;
|
|
@@ -29168,6 +29169,8 @@ export default class Client extends OpenApi {
|
|
|
29168
29169
|
/**
|
|
29169
29170
|
* @summary Deletes a customer gateway.
|
|
29170
29171
|
*
|
|
29172
|
+
* @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).
|
|
29173
|
+
*
|
|
29171
29174
|
* @param request DeleteCustomerGatewayRequest
|
|
29172
29175
|
* @param runtime runtime options for this request RuntimeOptions
|
|
29173
29176
|
* @return DeleteCustomerGatewayResponse
|
|
@@ -29176,6 +29179,8 @@ export default class Client extends OpenApi {
|
|
|
29176
29179
|
/**
|
|
29177
29180
|
* @summary Deletes a customer gateway.
|
|
29178
29181
|
*
|
|
29182
|
+
* @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).
|
|
29183
|
+
*
|
|
29179
29184
|
* @param request DeleteCustomerGatewayRequest
|
|
29180
29185
|
* @return DeleteCustomerGatewayResponse
|
|
29181
29186
|
*/
|
|
@@ -30237,11 +30242,11 @@ export default class Client extends OpenApi {
|
|
|
30237
30242
|
/**
|
|
30238
30243
|
* @summary Deletes an IPsec-VPN connection.
|
|
30239
30244
|
*
|
|
30240
|
-
* @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
|
|
30241
|
-
* * If
|
|
30242
|
-
* * If
|
|
30243
|
-
* * You cannot
|
|
30244
|
-
* > After an IPsec-VPN connection between a
|
|
30245
|
+
* @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.
|
|
30246
|
+
* * If a VPN gateway is in the **updating** state, the IPsec-VPN connection is being deleted.
|
|
30247
|
+
* * If a VPN gateway is in the **active** state, the IPsec-VPN connection has been deleted.
|
|
30248
|
+
* * You cannot call the **DeleteVpnConnection** operation to delete multiple IPsec-VPN connections for a VPN gateway at a time.
|
|
30249
|
+
* > 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.
|
|
30245
30250
|
*
|
|
30246
30251
|
* @param request DeleteVpnConnectionRequest
|
|
30247
30252
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30251,11 +30256,11 @@ export default class Client extends OpenApi {
|
|
|
30251
30256
|
/**
|
|
30252
30257
|
* @summary Deletes an IPsec-VPN connection.
|
|
30253
30258
|
*
|
|
30254
|
-
* @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
|
|
30255
|
-
* * If
|
|
30256
|
-
* * If
|
|
30257
|
-
* * You cannot
|
|
30258
|
-
* > After an IPsec-VPN connection between a
|
|
30259
|
+
* @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.
|
|
30260
|
+
* * If a VPN gateway is in the **updating** state, the IPsec-VPN connection is being deleted.
|
|
30261
|
+
* * If a VPN gateway is in the **active** state, the IPsec-VPN connection has been deleted.
|
|
30262
|
+
* * You cannot call the **DeleteVpnConnection** operation to delete multiple IPsec-VPN connections for a VPN gateway at a time.
|
|
30263
|
+
* > 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.
|
|
30259
30264
|
*
|
|
30260
30265
|
* @param request DeleteVpnConnectionRequest
|
|
30261
30266
|
* @return DeleteVpnConnectionResponse
|
|
@@ -31001,6 +31006,8 @@ export default class Client extends OpenApi {
|
|
|
31001
31006
|
*/
|
|
31002
31007
|
describeRouteTableList(request: DescribeRouteTableListRequest): Promise<DescribeRouteTableListResponse>;
|
|
31003
31008
|
/**
|
|
31009
|
+
* @deprecated OpenAPI DescribeRouteTables is deprecated, please use Vpc::2016-04-28::DescribeRouteTableList instead.
|
|
31010
|
+
*
|
|
31004
31011
|
* @summary Queries route tables.
|
|
31005
31012
|
*
|
|
31006
31013
|
* @param request DescribeRouteTablesRequest
|
|
@@ -31009,6 +31016,8 @@ export default class Client extends OpenApi {
|
|
|
31009
31016
|
*/
|
|
31010
31017
|
describeRouteTablesWithOptions(request: DescribeRouteTablesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRouteTablesResponse>;
|
|
31011
31018
|
/**
|
|
31019
|
+
* @deprecated OpenAPI DescribeRouteTables is deprecated, please use Vpc::2016-04-28::DescribeRouteTableList instead.
|
|
31020
|
+
*
|
|
31012
31021
|
* @summary Queries route tables.
|
|
31013
31022
|
*
|
|
31014
31023
|
* @param request DescribeRouteTablesRequest
|
|
@@ -31539,7 +31548,11 @@ export default class Client extends OpenApi {
|
|
|
31539
31548
|
*/
|
|
31540
31549
|
detachDhcpOptionsSetFromVpc(request: DetachDhcpOptionsSetFromVpcRequest): Promise<DetachDhcpOptionsSetFromVpcResponse>;
|
|
31541
31550
|
/**
|
|
31542
|
-
* @summary
|
|
31551
|
+
* @summary Diagnoses IPsec-VPN connections.
|
|
31552
|
+
*
|
|
31553
|
+
* @description * If the IPsec-VPN connection is in single-tunnel mode, the request parameter `VpnConnectionIds` is required when you call the **DiagnoseVpnConnections** operation.
|
|
31554
|
+
* * If the IPsec-VPN connection is in dual-tunnel mode, the request parameter `TunnelIds` is required when you call the **DiagnoseVpnConnections** operation.
|
|
31555
|
+
* * 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).
|
|
31543
31556
|
*
|
|
31544
31557
|
* @param request DiagnoseVpnConnectionsRequest
|
|
31545
31558
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31547,7 +31560,11 @@ export default class Client extends OpenApi {
|
|
|
31547
31560
|
*/
|
|
31548
31561
|
diagnoseVpnConnectionsWithOptions(request: DiagnoseVpnConnectionsRequest, runtime: $Util.RuntimeOptions): Promise<DiagnoseVpnConnectionsResponse>;
|
|
31549
31562
|
/**
|
|
31550
|
-
* @summary
|
|
31563
|
+
* @summary Diagnoses IPsec-VPN connections.
|
|
31564
|
+
*
|
|
31565
|
+
* @description * If the IPsec-VPN connection is in single-tunnel mode, the request parameter `VpnConnectionIds` is required when you call the **DiagnoseVpnConnections** operation.
|
|
31566
|
+
* * If the IPsec-VPN connection is in dual-tunnel mode, the request parameter `TunnelIds` is required when you call the **DiagnoseVpnConnections** operation.
|
|
31567
|
+
* * 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).
|
|
31551
31568
|
*
|
|
31552
31569
|
* @param request DiagnoseVpnConnectionsRequest
|
|
31553
31570
|
* @return DiagnoseVpnConnectionsResponse
|
|
@@ -33086,12 +33103,16 @@ export default class Client extends OpenApi {
|
|
|
33086
33103
|
*/
|
|
33087
33104
|
modifySnatEntry(request: ModifySnatEntryRequest): Promise<ModifySnatEntryResponse>;
|
|
33088
33105
|
/**
|
|
33106
|
+
* @summary Modifies the name of an SSL-VPN client certificate.
|
|
33107
|
+
*
|
|
33089
33108
|
* @param request ModifySslVpnClientCertRequest
|
|
33090
33109
|
* @param runtime runtime options for this request RuntimeOptions
|
|
33091
33110
|
* @return ModifySslVpnClientCertResponse
|
|
33092
33111
|
*/
|
|
33093
33112
|
modifySslVpnClientCertWithOptions(request: ModifySslVpnClientCertRequest, runtime: $Util.RuntimeOptions): Promise<ModifySslVpnClientCertResponse>;
|
|
33094
33113
|
/**
|
|
33114
|
+
* @summary Modifies the name of an SSL-VPN client certificate.
|
|
33115
|
+
*
|
|
33095
33116
|
* @param request ModifySslVpnClientCertRequest
|
|
33096
33117
|
* @return ModifySslVpnClientCertResponse
|
|
33097
33118
|
*/
|
|
@@ -33100,7 +33121,7 @@ export default class Client extends OpenApi {
|
|
|
33100
33121
|
* @summary Modifies the configurations of an SSL server.
|
|
33101
33122
|
*
|
|
33102
33123
|
* @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.
|
|
33103
|
-
* * 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/
|
|
33124
|
+
* * 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.
|
|
33104
33125
|
* * If a VPN gateway is in the **updating** state, the configurations of the SSL server are being modified.
|
|
33105
33126
|
* * If a VPN gateway is in the **active** state, the configurations of the SSL server are modified.
|
|
33106
33127
|
* * You cannot repeatedly call **ModifySslVpnServer** to modify the configurations of an SSL server within the specified period of time.
|
|
@@ -33114,7 +33135,7 @@ export default class Client extends OpenApi {
|
|
|
33114
33135
|
* @summary Modifies the configurations of an SSL server.
|
|
33115
33136
|
*
|
|
33116
33137
|
* @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.
|
|
33117
|
-
* * 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/
|
|
33138
|
+
* * 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.
|
|
33118
33139
|
* * If a VPN gateway is in the **updating** state, the configurations of the SSL server are being modified.
|
|
33119
33140
|
* * If a VPN gateway is in the **active** state, the configurations of the SSL server are modified.
|
|
33120
33141
|
* * You cannot repeatedly call **ModifySslVpnServer** to modify the configurations of an SSL server within the specified period of time.
|
|
@@ -33480,9 +33501,10 @@ export default class Client extends OpenApi {
|
|
|
33480
33501
|
*/
|
|
33481
33502
|
modifyVpnPbrRouteEntryWeight(request: ModifyVpnPbrRouteEntryWeightRequest): Promise<ModifyVpnPbrRouteEntryWeightResponse>;
|
|
33482
33503
|
/**
|
|
33483
|
-
* @summary Modifies the weight of a destination-based route
|
|
33504
|
+
* @summary Modifies the weight of a destination-based route.
|
|
33484
33505
|
*
|
|
33485
|
-
* @description *
|
|
33506
|
+
* @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).
|
|
33507
|
+
* * **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.
|
|
33486
33508
|
* * If the VPN gateway is in the **updating** state, the weight of the destination-based route is being modified.
|
|
33487
33509
|
* * If the VPN gateway is in the **active** state, the weight of the destination-based route is modified.
|
|
33488
33510
|
* * 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.
|
|
@@ -33493,9 +33515,10 @@ export default class Client extends OpenApi {
|
|
|
33493
33515
|
*/
|
|
33494
33516
|
modifyVpnRouteEntryWeightWithOptions(request: ModifyVpnRouteEntryWeightRequest, runtime: $Util.RuntimeOptions): Promise<ModifyVpnRouteEntryWeightResponse>;
|
|
33495
33517
|
/**
|
|
33496
|
-
* @summary Modifies the weight of a destination-based route
|
|
33518
|
+
* @summary Modifies the weight of a destination-based route.
|
|
33497
33519
|
*
|
|
33498
|
-
* @description *
|
|
33520
|
+
* @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).
|
|
33521
|
+
* * **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.
|
|
33499
33522
|
* * If the VPN gateway is in the **updating** state, the weight of the destination-based route is being modified.
|
|
33500
33523
|
* * If the VPN gateway is in the **active** state, the weight of the destination-based route is modified.
|
|
33501
33524
|
* * 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.
|
package/dist/client.js
CHANGED
|
@@ -8843,6 +8843,7 @@ class DeleteIpv4GatewayRequest extends $tea.Model {
|
|
|
8843
8843
|
return {
|
|
8844
8844
|
clientToken: 'ClientToken',
|
|
8845
8845
|
dryRun: 'DryRun',
|
|
8846
|
+
internetMode: 'InternetMode',
|
|
8846
8847
|
ipv4GatewayId: 'Ipv4GatewayId',
|
|
8847
8848
|
ownerAccount: 'OwnerAccount',
|
|
8848
8849
|
ownerId: 'OwnerId',
|
|
@@ -8855,6 +8856,7 @@ class DeleteIpv4GatewayRequest extends $tea.Model {
|
|
|
8855
8856
|
return {
|
|
8856
8857
|
clientToken: 'string',
|
|
8857
8858
|
dryRun: 'boolean',
|
|
8859
|
+
internetMode: 'string',
|
|
8858
8860
|
ipv4GatewayId: 'string',
|
|
8859
8861
|
ownerAccount: 'string',
|
|
8860
8862
|
ownerId: 'number',
|
|
@@ -47488,6 +47490,8 @@ class Client extends openapi_client_1.default {
|
|
|
47488
47490
|
/**
|
|
47489
47491
|
* @summary Deletes a customer gateway.
|
|
47490
47492
|
*
|
|
47493
|
+
* @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).
|
|
47494
|
+
*
|
|
47491
47495
|
* @param request DeleteCustomerGatewayRequest
|
|
47492
47496
|
* @param runtime runtime options for this request RuntimeOptions
|
|
47493
47497
|
* @return DeleteCustomerGatewayResponse
|
|
@@ -47535,6 +47539,8 @@ class Client extends openapi_client_1.default {
|
|
|
47535
47539
|
/**
|
|
47536
47540
|
* @summary Deletes a customer gateway.
|
|
47537
47541
|
*
|
|
47542
|
+
* @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).
|
|
47543
|
+
*
|
|
47538
47544
|
* @param request DeleteCustomerGatewayRequest
|
|
47539
47545
|
* @return DeleteCustomerGatewayResponse
|
|
47540
47546
|
*/
|
|
@@ -48470,6 +48476,9 @@ class Client extends openapi_client_1.default {
|
|
|
48470
48476
|
if (!tea_util_1.default.isUnset(request.dryRun)) {
|
|
48471
48477
|
query["DryRun"] = request.dryRun;
|
|
48472
48478
|
}
|
|
48479
|
+
if (!tea_util_1.default.isUnset(request.internetMode)) {
|
|
48480
|
+
query["InternetMode"] = request.internetMode;
|
|
48481
|
+
}
|
|
48473
48482
|
if (!tea_util_1.default.isUnset(request.ipv4GatewayId)) {
|
|
48474
48483
|
query["Ipv4GatewayId"] = request.ipv4GatewayId;
|
|
48475
48484
|
}
|
|
@@ -50535,11 +50544,11 @@ class Client extends openapi_client_1.default {
|
|
|
50535
50544
|
/**
|
|
50536
50545
|
* @summary Deletes an IPsec-VPN connection.
|
|
50537
50546
|
*
|
|
50538
|
-
* @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
|
|
50539
|
-
* * If
|
|
50540
|
-
* * If
|
|
50541
|
-
* * You cannot
|
|
50542
|
-
* > After an IPsec-VPN connection between a
|
|
50547
|
+
* @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.
|
|
50548
|
+
* * If a VPN gateway is in the **updating** state, the IPsec-VPN connection is being deleted.
|
|
50549
|
+
* * If a VPN gateway is in the **active** state, the IPsec-VPN connection has been deleted.
|
|
50550
|
+
* * You cannot call the **DeleteVpnConnection** operation to delete multiple IPsec-VPN connections for a VPN gateway at a time.
|
|
50551
|
+
* > 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.
|
|
50543
50552
|
*
|
|
50544
50553
|
* @param request DeleteVpnConnectionRequest
|
|
50545
50554
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -50588,11 +50597,11 @@ class Client extends openapi_client_1.default {
|
|
|
50588
50597
|
/**
|
|
50589
50598
|
* @summary Deletes an IPsec-VPN connection.
|
|
50590
50599
|
*
|
|
50591
|
-
* @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
|
|
50592
|
-
* * If
|
|
50593
|
-
* * If
|
|
50594
|
-
* * You cannot
|
|
50595
|
-
* > After an IPsec-VPN connection between a
|
|
50600
|
+
* @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.
|
|
50601
|
+
* * If a VPN gateway is in the **updating** state, the IPsec-VPN connection is being deleted.
|
|
50602
|
+
* * If a VPN gateway is in the **active** state, the IPsec-VPN connection has been deleted.
|
|
50603
|
+
* * You cannot call the **DeleteVpnConnection** operation to delete multiple IPsec-VPN connections for a VPN gateway at a time.
|
|
50604
|
+
* > 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.
|
|
50596
50605
|
*
|
|
50597
50606
|
* @param request DeleteVpnConnectionRequest
|
|
50598
50607
|
* @return DeleteVpnConnectionResponse
|
|
@@ -53807,12 +53816,15 @@ class Client extends openapi_client_1.default {
|
|
|
53807
53816
|
return await this.describeRouteTableListWithOptions(request, runtime);
|
|
53808
53817
|
}
|
|
53809
53818
|
/**
|
|
53819
|
+
* @deprecated OpenAPI DescribeRouteTables is deprecated, please use Vpc::2016-04-28::DescribeRouteTableList instead.
|
|
53820
|
+
*
|
|
53810
53821
|
* @summary Queries route tables.
|
|
53811
53822
|
*
|
|
53812
53823
|
* @param request DescribeRouteTablesRequest
|
|
53813
53824
|
* @param runtime runtime options for this request RuntimeOptions
|
|
53814
53825
|
* @return DescribeRouteTablesResponse
|
|
53815
53826
|
*/
|
|
53827
|
+
// Deprecated
|
|
53816
53828
|
async describeRouteTablesWithOptions(request, runtime) {
|
|
53817
53829
|
tea_util_1.default.validateModel(request);
|
|
53818
53830
|
let query = {};
|
|
@@ -53875,11 +53887,14 @@ class Client extends openapi_client_1.default {
|
|
|
53875
53887
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRouteTablesResponse({}));
|
|
53876
53888
|
}
|
|
53877
53889
|
/**
|
|
53890
|
+
* @deprecated OpenAPI DescribeRouteTables is deprecated, please use Vpc::2016-04-28::DescribeRouteTableList instead.
|
|
53891
|
+
*
|
|
53878
53892
|
* @summary Queries route tables.
|
|
53879
53893
|
*
|
|
53880
53894
|
* @param request DescribeRouteTablesRequest
|
|
53881
53895
|
* @return DescribeRouteTablesResponse
|
|
53882
53896
|
*/
|
|
53897
|
+
// Deprecated
|
|
53883
53898
|
async describeRouteTables(request) {
|
|
53884
53899
|
let runtime = new $Util.RuntimeOptions({});
|
|
53885
53900
|
return await this.describeRouteTablesWithOptions(request, runtime);
|
|
@@ -56025,7 +56040,11 @@ class Client extends openapi_client_1.default {
|
|
|
56025
56040
|
return await this.detachDhcpOptionsSetFromVpcWithOptions(request, runtime);
|
|
56026
56041
|
}
|
|
56027
56042
|
/**
|
|
56028
|
-
* @summary
|
|
56043
|
+
* @summary Diagnoses IPsec-VPN connections.
|
|
56044
|
+
*
|
|
56045
|
+
* @description * If the IPsec-VPN connection is in single-tunnel mode, the request parameter `VpnConnectionIds` is required when you call the **DiagnoseVpnConnections** operation.
|
|
56046
|
+
* * If the IPsec-VPN connection is in dual-tunnel mode, the request parameter `TunnelIds` is required when you call the **DiagnoseVpnConnections** operation.
|
|
56047
|
+
* * 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).
|
|
56029
56048
|
*
|
|
56030
56049
|
* @param request DiagnoseVpnConnectionsRequest
|
|
56031
56050
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -56072,7 +56091,11 @@ class Client extends openapi_client_1.default {
|
|
|
56072
56091
|
return $tea.cast(await this.callApi(params, req, runtime), new DiagnoseVpnConnectionsResponse({}));
|
|
56073
56092
|
}
|
|
56074
56093
|
/**
|
|
56075
|
-
* @summary
|
|
56094
|
+
* @summary Diagnoses IPsec-VPN connections.
|
|
56095
|
+
*
|
|
56096
|
+
* @description * If the IPsec-VPN connection is in single-tunnel mode, the request parameter `VpnConnectionIds` is required when you call the **DiagnoseVpnConnections** operation.
|
|
56097
|
+
* * If the IPsec-VPN connection is in dual-tunnel mode, the request parameter `TunnelIds` is required when you call the **DiagnoseVpnConnections** operation.
|
|
56098
|
+
* * 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).
|
|
56076
56099
|
*
|
|
56077
56100
|
* @param request DiagnoseVpnConnectionsRequest
|
|
56078
56101
|
* @return DiagnoseVpnConnectionsResponse
|
|
@@ -61839,6 +61862,8 @@ class Client extends openapi_client_1.default {
|
|
|
61839
61862
|
return await this.modifySnatEntryWithOptions(request, runtime);
|
|
61840
61863
|
}
|
|
61841
61864
|
/**
|
|
61865
|
+
* @summary Modifies the name of an SSL-VPN client certificate.
|
|
61866
|
+
*
|
|
61842
61867
|
* @param request ModifySslVpnClientCertRequest
|
|
61843
61868
|
* @param runtime runtime options for this request RuntimeOptions
|
|
61844
61869
|
* @return ModifySslVpnClientCertResponse
|
|
@@ -61887,6 +61912,8 @@ class Client extends openapi_client_1.default {
|
|
|
61887
61912
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifySslVpnClientCertResponse({}));
|
|
61888
61913
|
}
|
|
61889
61914
|
/**
|
|
61915
|
+
* @summary Modifies the name of an SSL-VPN client certificate.
|
|
61916
|
+
*
|
|
61890
61917
|
* @param request ModifySslVpnClientCertRequest
|
|
61891
61918
|
* @return ModifySslVpnClientCertResponse
|
|
61892
61919
|
*/
|
|
@@ -61898,7 +61925,7 @@ class Client extends openapi_client_1.default {
|
|
|
61898
61925
|
* @summary Modifies the configurations of an SSL server.
|
|
61899
61926
|
*
|
|
61900
61927
|
* @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.
|
|
61901
|
-
* * 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/
|
|
61928
|
+
* * 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.
|
|
61902
61929
|
* * If a VPN gateway is in the **updating** state, the configurations of the SSL server are being modified.
|
|
61903
61930
|
* * If a VPN gateway is in the **active** state, the configurations of the SSL server are modified.
|
|
61904
61931
|
* * You cannot repeatedly call **ModifySslVpnServer** to modify the configurations of an SSL server within the specified period of time.
|
|
@@ -61984,7 +62011,7 @@ class Client extends openapi_client_1.default {
|
|
|
61984
62011
|
* @summary Modifies the configurations of an SSL server.
|
|
61985
62012
|
*
|
|
61986
62013
|
* @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.
|
|
61987
|
-
* * 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/
|
|
62014
|
+
* * 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.
|
|
61988
62015
|
* * If a VPN gateway is in the **updating** state, the configurations of the SSL server are being modified.
|
|
61989
62016
|
* * If a VPN gateway is in the **active** state, the configurations of the SSL server are modified.
|
|
61990
62017
|
* * You cannot repeatedly call **ModifySslVpnServer** to modify the configurations of an SSL server within the specified period of time.
|
|
@@ -63215,9 +63242,10 @@ class Client extends openapi_client_1.default {
|
|
|
63215
63242
|
return await this.modifyVpnPbrRouteEntryWeightWithOptions(request, runtime);
|
|
63216
63243
|
}
|
|
63217
63244
|
/**
|
|
63218
|
-
* @summary Modifies the weight of a destination-based route
|
|
63245
|
+
* @summary Modifies the weight of a destination-based route.
|
|
63219
63246
|
*
|
|
63220
|
-
* @description *
|
|
63247
|
+
* @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).
|
|
63248
|
+
* * **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.
|
|
63221
63249
|
* * If the VPN gateway is in the **updating** state, the weight of the destination-based route is being modified.
|
|
63222
63250
|
* * If the VPN gateway is in the **active** state, the weight of the destination-based route is modified.
|
|
63223
63251
|
* * 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.
|
|
@@ -63282,9 +63310,10 @@ class Client extends openapi_client_1.default {
|
|
|
63282
63310
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyVpnRouteEntryWeightResponse({}));
|
|
63283
63311
|
}
|
|
63284
63312
|
/**
|
|
63285
|
-
* @summary Modifies the weight of a destination-based route
|
|
63313
|
+
* @summary Modifies the weight of a destination-based route.
|
|
63286
63314
|
*
|
|
63287
|
-
* @description *
|
|
63315
|
+
* @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).
|
|
63316
|
+
* * **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.
|
|
63288
63317
|
* * If the VPN gateway is in the **updating** state, the weight of the destination-based route is being modified.
|
|
63289
63318
|
* * If the VPN gateway is in the **active** state, the weight of the destination-based route is modified.
|
|
63290
63319
|
* * 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.
|