@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/vpc20160428",
3
- "version": "6.4.7",
3
+ "version": "6.4.9",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -11411,6 +11411,7 @@ export class DeleteIpsecServerResponse extends $tea.Model {
11411
11411
  export class DeleteIpv4GatewayRequest extends $tea.Model {
11412
11412
  clientToken?: string;
11413
11413
  dryRun?: boolean;
11414
+ internetMode?: string;
11414
11415
  ipv4GatewayId?: string;
11415
11416
  ownerAccount?: string;
11416
11417
  ownerId?: number;
@@ -11421,6 +11422,7 @@ export class DeleteIpv4GatewayRequest extends $tea.Model {
11421
11422
  return {
11422
11423
  clientToken: 'ClientToken',
11423
11424
  dryRun: 'DryRun',
11425
+ internetMode: 'InternetMode',
11424
11426
  ipv4GatewayId: 'Ipv4GatewayId',
11425
11427
  ownerAccount: 'OwnerAccount',
11426
11428
  ownerId: 'OwnerId',
@@ -11434,6 +11436,7 @@ export class DeleteIpv4GatewayRequest extends $tea.Model {
11434
11436
  return {
11435
11437
  clientToken: 'string',
11436
11438
  dryRun: 'boolean',
11439
+ internetMode: 'string',
11437
11440
  ipv4GatewayId: 'string',
11438
11441
  ownerAccount: 'string',
11439
11442
  ownerId: 'number',
@@ -60416,6 +60419,8 @@ export default class Client extends OpenApi {
60416
60419
  /**
60417
60420
  * @summary Deletes a customer gateway.
60418
60421
  *
60422
+ * @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).
60423
+ *
60419
60424
  * @param request DeleteCustomerGatewayRequest
60420
60425
  * @param runtime runtime options for this request RuntimeOptions
60421
60426
  * @return DeleteCustomerGatewayResponse
@@ -60471,6 +60476,8 @@ export default class Client extends OpenApi {
60471
60476
  /**
60472
60477
  * @summary Deletes a customer gateway.
60473
60478
  *
60479
+ * @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).
60480
+ *
60474
60481
  * @param request DeleteCustomerGatewayRequest
60475
60482
  * @return DeleteCustomerGatewayResponse
60476
60483
  */
@@ -61538,6 +61545,10 @@ export default class Client extends OpenApi {
61538
61545
  query["DryRun"] = request.dryRun;
61539
61546
  }
61540
61547
 
61548
+ if (!Util.isUnset(request.internetMode)) {
61549
+ query["InternetMode"] = request.internetMode;
61550
+ }
61551
+
61541
61552
  if (!Util.isUnset(request.ipv4GatewayId)) {
61542
61553
  query["Ipv4GatewayId"] = request.ipv4GatewayId;
61543
61554
  }
@@ -63896,11 +63907,11 @@ export default class Client extends OpenApi {
63896
63907
  /**
63897
63908
  * @summary Deletes an IPsec-VPN connection.
63898
63909
  *
63899
- * @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 the task.
63900
- * * If the VPN gateway is in the **updating** state, the IPsec-VPN connection is being deleted.
63901
- * * If the VPN gateway is in the **active** state, the IPsec-VPN connection is deleted.
63902
- * * You cannot repeatedly call **DeleteVpnConnection** to delete an IPsec-VPN connection from the same VPN gateway within the specified period of time.
63903
- * > After an IPsec-VPN connection between a virtual private cloud (VPC) and a data center is deleted, the communication between the VPC and data center is interrupted.
63910
+ * @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.
63911
+ * * If a VPN gateway is in the **updating** state, the IPsec-VPN connection is being deleted.
63912
+ * * If a VPN gateway is in the **active** state, the IPsec-VPN connection has been deleted.
63913
+ * * You cannot call the **DeleteVpnConnection** operation to delete multiple IPsec-VPN connections for a VPN gateway at a time.
63914
+ * > 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.
63904
63915
  *
63905
63916
  * @param request DeleteVpnConnectionRequest
63906
63917
  * @param runtime runtime options for this request RuntimeOptions
@@ -63957,11 +63968,11 @@ export default class Client extends OpenApi {
63957
63968
  /**
63958
63969
  * @summary Deletes an IPsec-VPN connection.
63959
63970
  *
63960
- * @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 the task.
63961
- * * If the VPN gateway is in the **updating** state, the IPsec-VPN connection is being deleted.
63962
- * * If the VPN gateway is in the **active** state, the IPsec-VPN connection is deleted.
63963
- * * You cannot repeatedly call **DeleteVpnConnection** to delete an IPsec-VPN connection from the same VPN gateway within the specified period of time.
63964
- * > After an IPsec-VPN connection between a virtual private cloud (VPC) and a data center is deleted, the communication between the VPC and data center is interrupted.
63971
+ * @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.
63972
+ * * If a VPN gateway is in the **updating** state, the IPsec-VPN connection is being deleted.
63973
+ * * If a VPN gateway is in the **active** state, the IPsec-VPN connection has been deleted.
63974
+ * * You cannot call the **DeleteVpnConnection** operation to delete multiple IPsec-VPN connections for a VPN gateway at a time.
63975
+ * > 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.
63965
63976
  *
63966
63977
  * @param request DeleteVpnConnectionRequest
63967
63978
  * @return DeleteVpnConnectionResponse
@@ -67772,12 +67783,15 @@ export default class Client extends OpenApi {
67772
67783
  }
67773
67784
 
67774
67785
  /**
67786
+ * @deprecated OpenAPI DescribeRouteTables is deprecated, please use Vpc::2016-04-28::DescribeRouteTableList instead.
67787
+ *
67775
67788
  * @summary Queries route tables.
67776
67789
  *
67777
67790
  * @param request DescribeRouteTablesRequest
67778
67791
  * @param runtime runtime options for this request RuntimeOptions
67779
67792
  * @return DescribeRouteTablesResponse
67780
67793
  */
67794
+ // Deprecated
67781
67795
  async describeRouteTablesWithOptions(request: DescribeRouteTablesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRouteTablesResponse> {
67782
67796
  Util.validateModel(request);
67783
67797
  let query = { };
@@ -67855,11 +67869,14 @@ export default class Client extends OpenApi {
67855
67869
  }
67856
67870
 
67857
67871
  /**
67872
+ * @deprecated OpenAPI DescribeRouteTables is deprecated, please use Vpc::2016-04-28::DescribeRouteTableList instead.
67873
+ *
67858
67874
  * @summary Queries route tables.
67859
67875
  *
67860
67876
  * @param request DescribeRouteTablesRequest
67861
67877
  * @return DescribeRouteTablesResponse
67862
67878
  */
67879
+ // Deprecated
67863
67880
  async describeRouteTables(request: DescribeRouteTablesRequest): Promise<DescribeRouteTablesResponse> {
67864
67881
  let runtime = new $Util.RuntimeOptions({ });
67865
67882
  return await this.describeRouteTablesWithOptions(request, runtime);
@@ -70380,7 +70397,11 @@ export default class Client extends OpenApi {
70380
70397
  }
70381
70398
 
70382
70399
  /**
70383
- * @summary 诊断vpn connection
70400
+ * @summary Diagnoses IPsec-VPN connections.
70401
+ *
70402
+ * @description * If the IPsec-VPN connection is in single-tunnel mode, the request parameter `VpnConnectionIds` is required when you call the **DiagnoseVpnConnections** operation.
70403
+ * * If the IPsec-VPN connection is in dual-tunnel mode, the request parameter `TunnelIds` is required when you call the **DiagnoseVpnConnections** operation.
70404
+ * * 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).
70384
70405
  *
70385
70406
  * @param request DiagnoseVpnConnectionsRequest
70386
70407
  * @param runtime runtime options for this request RuntimeOptions
@@ -70435,7 +70456,11 @@ export default class Client extends OpenApi {
70435
70456
  }
70436
70457
 
70437
70458
  /**
70438
- * @summary 诊断vpn connection
70459
+ * @summary Diagnoses IPsec-VPN connections.
70460
+ *
70461
+ * @description * If the IPsec-VPN connection is in single-tunnel mode, the request parameter `VpnConnectionIds` is required when you call the **DiagnoseVpnConnections** operation.
70462
+ * * If the IPsec-VPN connection is in dual-tunnel mode, the request parameter `TunnelIds` is required when you call the **DiagnoseVpnConnections** operation.
70463
+ * * 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).
70439
70464
  *
70440
70465
  * @param request DiagnoseVpnConnectionsRequest
70441
70466
  * @return DiagnoseVpnConnectionsResponse
@@ -77185,6 +77210,8 @@ export default class Client extends OpenApi {
77185
77210
  }
77186
77211
 
77187
77212
  /**
77213
+ * @summary Modifies the name of an SSL-VPN client certificate.
77214
+ *
77188
77215
  * @param request ModifySslVpnClientCertRequest
77189
77216
  * @param runtime runtime options for this request RuntimeOptions
77190
77217
  * @return ModifySslVpnClientCertResponse
@@ -77242,6 +77269,8 @@ export default class Client extends OpenApi {
77242
77269
  }
77243
77270
 
77244
77271
  /**
77272
+ * @summary Modifies the name of an SSL-VPN client certificate.
77273
+ *
77245
77274
  * @param request ModifySslVpnClientCertRequest
77246
77275
  * @return ModifySslVpnClientCertResponse
77247
77276
  */
@@ -77254,7 +77283,7 @@ export default class Client extends OpenApi {
77254
77283
  * @summary Modifies the configurations of an SSL server.
77255
77284
  *
77256
77285
  * @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.
77257
- * * 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/73720.html) to query the status of the task.
77286
+ * * 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.
77258
77287
  * * If a VPN gateway is in the **updating** state, the configurations of the SSL server are being modified.
77259
77288
  * * If a VPN gateway is in the **active** state, the configurations of the SSL server are modified.
77260
77289
  * * You cannot repeatedly call **ModifySslVpnServer** to modify the configurations of an SSL server within the specified period of time.
@@ -77359,7 +77388,7 @@ export default class Client extends OpenApi {
77359
77388
  * @summary Modifies the configurations of an SSL server.
77360
77389
  *
77361
77390
  * @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.
77362
- * * 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/73720.html) to query the status of the task.
77391
+ * * 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.
77363
77392
  * * If a VPN gateway is in the **updating** state, the configurations of the SSL server are being modified.
77364
77393
  * * If a VPN gateway is in the **active** state, the configurations of the SSL server are modified.
77365
77394
  * * You cannot repeatedly call **ModifySslVpnServer** to modify the configurations of an SSL server within the specified period of time.
@@ -78810,9 +78839,10 @@ export default class Client extends OpenApi {
78810
78839
  }
78811
78840
 
78812
78841
  /**
78813
- * @summary Modifies the weight of a destination-based route of a VPN gateway.
78842
+ * @summary Modifies the weight of a destination-based route.
78814
78843
  *
78815
- * @description * **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.
78844
+ * @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).
78845
+ * * **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.
78816
78846
  * * If the VPN gateway is in the **updating** state, the weight of the destination-based route is being modified.
78817
78847
  * * If the VPN gateway is in the **active** state, the weight of the destination-based route is modified.
78818
78848
  * * 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.
@@ -78890,9 +78920,10 @@ export default class Client extends OpenApi {
78890
78920
  }
78891
78921
 
78892
78922
  /**
78893
- * @summary Modifies the weight of a destination-based route of a VPN gateway.
78923
+ * @summary Modifies the weight of a destination-based route.
78894
78924
  *
78895
- * @description * **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.
78925
+ * @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).
78926
+ * * **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.
78896
78927
  * * If the VPN gateway is in the **updating** state, the weight of the destination-based route is being modified.
78897
78928
  * * If the VPN gateway is in the **active** state, the weight of the destination-based route is modified.
78898
78929
  * * 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.