@alicloud/vpc20160428 7.2.4 → 7.3.0
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 +413 -318
- package/dist/client.js +479 -341
- package/dist/client.js.map +1 -1
- package/dist/models/ActivateRouterInterfaceRequest.d.ts +2 -1
- package/dist/models/ActivateRouterInterfaceRequest.js.map +1 -1
- package/dist/models/AllocateEipAddressRequest.d.ts +14 -14
- 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/AssociateVpcCidrBlockRequest.d.ts +5 -5
- package/dist/models/AssociateVpcCidrBlockResponseBody.d.ts +1 -1
- package/dist/models/AssociateVpnGatewayWithCertificateRequest.d.ts +3 -3
- package/dist/models/AttachDhcpOptionsSetToVpcRequest.d.ts +2 -2
- package/dist/models/AttachVbrToVpconnRequest.d.ts +8 -6
- package/dist/models/AttachVbrToVpconnRequest.js.map +1 -1
- package/dist/models/AttachVbrToVpconnResponseBody.d.ts +1 -1
- package/dist/models/CancelPhysicalConnectionRequest.d.ts +1 -1
- package/dist/models/CheckVpnBgpEnabledRequest.d.ts +1 -1
- package/dist/models/CompletePhysicalConnectionLoarequest.d.ts +10 -10
- package/dist/models/ConnectRouterInterfaceRequest.d.ts +1 -1
- package/dist/models/CreateCustomerGatewayRequest.d.ts +4 -4
- package/dist/models/CreateCustomerGatewayResponseBody.d.ts +1 -1
- package/dist/models/CreateEnhancedVpnGatewayRequest.d.ts +3 -3
- package/dist/models/CreateFailoverTestJobRequest.d.ts +11 -11
- package/dist/models/CreateFailoverTestJobResponseBody.d.ts +1 -1
- 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/CreateRouteTargetGroupRequest.d.ts +3 -3
- 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/CreateVirtualPhysicalConnectionRequest.d.ts +9 -9
- 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/DeleteBgpNetworkRequest.d.ts +4 -4
- 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/DeletePublicIpAddressPoolCidrBlockRequest.d.ts +3 -3
- package/dist/models/DeleteRouteEntriesRequest.d.ts +2 -2
- package/dist/models/DeleteRouteEntriesResponseBody.d.ts +2 -2
- 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 +3 -2
- package/dist/models/DescribePhysicalConnectionLoarequest.js.map +1 -1
- package/dist/models/DescribePhysicalConnectionLoaresponseBody.d.ts +14 -7
- package/dist/models/DescribePhysicalConnectionLoaresponseBody.js.map +1 -1
- package/dist/models/DescribePhysicalConnectionsRequest.d.ts +55 -0
- package/dist/models/DescribePhysicalConnectionsRequest.js.map +1 -1
- package/dist/models/DescribeRouterInterfaceAttributeResponseBody.d.ts +22 -22
- package/dist/models/DescribeRouterInterfacesRequest.d.ts +7 -7
- package/dist/models/DescribeRouterInterfacesResponseBody.d.ts +1 -1
- 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/DescribeVirtualBorderRoutersForPhysicalConnectionRequest.d.ts +3 -3
- 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/DescribeVpcGrantRulesToEcrRequest.d.ts +7 -7
- package/dist/models/DescribeVpcGrantRulesToEcrResponseBody.d.ts +8 -8
- package/dist/models/DescribeVpcsRequest.d.ts +7 -7
- 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/EnablePhysicalConnectionRequest.d.ts +5 -7
- package/dist/models/EnablePhysicalConnectionRequest.js.map +1 -1
- package/dist/models/GetNatGatewayAttributeRequest.d.ts +1 -1
- package/dist/models/GetNatGatewayAttributeResponseBody.d.ts +20 -20
- package/dist/models/GetVpnGatewayDiagnoseResultRequest.d.ts +3 -3
- package/dist/models/GetVpnGatewayDiagnoseResultResponseBody.d.ts +12 -12
- package/dist/models/GrantInstanceToVbrRequest.d.ts +6 -6
- package/dist/models/GrantInstanceToVbrShrinkRequest.d.ts +6 -6
- 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/ListVirtualPhysicalConnectionsRequest.d.ts +7 -7
- package/dist/models/ListVirtualPhysicalConnectionsResponseBody.d.ts +20 -20
- 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/ModifyPhysicalConnectionAttributeRequest.d.ts +10 -3
- package/dist/models/ModifyPhysicalConnectionAttributeRequest.js.map +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/ModifyVpcAttributeRequest.d.ts +4 -4
- package/dist/models/ModifyVpcCidrBlockRequest.d.ts +78 -0
- package/dist/models/ModifyVpcCidrBlockRequest.js +68 -0
- package/dist/models/ModifyVpcCidrBlockRequest.js.map +1 -0
- package/dist/models/ModifyVpcCidrBlockResponse.d.ts +19 -0
- package/dist/models/ModifyVpcCidrBlockResponse.js +69 -0
- package/dist/models/ModifyVpcCidrBlockResponse.js.map +1 -0
- package/dist/models/ModifyVpcCidrBlockResponseBody.d.ts +21 -0
- package/dist/models/ModifyVpcCidrBlockResponseBody.js +58 -0
- package/dist/models/ModifyVpcCidrBlockResponseBody.js.map +1 -0
- 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/MoveResourceGroupRequest.d.ts +1 -1
- package/dist/models/MoveVpnResourceGroupRequest.d.ts +2 -2
- package/dist/models/ReleaseEipAddressRequest.d.ts +2 -2
- package/dist/models/UnassociateVpcCidrBlockRequest.d.ts +3 -3
- package/dist/models/UpdateDhcpOptionsSetAttributeRequest.d.ts +8 -8
- package/dist/models/UpdateIpsecServerRequest.d.ts +1 -1
- package/dist/models/UpdateIpv4gatewayAttributeRequest.d.ts +6 -6
- package/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +11 -5
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +488 -341
- package/src/models/ActivateRouterInterfaceRequest.ts +3 -2
- package/src/models/AllocateEipAddressRequest.ts +14 -14
- package/src/models/AssociateMacSecKeyRequest.ts +3 -3
- package/src/models/AssociatePhysicalConnectionToVirtualBorderRouterRequest.ts +5 -7
- package/src/models/AssociateVpcCidrBlockRequest.ts +5 -5
- package/src/models/AssociateVpcCidrBlockResponseBody.ts +1 -1
- package/src/models/AssociateVpnGatewayWithCertificateRequest.ts +3 -3
- package/src/models/AttachDhcpOptionsSetToVpcRequest.ts +2 -2
- package/src/models/AttachVbrToVpconnRequest.ts +8 -6
- package/src/models/AttachVbrToVpconnResponseBody.ts +1 -1
- package/src/models/CancelPhysicalConnectionRequest.ts +1 -1
- package/src/models/CheckVpnBgpEnabledRequest.ts +1 -1
- package/src/models/CompletePhysicalConnectionLoarequest.ts +10 -10
- package/src/models/ConnectRouterInterfaceRequest.ts +1 -1
- package/src/models/CreateCustomerGatewayRequest.ts +4 -4
- package/src/models/CreateCustomerGatewayResponseBody.ts +1 -1
- package/src/models/CreateEnhancedVpnGatewayRequest.ts +3 -3
- package/src/models/CreateFailoverTestJobRequest.ts +11 -11
- package/src/models/CreateFailoverTestJobResponseBody.ts +1 -1
- package/src/models/CreateIpsecServerRequest.ts +2 -2
- package/src/models/CreatePhysicalConnectionRequest.ts +13 -11
- package/src/models/CreatePhysicalConnectionSetupOrderRequest.ts +10 -8
- package/src/models/CreateRouteTargetGroupRequest.ts +3 -3
- 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/CreateVirtualPhysicalConnectionRequest.ts +9 -9
- 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/DeleteBgpNetworkRequest.ts +4 -4
- package/src/models/DeleteFailoverTestJobRequest.ts +4 -4
- package/src/models/DeleteIpsecServerRequest.ts +4 -4
- package/src/models/DeleteNatGatewayRequest.ts +4 -4
- package/src/models/DeletePublicIpAddressPoolCidrBlockRequest.ts +3 -3
- package/src/models/DeleteRouteEntriesRequest.ts +2 -2
- package/src/models/DeleteRouteEntriesResponseBody.ts +2 -2
- 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 +3 -2
- package/src/models/DescribePhysicalConnectionLoaresponseBody.ts +14 -7
- package/src/models/DescribePhysicalConnectionsRequest.ts +56 -1
- package/src/models/DescribeRouterInterfaceAttributeResponseBody.ts +22 -22
- package/src/models/DescribeRouterInterfacesRequest.ts +7 -7
- package/src/models/DescribeRouterInterfacesResponseBody.ts +1 -1
- 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/DescribeVirtualBorderRoutersForPhysicalConnectionRequest.ts +3 -3
- package/src/models/DescribeVirtualBorderRoutersRequest.ts +6 -26
- package/src/models/DescribeVirtualBorderRoutersResponseBody.ts +2 -2
- package/src/models/DescribeVpcGrantRulesToEcrRequest.ts +7 -7
- package/src/models/DescribeVpcGrantRulesToEcrResponseBody.ts +8 -8
- package/src/models/DescribeVpcsRequest.ts +7 -7
- 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/EnablePhysicalConnectionRequest.ts +5 -7
- package/src/models/GetNatGatewayAttributeRequest.ts +1 -1
- package/src/models/GetNatGatewayAttributeResponseBody.ts +20 -20
- package/src/models/GetVpnGatewayDiagnoseResultRequest.ts +3 -3
- package/src/models/GetVpnGatewayDiagnoseResultResponseBody.ts +12 -12
- package/src/models/GrantInstanceToVbrRequest.ts +6 -6
- package/src/models/GrantInstanceToVbrShrinkRequest.ts +6 -6
- 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/ListVirtualPhysicalConnectionsRequest.ts +7 -7
- package/src/models/ListVirtualPhysicalConnectionsResponseBody.ts +20 -20
- package/src/models/ListVpnCertificateAssociationsRequest.ts +3 -3
- package/src/models/ListVpnCertificateAssociationsResponseBody.ts +2 -2
- package/src/models/ModifyCustomerGatewayAttributeRequest.ts +1 -1
- package/src/models/ModifyPhysicalConnectionAttributeRequest.ts +10 -3
- package/src/models/ModifySslVpnServerRequest.ts +11 -11
- package/src/models/ModifySslVpnServerResponseBody.ts +1 -1
- package/src/models/ModifyVcoRouteEntryWeightRequest.ts +4 -4
- package/src/models/ModifyVpcAttributeRequest.ts +4 -4
- package/src/models/ModifyVpcCidrBlockRequest.ts +101 -0
- package/src/models/ModifyVpcCidrBlockResponse.ts +40 -0
- package/src/models/ModifyVpcCidrBlockResponseBody.ts +34 -0
- 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/MoveResourceGroupRequest.ts +1 -1
- package/src/models/MoveVpnResourceGroupRequest.ts +2 -2
- package/src/models/ReleaseEipAddressRequest.ts +2 -2
- package/src/models/UnassociateVpcCidrBlockRequest.ts +3 -3
- package/src/models/UpdateDhcpOptionsSetAttributeRequest.ts +8 -8
- package/src/models/UpdateIpsecServerRequest.ts +1 -1
- package/src/models/UpdateIpv4gatewayAttributeRequest.ts +6 -6
- package/src/models/model.ts +3 -0
|
@@ -5,9 +5,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The autonomous system number on the
|
|
8
|
+
* The autonomous system number (ASN) on the Alibaba Cloud side of the tunnel. Valid values: **1** to **4294967295**. Default value: **45104**.
|
|
9
9
|
*
|
|
10
|
-
* >
|
|
10
|
+
* > Use a private ASN to establish a BGP connection with Alibaba Cloud. For the range of private ASNs, refer to the relevant documentation.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* 65530
|
|
@@ -15,7 +15,7 @@ export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
15
15
|
localAsn?: number;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The BGP
|
|
18
|
+
* The BGP address on the Alibaba Cloud side. This address is an IP address within the BGP CIDR block.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* 169.254.10.1
|
|
@@ -23,9 +23,7 @@ export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
23
23
|
localBgpIp?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* The BGP CIDR block of the tunnel. The CIDR block must
|
|
27
|
-
*
|
|
28
|
-
* > The BGP CIDR blocks of the two tunnels under the same IPsec-VPN connection must be different.
|
|
26
|
+
* The BGP CIDR block of the tunnel. The CIDR block must be a CIDR block with 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.
|
|
29
27
|
*
|
|
30
28
|
* @example
|
|
31
29
|
* 169.254.10.0/30
|
|
@@ -59,7 +57,7 @@ export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
59
57
|
export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig extends $dara.Model {
|
|
60
58
|
/**
|
|
61
59
|
* @remarks
|
|
62
|
-
* The authentication algorithm for Phase 1 negotiation. Valid values: **md5**, **sha1**, **sha256**, **sha384**, **sha512**.
|
|
60
|
+
* The authentication algorithm for Phase 1 negotiation. Valid values: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**.
|
|
63
61
|
*
|
|
64
62
|
* @example
|
|
65
63
|
* sha1
|
|
@@ -67,7 +65,7 @@ export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
67
65
|
ikeAuthAlg?: string;
|
|
68
66
|
/**
|
|
69
67
|
* @remarks
|
|
70
|
-
* The encryption algorithm for Phase 1 negotiation. Valid values: **aes**, **aes192**, **aes256**, **des**,
|
|
68
|
+
* The encryption algorithm for Phase 1 negotiation. Valid values: **aes**, **aes192**, **aes256**, **des**, and **3des**.
|
|
71
69
|
*
|
|
72
70
|
* @example
|
|
73
71
|
* aes
|
|
@@ -75,9 +73,7 @@ export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
75
73
|
ikeEncAlg?: string;
|
|
76
74
|
/**
|
|
77
75
|
* @remarks
|
|
78
|
-
* The lifetime of the SA
|
|
79
|
-
*
|
|
80
|
-
* Valid values: **0** to **86400**.
|
|
76
|
+
* The lifetime of the SA generated by Phase 1 negotiation. Unit: seconds.
|
|
81
77
|
*
|
|
82
78
|
* @example
|
|
83
79
|
* 86400
|
|
@@ -85,10 +81,10 @@ export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
85
81
|
ikeLifetime?: number;
|
|
86
82
|
/**
|
|
87
83
|
* @remarks
|
|
88
|
-
* The negotiation mode of the IKE version. Valid values: **main**
|
|
84
|
+
* The negotiation mode of the IKE version. Valid values: **main** and **aggressive**.
|
|
89
85
|
*
|
|
90
|
-
* - **main**:
|
|
91
|
-
* - **aggressive**:
|
|
86
|
+
* - **main**: Main mode. The negotiation process is highly secure.
|
|
87
|
+
* - **aggressive**: Aggressive mode. The negotiation is fast and has a high success rate.
|
|
92
88
|
*
|
|
93
89
|
* @example
|
|
94
90
|
* main
|
|
@@ -96,7 +92,8 @@ export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
96
92
|
ikeMode?: string;
|
|
97
93
|
/**
|
|
98
94
|
* @remarks
|
|
99
|
-
* The Diffie-Hellman key exchange algorithm used in
|
|
95
|
+
* The Diffie-Hellman key exchange algorithm used in the first-phase negotiation.
|
|
96
|
+
*
|
|
100
97
|
* Valid values: **group1**, **group2**, **group5**, **group14**.
|
|
101
98
|
*
|
|
102
99
|
* @example
|
|
@@ -105,9 +102,7 @@ export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
105
102
|
ikePfs?: string;
|
|
106
103
|
/**
|
|
107
104
|
* @remarks
|
|
108
|
-
* The version of the IKE protocol. Valid values: **ikev1**
|
|
109
|
-
*
|
|
110
|
-
* Compared with IKEv1, IKEv2 simplifies the SA negotiation process and provides better support for multi-CIDR-block scenarios.
|
|
105
|
+
* The version of the IKE protocol. Valid values: **ikev1** and **ikev2**.
|
|
111
106
|
*
|
|
112
107
|
* @example
|
|
113
108
|
* ikev2
|
|
@@ -115,9 +110,7 @@ export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
115
110
|
ikeVersion?: string;
|
|
116
111
|
/**
|
|
117
112
|
* @remarks
|
|
118
|
-
* The identifier on the
|
|
119
|
-
*
|
|
120
|
-
* **LocalId** supports the FQDN format. If you use the FQDN format, we recommend that you set the negotiation mode to **aggressive**.
|
|
113
|
+
* The identifier on the Alibaba Cloud side for the tunnel, used for Phase 1 negotiation. The value can be up to 100 characters in length and cannot contain spaces.
|
|
121
114
|
*
|
|
122
115
|
* @example
|
|
123
116
|
* 47.XX.XX.1
|
|
@@ -125,13 +118,13 @@ export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
125
118
|
localId?: string;
|
|
126
119
|
/**
|
|
127
120
|
* @remarks
|
|
128
|
-
* The pre-shared key used for identity authentication between the tunnel and the tunnel peer.
|
|
121
|
+
* The pre-shared key, which is used for identity authentication between the tunnel and the tunnel peer.
|
|
129
122
|
*
|
|
130
123
|
* - 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. ```~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?```
|
|
131
124
|
*
|
|
132
|
-
* - 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 [DescribeVpnAttachments](https://help.aliyun.com/document_detail/2526939.html) to query the pre-shared key
|
|
125
|
+
* - 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.
|
|
133
126
|
*
|
|
134
|
-
* > The pre-shared
|
|
127
|
+
* > The pre-shared keys of the tunnel and the tunnel peer must be the same. Otherwise, the tunnel cannot be established.
|
|
135
128
|
*
|
|
136
129
|
* @example
|
|
137
130
|
* 123456****
|
|
@@ -139,9 +132,7 @@ export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
139
132
|
psk?: string;
|
|
140
133
|
/**
|
|
141
134
|
* @remarks
|
|
142
|
-
* The identifier of the tunnel peer,
|
|
143
|
-
*
|
|
144
|
-
* **RemoteId** supports the FQDN format. If you use the FQDN format, we recommend that you set the negotiation mode to **aggressive**.
|
|
135
|
+
* 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.
|
|
145
136
|
*
|
|
146
137
|
* @example
|
|
147
138
|
* 47.XX.XX.2
|
|
@@ -187,7 +178,7 @@ export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
187
178
|
export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig extends $dara.Model {
|
|
188
179
|
/**
|
|
189
180
|
* @remarks
|
|
190
|
-
* The authentication algorithm
|
|
181
|
+
* The authentication algorithm used in Phase 2 negotiations.
|
|
191
182
|
*
|
|
192
183
|
* Valid values: **md5**, **sha1**, **sha256**, **sha384**, **sha512**.
|
|
193
184
|
*
|
|
@@ -197,7 +188,7 @@ export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
197
188
|
ipsecAuthAlg?: string;
|
|
198
189
|
/**
|
|
199
190
|
* @remarks
|
|
200
|
-
* The encryption algorithm for Phase 2 negotiation. Valid values: **aes**, **aes192**, **aes256**, **des**,
|
|
191
|
+
* The encryption algorithm for Phase 2 negotiation. Valid values: **aes**, **aes192**, **aes256**, **des**, and **3des**.
|
|
201
192
|
*
|
|
202
193
|
* @example
|
|
203
194
|
* aes
|
|
@@ -205,9 +196,7 @@ export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
205
196
|
ipsecEncAlg?: string;
|
|
206
197
|
/**
|
|
207
198
|
* @remarks
|
|
208
|
-
* The lifetime of the SA
|
|
209
|
-
*
|
|
210
|
-
* Valid values: **0** to **86400**.
|
|
199
|
+
* The lifetime of the SA generated by Phase 2 negotiation. Unit: seconds.
|
|
211
200
|
*
|
|
212
201
|
* @example
|
|
213
202
|
* 86400
|
|
@@ -215,7 +204,7 @@ export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
215
204
|
ipsecLifetime?: number;
|
|
216
205
|
/**
|
|
217
206
|
* @remarks
|
|
218
|
-
* The Diffie-Hellman key exchange algorithm used in
|
|
207
|
+
* The Diffie-Hellman key exchange algorithm used in the second phase of negotiation.
|
|
219
208
|
*
|
|
220
209
|
* Valid values: **disabled**, **group1**, **group2**, **group5**, **group14**.
|
|
221
210
|
*
|
|
@@ -253,9 +242,7 @@ export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
253
242
|
export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecification extends $dara.Model {
|
|
254
243
|
/**
|
|
255
244
|
* @remarks
|
|
256
|
-
* The customer gateway
|
|
257
|
-
*
|
|
258
|
-
* > Only dual-tunnel IPsec-VPN connections support this parameter.
|
|
245
|
+
* The ID of the customer gateway associated with the tunnel.
|
|
259
246
|
*
|
|
260
247
|
* @example
|
|
261
248
|
* cgw-p0w2jemrcj5u61un8****
|
|
@@ -263,11 +250,7 @@ export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecification exten
|
|
|
263
250
|
customerGatewayId?: string;
|
|
264
251
|
/**
|
|
265
252
|
* @remarks
|
|
266
|
-
* Specifies whether to enable DPD for the tunnel. Valid values:
|
|
267
|
-
*
|
|
268
|
-
* - **true**: enables DPD. The IPsec initiator sends DPD packets to check whether the peer is alive. If no correct response is received within the specified time, the peer is considered disconnected. Then, the ISAKMP SA, IPsec SA, and IPsec tunnel are deleted.
|
|
269
|
-
*
|
|
270
|
-
* - **false**: disables DPD. The IPsec initiator does not send DPD packets.
|
|
253
|
+
* Specifies whether to enable the Dead Peer Detection (DPD) feature for the tunnel. Valid values:
|
|
271
254
|
*
|
|
272
255
|
* @example
|
|
273
256
|
* true
|
|
@@ -277,9 +260,9 @@ export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecification exten
|
|
|
277
260
|
* @remarks
|
|
278
261
|
* Specifies whether to enable NAT traversal for the tunnel. Valid values:
|
|
279
262
|
*
|
|
280
|
-
* - **true**:
|
|
263
|
+
* - **true**: Enables NAT traversal. After NAT traversal is enabled, the IKE negotiation process skips UDP port number verification and can discover NAT gateway devices along the tunnel.
|
|
281
264
|
*
|
|
282
|
-
* - **false**:
|
|
265
|
+
* - **false**: Disables NAT traversal.
|
|
283
266
|
*
|
|
284
267
|
* @example
|
|
285
268
|
* true
|
|
@@ -287,9 +270,9 @@ export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecification exten
|
|
|
287
270
|
enableNatTraversal?: boolean;
|
|
288
271
|
/**
|
|
289
272
|
* @remarks
|
|
290
|
-
*
|
|
273
|
+
* Adds BGP configurations for the tunnel.
|
|
291
274
|
*
|
|
292
|
-
* > Configure this parameter after you enable BGP for the IPsec-VPN connection (set **EnableTunnelsBgp** to **true**).
|
|
275
|
+
* > Configure this parameter after you enable BGP for the IPsec-VPN connection (that is, set **EnableTunnelsBgp** to **true**).
|
|
293
276
|
*/
|
|
294
277
|
tunnelBgpConfig?: ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig;
|
|
295
278
|
/**
|
|
@@ -309,9 +292,6 @@ export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecification exten
|
|
|
309
292
|
* @remarks
|
|
310
293
|
* The creation order of the tunnel.
|
|
311
294
|
*
|
|
312
|
-
* - **1**: the first tunnel.
|
|
313
|
-
* - **2**: the second tunnel.
|
|
314
|
-
*
|
|
315
295
|
* @example
|
|
316
296
|
* 1
|
|
317
297
|
*/
|
|
@@ -380,26 +360,26 @@ export class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
|
|
|
380
360
|
autoConfigRoute?: boolean;
|
|
381
361
|
/**
|
|
382
362
|
* @remarks
|
|
383
|
-
* This parameter is supported when you modify
|
|
363
|
+
* This parameter is supported when you modify an IPsec-VPN connection in single-tunnel mode.
|
|
384
364
|
*
|
|
385
365
|
* BGP configuration:
|
|
386
366
|
*
|
|
387
|
-
* - **BgpConfig.EnableBgp**:
|
|
388
|
-
* - **true**:
|
|
389
|
-
* - **false**:
|
|
367
|
+
* - **BgpConfig.EnableBgp**: specifies whether to enable BGP. Valid values:
|
|
368
|
+
* - **true**: Enable BGP.
|
|
369
|
+
* - **false**: Disable BGP.
|
|
390
370
|
*
|
|
391
|
-
* - **BgpConfig.LocalAsn**:
|
|
371
|
+
* - **BgpConfig.LocalAsn**: the autonomous system number (ASN) on the Alibaba Cloud side. Valid values: **1** to **4294967295**.
|
|
392
372
|
*
|
|
393
|
-
*
|
|
373
|
+
* You can enter the ASN in the two-segment notation: the first 16 bits.the last 16 bits. Each segment is entered in decimal format.
|
|
394
374
|
*
|
|
395
|
-
* For example, if you enter 123.456, the
|
|
375
|
+
* For example, if you enter 123.456, the ASN is 123 × 65536 + 456 = 8061384.
|
|
396
376
|
*
|
|
397
|
-
* - **BgpConfig.TunnelCidr**:
|
|
377
|
+
* - **BgpConfig.TunnelCidr**: the CIDR block of the IPsec tunnel. 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.
|
|
398
378
|
*
|
|
399
|
-
* - **LocalBgpIp**:
|
|
379
|
+
* - **LocalBgpIp**: the BGP IP address on the Alibaba Cloud side. This address must be an IP address within the CIDR block of the IPsec tunnel.
|
|
400
380
|
*
|
|
401
|
-
* >- Before you configure BGP, learn about how
|
|
402
|
-
* >-
|
|
381
|
+
* >- Before you configure BGP, we recommend that you learn about how BGP dynamic routing works and its limits. For more information, see [Configure BGP dynamic routing](https://help.aliyun.com/document_detail/445767.html).
|
|
382
|
+
* >- We recommend that you use a private ASN to establish a BGP connection with Alibaba Cloud. For the range of private ASNs, refer to the relevant documentation.
|
|
403
383
|
*
|
|
404
384
|
* @example
|
|
405
385
|
* {"EnableBgp":"true","LocalAsn":"45104","TunnelCidr":"169.254.11.0/30","LocalBgpIp":"169.254.11.1"}
|
|
@@ -411,7 +391,7 @@ export class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
|
|
|
411
391
|
*
|
|
412
392
|
* 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.
|
|
413
393
|
*
|
|
414
|
-
* > If you do not specify this parameter, the system automatically uses the **RequestId**
|
|
394
|
+
* > 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.
|
|
415
395
|
*
|
|
416
396
|
* @example
|
|
417
397
|
* 123e4567-e89b-12d3-a456-4266****
|
|
@@ -421,18 +401,13 @@ export class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
|
|
|
421
401
|
* @remarks
|
|
422
402
|
* The customer gateway instance associated with the IPsec-VPN connection.
|
|
423
403
|
*
|
|
424
|
-
* > Only single-tunnel IPsec-VPN connections support this parameter.
|
|
425
|
-
*
|
|
426
404
|
* @example
|
|
427
405
|
* cgw-p0w2jemrcj5u61un8****
|
|
428
406
|
*/
|
|
429
407
|
customerGatewayId?: string;
|
|
430
408
|
/**
|
|
431
409
|
* @remarks
|
|
432
|
-
* Specifies whether the IPsec-VPN connection
|
|
433
|
-
*
|
|
434
|
-
* - **true**: The system immediately initiates IPsec protocol negotiation after the configuration is complete.
|
|
435
|
-
* - **false**: The system initiates IPsec protocol negotiation only when traffic enters.
|
|
410
|
+
* Specifies whether the configuration of the IPsec-VPN connection takes effect immediately. Valid values:
|
|
436
411
|
*
|
|
437
412
|
* @example
|
|
438
413
|
* false
|
|
@@ -444,9 +419,9 @@ export class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
|
|
|
444
419
|
*
|
|
445
420
|
* Specifies whether to enable the Dead Peer Detection (DPD) feature. Valid values:
|
|
446
421
|
*
|
|
447
|
-
* - **true**:
|
|
422
|
+
* - **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.
|
|
448
423
|
*
|
|
449
|
-
* - **false**:
|
|
424
|
+
* - **false**: Disables the DPD feature. The IPsec initiator does not send DPD probe packets.
|
|
450
425
|
*
|
|
451
426
|
* @example
|
|
452
427
|
* true
|
|
@@ -454,13 +429,13 @@ export class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
|
|
|
454
429
|
enableDpd?: boolean;
|
|
455
430
|
/**
|
|
456
431
|
* @remarks
|
|
457
|
-
* This parameter is supported when you modify
|
|
432
|
+
* This parameter is supported when you modify an IPsec-VPN connection in single-tunnel mode.
|
|
458
433
|
*
|
|
459
434
|
* Specifies whether to enable NAT traversal. Valid values:
|
|
460
435
|
*
|
|
461
|
-
* - **true**:
|
|
436
|
+
* - **true**: Enable 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.
|
|
462
437
|
*
|
|
463
|
-
* - **false**:
|
|
438
|
+
* - **false**: Disable NAT traversal.
|
|
464
439
|
*
|
|
465
440
|
* @example
|
|
466
441
|
* true
|
|
@@ -468,11 +443,11 @@ export class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
|
|
|
468
443
|
enableNatTraversal?: boolean;
|
|
469
444
|
/**
|
|
470
445
|
* @remarks
|
|
471
|
-
* This parameter is supported when you modify
|
|
446
|
+
* This parameter is supported when you modify an IPsec-VPN connection in dual-tunnel mode.
|
|
472
447
|
*
|
|
473
|
-
* Specifies whether to enable
|
|
448
|
+
* Specifies whether to enable BGP for the tunnel. Valid values: **true** or **false**.
|
|
474
449
|
*
|
|
475
|
-
* > Before you
|
|
450
|
+
* > Before you add BGP configurations, we recommend that you understand the working mechanism and limits of BGP dynamic routing. For more information, see [Configure BGP dynamic routing](https://help.aliyun.com/document_detail/445767.html).
|
|
476
451
|
*
|
|
477
452
|
* @example
|
|
478
453
|
* false
|
|
@@ -485,25 +460,6 @@ export class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
|
|
|
485
460
|
* @remarks
|
|
486
461
|
* This parameter is supported when you modify a single-tunnel IPsec-VPN connection.
|
|
487
462
|
*
|
|
488
|
-
* Health check configuration:
|
|
489
|
-
*
|
|
490
|
-
* - **HealthCheckConfig.enable**: Specifies whether to enable health checks. Valid values:
|
|
491
|
-
* - **true**: enables health checks.
|
|
492
|
-
* - **false**: disables health checks.
|
|
493
|
-
*
|
|
494
|
-
* - **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.
|
|
495
|
-
*
|
|
496
|
-
* - **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.
|
|
497
|
-
*
|
|
498
|
-
* - **HealthCheckConfig.interval**: The retry interval of the health check. Unit: seconds.
|
|
499
|
-
*
|
|
500
|
-
* - **HealthCheckConfig.retry**: The number of health check retries.
|
|
501
|
-
*
|
|
502
|
-
* - **HealthCheckConfig.Policy**: Specifies whether to withdraw published routes when the health check fails. Valid values:
|
|
503
|
-
*
|
|
504
|
-
* - **revoke_route**: withdraws published routes.
|
|
505
|
-
* - **reserve_route**: does not withdraw published routes.
|
|
506
|
-
*
|
|
507
463
|
* @example
|
|
508
464
|
* {"enable":"true","dip":"192.168.1.1","sip":"10.1.1.1","interval":"3","retry":"3","Policy": "revoke_route"}
|
|
509
465
|
*/
|
|
@@ -512,42 +468,19 @@ export class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
|
|
|
512
468
|
* @remarks
|
|
513
469
|
* This parameter is supported when you modify a single-tunnel IPsec-VPN connection.
|
|
514
470
|
*
|
|
515
|
-
* Phase 1 negotiation configuration:
|
|
516
|
-
*
|
|
517
|
-
* - **IkeConfig.Psk**: The pre-shared key used for identity authentication between the Alibaba Cloud IPsec-VPN connection and the on-premises data center.
|
|
518
|
-
* - 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. ```~!`@#$%^&*()_-+={}[]|;:\\",.<>/?```
|
|
519
|
-
* - 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 [DescribeVpnConnection](https://help.aliyun.com/document_detail/120374.html) to query the pre-shared key that is automatically generated by the system.
|
|
520
|
-
* > 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.
|
|
521
|
-
*
|
|
522
|
-
* - **IkeConfig.IkeVersion**: The version of the IKE protocol. Valid values: **ikev1** or **ikev2**.
|
|
523
|
-
*
|
|
524
|
-
* - **IkeConfig.IkeMode**: The negotiation mode. Valid values: **main** or **aggressive**.
|
|
525
|
-
*
|
|
526
|
-
* - **IkeConfig.IkeEncAlg**: The encryption algorithm for Phase 1 negotiation. Valid values: **aes**, **aes192**, **aes256**, **des**, or **3des**.
|
|
527
|
-
*
|
|
528
|
-
* - **IkeConfig.IkeAuthAlg**: The authentication algorithm for Phase 1 negotiation. Valid values: **md5**, **sha1**, **sha256**, **sha384**, or **sha512**.
|
|
529
|
-
*
|
|
530
|
-
* - **IkeConfig.IkePfs**: The Diffie-Hellman key exchange algorithm used in Phase 1 negotiation. Valid values: **group1**, **group2**, **group5**, or **group14**.
|
|
531
|
-
*
|
|
532
|
-
* - **IkeConfig.IkeLifetime**: The lifetime of the SA negotiated in Phase 1. Unit: seconds. Valid values: **0** to **86400**.
|
|
533
|
-
*
|
|
534
|
-
* - **IkeConfig.LocalId**: The identifier on the Alibaba Cloud side of the IPsec-VPN connection. The value is limited to 100 characters and cannot contain spaces.
|
|
535
|
-
*
|
|
536
|
-
* - **IkeConfig.RemoteId**: The identifier on the on-premises data center side of the IPsec-VPN connection. The value is limited to 100 characters and cannot contain spaces.
|
|
537
|
-
*
|
|
538
471
|
* @example
|
|
539
472
|
* {"Psk":"1234****","IkeVersion":"ikev1","IkeMode":"main","IkeEncAlg":"aes","IkeAuthAlg":"sha1","IkePfs":"group2","IkeLifetime":86400,"LocalId":"47.XX.XX.1","RemoteId":"47.XX.XX.2"}
|
|
540
473
|
*/
|
|
541
474
|
ikeConfig?: string;
|
|
542
475
|
/**
|
|
543
476
|
* @remarks
|
|
544
|
-
* This parameter is supported when you modify
|
|
477
|
+
* This parameter is supported when you modify an IPsec-VPN connection in single-tunnel mode.
|
|
545
478
|
*
|
|
546
|
-
* Phase 2 negotiation
|
|
479
|
+
* The configuration of Phase 2 negotiation:
|
|
547
480
|
*
|
|
548
|
-
* - **IpsecConfig.IpsecEncAlg**: The encryption algorithm
|
|
481
|
+
* - **IpsecConfig.IpsecEncAlg**: The encryption algorithm used in Phase 2 negotiation. Valid values: **aes**, **aes192**, **aes256**, **des**, or **3des**.
|
|
549
482
|
*
|
|
550
|
-
* - **IpsecConfig.IpsecAuthAlg**: The authentication algorithm
|
|
483
|
+
* - **IpsecConfig.IpsecAuthAlg**: The authentication algorithm used in Phase 2 negotiation. Valid values: **md5**, **sha1**, **sha256**, **sha384**, or **sha512**.
|
|
551
484
|
*
|
|
552
485
|
* - **IpsecConfig.IpsecPfs**: The Diffie-Hellman key exchange algorithm used in Phase 2 negotiation. Valid values: **disabled**, **group1**, **group2**, **group5**, or **group14**.
|
|
553
486
|
* - **IpsecConfig.IpsecLifetime**: The lifetime of the SA negotiated in Phase 2. Unit: seconds. Valid values: **0** to **86400**.
|
|
@@ -558,11 +491,11 @@ export class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
|
|
|
558
491
|
ipsecConfig?: string;
|
|
559
492
|
/**
|
|
560
493
|
* @remarks
|
|
561
|
-
* The CIDR block on the VPC side that needs to communicate with the on-premises data center. This
|
|
494
|
+
* The CIDR block on the VPC side that needs to communicate with the on-premises data center. This is used for Phase 2 negotiation.
|
|
562
495
|
*
|
|
563
496
|
* Separate multiple CIDR blocks with commas (,). Example: 192.168.1.0/24,192.168.2.0/24.
|
|
564
497
|
*
|
|
565
|
-
*
|
|
498
|
+
* Description of the IPsec-VPN connection routing mode:
|
|
566
499
|
*
|
|
567
500
|
* - If both **LocalSubnet** and **RemoteSubnet** are set to 0.0.0.0/0, the destination routing mode is used.
|
|
568
501
|
* - If both **LocalSubnet** and **RemoteSubnet** are set to specific CIDR blocks, the protected data flow mode is used.
|
|
@@ -596,7 +529,7 @@ export class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
|
|
|
596
529
|
* @remarks
|
|
597
530
|
* The region ID of the IPsec-VPN connection.
|
|
598
531
|
*
|
|
599
|
-
* You can call [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) to query
|
|
532
|
+
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query region IDs.
|
|
600
533
|
*
|
|
601
534
|
* This parameter is required.
|
|
602
535
|
*
|
|
@@ -608,8 +541,6 @@ export class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
|
|
|
608
541
|
* @remarks
|
|
609
542
|
* The CA certificate of the peer.
|
|
610
543
|
*
|
|
611
|
-
* > This parameter does not take effect.
|
|
612
|
-
*
|
|
613
544
|
* @example
|
|
614
545
|
* -----BEGIN CERTIFICATE----- MIIB7zCCAZW**** -----END CERTIFICATE-----
|
|
615
546
|
*/
|
|
@@ -618,13 +549,6 @@ export class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
|
|
|
618
549
|
* @remarks
|
|
619
550
|
* The CIDR block on the on-premises data center side that needs to communicate with the VPC. This parameter is used for Phase 2 negotiation.
|
|
620
551
|
*
|
|
621
|
-
* Separate multiple CIDR blocks with commas (,). Example: 192.168.3.0/24,192.168.4.0/24.
|
|
622
|
-
*
|
|
623
|
-
* The following descriptions provide information about the routing mode of the IPsec-VPN connection:
|
|
624
|
-
*
|
|
625
|
-
* - If both **LocalSubnet** and **RemoteSubnet** are set to 0.0.0.0/0, the destination routing mode is used.
|
|
626
|
-
* - If both **LocalSubnet** and **RemoteSubnet** are set to specific CIDR blocks, the protected data flow mode is used.
|
|
627
|
-
*
|
|
628
552
|
* @example
|
|
629
553
|
* 10.1.3.0/24,10.1.4.0/24
|
|
630
554
|
*/
|
|
@@ -635,7 +559,7 @@ export class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
|
|
|
635
559
|
* @remarks
|
|
636
560
|
* The tunnel configurations.
|
|
637
561
|
*
|
|
638
|
-
* The parameters in the **TunnelOptionsSpecification** array are supported only when you modify
|
|
562
|
+
* The parameters in the **TunnelOptionsSpecification** array are supported only when you modify an IPsec-VPN connection in dual-tunnel mode. You can modify the configurations of both tunnels of the IPsec-VPN connection at the same time.
|
|
639
563
|
*
|
|
640
564
|
* **if can be null:**
|
|
641
565
|
* true
|