The following tables list the API operations that are available for use in VPN Gateway. The endpoint of the VPN Gateway API is vpc.aliyuncs.com. For more information, see the Call APIs topic in API Reference for Virtual Private Cloud (VPC).

VPN gateways

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

Customer gateways

API Description
CreateCustomerGateway Creates a customer gateway.
ModifyCustomerGatewayAttribute Modifies the name and description of a customer gateway.
DescribeCustomerGateways Queries customer gateways.
DescribeCustomerGateway Queries details about a customer gateway.
DeleteCustomerGateway Deletes a customer gateway.

Routes for VPN gateways

API Description
CreateVpnRouteEntry Creates a destination-based route entry for a VPN gateway.
CreateVpnPbrRouteEntry Creates a policy-based route entry for a VPN gateway.
PublishVpnRouteEntry Publishes a route entry of a VPN gateway to the route table of the associated VPC network.
DescribeVpnRouteEntries Queries destination-based route entries of a VPN gateway.
DescribeVpnPbrRouteEntries Queries policy-based route entries of a VPN gateway.
ModifyVpnRouteEntryWeight Modifies the weight of a destination-based route entry for a VPN gateway.
ModifyVpnPbrRouteEntryWeight Modifies the weight of a policy-based route entry for a VPN gateway.
DeleteVpnRouteEntry Deletes a destination-based route entry of a VPN gateway.
DeleteVpnPbrRouteEntry Deletes a policy-based route entry of a VPN gateway.

IPsec-VPN

API Description
CreateVpnConnection Creates an IPsec-VPN connection.
ModifyVpnConnectionAttribute Modifies the configuration of an IPsec-VPN connection.
DescribeVpnConnections Queries IPsec-VPN connections.
DescribeVpnConnection Queries details about an IPsec-VPN connection.
DownloadVpnConnectionConfig Downloads the configuration of an IPsec-VPN connection.
DeleteVpnConnection Deletes an IPsec-VPN connection.

SSL-VPN

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