@alicloud/vpc20160428 7.2.4 → 7.2.5
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 +232 -228
- package/dist/client.js +263 -255
- package/dist/client.js.map +1 -1
- package/dist/models/ActivateRouterInterfaceRequest.d.ts +1 -1
- package/dist/models/AssociateMacSecKeyRequest.d.ts +3 -3
- package/dist/models/AssociatePhysicalConnectionToVirtualBorderRouterRequest.d.ts +5 -7
- package/dist/models/AssociatePhysicalConnectionToVirtualBorderRouterRequest.js.map +1 -1
- package/dist/models/AssociateVpnGatewayWithCertificateRequest.d.ts +3 -3
- package/dist/models/AttachVbrToVpconnRequest.d.ts +3 -3
- package/dist/models/CancelPhysicalConnectionRequest.d.ts +1 -1
- package/dist/models/CheckVpnBgpEnabledRequest.d.ts +1 -1
- package/dist/models/CompletePhysicalConnectionLoarequest.d.ts +4 -4
- package/dist/models/CreateCustomerGatewayRequest.d.ts +4 -4
- package/dist/models/CreateCustomerGatewayResponseBody.d.ts +2 -2
- package/dist/models/CreateFailoverTestJobRequest.d.ts +5 -5
- package/dist/models/CreateIpsecServerRequest.d.ts +2 -2
- package/dist/models/CreatePhysicalConnectionRequest.d.ts +13 -11
- package/dist/models/CreatePhysicalConnectionRequest.js.map +1 -1
- package/dist/models/CreatePhysicalConnectionSetupOrderRequest.d.ts +10 -8
- package/dist/models/CreatePhysicalConnectionSetupOrderRequest.js.map +1 -1
- package/dist/models/CreateSslVpnServerRequest.d.ts +11 -11
- package/dist/models/CreateVbrHaRequest.d.ts +5 -5
- package/dist/models/CreateVbrHaResponseBody.d.ts +1 -1
- package/dist/models/CreateVcoRouteEntryRequest.d.ts +2 -2
- package/dist/models/CreateVcoRouteEntryResponseBody.d.ts +1 -1
- package/dist/models/CreateVpconnFromVbrRequest.d.ts +2 -2
- package/dist/models/CreateVpnAttachmentRequest.d.ts +73 -133
- package/dist/models/CreateVpnAttachmentRequest.js.map +1 -1
- package/dist/models/CreateVpnAttachmentResponseBody.d.ts +3 -3
- package/dist/models/CreateVpnConnectionRequest.d.ts +95 -131
- package/dist/models/CreateVpnConnectionRequest.js.map +1 -1
- package/dist/models/CreateVpnConnectionResponseBody.d.ts +1 -1
- package/dist/models/CreateVpnGatewayRequest.d.ts +17 -17
- package/dist/models/CreateVpnGatewayResponseBody.d.ts +2 -2
- package/dist/models/CreateVpnPbrRouteEntryRequest.d.ts +13 -13
- package/dist/models/CreateVpnPbrRouteEntryResponseBody.d.ts +6 -6
- package/dist/models/CreateVswitchCidrReservationRequest.d.ts +15 -7
- package/dist/models/CreateVswitchCidrReservationRequest.js +2 -0
- package/dist/models/CreateVswitchCidrReservationRequest.js.map +1 -1
- package/dist/models/CreateVswitchRequest.d.ts +9 -9
- package/dist/models/DeleteBgpGroupRequest.d.ts +2 -2
- package/dist/models/DeleteFailoverTestJobRequest.d.ts +4 -4
- package/dist/models/DeleteIpsecServerRequest.d.ts +4 -4
- package/dist/models/DeleteNatGatewayRequest.d.ts +4 -4
- package/dist/models/DeleteVbrHaRequest.d.ts +3 -3
- package/dist/models/DeleteVpnGatewayRequest.d.ts +3 -3
- package/dist/models/DeleteVpnRouteEntryRequest.d.ts +2 -2
- package/dist/models/DescribeCustomerGatewayRequest.d.ts +1 -1
- package/dist/models/DescribeCustomerGatewayResponseBody.d.ts +2 -2
- package/dist/models/DescribeCustomerGatewaysRequest.d.ts +1 -1
- package/dist/models/DescribeEipAddressesRequest.d.ts +7 -75
- package/dist/models/DescribeEipAddressesRequest.js.map +1 -1
- package/dist/models/DescribeExpressConnectTrafficQosQueueRequest.d.ts +5 -3
- package/dist/models/DescribeExpressConnectTrafficQosQueueRequest.js.map +1 -1
- package/dist/models/DescribeExpressConnectTrafficQosQueueResponseBody.d.ts +12 -12
- package/dist/models/DescribeExpressConnectTrafficQosRuleRequest.d.ts +10 -6
- package/dist/models/DescribeExpressConnectTrafficQosRuleRequest.js.map +1 -1
- package/dist/models/DescribeExpressConnectTrafficQosRuleResponseBody.d.ts +16 -16
- package/dist/models/DescribeFailoverTestJobRequest.d.ts +2 -2
- package/dist/models/DescribeFailoverTestJobResponseBody.d.ts +6 -6
- package/dist/models/DescribeFailoverTestJobsRequest.d.ts +8 -8
- package/dist/models/DescribeFailoverTestJobsResponseBody.d.ts +14 -14
- package/dist/models/DescribePhysicalConnectionLoarequest.d.ts +1 -1
- package/dist/models/DescribePhysicalConnectionLoaresponseBody.d.ts +8 -4
- package/dist/models/DescribePhysicalConnectionLoaresponseBody.js.map +1 -1
- package/dist/models/DescribePhysicalConnectionsRequest.d.ts +4 -0
- package/dist/models/DescribePhysicalConnectionsRequest.js.map +1 -1
- package/dist/models/DescribeRouterInterfaceAttributeResponseBody.d.ts +22 -22
- package/dist/models/DescribeSslVpnClientCertRequest.d.ts +1 -1
- package/dist/models/DescribeSslVpnClientCertResponseBody.d.ts +3 -3
- package/dist/models/DescribeSslVpnServersRequest.d.ts +1 -1
- package/dist/models/DescribeSslVpnServersResponseBody.d.ts +1 -1
- package/dist/models/DescribeTagKeysForExpressConnectRequest.d.ts +2 -0
- package/dist/models/DescribeTagKeysForExpressConnectRequest.js.map +1 -1
- package/dist/models/DescribeVbrHaRequest.d.ts +6 -6
- package/dist/models/DescribeVbrHaResponseBody.d.ts +2 -2
- package/dist/models/DescribeVcoRouteEntriesResponseBody.d.ts +10 -10
- package/dist/models/DescribeVirtualBorderRoutersRequest.d.ts +6 -26
- package/dist/models/DescribeVirtualBorderRoutersRequest.js.map +1 -1
- package/dist/models/DescribeVirtualBorderRoutersResponseBody.d.ts +2 -2
- package/dist/models/DescribeVpcsRequest.d.ts +4 -4
- package/dist/models/DescribeVpcsResponseBody.d.ts +1 -1
- package/dist/models/DescribeVpnAttachmentsRequest.d.ts +4 -4
- package/dist/models/DescribeVpnAttachmentsResponseBody.d.ts +9 -9
- package/dist/models/DescribeVpnConnectionLogsRequest.d.ts +2 -2
- package/dist/models/DescribeVpnConnectionLogsResponseBody.d.ts +1 -1
- package/dist/models/DescribeVpnConnectionRequest.d.ts +1 -1
- package/dist/models/DescribeVpnConnectionResponseBody.d.ts +21 -72
- package/dist/models/DescribeVpnConnectionResponseBody.js.map +1 -1
- package/dist/models/DescribeVpnConnectionsRequest.d.ts +6 -8
- package/dist/models/DescribeVpnConnectionsRequest.js.map +1 -1
- package/dist/models/DescribeVpnCrossAccountAuthorizationsRequest.d.ts +2 -2
- package/dist/models/DescribeVpnCrossAccountAuthorizationsResponseBody.d.ts +5 -5
- package/dist/models/DescribeVpnGatewayResponseBody.d.ts +8 -8
- package/dist/models/DescribeVpnGatewaysRequest.d.ts +2 -2
- package/dist/models/DescribeVpnGatewaysResponseBody.d.ts +1 -1
- package/dist/models/DescribeVpnPbrRouteEntriesRequest.d.ts +1 -1
- package/dist/models/DescribeVpnPbrRouteEntriesResponseBody.d.ts +1 -1
- package/dist/models/DescribeVpnSslServerLogsRequest.d.ts +2 -2
- package/dist/models/DescribeVswitchesRequest.d.ts +7 -7
- package/dist/models/DescribeVswitchesResponseBody.d.ts +1 -1
- package/dist/models/DiagnoseVpnGatewayRequest.d.ts +1 -1
- package/dist/models/DiagnoseVpnGatewayResponseBody.d.ts +2 -2
- package/dist/models/DisassociateMacSecKeyRequest.d.ts +2 -2
- package/dist/models/DissociateVpnGatewayWithCertificateRequest.d.ts +2 -2
- package/dist/models/DownloadVpnConnectionConfigResponseBody.d.ts +11 -11
- package/dist/models/GetVpnGatewayDiagnoseResultRequest.d.ts +3 -3
- package/dist/models/GetVpnGatewayDiagnoseResultResponseBody.d.ts +12 -12
- package/dist/models/GrantInstanceToVbrRequest.d.ts +8 -8
- package/dist/models/GrantInstanceToVbrShrinkRequest.d.ts +8 -8
- package/dist/models/ListBusinessAccessPointsResponseBody.d.ts +40 -2
- package/dist/models/ListBusinessAccessPointsResponseBody.js.map +1 -1
- package/dist/models/ListIpsecServerLogsRequest.d.ts +2 -2
- package/dist/models/ListIpsecServerLogsResponseBody.d.ts +1 -1
- package/dist/models/ListIpsecServersRequest.d.ts +3 -3
- package/dist/models/ListIpsecServersResponseBody.d.ts +7 -7
- package/dist/models/ListVpnCertificateAssociationsRequest.d.ts +3 -3
- package/dist/models/ListVpnCertificateAssociationsResponseBody.d.ts +2 -2
- package/dist/models/ModifyCustomerGatewayAttributeRequest.d.ts +1 -1
- package/dist/models/ModifySslVpnServerRequest.d.ts +11 -11
- package/dist/models/ModifySslVpnServerResponseBody.d.ts +1 -1
- package/dist/models/ModifyVcoRouteEntryWeightRequest.d.ts +4 -4
- package/dist/models/ModifyVpnAttachmentAttributeRequest.d.ts +57 -133
- package/dist/models/ModifyVpnAttachmentAttributeRequest.js.map +1 -1
- package/dist/models/ModifyVpnAttachmentAttributeResponseBody.d.ts +54 -96
- package/dist/models/ModifyVpnAttachmentAttributeResponseBody.js.map +1 -1
- package/dist/models/ModifyVpnConnectionAttributeRequest.d.ts +77 -148
- package/dist/models/ModifyVpnConnectionAttributeRequest.js.map +1 -1
- package/dist/models/ModifyVpnConnectionAttributeResponseBody.d.ts +25 -52
- package/dist/models/ModifyVpnConnectionAttributeResponseBody.js.map +1 -1
- package/dist/models/ModifyVpnGatewayAttributeRequest.d.ts +5 -5
- package/dist/models/ModifyVpnPbrRouteEntryPriorityRequest.d.ts +5 -5
- package/dist/models/ModifyVpnRouteEntryWeightRequest.d.ts +2 -2
- package/dist/models/MoveVpnResourceGroupRequest.d.ts +2 -2
- package/dist/models/UpdateIpsecServerRequest.d.ts +1 -1
- package/package.json +1 -1
- package/src/client.ts +264 -255
- package/src/models/ActivateRouterInterfaceRequest.ts +1 -1
- package/src/models/AssociateMacSecKeyRequest.ts +3 -3
- package/src/models/AssociatePhysicalConnectionToVirtualBorderRouterRequest.ts +5 -7
- package/src/models/AssociateVpnGatewayWithCertificateRequest.ts +3 -3
- package/src/models/AttachVbrToVpconnRequest.ts +3 -3
- package/src/models/CancelPhysicalConnectionRequest.ts +1 -1
- package/src/models/CheckVpnBgpEnabledRequest.ts +1 -1
- package/src/models/CompletePhysicalConnectionLoarequest.ts +4 -4
- package/src/models/CreateCustomerGatewayRequest.ts +4 -4
- package/src/models/CreateCustomerGatewayResponseBody.ts +2 -2
- package/src/models/CreateFailoverTestJobRequest.ts +5 -5
- package/src/models/CreateIpsecServerRequest.ts +2 -2
- package/src/models/CreatePhysicalConnectionRequest.ts +13 -11
- package/src/models/CreatePhysicalConnectionSetupOrderRequest.ts +10 -8
- package/src/models/CreateSslVpnServerRequest.ts +11 -11
- package/src/models/CreateVbrHaRequest.ts +5 -5
- package/src/models/CreateVbrHaResponseBody.ts +1 -1
- package/src/models/CreateVcoRouteEntryRequest.ts +2 -2
- package/src/models/CreateVcoRouteEntryResponseBody.ts +1 -1
- package/src/models/CreateVpconnFromVbrRequest.ts +2 -2
- package/src/models/CreateVpnAttachmentRequest.ts +75 -135
- package/src/models/CreateVpnAttachmentResponseBody.ts +3 -3
- package/src/models/CreateVpnConnectionRequest.ts +99 -135
- package/src/models/CreateVpnConnectionResponseBody.ts +1 -1
- package/src/models/CreateVpnGatewayRequest.ts +17 -17
- package/src/models/CreateVpnGatewayResponseBody.ts +2 -2
- package/src/models/CreateVpnPbrRouteEntryRequest.ts +13 -13
- package/src/models/CreateVpnPbrRouteEntryResponseBody.ts +6 -6
- package/src/models/CreateVswitchCidrReservationRequest.ts +17 -7
- package/src/models/CreateVswitchRequest.ts +9 -9
- package/src/models/DeleteBgpGroupRequest.ts +2 -2
- package/src/models/DeleteFailoverTestJobRequest.ts +4 -4
- package/src/models/DeleteIpsecServerRequest.ts +4 -4
- package/src/models/DeleteNatGatewayRequest.ts +4 -4
- package/src/models/DeleteVbrHaRequest.ts +3 -3
- package/src/models/DeleteVpnGatewayRequest.ts +3 -3
- package/src/models/DeleteVpnRouteEntryRequest.ts +2 -2
- package/src/models/DescribeCustomerGatewayRequest.ts +1 -1
- package/src/models/DescribeCustomerGatewayResponseBody.ts +2 -2
- package/src/models/DescribeCustomerGatewaysRequest.ts +1 -1
- package/src/models/DescribeEipAddressesRequest.ts +8 -76
- package/src/models/DescribeExpressConnectTrafficQosQueueRequest.ts +5 -3
- package/src/models/DescribeExpressConnectTrafficQosQueueResponseBody.ts +12 -12
- package/src/models/DescribeExpressConnectTrafficQosRuleRequest.ts +10 -6
- package/src/models/DescribeExpressConnectTrafficQosRuleResponseBody.ts +16 -16
- package/src/models/DescribeFailoverTestJobRequest.ts +2 -2
- package/src/models/DescribeFailoverTestJobResponseBody.ts +6 -6
- package/src/models/DescribeFailoverTestJobsRequest.ts +8 -8
- package/src/models/DescribeFailoverTestJobsResponseBody.ts +14 -14
- package/src/models/DescribePhysicalConnectionLoarequest.ts +1 -1
- package/src/models/DescribePhysicalConnectionLoaresponseBody.ts +8 -4
- package/src/models/DescribePhysicalConnectionsRequest.ts +4 -0
- package/src/models/DescribeRouterInterfaceAttributeResponseBody.ts +22 -22
- package/src/models/DescribeSslVpnClientCertRequest.ts +1 -1
- package/src/models/DescribeSslVpnClientCertResponseBody.ts +3 -3
- package/src/models/DescribeSslVpnServersRequest.ts +1 -1
- package/src/models/DescribeSslVpnServersResponseBody.ts +1 -1
- package/src/models/DescribeTagKeysForExpressConnectRequest.ts +2 -0
- package/src/models/DescribeVbrHaRequest.ts +6 -6
- package/src/models/DescribeVbrHaResponseBody.ts +2 -2
- package/src/models/DescribeVcoRouteEntriesResponseBody.ts +10 -10
- package/src/models/DescribeVirtualBorderRoutersRequest.ts +6 -26
- package/src/models/DescribeVirtualBorderRoutersResponseBody.ts +2 -2
- package/src/models/DescribeVpcsRequest.ts +4 -4
- package/src/models/DescribeVpcsResponseBody.ts +1 -1
- package/src/models/DescribeVpnAttachmentsRequest.ts +4 -4
- package/src/models/DescribeVpnAttachmentsResponseBody.ts +9 -9
- package/src/models/DescribeVpnConnectionLogsRequest.ts +2 -2
- package/src/models/DescribeVpnConnectionLogsResponseBody.ts +1 -1
- package/src/models/DescribeVpnConnectionRequest.ts +2 -2
- package/src/models/DescribeVpnConnectionResponseBody.ts +21 -72
- package/src/models/DescribeVpnConnectionsRequest.ts +7 -9
- package/src/models/DescribeVpnCrossAccountAuthorizationsRequest.ts +2 -2
- package/src/models/DescribeVpnCrossAccountAuthorizationsResponseBody.ts +5 -5
- package/src/models/DescribeVpnGatewayResponseBody.ts +8 -8
- package/src/models/DescribeVpnGatewaysRequest.ts +2 -2
- package/src/models/DescribeVpnGatewaysResponseBody.ts +1 -1
- package/src/models/DescribeVpnPbrRouteEntriesRequest.ts +1 -1
- package/src/models/DescribeVpnPbrRouteEntriesResponseBody.ts +1 -1
- package/src/models/DescribeVpnSslServerLogsRequest.ts +2 -2
- package/src/models/DescribeVswitchesRequest.ts +7 -7
- package/src/models/DescribeVswitchesResponseBody.ts +1 -1
- package/src/models/DiagnoseVpnGatewayRequest.ts +1 -1
- package/src/models/DiagnoseVpnGatewayResponseBody.ts +2 -2
- package/src/models/DisassociateMacSecKeyRequest.ts +2 -2
- package/src/models/DissociateVpnGatewayWithCertificateRequest.ts +2 -2
- package/src/models/DownloadVpnConnectionConfigResponseBody.ts +11 -11
- package/src/models/GetVpnGatewayDiagnoseResultRequest.ts +3 -3
- package/src/models/GetVpnGatewayDiagnoseResultResponseBody.ts +12 -12
- package/src/models/GrantInstanceToVbrRequest.ts +8 -8
- package/src/models/GrantInstanceToVbrShrinkRequest.ts +8 -8
- package/src/models/ListBusinessAccessPointsResponseBody.ts +40 -2
- package/src/models/ListIpsecServerLogsRequest.ts +2 -2
- package/src/models/ListIpsecServerLogsResponseBody.ts +1 -1
- package/src/models/ListIpsecServersRequest.ts +3 -3
- package/src/models/ListIpsecServersResponseBody.ts +7 -7
- package/src/models/ListVpnCertificateAssociationsRequest.ts +3 -3
- package/src/models/ListVpnCertificateAssociationsResponseBody.ts +2 -2
- package/src/models/ModifyCustomerGatewayAttributeRequest.ts +1 -1
- package/src/models/ModifySslVpnServerRequest.ts +11 -11
- package/src/models/ModifySslVpnServerResponseBody.ts +1 -1
- package/src/models/ModifyVcoRouteEntryWeightRequest.ts +4 -4
- package/src/models/ModifyVpnAttachmentAttributeRequest.ts +57 -133
- package/src/models/ModifyVpnAttachmentAttributeResponseBody.ts +55 -97
- package/src/models/ModifyVpnConnectionAttributeRequest.ts +84 -155
- package/src/models/ModifyVpnConnectionAttributeResponseBody.ts +26 -53
- package/src/models/ModifyVpnGatewayAttributeRequest.ts +5 -5
- package/src/models/ModifyVpnPbrRouteEntryPriorityRequest.ts +5 -5
- package/src/models/ModifyVpnRouteEntryWeightRequest.ts +2 -2
- package/src/models/MoveVpnResourceGroupRequest.ts +2 -2
- package/src/models/UpdateIpsecServerRequest.ts +1 -1
|
@@ -5,11 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The autonomous system number (ASN) on the
|
|
9
|
-
*
|
|
10
|
-
* > - This parameter can be configured or modified after you enable the BGP dynamic route feature for the IPsec-VPN connection (by setting **EnableTunnelsBgp** to **true**).
|
|
11
|
-
* >- Before you add BGP configurations, understand the working mechanism and limits of BGP dynamic route feature. For more information, see [Configure BGP dynamic routing](https://help.aliyun.com/document_detail/2638220.html).
|
|
12
|
-
* >- Use a private ASN to establish a BGP connection with Alibaba Cloud. Refer to the relevant documentation for the range of private ASNs.
|
|
8
|
+
* The autonomous system number (ASN) on the Alibaba Cloud side. Valid values: **1** to **4294967295**. Default value: **45104**.
|
|
13
9
|
*
|
|
14
10
|
* @example
|
|
15
11
|
* 65530
|
|
@@ -17,7 +13,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
17
13
|
localAsn?: number;
|
|
18
14
|
/**
|
|
19
15
|
* @remarks
|
|
20
|
-
* The BGP address on the
|
|
16
|
+
* The BGP IP address on the Alibaba Cloud side. This address is an IP address within the BGP CIDR block.
|
|
21
17
|
*
|
|
22
18
|
* @example
|
|
23
19
|
* 169.254.10.1
|
|
@@ -27,9 +23,9 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
27
23
|
* @remarks
|
|
28
24
|
* The BGP CIDR block of the tunnel.
|
|
29
25
|
*
|
|
30
|
-
* The CIDR block must be a
|
|
26
|
+
* The CIDR block must be a /30 CIDR block within 169.254.0.0/16, and cannot be 169.254.0.0/30, 169.254.1.0/30, 169.254.2.0/30, 169.254.3.0/30, 169.254.4.0/30, 169.254.5.0/30, 169.254.6.0/30, or 169.254.169.252/30.
|
|
31
27
|
*
|
|
32
|
-
* >
|
|
28
|
+
* >Within a VPN gateway instance, the BGP CIDR block of each tunnel must be unique.
|
|
33
29
|
*
|
|
34
30
|
* @example
|
|
35
31
|
* 169.254.10.0/30
|
|
@@ -63,13 +59,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
63
59
|
export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig extends $dara.Model {
|
|
64
60
|
/**
|
|
65
61
|
* @remarks
|
|
66
|
-
* The authentication algorithm
|
|
67
|
-
*
|
|
68
|
-
* <props="intl"><ph>Valid values: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**.</ph>
|
|
69
|
-
*
|
|
70
|
-
* <props="china"><ph>If the VPN gateway instance type is standard, valid values are **md5**, **sha1**, **sha256**, **sha384**, and **sha512**.</ph>
|
|
71
|
-
*
|
|
72
|
-
* <props="china"><ph>If the VPN gateway instance type is Chinese SM-based, the only valid value is **sm3**.</ph>
|
|
62
|
+
* The authentication algorithm for Phase 1 negotiation.
|
|
73
63
|
*
|
|
74
64
|
* @example
|
|
75
65
|
* md5
|
|
@@ -77,13 +67,13 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
77
67
|
ikeAuthAlg?: string;
|
|
78
68
|
/**
|
|
79
69
|
* @remarks
|
|
80
|
-
* The encryption algorithm used in Phase 1
|
|
70
|
+
* The encryption algorithm used in Phase 1 negotiations.
|
|
81
71
|
*
|
|
82
|
-
* <props="intl"><ph>Valid values: **aes**, **aes192**, **aes256**, **des**,
|
|
72
|
+
* <props="intl"><ph>Valid values: **aes**, **aes192**, **aes256**, **des**, or **3des**.</ph>
|
|
83
73
|
*
|
|
84
|
-
* <props="china"><ph>If the VPN gateway instance type is
|
|
74
|
+
* <props="china"><ph>If the VPN gateway instance type is Normal, valid values are **aes**, **aes192**, **aes256**, **des**, or **3des**.</ph>
|
|
85
75
|
*
|
|
86
|
-
* <props="china"><ph>If the VPN gateway instance type is Chinese SM
|
|
76
|
+
* <props="china"><ph>If the VPN gateway instance type is Chinese SM, the only valid value is **sm4**.</ph>
|
|
87
77
|
*
|
|
88
78
|
* @example
|
|
89
79
|
* aes
|
|
@@ -91,7 +81,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
91
81
|
ikeEncAlg?: string;
|
|
92
82
|
/**
|
|
93
83
|
* @remarks
|
|
94
|
-
* The SA
|
|
84
|
+
* The lifetime of the security association (SA) generated by Phase 1 negotiation. Unit: seconds. Valid values: **0** to **86400**.
|
|
95
85
|
*
|
|
96
86
|
* @example
|
|
97
87
|
* 86400
|
|
@@ -101,11 +91,6 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
101
91
|
* @remarks
|
|
102
92
|
* The negotiation mode of the IKE version. Valid values:
|
|
103
93
|
*
|
|
104
|
-
* - **main**: Main mode. This mode offers high security during negotiation.
|
|
105
|
-
* - **aggressive**: Aggressive mode. This mode supports fast negotiation and a higher success rate.
|
|
106
|
-
*
|
|
107
|
-
* <props="china"><ph>If the VPN gateway instance type is Chinese SM-based, only **main** is supported for the negotiation mode.</ph>
|
|
108
|
-
*
|
|
109
94
|
* @example
|
|
110
95
|
* main
|
|
111
96
|
*/
|
|
@@ -122,19 +107,13 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
122
107
|
* @remarks
|
|
123
108
|
* The version of the IKE protocol. Valid values: **ikev1** and **ikev2**.
|
|
124
109
|
*
|
|
125
|
-
* Compared with IKEv1, IKEv2 simplifies the SA negotiation process and provides better support for multi-CIDR-block scenarios.
|
|
126
|
-
*
|
|
127
|
-
* <props="china"><ph>If the VPN gateway instance type is Chinese SM-based, only **ikev1** is supported for the IKE version.</ph>
|
|
128
|
-
*
|
|
129
110
|
* @example
|
|
130
111
|
* ikev1
|
|
131
112
|
*/
|
|
132
113
|
ikeVersion?: string;
|
|
133
114
|
/**
|
|
134
115
|
* @remarks
|
|
135
|
-
* The identifier
|
|
136
|
-
*
|
|
137
|
-
* **LocalId** supports the FQDN format. If you use the FQDN format, set the negotiation mode to **aggressive**.
|
|
116
|
+
* The identifier on the Alibaba Cloud side, which is used for Phase 1 negotiation. The value can be up to 100 characters in length and cannot contain spaces. The default value is the IP address of the tunnel.
|
|
138
117
|
*
|
|
139
118
|
* @example
|
|
140
119
|
* 47.21.XX.XX
|
|
@@ -142,13 +121,13 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
142
121
|
localId?: string;
|
|
143
122
|
/**
|
|
144
123
|
* @remarks
|
|
145
|
-
* The pre-shared key used for identity authentication between the tunnel and the tunnel peer.
|
|
124
|
+
* The pre-shared key, which is used for identity authentication between the tunnel and the tunnel peer.
|
|
146
125
|
*
|
|
147
|
-
* - The key must be 1 to 100 characters in length and can contain digits, letters, and the following characters. It cannot contain spaces. ```~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?```
|
|
126
|
+
* - The key must be 1 to 100 characters in length and can contain digits, uppercase letters, lowercase letters, and the following characters. It cannot contain spaces. ```~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?```
|
|
148
127
|
*
|
|
149
|
-
* - If you do not specify a pre-shared key, the system generates a
|
|
128
|
+
* - If you do not specify a pre-shared key, the system randomly generates a 16-character string as the pre-shared key. You can call the [DescribeVpnConnection](https://help.aliyun.com/document_detail/2526951.html) operation to query the pre-shared key automatically generated by the system.
|
|
150
129
|
*
|
|
151
|
-
* > The pre-shared
|
|
130
|
+
* > The pre-shared keys of the tunnel and the tunnel peer must be the same. Otherwise, the tunnel cannot be established.
|
|
152
131
|
*
|
|
153
132
|
* @example
|
|
154
133
|
* 123456****
|
|
@@ -156,9 +135,9 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
156
135
|
psk?: string;
|
|
157
136
|
/**
|
|
158
137
|
* @remarks
|
|
159
|
-
* The identifier of the tunnel peer,
|
|
138
|
+
* The identifier of the tunnel peer, used for Phase 1 negotiation. The value can be up to 100 characters in length and cannot contain spaces. Default value: the IP address of the customer gateway associated with the tunnel.
|
|
160
139
|
*
|
|
161
|
-
*
|
|
140
|
+
* RemoteId supports the FQDN format. If you use the FQDN format, set the negotiation mode to **aggressive**.
|
|
162
141
|
*
|
|
163
142
|
* @example
|
|
164
143
|
* 47.42.XX.XX
|
|
@@ -204,13 +183,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
204
183
|
export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig extends $dara.Model {
|
|
205
184
|
/**
|
|
206
185
|
* @remarks
|
|
207
|
-
* The authentication algorithm
|
|
208
|
-
*
|
|
209
|
-
* <props="intl"><ph>Valid values: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**.</ph>
|
|
210
|
-
*
|
|
211
|
-
* <props="china"><ph>If the VPN gateway instance type is standard, valid values are **md5**, **sha1**, **sha256**, **sha384**, and **sha512**.</ph>
|
|
212
|
-
*
|
|
213
|
-
* <props="china"><ph>If the VPN gateway instance type is Chinese SM-based, the only valid value is **sm3**.</ph>
|
|
186
|
+
* The authentication algorithm for Phase 2 negotiation.
|
|
214
187
|
*
|
|
215
188
|
* @example
|
|
216
189
|
* md5
|
|
@@ -218,13 +191,13 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
218
191
|
ipsecAuthAlg?: string;
|
|
219
192
|
/**
|
|
220
193
|
* @remarks
|
|
221
|
-
* The encryption algorithm used in Phase 2
|
|
194
|
+
* The encryption algorithm used in Phase 2 negotiations.
|
|
222
195
|
*
|
|
223
|
-
* <props="intl"><ph>Valid values: **aes**, **aes192**, **aes256**, **des**,
|
|
196
|
+
* <props="intl"><ph>Valid values: **aes**, **aes192**, **aes256**, **des**, or **3des**.</ph>
|
|
224
197
|
*
|
|
225
|
-
* <props="china"><ph>If the VPN gateway instance type is
|
|
198
|
+
* <props="china"><ph>If the VPN gateway instance type is Normal, valid values are **aes**, **aes192**, **aes256**, **des**, or **3des**.</ph>
|
|
226
199
|
*
|
|
227
|
-
* <props="china"><ph>If the VPN gateway instance type is Chinese SM
|
|
200
|
+
* <props="china"><ph>If the VPN gateway instance type is Chinese SM, the only valid value is **sm4**.</ph>
|
|
228
201
|
*
|
|
229
202
|
* @example
|
|
230
203
|
* aes
|
|
@@ -232,7 +205,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
232
205
|
ipsecEncAlg?: string;
|
|
233
206
|
/**
|
|
234
207
|
* @remarks
|
|
235
|
-
* The SA
|
|
208
|
+
* The lifetime of the SA generated by Phase 2 negotiation. Unit: seconds. Valid values: **0** to **86400**.
|
|
236
209
|
*
|
|
237
210
|
* @example
|
|
238
211
|
* 86400
|
|
@@ -240,9 +213,9 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
240
213
|
ipsecLifetime?: number;
|
|
241
214
|
/**
|
|
242
215
|
* @remarks
|
|
243
|
-
* The Diffie-Hellman key exchange algorithm used in
|
|
216
|
+
* The Diffie-Hellman key exchange algorithm used in phase 2 negotiation.
|
|
244
217
|
*
|
|
245
|
-
* Valid values: **disabled**, **group1**, **group2**, **group5**,
|
|
218
|
+
* Valid values: **disabled**, **group1**, **group2**, **group5**, **group14**.
|
|
246
219
|
*
|
|
247
220
|
* @example
|
|
248
221
|
* group2
|
|
@@ -286,7 +259,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecification exten
|
|
|
286
259
|
customerGatewayId?: string;
|
|
287
260
|
/**
|
|
288
261
|
* @remarks
|
|
289
|
-
* Specifies whether to enable the
|
|
262
|
+
* Specifies whether to enable the Dead Peer Detection (DPD) feature for the tunnel. Valid values:
|
|
290
263
|
*
|
|
291
264
|
* - **true**: Enables the DPD feature. The IPsec initiator sends DPD packets to check whether the peer device is alive. If no correct response is received within the specified period of time, the peer is considered disconnected. The ISAKMP SA and the corresponding IPsec SA are deleted, and the security tunnel is also deleted.
|
|
292
265
|
*
|
|
@@ -298,7 +271,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecification exten
|
|
|
298
271
|
enableDpd?: boolean;
|
|
299
272
|
/**
|
|
300
273
|
* @remarks
|
|
301
|
-
* Specifies whether to enable
|
|
274
|
+
* Specifies whether to enable NAT traversal for the tunnel. Valid values:
|
|
302
275
|
*
|
|
303
276
|
* - **true**: Enables NAT traversal. After NAT traversal is enabled, the IKE negotiation process skips UDP port number verification and can discover NAT gateway devices in the VPN tunnel.
|
|
304
277
|
*
|
|
@@ -310,9 +283,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecification exten
|
|
|
310
283
|
enableNatTraversal?: boolean;
|
|
311
284
|
/**
|
|
312
285
|
* @remarks
|
|
313
|
-
* If the current VPN gateway instance is a Chinese SM-based VPN gateway, you can modify the CA certificate
|
|
314
|
-
*
|
|
315
|
-
* If the current VPN gateway instance is a standard VPN gateway, this parameter is not supported.
|
|
286
|
+
* If the current VPN gateway instance is a Chinese SM-based VPN gateway, you can modify the peer CA certificate for the tunnel.
|
|
316
287
|
*
|
|
317
288
|
* @example
|
|
318
289
|
* -----BEGIN CERTIFICATE----- MIIB7zCCAZW**** -----END CERTIFICATE-----
|
|
@@ -320,10 +291,10 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecification exten
|
|
|
320
291
|
remoteCaCertificate?: string;
|
|
321
292
|
/**
|
|
322
293
|
* @remarks
|
|
323
|
-
* The role of the tunnel.
|
|
294
|
+
* The role of the tunnel.
|
|
324
295
|
*
|
|
325
|
-
* - **master**: The tunnel is the
|
|
326
|
-
* - **slave**: The tunnel is the
|
|
296
|
+
* - **master**: The current tunnel is the primary tunnel.
|
|
297
|
+
* - **slave**: The current tunnel is the secondary tunnel.
|
|
327
298
|
*
|
|
328
299
|
* @example
|
|
329
300
|
* master
|
|
@@ -401,11 +372,11 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecification exten
|
|
|
401
372
|
export class ModifyVpnConnectionAttributeRequest extends $dara.Model {
|
|
402
373
|
/**
|
|
403
374
|
* @remarks
|
|
404
|
-
* Specifies whether to automatically publish
|
|
375
|
+
* Specifies whether to automatically publish routes. Valid values:
|
|
376
|
+
*
|
|
377
|
+
* - **true**: automatically publishes routes.
|
|
405
378
|
*
|
|
406
|
-
* - **
|
|
407
|
-
*
|
|
408
|
-
* - **false**: Does not automatically publish route entries.
|
|
379
|
+
* - **false**: does not automatically publish routes.
|
|
409
380
|
*
|
|
410
381
|
* @example
|
|
411
382
|
* true
|
|
@@ -413,27 +384,7 @@ export class ModifyVpnConnectionAttributeRequest extends $dara.Model {
|
|
|
413
384
|
autoConfigRoute?: boolean;
|
|
414
385
|
/**
|
|
415
386
|
* @remarks
|
|
416
|
-
* This parameter is supported when you modify a single-tunnel IPsec-VPN connection.
|
|
417
|
-
*
|
|
418
|
-
* The BGP configuration:
|
|
419
|
-
*
|
|
420
|
-
* - **BgpConfig.EnableBgp**: Specifies whether to enable the BGP feature. Valid values: **true** and **false**.
|
|
421
|
-
*
|
|
422
|
-
* - **BgpConfig.LocalAsn**: The autonomous system number (ASN) on the Alibaba Cloud side. Valid values: **1** to **4294967295**.
|
|
423
|
-
*
|
|
424
|
-
* The ASN can be entered in the two-segment format: the first 16 bits.the last 16 bits. Each segment is entered in decimal format.
|
|
425
|
-
*
|
|
426
|
-
* For example, if you enter 123.456, the ASN is 123 × 65536 + 456 = 8061384.
|
|
427
|
-
*
|
|
428
|
-
* - **BgpConfig.TunnelCidr**: The CIDR block of the IPsec tunnel. The CIDR block must be a mask length of 30 within 169.254.0.0/16 and cannot be 169.254.0.0/30, 169.254.1.0/30, 169.254.2.0/30, 169.254.3.0/30, 169.254.4.0/30, 169.254.5.0/30, 169.254.6.0/30, or 169.254.169.252/30.
|
|
429
|
-
*
|
|
430
|
-
* > The IPsec tunnel CIDR block of each IPsec-VPN connection under a VPN gateway instance must be unique.
|
|
431
|
-
*
|
|
432
|
-
* - **LocalBgpIp**: The BGP address on the Alibaba Cloud side. This address is an IP address within the IPsec tunnel CIDR block.
|
|
433
|
-
*
|
|
434
|
-
* > - Configure this parameter when BGP dynamic routing is enabled on your VPN gateway.
|
|
435
|
-
* >- Before you add BGP configurations, understand the working mechanism and limits of BGP dynamic routing. For more information, see [Configure BGP dynamic routing](https://help.aliyun.com/document_detail/2638220.html).
|
|
436
|
-
* >- Use a private ASN to establish a BGP connection with Alibaba Cloud. Refer to the relevant documentation for the range of private ASNs.
|
|
387
|
+
* This parameter is supported when you modify a single-tunnel mode IPsec-VPN connection.
|
|
437
388
|
*
|
|
438
389
|
* @example
|
|
439
390
|
* {"EnableBgp":"true","LocalAsn":"65530","TunnelCidr":"169.254.11.0/30","LocalBgpIp":"169.254.11.1"}
|
|
@@ -445,7 +396,7 @@ export class ModifyVpnConnectionAttributeRequest extends $dara.Model {
|
|
|
445
396
|
*
|
|
446
397
|
* 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.
|
|
447
398
|
*
|
|
448
|
-
* > If you do not specify this parameter, the system automatically uses the **RequestId** as the **ClientToken**. The **RequestId**
|
|
399
|
+
* > If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** of each API request is different.
|
|
449
400
|
*
|
|
450
401
|
* @example
|
|
451
402
|
* 02fb3da4-130e-11e9-8e44-0016e04115b
|
|
@@ -453,11 +404,7 @@ export class ModifyVpnConnectionAttributeRequest extends $dara.Model {
|
|
|
453
404
|
clientToken?: string;
|
|
454
405
|
/**
|
|
455
406
|
* @remarks
|
|
456
|
-
* Specifies whether the IPsec-VPN connection
|
|
457
|
-
*
|
|
458
|
-
* - **true**: The system immediately initiates IPsec protocol negotiation after the configuration is complete.
|
|
459
|
-
*
|
|
460
|
-
* - **false**: The system initiates IPsec protocol negotiation only when inbound traffic is detected.
|
|
407
|
+
* Specifies whether the configuration of the IPsec-VPN connection takes effect immediately. Valid values:
|
|
461
408
|
*
|
|
462
409
|
* @example
|
|
463
410
|
* false
|
|
@@ -467,11 +414,11 @@ export class ModifyVpnConnectionAttributeRequest extends $dara.Model {
|
|
|
467
414
|
* @remarks
|
|
468
415
|
* This parameter is supported when you modify a single-tunnel IPsec-VPN connection.
|
|
469
416
|
*
|
|
470
|
-
* Specifies whether to enable the
|
|
417
|
+
* Specifies whether to enable the Dead Peer Detection (DPD) feature. Valid values:
|
|
471
418
|
*
|
|
472
419
|
* - **true**: Enables the DPD feature. The IPsec initiator sends DPD packets to check whether the peer device is alive. If no correct response is received within the specified period of time, the peer is considered disconnected. The ISAKMP SA and the corresponding IPsec SA are deleted, and the security tunnel is also deleted.
|
|
473
420
|
*
|
|
474
|
-
* - **false**: Disables the DPD feature. The IPsec initiator does not send DPD packets.
|
|
421
|
+
* - **false**: Disables the DPD feature. The IPsec initiator does not send DPD probe packets.
|
|
475
422
|
*
|
|
476
423
|
* @example
|
|
477
424
|
* true
|
|
@@ -479,13 +426,13 @@ export class ModifyVpnConnectionAttributeRequest extends $dara.Model {
|
|
|
479
426
|
enableDpd?: boolean;
|
|
480
427
|
/**
|
|
481
428
|
* @remarks
|
|
482
|
-
* This parameter is supported when you modify
|
|
429
|
+
* This parameter is supported when you modify an IPsec-VPN connection in single-tunnel mode.
|
|
483
430
|
*
|
|
484
|
-
* Specifies whether to enable
|
|
431
|
+
* Specifies whether to enable NAT traversal. Valid values:
|
|
485
432
|
*
|
|
486
|
-
* - **true**:
|
|
433
|
+
* - **true**: enables NAT traversal. After NAT traversal is enabled, the IKE negotiation process skips UDP port number verification and can discover NAT gateway devices in the VPN tunnel.
|
|
487
434
|
*
|
|
488
|
-
* - **false**:
|
|
435
|
+
* - **false**: disables NAT traversal.
|
|
489
436
|
*
|
|
490
437
|
* @example
|
|
491
438
|
* true
|
|
@@ -495,7 +442,7 @@ export class ModifyVpnConnectionAttributeRequest extends $dara.Model {
|
|
|
495
442
|
* @remarks
|
|
496
443
|
* This parameter is supported when you modify a dual-tunnel IPsec-VPN connection.
|
|
497
444
|
*
|
|
498
|
-
* Specifies whether to enable BGP for the
|
|
445
|
+
* Specifies whether to enable BGP for the tunnel. Valid values: **true** or **false**.
|
|
499
446
|
*
|
|
500
447
|
* @example
|
|
501
448
|
* true
|
|
@@ -506,19 +453,7 @@ export class ModifyVpnConnectionAttributeRequest extends $dara.Model {
|
|
|
506
453
|
enableTunnelsBgp?: boolean;
|
|
507
454
|
/**
|
|
508
455
|
* @remarks
|
|
509
|
-
* This parameter is supported when you modify a single-tunnel IPsec-VPN connection.
|
|
510
|
-
*
|
|
511
|
-
* The health check configuration:
|
|
512
|
-
*
|
|
513
|
-
* - **HealthCheckConfig.enable**: Specifies whether to enable health checks. Valid values: **true** and **false**.
|
|
514
|
-
*
|
|
515
|
-
* - **HealthCheckConfig.dip**: The destination IP address of the health check.
|
|
516
|
-
*
|
|
517
|
-
* - **HealthCheckConfig.sip**: The source IP address of the health check.
|
|
518
|
-
*
|
|
519
|
-
* - **HealthCheckConfig.interval**: The retry interval of the health check. Unit: seconds.
|
|
520
|
-
*
|
|
521
|
-
* - **HealthCheckConfig.retry**: The number of retries for the health check.
|
|
456
|
+
* This parameter is supported when you modify a single-tunnel mode IPsec-VPN connection.
|
|
522
457
|
*
|
|
523
458
|
* @example
|
|
524
459
|
* {"enable":"true","dip":"192.168.1.1","sip":"10.1.1.1","interval":"3","retry":"3"}
|
|
@@ -526,49 +461,49 @@ export class ModifyVpnConnectionAttributeRequest extends $dara.Model {
|
|
|
526
461
|
healthCheckConfig?: string;
|
|
527
462
|
/**
|
|
528
463
|
* @remarks
|
|
529
|
-
* This parameter is supported when you modify
|
|
464
|
+
* This parameter is supported when you modify an IPsec-VPN connection in single-tunnel mode.
|
|
530
465
|
*
|
|
531
|
-
* The Phase 1 negotiation
|
|
532
|
-
*
|
|
533
|
-
* - **IkeConfig.Psk**: The pre-shared key used for identity authentication between the VPN gateway and the on-premises data center.
|
|
466
|
+
* The configuration of Phase 1 negotiation:
|
|
534
467
|
*
|
|
535
|
-
*
|
|
468
|
+
* - **IkeConfig.Psk**: The pre-shared key, which is used for identity authentication between the VPN gateway and the on-premises data center.
|
|
469
|
+
*
|
|
470
|
+
* - The key must be 1 to 100 characters in length and can contain digits, uppercase letters, lowercase letters, and the following characters. It cannot contain spaces. ```~!`@#$%^&*()_-+={}[]|;:\\",.<>/?```
|
|
536
471
|
* - If you do not specify a pre-shared key, the system generates a random 16-character string as the pre-shared key. You can call the [DescribeVpnConnection](https://help.aliyun.com/document_detail/2526951.html) operation to query the pre-shared key that is automatically generated by the system.
|
|
537
|
-
* > The pre-shared key on the IPsec-VPN connection side must be the same as the authentication key on the on-premises data center side. Otherwise, the connection between the on-premises data center and the VPN gateway cannot be established.
|
|
472
|
+
* > The pre-shared key on the IPsec-VPN connection side must be the same as the authentication key on the on-premises data center side. Otherwise, the connection between the on-premises data center and the VPN gateway cannot be established.
|
|
538
473
|
*
|
|
539
|
-
* - **IkeConfig.IkeVersion**: The version of the
|
|
474
|
+
* - **IkeConfig.IkeVersion**: The version of the Internet Key Exchange protocol. Valid values: **ikev1** and **ikev2**.
|
|
540
475
|
*
|
|
541
476
|
* Compared with IKEv1, IKEv2 simplifies the SA negotiation process and provides better support for multi-CIDR-block scenarios.
|
|
542
477
|
*
|
|
543
478
|
* <props="china"><ph>If the VPN gateway instance type is Chinese SM-based, only **ikev1** is supported for the IKE version.</ph>
|
|
544
479
|
*
|
|
545
|
-
* - **IkeConfig.IkeMode**: The negotiation mode of the IKE version. Valid values: **main** and **aggressive**.
|
|
546
|
-
* - **main**: Main mode. This mode offers high security
|
|
547
|
-
* - **aggressive**: Aggressive mode. This mode
|
|
480
|
+
* - **IkeConfig.IkeMode**: The negotiation mode of the IKE version. Valid values: **main** and **aggressive**.
|
|
481
|
+
* - **main**: Main mode. This mode offers high negotiation security.
|
|
482
|
+
* - **aggressive**: Aggressive mode. This mode offers fast negotiation and a high success rate.
|
|
548
483
|
*
|
|
549
484
|
* <props="china"><ph>If the VPN gateway instance type is Chinese SM-based, only **main** is supported for the negotiation mode.</ph>
|
|
550
485
|
*
|
|
551
486
|
* - **IkeConfig.IkeEncAlg**: The encryption algorithm used in Phase 1 negotiation.
|
|
552
487
|
*
|
|
553
|
-
* <props="intl"><ph>Valid values: **aes**, **aes192**, **aes256**, **des**,
|
|
488
|
+
* <props="intl"><ph>Valid values: **aes**, **aes192**, **aes256**, **des**, or **3des**.</ph>
|
|
554
489
|
*
|
|
555
|
-
* <props="china"><ph>If the VPN gateway instance type is
|
|
490
|
+
* <props="china"><ph>If the VPN gateway instance type is normal, valid values are **aes**, **aes192**, **aes256**, **des**, or **3des**.</ph>
|
|
556
491
|
*
|
|
557
492
|
* <props="china"><ph>If the VPN gateway instance type is Chinese SM-based, the only valid value is **sm4**.</ph>
|
|
558
493
|
*
|
|
559
494
|
* - **IkeConfig.IkeAuthAlg**: The authentication algorithm used in Phase 1 negotiation.
|
|
560
495
|
*
|
|
561
|
-
* <props="intl"><ph>Valid values: **md5**, **sha1**, **sha256**, **sha384**,
|
|
496
|
+
* <props="intl"><ph>Valid values: **md5**, **sha1**, **sha256**, **sha384**, or **sha512**.</ph>
|
|
562
497
|
*
|
|
563
|
-
* <props="china"><ph>If the VPN gateway instance type is
|
|
498
|
+
* <props="china"><ph>If the VPN gateway instance type is normal, valid values are **md5**, **sha1**, **sha256**, **sha384**, or **sha512**.</ph>
|
|
564
499
|
*
|
|
565
500
|
* <props="china"><ph>If the VPN gateway instance type is Chinese SM-based, the only valid value is **sm3**.</ph>
|
|
566
501
|
*
|
|
567
|
-
* - **IkeConfig.IkePfs**: The Diffie-Hellman key exchange algorithm used in Phase 1 negotiation. Valid values: **group1**, **group2**, **group5**,
|
|
502
|
+
* - **IkeConfig.IkePfs**: The Diffie-Hellman key exchange algorithm used in Phase 1 negotiation. Valid values: **group1**, **group2**, **group5**, or **group14**.
|
|
568
503
|
*
|
|
569
|
-
* - **IkeConfig.IkeLifetime**: The SA
|
|
504
|
+
* - **IkeConfig.IkeLifetime**: The lifetime of the SA negotiated in Phase 1. Unit: seconds. Valid values: **0** to **86400**.
|
|
570
505
|
*
|
|
571
|
-
* - **IkeConfig.LocalId**: The identifier of the VPN gateway. The identifier can be up to 100 characters in length and cannot contain spaces. The default value is the IP address of the VPN gateway.
|
|
506
|
+
* - **IkeConfig.LocalId**: The identifier of the VPN gateway. The identifier can be up to 100 characters in length and cannot contain spaces. The default value is the IP address of the VPN gateway.
|
|
572
507
|
*
|
|
573
508
|
* - **IkeConfig.RemoteId**: The identifier of the customer gateway. The identifier can be up to 100 characters in length and cannot contain spaces. The default value is the IP address of the customer gateway.
|
|
574
509
|
*
|
|
@@ -580,27 +515,27 @@ export class ModifyVpnConnectionAttributeRequest extends $dara.Model {
|
|
|
580
515
|
* @remarks
|
|
581
516
|
* This parameter is supported when you modify a single-tunnel IPsec-VPN connection.
|
|
582
517
|
*
|
|
583
|
-
* The Phase 2 negotiation
|
|
518
|
+
* The configuration of Phase 2 negotiation:
|
|
584
519
|
*
|
|
585
520
|
* - **IpsecConfig.IpsecEncAlg**: The encryption algorithm used in Phase 2 negotiation.
|
|
586
521
|
*
|
|
587
|
-
* <props="intl"><ph>Valid values: **aes**, **aes192**, **aes256**, **des**,
|
|
522
|
+
* <props="intl"><ph>Valid values: **aes**, **aes192**, **aes256**, **des**, or **3des**.</ph>
|
|
588
523
|
*
|
|
589
|
-
* <props="china"><ph>If the VPN gateway instance type is
|
|
524
|
+
* <props="china"><ph>If the VPN gateway instance type is Normal, valid values: **aes**, **aes192**, **aes256**, **des**, or **3des**.</ph>
|
|
590
525
|
*
|
|
591
|
-
* <props="china"><ph>If the VPN gateway instance type is
|
|
526
|
+
* <props="china"><ph>If the VPN gateway instance type is ShangMi, the only valid value is **sm4**.</ph>
|
|
592
527
|
*
|
|
593
|
-
* - **IpsecConfig.
|
|
528
|
+
* - **IpsecConfig.IpsecAuthAlg**: The authentication algorithm used in Phase 2 negotiation.
|
|
594
529
|
*
|
|
595
|
-
* <props="intl"><ph>Valid values: **md5**, **sha1**, **sha256**, **sha384**,
|
|
530
|
+
* <props="intl"><ph>Valid values: **md5**, **sha1**, **sha256**, **sha384**, **sha512**.</ph>
|
|
596
531
|
*
|
|
597
|
-
* <props="china"><ph>If the VPN gateway instance type is
|
|
532
|
+
* <props="china"><ph>If the VPN gateway instance type is Normal, valid values: **md5**, **sha1**, **sha256**, **sha384**, **sha512**.</ph>
|
|
598
533
|
*
|
|
599
|
-
* <props="china"><ph>If the VPN gateway instance type is
|
|
534
|
+
* <props="china"><ph>If the VPN gateway instance type is ShangMi, the only valid value is **sm3**.</ph>
|
|
600
535
|
*
|
|
601
|
-
* - **IpsecConfig.
|
|
536
|
+
* - **IpsecConfig.IpsecPfs**: The Diffie-Hellman key exchange algorithm used in Phase 1 negotiation for forwarding packets of all protocols. Valid values: **disabled**, **group1**, **group2**, **group5**, **group14**.
|
|
602
537
|
*
|
|
603
|
-
* - **IpsecConfig.
|
|
538
|
+
* - **IpsecConfig.IpsecLifetime**: The lifetime of the security association (SA) established in Phase 2 negotiation. Unit: seconds. Valid values: **0** to **86400**.
|
|
604
539
|
*
|
|
605
540
|
* @example
|
|
606
541
|
* {"IpsecEncAlg":"aes","IpsecAuthAlg":"sha1","IpsecPfs":"group2","IpsecLifetime":86400}
|
|
@@ -608,14 +543,14 @@ export class ModifyVpnConnectionAttributeRequest extends $dara.Model {
|
|
|
608
543
|
ipsecConfig?: string;
|
|
609
544
|
/**
|
|
610
545
|
* @remarks
|
|
611
|
-
* The CIDR block on the VPC side that needs to communicate with the on-premises data center. This
|
|
546
|
+
* The CIDR block on the VPC side that needs to communicate with the on-premises data center. This parameter is used for Phase 2 negotiation.
|
|
612
547
|
*
|
|
613
548
|
* Separate multiple CIDR blocks with commas (,). Example: 192.168.1.0/24,192.168.2.0/24.
|
|
614
549
|
*
|
|
615
|
-
*
|
|
550
|
+
* Description of the IPsec-VPN connection routing mode:
|
|
616
551
|
*
|
|
617
|
-
* - If
|
|
618
|
-
* - If
|
|
552
|
+
* - If both **LocalSubnet** and **RemoteSubnet** are set to 0.0.0.0/0, the destination routing mode is used.
|
|
553
|
+
* - If both **LocalSubnet** and **RemoteSubnet** are set to specific CIDR blocks, the protected data flow mode is used.
|
|
619
554
|
*
|
|
620
555
|
* @example
|
|
621
556
|
* 10.1.1.0/24,10.1.2.0/24
|
|
@@ -623,7 +558,7 @@ export class ModifyVpnConnectionAttributeRequest extends $dara.Model {
|
|
|
623
558
|
localSubnet?: string;
|
|
624
559
|
/**
|
|
625
560
|
* @remarks
|
|
626
|
-
* The name of the IPsec-VPN connection.
|
|
561
|
+
* The name of the IPsec-VPN connection.
|
|
627
562
|
*
|
|
628
563
|
* The name must be 1 to 100 characters in length and cannot start with `http://` or `https://`.
|
|
629
564
|
*
|
|
@@ -635,7 +570,7 @@ export class ModifyVpnConnectionAttributeRequest extends $dara.Model {
|
|
|
635
570
|
ownerId?: number;
|
|
636
571
|
/**
|
|
637
572
|
* @remarks
|
|
638
|
-
* The region ID of the IPsec-VPN connection.
|
|
573
|
+
* The region ID of the IPsec-VPN connection.
|
|
639
574
|
*
|
|
640
575
|
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the region ID.
|
|
641
576
|
*
|
|
@@ -647,11 +582,7 @@ export class ModifyVpnConnectionAttributeRequest extends $dara.Model {
|
|
|
647
582
|
regionId?: string;
|
|
648
583
|
/**
|
|
649
584
|
* @remarks
|
|
650
|
-
* This parameter is supported when you modify a single-tunnel IPsec-VPN connection.
|
|
651
|
-
*
|
|
652
|
-
* If the current VPN gateway instance is a Chinese SM-based VPN gateway, you can modify the CA certificate of the peer.
|
|
653
|
-
*
|
|
654
|
-
* If the current VPN gateway instance is a standard VPN gateway, this parameter is not supported.
|
|
585
|
+
* This parameter is supported when you modify a single-tunnel mode IPsec-VPN connection.
|
|
655
586
|
*
|
|
656
587
|
* @example
|
|
657
588
|
* -----BEGIN CERTIFICATE----- MIIB7zCCAZW**** -----END CERTIFICATE-----
|
|
@@ -659,14 +590,14 @@ export class ModifyVpnConnectionAttributeRequest extends $dara.Model {
|
|
|
659
590
|
remoteCaCertificate?: string;
|
|
660
591
|
/**
|
|
661
592
|
* @remarks
|
|
662
|
-
* The CIDR block on the on-premises data center side
|
|
593
|
+
* The CIDR block on the on-premises data center side, used for Phase 2 negotiation.
|
|
663
594
|
*
|
|
664
595
|
* Separate multiple CIDR blocks with commas (,). Example: 192.168.3.0/24,192.168.4.0/24.
|
|
665
596
|
*
|
|
666
|
-
*
|
|
597
|
+
* Description of the routing mode for the IPsec-VPN connection:
|
|
667
598
|
*
|
|
668
|
-
* - If
|
|
669
|
-
* - If
|
|
599
|
+
* - If both **LocalSubnet** and **RemoteSubnet** are set to 0.0.0.0/0, the destination routing mode is used.
|
|
600
|
+
* - If both **LocalSubnet** and **RemoteSubnet** are set to specific CIDR blocks, the protected data flow mode is used.
|
|
670
601
|
*
|
|
671
602
|
* @example
|
|
672
603
|
* 10.2.1.0/24,10.2.2.0/24
|
|
@@ -678,8 +609,6 @@ export class ModifyVpnConnectionAttributeRequest extends $dara.Model {
|
|
|
678
609
|
* @remarks
|
|
679
610
|
* The tunnel configurations to modify.
|
|
680
611
|
*
|
|
681
|
-
* The parameters under the **TunnelOptionsSpecification** array are supported only when you modify a dual-tunnel IPsec-VPN connection. You can modify the configurations of both the active and standby tunnels of the IPsec-VPN connection at the same time.
|
|
682
|
-
*
|
|
683
612
|
* **if can be null:**
|
|
684
613
|
* true
|
|
685
614
|
*/
|