@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,9 +5,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateVpnAttachmentRequestTags extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The tag key.
|
|
8
|
+
* The tag key. This value cannot be an empty string.
|
|
9
9
|
*
|
|
10
|
-
* The tag key can be up to 64 characters in length
|
|
10
|
+
* The tag key can be up to 64 characters in length. It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.
|
|
11
11
|
*
|
|
12
12
|
* You can specify up to 20 tag keys at a time.
|
|
13
13
|
*
|
|
@@ -19,10 +19,6 @@ export class CreateVpnAttachmentRequestTags extends $dara.Model {
|
|
|
19
19
|
* @remarks
|
|
20
20
|
* The tag value.
|
|
21
21
|
*
|
|
22
|
-
* The tag value can be up to 128 characters in length and can be an empty string. It cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.
|
|
23
|
-
*
|
|
24
|
-
* Each tag key corresponds to one tag value. You can specify up to 20 tag values at a time.
|
|
25
|
-
*
|
|
26
22
|
* @example
|
|
27
23
|
* TagValue
|
|
28
24
|
*/
|
|
@@ -53,9 +49,7 @@ export class CreateVpnAttachmentRequestTags extends $dara.Model {
|
|
|
53
49
|
export class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelBgpConfig extends $dara.Model {
|
|
54
50
|
/**
|
|
55
51
|
* @remarks
|
|
56
|
-
* The autonomous system number on the
|
|
57
|
-
*
|
|
58
|
-
* > We recommend that you use a private autonomous system number to establish a BGP connection with Alibaba Cloud. Refer to the relevant documentation for the range of private autonomous system numbers.
|
|
52
|
+
* The autonomous system number (ASN) on the Alibaba Cloud side of the tunnel. Valid values: **1** to **4294967295**. Default value: **45104**.
|
|
59
53
|
*
|
|
60
54
|
* @example
|
|
61
55
|
* 65530
|
|
@@ -63,7 +57,7 @@ export class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelBgpConfig
|
|
|
63
57
|
localAsn?: number;
|
|
64
58
|
/**
|
|
65
59
|
* @remarks
|
|
66
|
-
* The BGP address on the
|
|
60
|
+
* The BGP address on the Alibaba Cloud side of the tunnel. This address is an IP address within the BGP CIDR block.
|
|
67
61
|
*
|
|
68
62
|
* @example
|
|
69
63
|
* 169.254.10.1
|
|
@@ -71,9 +65,7 @@ export class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelBgpConfig
|
|
|
71
65
|
localBgpIp?: string;
|
|
72
66
|
/**
|
|
73
67
|
* @remarks
|
|
74
|
-
* The BGP CIDR block of the tunnel. The CIDR block must fall within 169.254.0.0/16 and have a mask length of 30
|
|
75
|
-
*
|
|
76
|
-
* > The tunnel CIDR blocks of the two tunnels under an IPsec-VPN connection must be different.
|
|
68
|
+
* The BGP CIDR block of the tunnel. The CIDR block must fall within 169.254.0.0/16 and have a mask length of 30. The CIDR block 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.
|
|
77
69
|
*
|
|
78
70
|
* @example
|
|
79
71
|
* 169.254.10.0/30
|
|
@@ -107,7 +99,7 @@ export class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelBgpConfig
|
|
|
107
99
|
export class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIkeConfig extends $dara.Model {
|
|
108
100
|
/**
|
|
109
101
|
* @remarks
|
|
110
|
-
* The authentication algorithm
|
|
102
|
+
* The authentication algorithm for Phase 1 negotiation. Valid values: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**. Default value: **sha1**.
|
|
111
103
|
*
|
|
112
104
|
* @example
|
|
113
105
|
* sha1
|
|
@@ -115,7 +107,7 @@ export class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIkeConfig
|
|
|
115
107
|
ikeAuthAlg?: string;
|
|
116
108
|
/**
|
|
117
109
|
* @remarks
|
|
118
|
-
* The encryption algorithm
|
|
110
|
+
* The encryption algorithm for Phase 1 negotiation. Valid values: **aes**, **aes192**, **aes256**, **des**, or **3des**. Default value: **aes**.
|
|
119
111
|
*
|
|
120
112
|
* @example
|
|
121
113
|
* aes
|
|
@@ -123,7 +115,7 @@ export class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIkeConfig
|
|
|
123
115
|
ikeEncAlg?: string;
|
|
124
116
|
/**
|
|
125
117
|
* @remarks
|
|
126
|
-
* The lifetime of the SA
|
|
118
|
+
* The lifetime of the security association (SA) negotiated during Phase 1. Unit: seconds.
|
|
127
119
|
*
|
|
128
120
|
* Valid values: **0** to **86400**. Default value: **86400**.
|
|
129
121
|
*
|
|
@@ -133,10 +125,10 @@ export class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIkeConfig
|
|
|
133
125
|
ikeLifetime?: number;
|
|
134
126
|
/**
|
|
135
127
|
* @remarks
|
|
136
|
-
* The negotiation mode of the IKE version. Valid values: **main** or **aggressive**. Default value: **main**.
|
|
128
|
+
* The negotiation mode of the IKE version. Valid values: **main** or **aggressive**. Default value: **main**.
|
|
137
129
|
*
|
|
138
|
-
* - **main**:
|
|
139
|
-
* - **aggressive**:
|
|
130
|
+
* - **main**: Main mode. The negotiation process is highly secure.
|
|
131
|
+
* - **aggressive**: Aggressive mode. Negotiation is fast and has a high success rate.
|
|
140
132
|
*
|
|
141
133
|
* @example
|
|
142
134
|
* main
|
|
@@ -144,7 +136,8 @@ export class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIkeConfig
|
|
|
144
136
|
ikeMode?: string;
|
|
145
137
|
/**
|
|
146
138
|
* @remarks
|
|
147
|
-
* The Diffie-Hellman key exchange algorithm used in
|
|
139
|
+
* The Diffie-Hellman key exchange algorithm used in the first-phase negotiation. Default value: **group2**.
|
|
140
|
+
*
|
|
148
141
|
* Valid values: **group1**, **group2**, **group5**, **group14**.
|
|
149
142
|
*
|
|
150
143
|
* @example
|
|
@@ -163,9 +156,7 @@ export class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIkeConfig
|
|
|
163
156
|
ikeVersion?: string;
|
|
164
157
|
/**
|
|
165
158
|
* @remarks
|
|
166
|
-
* The identifier on the
|
|
167
|
-
*
|
|
168
|
-
* **LocalId** supports the FQDN format. If you use the FQDN format, we recommend that you set the negotiation mode to **aggressive**.
|
|
159
|
+
* The identifier on the Alibaba Cloud side of the tunnel, 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.
|
|
169
160
|
*
|
|
170
161
|
* @example
|
|
171
162
|
* 47.XX.XX.1
|
|
@@ -173,13 +164,13 @@ export class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIkeConfig
|
|
|
173
164
|
localId?: string;
|
|
174
165
|
/**
|
|
175
166
|
* @remarks
|
|
176
|
-
* The pre-shared key used for identity authentication between the tunnel and the tunnel peer.
|
|
167
|
+
* The pre-shared key, which is used for identity authentication between the tunnel and the tunnel peer.
|
|
177
168
|
*
|
|
178
|
-
* - The key must be 1 to 100 characters in length and can contain digits, uppercase
|
|
169
|
+
* - 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.
|
|
179
170
|
*
|
|
180
|
-
* - 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 [DescribeVpnAttachments](https://help.aliyun.com/document_detail/2526939.html) operation to query the pre-shared key
|
|
171
|
+
* - 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 [DescribeVpnAttachments](https://help.aliyun.com/document_detail/2526939.html) operation to query the pre-shared key automatically generated by the system.
|
|
181
172
|
*
|
|
182
|
-
* > The pre-shared keys of the tunnel and the tunnel peer must be the same. Otherwise, the
|
|
173
|
+
* > The pre-shared keys of the tunnel and the tunnel peer must be the same. Otherwise, the tunnel cannot be established.
|
|
183
174
|
*
|
|
184
175
|
* @example
|
|
185
176
|
* 123456****
|
|
@@ -187,9 +178,7 @@ export class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIkeConfig
|
|
|
187
178
|
psk?: string;
|
|
188
179
|
/**
|
|
189
180
|
* @remarks
|
|
190
|
-
* The identifier of the tunnel peer,
|
|
191
|
-
*
|
|
192
|
-
* **RemoteId** supports the FQDN format. If you use the FQDN format, we recommend that you set the negotiation mode to **aggressive**.
|
|
181
|
+
* 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. The default value is the IP address of the customer gateway associated with the tunnel.
|
|
193
182
|
*
|
|
194
183
|
* @example
|
|
195
184
|
* 47.XX.XX.2
|
|
@@ -235,9 +224,7 @@ export class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIkeConfig
|
|
|
235
224
|
export class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIpsecConfig extends $dara.Model {
|
|
236
225
|
/**
|
|
237
226
|
* @remarks
|
|
238
|
-
* The authentication algorithm
|
|
239
|
-
*
|
|
240
|
-
* Valid values: **md5**, **sha1**, **sha256**, **sha384**, **sha512**. Default value: **sha1**.
|
|
227
|
+
* The authentication algorithm for Phase 2 negotiation.
|
|
241
228
|
*
|
|
242
229
|
* @example
|
|
243
230
|
* sha1
|
|
@@ -245,7 +232,7 @@ export class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIpsecConf
|
|
|
245
232
|
ipsecAuthAlg?: string;
|
|
246
233
|
/**
|
|
247
234
|
* @remarks
|
|
248
|
-
* The encryption algorithm
|
|
235
|
+
* The encryption algorithm for Phase 2 negotiation. Valid values: **aes**, **aes192**, **aes256**, **des**, or **3des**. Default value: **aes**.
|
|
249
236
|
*
|
|
250
237
|
* @example
|
|
251
238
|
* aes
|
|
@@ -253,9 +240,7 @@ export class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIpsecConf
|
|
|
253
240
|
ipsecEncAlg?: string;
|
|
254
241
|
/**
|
|
255
242
|
* @remarks
|
|
256
|
-
* The lifetime of the SA
|
|
257
|
-
*
|
|
258
|
-
* Valid values: **0** to **86400**. Default value: **86400**.
|
|
243
|
+
* The lifetime of the SA negotiated in Phase 2. Unit: seconds.
|
|
259
244
|
*
|
|
260
245
|
* @example
|
|
261
246
|
* 86400
|
|
@@ -263,7 +248,7 @@ export class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIpsecConf
|
|
|
263
248
|
ipsecLifetime?: number;
|
|
264
249
|
/**
|
|
265
250
|
* @remarks
|
|
266
|
-
* The Diffie-Hellman key exchange algorithm used in
|
|
251
|
+
* The Diffie-Hellman key exchange algorithm used in the second phase of negotiation. Default value: **group2**.
|
|
267
252
|
*
|
|
268
253
|
* Valid values: **disabled**, **group1**, **group2**, **group5**, **group14**.
|
|
269
254
|
*
|
|
@@ -301,9 +286,7 @@ export class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIpsecConf
|
|
|
301
286
|
export class CreateVpnAttachmentRequestTunnelOptionsSpecification extends $dara.Model {
|
|
302
287
|
/**
|
|
303
288
|
* @remarks
|
|
304
|
-
* The customer gateway
|
|
305
|
-
*
|
|
306
|
-
* > This parameter is required when you create a dual-tunnel IPsec-VPN connection.
|
|
289
|
+
* The ID of the customer gateway associated with the tunnel.
|
|
307
290
|
*
|
|
308
291
|
* @example
|
|
309
292
|
* cgw-p0w2jemrcj5u61un8****
|
|
@@ -313,10 +296,6 @@ export class CreateVpnAttachmentRequestTunnelOptionsSpecification extends $dara.
|
|
|
313
296
|
* @remarks
|
|
314
297
|
* Specifies whether to enable the Dead Peer Detection (DPD) feature for the tunnel. Valid values:
|
|
315
298
|
*
|
|
316
|
-
* - **true** (default): Enables the DPD feature. The IPsec initiator sends DPD packets to check the existence and availability of the peer. If no correct response is received within the specified time, the connection fails. Then, the ISAKMP SA, IPsec SA, and IPsec tunnel are deleted.
|
|
317
|
-
*
|
|
318
|
-
* - **false**: Disables the DPD feature. The IPsec initiator does not send DPD packets.
|
|
319
|
-
*
|
|
320
299
|
* @example
|
|
321
300
|
* true
|
|
322
301
|
*/
|
|
@@ -325,7 +304,7 @@ export class CreateVpnAttachmentRequestTunnelOptionsSpecification extends $dara.
|
|
|
325
304
|
* @remarks
|
|
326
305
|
* Specifies whether to enable NAT traversal for the tunnel. Valid values:
|
|
327
306
|
*
|
|
328
|
-
* - **true** (default): Enables NAT traversal. After NAT traversal is enabled, the
|
|
307
|
+
* - **true** (default): 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 tunnel.
|
|
329
308
|
*
|
|
330
309
|
* - **false**: Disables NAT traversal.
|
|
331
310
|
*
|
|
@@ -336,8 +315,6 @@ export class CreateVpnAttachmentRequestTunnelOptionsSpecification extends $dara.
|
|
|
336
315
|
/**
|
|
337
316
|
* @remarks
|
|
338
317
|
* The BGP configuration for the tunnel.
|
|
339
|
-
*
|
|
340
|
-
* > This parameter is required when you enable BGP for the IPsec-VPN connection (set **EnableTunnelsBgp** to **true**).
|
|
341
318
|
*/
|
|
342
319
|
tunnelBgpConfig?: CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelBgpConfig;
|
|
343
320
|
/**
|
|
@@ -347,10 +324,7 @@ export class CreateVpnAttachmentRequestTunnelOptionsSpecification extends $dara.
|
|
|
347
324
|
tunnelIkeConfig?: CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIkeConfig;
|
|
348
325
|
/**
|
|
349
326
|
* @remarks
|
|
350
|
-
* The order
|
|
351
|
-
*
|
|
352
|
-
* - **1**: the first tunnel.
|
|
353
|
-
* - **2**: the second tunnel.
|
|
327
|
+
* The creation order of the tunnel.
|
|
354
328
|
*
|
|
355
329
|
* @example
|
|
356
330
|
* 1
|
|
@@ -408,9 +382,9 @@ export class CreateVpnAttachmentRequest extends $dara.Model {
|
|
|
408
382
|
* @remarks
|
|
409
383
|
* Specifies whether to automatically configure routes. Valid values:
|
|
410
384
|
*
|
|
411
|
-
* - **true** (default): Automatically
|
|
385
|
+
* - **true** (default): Automatically configures routes.
|
|
412
386
|
*
|
|
413
|
-
* - **false**:
|
|
387
|
+
* - **false**: Does not automatically configure routes.
|
|
414
388
|
*
|
|
415
389
|
* @example
|
|
416
390
|
* true
|
|
@@ -418,24 +392,24 @@ export class CreateVpnAttachmentRequest extends $dara.Model {
|
|
|
418
392
|
autoConfigRoute?: boolean;
|
|
419
393
|
/**
|
|
420
394
|
* @remarks
|
|
421
|
-
* This parameter is supported when you create
|
|
395
|
+
* This parameter is supported when you create an IPsec-VPN connection in single-tunnel mode.
|
|
422
396
|
*
|
|
423
397
|
* BGP configuration:
|
|
424
398
|
*
|
|
425
|
-
* - **BgpConfig.EnableBgp**:
|
|
399
|
+
* - **BgpConfig.EnableBgp**: specifies whether to enable BGP. Valid values: **true** or **false** (default).
|
|
426
400
|
*
|
|
427
|
-
* - **BgpConfig.LocalAsn**:
|
|
401
|
+
* - **BgpConfig.LocalAsn**: the autonomous system number (ASN) on the Alibaba Cloud side. Valid values: **1** to **4294967295**. Default value: **45104**.
|
|
428
402
|
*
|
|
429
|
-
* You can enter the
|
|
403
|
+
* You can enter the ASN in the two-segment format: the first 16 bits.the last 16 bits. Each segment is entered in decimal notation.
|
|
430
404
|
*
|
|
431
|
-
* For example, if you enter 123.456, the
|
|
405
|
+
* For example, if you enter 123.456, the ASN is 123×65536+456=8061384.
|
|
432
406
|
*
|
|
433
|
-
* - **BgpConfig.TunnelCidr**:
|
|
407
|
+
* - **BgpConfig.TunnelCidr**: the CIDR block of the IPsec tunnel. The CIDR block must be a /30 subnet 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.
|
|
434
408
|
*
|
|
435
|
-
* - **LocalBgpIp**:
|
|
409
|
+
* - **LocalBgpIp**: the BGP IP address on the Alibaba Cloud side. This address must be an IP address within the IPsec tunnel CIDR block.
|
|
436
410
|
*
|
|
437
|
-
* > - Before you
|
|
438
|
-
* > - Use a private
|
|
411
|
+
* > - Before you configure BGP, we recommend that you familiarize yourself with how BGP dynamic routing works and its limits. For more information, see [Configure BGP dynamic routing](https://help.aliyun.com/document_detail/445767.html).
|
|
412
|
+
* > - Use a private ASN to establish a BGP connection with Alibaba Cloud. Refer to the relevant documentation for the private ASN range.
|
|
439
413
|
*
|
|
440
414
|
* @example
|
|
441
415
|
* {"EnableBgp":"true","LocalAsn":"45104","TunnelCidr":"169.254.11.0/30","LocalBgpIp":"169.254.11.1"}
|
|
@@ -445,9 +419,9 @@ export class CreateVpnAttachmentRequest extends $dara.Model {
|
|
|
445
419
|
* @remarks
|
|
446
420
|
* The client token that is used to ensure the idempotence of the request.
|
|
447
421
|
*
|
|
448
|
-
* You can use the client to generate the token, but you must make sure that the token is unique among different requests. The
|
|
422
|
+
* 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.
|
|
449
423
|
*
|
|
450
|
-
* > If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId**
|
|
424
|
+
* > 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.
|
|
451
425
|
*
|
|
452
426
|
* @example
|
|
453
427
|
* 123e4567-e89b-12d3-a456-4266****
|
|
@@ -457,8 +431,6 @@ export class CreateVpnAttachmentRequest extends $dara.Model {
|
|
|
457
431
|
* @remarks
|
|
458
432
|
* The customer gateway ID.
|
|
459
433
|
*
|
|
460
|
-
* > This parameter is required only when you create a single-tunnel IPsec-VPN connection.
|
|
461
|
-
*
|
|
462
434
|
* @example
|
|
463
435
|
* cgw-p0w2jemrcj5u61un8****
|
|
464
436
|
*/
|
|
@@ -467,8 +439,8 @@ export class CreateVpnAttachmentRequest extends $dara.Model {
|
|
|
467
439
|
* @remarks
|
|
468
440
|
* Specifies whether to perform a dry run. Valid values:
|
|
469
441
|
*
|
|
470
|
-
* - **true**: performs a dry run without creating the IPsec-VPN connection. The system checks the required parameters, request
|
|
471
|
-
* - **false** (default): performs
|
|
442
|
+
* - **true**: performs a dry run without creating the IPsec-VPN connection. The system checks the required parameters, request syntax, and business limits. If the check fails, the corresponding error is returned. If the check passes, the error code `DryRunOperation` is returned.
|
|
443
|
+
* - **false** (default): performs the request. After the check passes, the IPsec-VPN connection is created.
|
|
472
444
|
*
|
|
473
445
|
* @example
|
|
474
446
|
* false
|
|
@@ -476,10 +448,10 @@ export class CreateVpnAttachmentRequest extends $dara.Model {
|
|
|
476
448
|
dryRun?: boolean;
|
|
477
449
|
/**
|
|
478
450
|
* @remarks
|
|
479
|
-
* Specifies whether the configuration takes effect immediately. Valid values:
|
|
451
|
+
* Specifies whether the IPsec-VPN connection configuration takes effect immediately. Valid values:
|
|
480
452
|
*
|
|
481
|
-
* - **true**: The system initiates IPsec protocol negotiation
|
|
482
|
-
* - **false** (default): The system initiates IPsec protocol negotiation only when traffic
|
|
453
|
+
* - **true**: The system immediately initiates IPsec protocol negotiation after the configuration is complete.
|
|
454
|
+
* - **false** (default): The system initiates IPsec protocol negotiation only when inbound traffic is detected.
|
|
483
455
|
*
|
|
484
456
|
* @example
|
|
485
457
|
* false
|
|
@@ -487,13 +459,13 @@ export class CreateVpnAttachmentRequest extends $dara.Model {
|
|
|
487
459
|
effectImmediately?: boolean;
|
|
488
460
|
/**
|
|
489
461
|
* @remarks
|
|
490
|
-
* This parameter is supported when you create
|
|
462
|
+
* This parameter is supported when you create an IPsec-VPN connection in single-tunnel mode.
|
|
491
463
|
*
|
|
492
464
|
* Specifies whether to enable the Dead Peer Detection (DPD) feature. Valid values:
|
|
493
465
|
*
|
|
494
|
-
* - **true** (default): Enables the DPD feature. The IPsec initiator sends DPD packets to check the
|
|
466
|
+
* - **true** (default): 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.
|
|
495
467
|
*
|
|
496
|
-
* - **false**: Disables the DPD feature. The IPsec initiator does not send DPD packets.
|
|
468
|
+
* - **false**: Disables the DPD feature. The IPsec initiator does not send DPD probe packets.
|
|
497
469
|
*
|
|
498
470
|
* @example
|
|
499
471
|
* true
|
|
@@ -501,11 +473,11 @@ export class CreateVpnAttachmentRequest extends $dara.Model {
|
|
|
501
473
|
enableDpd?: boolean;
|
|
502
474
|
/**
|
|
503
475
|
* @remarks
|
|
504
|
-
* This parameter is supported when you create
|
|
476
|
+
* This parameter is supported when you create an IPsec-VPN connection in single-tunnel mode.
|
|
505
477
|
*
|
|
506
478
|
* Specifies whether to enable NAT traversal. Valid values:
|
|
507
479
|
*
|
|
508
|
-
* - **true** (default): Enables NAT traversal. After NAT traversal is enabled, the
|
|
480
|
+
* - **true** (default): 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.
|
|
509
481
|
*
|
|
510
482
|
* - **false**: Disables NAT traversal.
|
|
511
483
|
*
|
|
@@ -515,11 +487,7 @@ export class CreateVpnAttachmentRequest extends $dara.Model {
|
|
|
515
487
|
enableNatTraversal?: boolean;
|
|
516
488
|
/**
|
|
517
489
|
* @remarks
|
|
518
|
-
* This parameter is supported when you create
|
|
519
|
-
*
|
|
520
|
-
* Specifies whether to enable the BGP dynamic routing feature for the tunnels. Valid values: **true** or **false** (default).
|
|
521
|
-
*
|
|
522
|
-
* > Before you add BGP configurations, learn about how the BGP dynamic routing feature works and its limits. For more information, see [Configure BGP dynamic routing](https://help.aliyun.com/document_detail/445767.html).
|
|
490
|
+
* This parameter is supported when you create an IPsec-VPN connection in dual-tunnel mode.
|
|
523
491
|
*
|
|
524
492
|
* @example
|
|
525
493
|
* false
|
|
@@ -527,24 +495,7 @@ export class CreateVpnAttachmentRequest extends $dara.Model {
|
|
|
527
495
|
enableTunnelsBgp?: boolean;
|
|
528
496
|
/**
|
|
529
497
|
* @remarks
|
|
530
|
-
* This parameter is supported when you create
|
|
531
|
-
*
|
|
532
|
-
* Health check configuration:
|
|
533
|
-
*
|
|
534
|
-
* - **HealthCheckConfig.enable**: Specifies whether to enable health checks. Valid values: **true** or **false** (default).
|
|
535
|
-
*
|
|
536
|
-
* - **HealthCheckConfig.dip**: The destination IP address of the health check. Enter an IP address of the on-premises data center that can be accessed from the VPC side through the IPsec-VPN connection.
|
|
537
|
-
*
|
|
538
|
-
* - **HealthCheckConfig.sip**: The source IP address of the health check. Enter an IP address on the VPC side that can be accessed from the on-premises data center through the IPsec-VPN connection.
|
|
539
|
-
*
|
|
540
|
-
* - **HealthCheckConfig.interval**: The retry interval of the health check. Unit: seconds. Default value: **3**.
|
|
541
|
-
*
|
|
542
|
-
* - **HealthCheckConfig.retry**: The number of retry packets sent during the health check. Default value: **3**.
|
|
543
|
-
*
|
|
544
|
-
* - **HealthCheckConfig.Policy**: Specifies whether to withdraw published routes when the health check fails. Valid values:
|
|
545
|
-
*
|
|
546
|
-
* - **revoke_route** (default): Withdraw published routes.
|
|
547
|
-
* - **reserve_route**: Do not withdraw published routes.
|
|
498
|
+
* This parameter is supported when you create an IPsec-VPN connection in single-tunnel mode.
|
|
548
499
|
*
|
|
549
500
|
* @example
|
|
550
501
|
* {"enable":"true","dip":"192.168.1.1","sip":"10.1.1.1","interval":"3","retry":"3","Policy": "revoke_route"}
|
|
@@ -552,16 +503,16 @@ export class CreateVpnAttachmentRequest extends $dara.Model {
|
|
|
552
503
|
healthCheckConfig?: string;
|
|
553
504
|
/**
|
|
554
505
|
* @remarks
|
|
555
|
-
* This parameter is supported when you create
|
|
506
|
+
* This parameter is supported when you create an IPsec-VPN connection in single-tunnel mode.
|
|
556
507
|
*
|
|
557
508
|
* Phase 1 negotiation configuration:
|
|
558
509
|
*
|
|
559
|
-
* - **IkeConfig.Psk**: The pre-shared key used for identity authentication between the VPN gateway and the on-premises data center.
|
|
510
|
+
* - **IkeConfig.Psk**: The pre-shared key, which is used for identity authentication between the VPN gateway and the on-premises data center.
|
|
560
511
|
*
|
|
561
|
-
* - The key must be 1 to 100 characters in length and can contain digits, uppercase
|
|
562
|
-
* - If you do not specify a pre-shared key, the system randomly generates a 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
|
|
512
|
+
* - 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. ```~!`@#$%^&*()_-+={}[]|;:\\",.<>/?```
|
|
513
|
+
* - If you do not specify a pre-shared key, the system randomly generates a 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.
|
|
563
514
|
*
|
|
564
|
-
* > 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,
|
|
515
|
+
* > 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, a connection cannot be established between the on-premises data center and the VPN gateway.
|
|
565
516
|
*
|
|
566
517
|
* - **IkeConfig.IkeVersion**: The version of the IKE protocol. Valid values: **ikev1** or **ikev2**. Default value: **ikev1**.
|
|
567
518
|
*
|
|
@@ -569,15 +520,15 @@ export class CreateVpnAttachmentRequest extends $dara.Model {
|
|
|
569
520
|
*
|
|
570
521
|
* - **IkeConfig.IkeEncAlg**: The encryption algorithm used in Phase 1 negotiation. Valid values: **aes**, **aes192**, **aes256**, **des**, or **3des**. Default value: **aes**.
|
|
571
522
|
*
|
|
572
|
-
* - **IkeConfig.IkeAuthAlg**: The authentication algorithm used in Phase 1 negotiation. Valid values: **md5**, **sha1**, **sha256**, **sha384**, **sha512**. Default value: **md5**.
|
|
523
|
+
* - **IkeConfig.IkeAuthAlg**: The authentication algorithm used in Phase 1 negotiation. Valid values: **md5**, **sha1**, **sha256**, **sha384**, or **sha512**. Default value: **md5**.
|
|
573
524
|
*
|
|
574
525
|
* - **IkeConfig.IkePfs**: The Diffie-Hellman key exchange algorithm used in Phase 1 negotiation. Valid values: **group1**, **group2**, **group5**, or **group14**. Default value: **group2**.
|
|
575
526
|
*
|
|
576
527
|
* - **IkeConfig.IkeLifetime**: The lifetime of the SA generated in Phase 1 negotiation. Unit: seconds. Valid values: **0** to **86400**. Default value: **86400**.
|
|
577
528
|
*
|
|
578
|
-
* - **IkeConfig.LocalId**: The identifier on the Alibaba Cloud side of the IPsec-VPN connection. The identifier
|
|
529
|
+
* - **IkeConfig.LocalId**: The identifier on the Alibaba Cloud side of the IPsec-VPN connection. The identifier can be up to 100 characters in length and cannot contain spaces. Default value: empty.
|
|
579
530
|
*
|
|
580
|
-
* - **IkeConfig.RemoteId**: The identifier on the on-premises data center side of the IPsec-VPN connection. The identifier
|
|
531
|
+
* - **IkeConfig.RemoteId**: The identifier on the on-premises data center side of the IPsec-VPN connection. The identifier can be up to 100 characters in length and cannot contain spaces. Default value: the IP address of the customer gateway.
|
|
581
532
|
*
|
|
582
533
|
* @example
|
|
583
534
|
* {"Psk":"1234****","IkeVersion":"ikev1","IkeMode":"main","IkeEncAlg":"aes","IkeAuthAlg":"sha1","IkePfs":"group2","IkeLifetime":86400,"LocalId":"47.XX.XX.1","RemoteId":"47.XX.XX.2"}
|
|
@@ -585,17 +536,17 @@ export class CreateVpnAttachmentRequest extends $dara.Model {
|
|
|
585
536
|
ikeConfig?: string;
|
|
586
537
|
/**
|
|
587
538
|
* @remarks
|
|
588
|
-
* This parameter is supported when you create
|
|
539
|
+
* This parameter is supported when you create an IPsec-VPN connection in single-tunnel mode.
|
|
589
540
|
*
|
|
590
|
-
* Phase 2 negotiation
|
|
541
|
+
* The configuration of Phase 2 negotiation:
|
|
591
542
|
*
|
|
592
|
-
* - **IpsecConfig.IpsecEncAlg**: The encryption algorithm
|
|
543
|
+
* - **IpsecConfig.IpsecEncAlg**: The encryption algorithm for Phase 2 negotiation. Valid values: **aes**, **aes192**, **aes256**, **des**, or **3des**. Default value: **aes**.
|
|
593
544
|
*
|
|
594
|
-
* - **IpsecConfig.IpsecAuthAlg**: The authentication algorithm
|
|
545
|
+
* - **IpsecConfig.IpsecAuthAlg**: The authentication algorithm for Phase 2 negotiation. Valid values: **md5**, **sha1**, **sha256**, **sha384**, **sha512**. Default value: **md5**.
|
|
595
546
|
*
|
|
596
|
-
* - **IpsecConfig.IpsecPfs**: The Diffie-Hellman key exchange algorithm used in Phase 2 negotiation. Valid values: **disabled**, **group1**, **group2**, **group5**, or **group14**. Default value: **group2**.
|
|
547
|
+
* - **IpsecConfig.IpsecPfs**: The Diffie-Hellman key exchange algorithm used in Phase 2 negotiation. Valid values: **disabled**, **group1**, **group2**, **group5**, or **group14**. Default value: **group2**.
|
|
597
548
|
*
|
|
598
|
-
* - **IpsecConfig.IpsecLifetime**: The lifetime of the SA
|
|
549
|
+
* - **IpsecConfig.IpsecLifetime**: The lifetime of the SA negotiated in Phase 2. Unit: seconds. Valid values: **0** to **86400**. Default value: **86400**.
|
|
599
550
|
*
|
|
600
551
|
* @example
|
|
601
552
|
* {"IpsecEncAlg":"aes","IpsecAuthAlg":"sha1","IpsecPfs":"group2","IpsecLifetime":86400}
|
|
@@ -603,14 +554,14 @@ export class CreateVpnAttachmentRequest extends $dara.Model {
|
|
|
603
554
|
ipsecConfig?: string;
|
|
604
555
|
/**
|
|
605
556
|
* @remarks
|
|
606
|
-
* The CIDR block on the VPC side that needs to communicate with the on-premises data center. This
|
|
557
|
+
* The CIDR block on the VPC side that needs to communicate with the on-premises data center. This is used for Phase 2 negotiation.
|
|
607
558
|
*
|
|
608
559
|
* Separate multiple CIDR blocks with commas (,). Example: 192.168.1.0/24,192.168.2.0/24.
|
|
609
560
|
*
|
|
610
|
-
*
|
|
561
|
+
* Description of IPsec-VPN connection routing modes:
|
|
611
562
|
*
|
|
612
563
|
* - If both **LocalSubnet** and **RemoteSubnet** are set to 0.0.0.0/0, the destination routing mode is used.
|
|
613
|
-
* - If both **LocalSubnet** and **RemoteSubnet** are set to specific CIDR blocks, the
|
|
564
|
+
* - If both **LocalSubnet** and **RemoteSubnet** are set to specific CIDR blocks, the protected data flow mode is used.
|
|
614
565
|
*
|
|
615
566
|
* This parameter is required.
|
|
616
567
|
*
|
|
@@ -622,8 +573,6 @@ export class CreateVpnAttachmentRequest extends $dara.Model {
|
|
|
622
573
|
* @remarks
|
|
623
574
|
* The name of the IPsec-VPN connection.
|
|
624
575
|
*
|
|
625
|
-
* The name must be 1 to 100 characters in length and cannot start with `http://` or `https://`.
|
|
626
|
-
*
|
|
627
576
|
* @example
|
|
628
577
|
* nametest
|
|
629
578
|
*/
|
|
@@ -643,7 +592,7 @@ export class CreateVpnAttachmentRequest extends $dara.Model {
|
|
|
643
592
|
* @remarks
|
|
644
593
|
* The region ID of the IPsec-VPN connection.
|
|
645
594
|
*
|
|
646
|
-
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query
|
|
595
|
+
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query region IDs.
|
|
647
596
|
*
|
|
648
597
|
* This parameter is required.
|
|
649
598
|
*
|
|
@@ -655,22 +604,20 @@ export class CreateVpnAttachmentRequest extends $dara.Model {
|
|
|
655
604
|
* @remarks
|
|
656
605
|
* The CA certificate of the peer.
|
|
657
606
|
*
|
|
658
|
-
* > This parameter is not in effect.
|
|
659
|
-
*
|
|
660
607
|
* @example
|
|
661
608
|
* -----BEGIN CERTIFICATE----- MIIB7zCCAZW**** -----END CERTIFICATE-----
|
|
662
609
|
*/
|
|
663
610
|
remoteCaCert?: string;
|
|
664
611
|
/**
|
|
665
612
|
* @remarks
|
|
666
|
-
* The CIDR block
|
|
613
|
+
* The CIDR block of the on-premises data center that needs to communicate with the VPC. This is used for Phase 2 negotiation.
|
|
667
614
|
*
|
|
668
615
|
* Separate multiple CIDR blocks with commas (,). Example: 192.168.3.0/24,192.168.4.0/24.
|
|
669
616
|
*
|
|
670
|
-
*
|
|
617
|
+
* Description of the routing mode for the IPsec-VPN connection:
|
|
671
618
|
*
|
|
672
619
|
* - If both **LocalSubnet** and **RemoteSubnet** are set to 0.0.0.0/0, the destination routing mode is used.
|
|
673
|
-
* - If both **LocalSubnet** and **RemoteSubnet** are set to specific CIDR blocks, the
|
|
620
|
+
* - If both **LocalSubnet** and **RemoteSubnet** are set to specific CIDR blocks, the protected data flow mode is used.
|
|
674
621
|
*
|
|
675
622
|
* This parameter is required.
|
|
676
623
|
*
|
|
@@ -682,9 +629,6 @@ export class CreateVpnAttachmentRequest extends $dara.Model {
|
|
|
682
629
|
* @remarks
|
|
683
630
|
* The ID of the resource group to which the IPsec-VPN connection belongs.
|
|
684
631
|
*
|
|
685
|
-
* - You can call the [ListResourceGroups](https://help.aliyun.com/document_detail/158855.html) operation to query the resource group ID.
|
|
686
|
-
* - If you do not specify a resource group ID, the IPsec-VPN connection belongs to the default resource group after it is created.
|
|
687
|
-
*
|
|
688
632
|
* @example
|
|
689
633
|
* rg-acfmzs372yg****
|
|
690
634
|
*/
|
|
@@ -694,15 +638,11 @@ export class CreateVpnAttachmentRequest extends $dara.Model {
|
|
|
694
638
|
/**
|
|
695
639
|
* @remarks
|
|
696
640
|
* The list of tags to add to the IPsec-VPN connection.
|
|
697
|
-
*
|
|
698
|
-
* You can add up to 20 tags to an IPsec-VPN connection at a time.
|
|
699
641
|
*/
|
|
700
642
|
tags?: CreateVpnAttachmentRequestTags[];
|
|
701
643
|
/**
|
|
702
644
|
* @remarks
|
|
703
645
|
* The bandwidth specification of a single VPN tunnel. Valid values:
|
|
704
|
-
* - Standard (default): standard. The default bandwidth is 1 Gbps.
|
|
705
|
-
* - Large: large. The default bandwidth is 3 Gbps.
|
|
706
646
|
*
|
|
707
647
|
* @example
|
|
708
648
|
* Standard
|
|
@@ -710,10 +650,10 @@ export class CreateVpnAttachmentRequest extends $dara.Model {
|
|
|
710
650
|
tunnelBandwidth?: string;
|
|
711
651
|
/**
|
|
712
652
|
* @remarks
|
|
713
|
-
*
|
|
653
|
+
* Configures tunnels.
|
|
714
654
|
*
|
|
715
|
-
* -
|
|
716
|
-
* - When you create a dual-tunnel IPsec-VPN connection, you must add two tunnels
|
|
655
|
+
* - When you create a dual-tunnel IPsec-VPN connection, you can configure the parameters in the **TunnelOptionsSpecification** array.
|
|
656
|
+
* - When you create a dual-tunnel IPsec-VPN connection, you must add two tunnels to the IPsec-VPN connection to ensure link redundancy. Only two tunnels can be added to an IPsec-VPN connection.
|
|
717
657
|
*
|
|
718
658
|
* **if can be null:**
|
|
719
659
|
* true
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateVpnAttachmentResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The status code returned by the current task. **200** indicates that the task is successful.
|
|
8
|
+
* The status code returned by the current task. A value of **200** indicates that the task is successful.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 200
|
|
@@ -15,7 +15,7 @@ export class CreateVpnAttachmentResponseBody extends $dara.Model {
|
|
|
15
15
|
* @remarks
|
|
16
16
|
* The timestamp when the IPsec-VPN connection was created. Unit: milliseconds.
|
|
17
17
|
*
|
|
18
|
-
* The timestamp
|
|
18
|
+
* The timestamp is in the UNIX timestamp format, which represents the total number of milliseconds that have elapsed since January 1, 1970, 00:00:00 (UTC) to the time when the IPsec-VPN connection was created.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* 1658201810000
|
|
@@ -50,7 +50,7 @@ export class CreateVpnAttachmentResponseBody extends $dara.Model {
|
|
|
50
50
|
* Indicates whether the current task is successfully executed.
|
|
51
51
|
*
|
|
52
52
|
* - **true**: Successfully executed.
|
|
53
|
-
* - **false**:
|
|
53
|
+
* - **false**: Not successfully executed.
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
56
56
|
* true
|