The following tables list the API operations available for use in VPN Gateway.

The endpoint of the VPN Gateway API is vpc.aliyuncs.com. For more information, see the documentation of Virtual Private Cloud (VPC). For more information, see Call API operations over HTTP.

VPN gateway

API Description
CreateVpnGateway Creates a VPN gateway.
DeleteVpnGateway Deletes a specified VPN gateway.
ModifyVpnGatewayAttribute Modifies the name and description of a VPN gateway.
DescribeVpnGateway Queries detailed information about a specified VPN gateway.
DescribeVpnGateways Queries VPN gateways.
TagResources Creates and adds tags to resources.
UnTagResources Removes tags from resources.
ListTagResources Queries the tags that are added to resources.

Customer gateway

API Description
CreateCustomerGateway Creates a customer gateway.
DeleteCustomerGateway Deletes a specified customer gateway.
ModifyCustomerGatewayAttribute Modifies the configuration of a customer gateway.
DescribeCustomerGateway Queries information about a specified customer gateway.
DescribeCustomerGateways Queries information about customer gateways.

VPN gateway routes

Table 1. Destination-based routes
API Description
CreateVpnRouteEntry Creates a destination-based route for a VPN gateway.
DeleteVpnRouteEntry Deletes a destination-based route from a VPN gateway.
ModifyVpnRouteEntryWeight Modifies the weight of a destination-based route of a VPN gateway.
PublishVpnRouteEntry Advertises a destination-based route of a VPN gateway to a VPC.
DescribeVpnRouteEntries Queries the information about destination-based routes and BGP routes of a VPN gateway.
Table 2. Policy-based routes
API Description
CreateVpnPbrRouteEntry Creates a policy-based route for a VPN gateway.
DeleteVpnPbrRouteEntry Deletes a policy-based route from a VPN gateway.
ModifyVpnPbrRouteEntryWeight Modifies the weight of a policy-based route of a VPN gateway.
DescribeVpnPbrRouteEntries Queries information about policy-based routes of a VPN gateway.

IPsec-VPN

Table 3. Operations for associating a connection with a VPN gateway
API Description
CreateVpnConnection Creates an IPsec-VPN connection.
DeleteVpnConnection Deletes a specified IPsec-VPN connection.
ModifyVpnConnectionAttribute Modifies the configuration of an IPsec-VPN connection.
DescribeVpnConnection Queries information about a specified IPsec-VPN connection.
DescribeVpnConnections Queries information about IPsec-VPN connections.
DownloadVpnConnectionConfig Obtains configuration information about an IPsec-VPN connection.
Table 4. Operations for associating a connection with a transit router
API Description
CreateVpnAttachment Creates an IPsec-VPN connection that can be associated with a transit router.
DeleteVpnAttachment Deletes an IPsec-VPN connection.
ModifyVpnAttachmentAttribute Modifies the configuration of an IPsec-VPN connection.
DescribeVpnAttachments Queries information about IPsec-VPN connections that are associated with transit routers.
CreateVcoRouteEntry Adds a destination-based route to an IPsec-VPN connection.
DeleteVcoRouteEntry Deletes a destination-based route from an IPsec-VPN connection.
ModifyVcoRouteEntryWeight Modifies the weight of a destination-based route of an IPsec-VPN connection.
DescribeVpnPbrRouteEntries Queries information about the routes of an IPsec-VPN connection.
CheckVpnBgpEnabled Queries whether the region to which an IPsec-VPN connection belongs supports the BGP feature.
DescribeVpnCrossAccountAuthorizations Queries the cross-account authorization information about an IPsec-VPN connection.

SSL-VPN

Table 5. SSL-VPN server
API Description
CreateSslVpnServer Creates an SSL server.
DeleteSslVpnServer Deletes an SSL server.
ModifySslVpnServer Modifies the configuration of an SSL server.
DescribeSslVpnServers Queries SSL servers.
DescribeVpnSslServerLogs Queries the logs of an SSL server.
Table 6. SSL client
API Description
CreateSslVpnClientCert Creates an SSL client certificate.
DeleteSslVpnClientCert Deletes an SSL client certificate.
ModifySslVpnClientCert Modifies the name of an SSL client certificate.
DescribeSslVpnClientCert Queries information about an SSL client certificate.
DescribeSslVpnClientCerts Queries information about SSL client certificates.

IPsec server

API Description
CreateIpsecServer Creates an IPsec server.
DeleteIpsecServer Deletes an IPsec server.
UpdateIpsecServer Modifies the configuration of an IPsec server.
ListIpsecServers Queries IPsec servers.