API Overview

<table border="1" cellpadding="0" cellspacing="0" style="width:0px"> <tbody> <tr> <td> <p><strong>API</strong></p> </td> <td> <p><strong>Description</strong></p> </td> </tr> <tr> <td> <p>CreateVpn</p> </td> <td> <p>&nbsp;create VPN gateway instances.</p> <p>Currently VPN gateway instances can be created only for the VPC with DMZ. Billing mode only supports billing by hour. It is charged by hour by default.</p> <p>Before creating an instance, you need to create the network domain of the available VPC and DMZ.</p> <p>When you create an instance, you need to call the <strong>SelectVpcItem</strong> to obtain VPC list information and the <strong>DescribeVpnTypes</strong> to query the Vpn specification.</p> </td> </tr> <tr> <td> <p>CreateVpnConnection</p> </td> <td> <p>&nbsp;create VPN connection instances.</p> <p>The gateway is connected to an IPsec VPN with the link monitor and control (LMK) enabled. The VPN gateway connection instance is built on the subnet in the availability zone. Before creating a VPN connection instance, you need to create a VPN gateway instance as well as subnets in the network domain of the available VPC and DMZ.</p> <p>When you create an instance, you need to call the <strong>DescribeVpnSubnet </strong>to obtain VPN subnet list information in the availability zone.</p> </td> </tr> <tr> <td> <p>DeleteVpn</p> </td> <td> <p>&nbsp;delete VPN gateway instances.</p> </td> </tr> <tr> <td> <p>DeleteVpnConnection</p> </td> <td> <p>&nbsp;delete VPN gateway connection instances.</p> </td> </tr> <tr> <td> <p>DescribeVpnConnectionState</p> </td> <td> <p>&nbsp;query VPN connection state.</p> </td> </tr> <tr> <td> <p>DescribeVpnConnections</p> </td> <td> <p>&nbsp;query VPN gateway connection instances.</p> </td> </tr> <tr> <td> <p>DescribeVpnLocalSubnets</p> </td> <td> <p>&nbsp;query the local subnet list of VPN connection instances.</p> </td> </tr> <tr> <td> <p>DescribeVpnRemoteSubnets</p> </td> <td> <p>&nbsp;query the remote subnet list of VPN connection instances.</p> </td> </tr> <tr> <td> <p>DescribeVpnSubnets</p> </td> <td> <p>&nbsp;query VPN subnet group, which is for selecting the subnet when editing VPN connection.</p> </td> </tr> <tr> <td> <p>DescribeVpnTypes</p> </td> <td> <p>&nbsp;obtain VPN gateway type list.</p> </td> </tr> <tr> <td> <p>DescribeVpns</p> </td> <td> <p>&nbsp;query the VPN description</p> </td> </tr> <tr> <td> <p>ModifyVpnAttribute</p> </td> <td> <p>&nbsp;modify the attributes of VPN gateway instances, which supports only modifying the display name.</p> </td> </tr> <tr> <td> <p>ModifyVpnConnection</p> </td> <td> <p>&nbsp;modify VPN gateway connection attributes.</p> <p>Note: This interface does not support updating a single attribute, so all attributes must be imported.</p> </td> </tr> <tr> <td> <p>ModifyVpnConnectionAttribute</p> </td> <td> <p>&nbsp;modify VPN gateway connection attributes, which supports only modifying the display name.</p> </td> </tr> <tr> <td> <p>StartVpn</p> </td> <td> <p>&nbsp;start VPN gateway instances.</p> </td> </tr> <tr> <td> <p>StartVpnConnection</p> </td> <td> <p>&nbsp;start VPN gateway connection instances.</p> </td> </tr> <tr> <td> <p>StopVpn</p> </td> <td> <p>&nbsp;stop VPN gateway instances.</p> </td> </tr> <tr> <td> <p>StopVpnConnection</p> </td> <td> <p>&nbsp;stop VPN gateway connection instances.</p> </td> </tr> </tbody> </table>
Did the above content solve your problem? Yes No
Please complete information!

Call us

400-151-8800

Email us

cloud@pingan.com

Online customer service

Instant reply

Technical Support

cloud products