CLI Command Reference (S2C VPN)
S2C VPN Gateway
| API Name | Command | Description | Operation |
|---|---|---|---|
| CreateVgw | hcloud VPN CreateVgw | Creates a VPN gateway. | |
| DeleteVgw | hcloud VPN DeleteVgw | Deletes a specified VPN gateway. | |
| DeleteVpnGatewayJob | hcloud VPN DeleteVpnGatewayJob | Deletes records of a specified task. | |
| ListAvailabilityZones (V5) | hcloud VPN ListAvailabilityZones | Queries the AZs of VPN gateways. | |
| ListExtendedAvailabilityZones (V5.1) | hcloud VPN ListExtendedAvailabilityZones | Queries the AZs of VPN gateways. | |
| ListVgws | hcloud VPN ListVgws | Queries the VPN gateway list. | |
| ListVpnGatewayJobs | hcloud VPN ListVpnGatewayJobs | Queries the resource task list. | |
| ShowVgw | hcloud VPN ShowVgw | Queries a specified VPN gateway. | |
| ShowVpnGatewayRoutingTable | hcloud VPN ShowVpnGatewayRoutingTable | Queries the route table of a specified VPN gateway. | |
| UpdatePostpaidVgwSpecification | hcloud VPN UpdatePostpaidVgwSpecification | Changes the specification of a VPN gateway. | |
| UpdateVgw | hcloud VPN UpdateVgw | Updates a specified VPN gateway. | |
| UpgradeVpnGateway | hcloud VPN UpgradeVpnGateway | Upgrades a VPN gateway. |
Customer Gateway
| API Name | Command | Description | Operation |
|---|---|---|---|
| CreateCgw | hcloud VPN CreateCgw | Creates a customer gateway for a tenant to connect to a VPN gateway. | |
| DeleteCgw | hcloud VPN DeleteCgw | Deletes a specified customer gateway. | |
| ListCgws | hcloud VPN ListCgws | Queries the customer gateway list. | |
| ShowCgw | hcloud VPN ShowCgw | Queries a specified customer gateway. | |
| UpdateCgw | hcloud VPN UpdateCgw | Updates a specified customer gateway. |
VPN Connection
| API Name | Command | Description | Operation |
|---|---|---|---|
| BatchCreateVpnConnection | hcloud VPN BatchCreateVpnConnection | Creates VPN connections in batches. | |
| CreateVpnConnection | hcloud VPN CreateVpnConnection | Creates a VPN connection. | |
| DeleteVpnConnection | hcloud VPN DeleteVpnConnection | Deletes a specified VPN connection. | |
| ExportVpnConnectionPeerConfiguration | hcloud VPN ExportVpnConnectionPeerConfiguration | Exports the VPN connection configuration of the customer gateway device. | |
| ListConnectionIpsecSa | hcloud VPN ListConnectionIpsecSa | Queries the CIDR block negotiation information of a specified VPN connection. | |
| ListPeerConfigurationSupportedDevices | hcloud VPN ListPeerConfigurationSupportedDevices | Obtains customer gateway devices whose VPN connection configurations can be exported. | |
| ListVpnConnections | hcloud VPN ListVpnConnections | Queries the VPN connection list. | |
| ResetVpnConnection | hcloud VPN ResetVpnConnection | Resets a specified VPN connection. | |
| ShowVpnConnection | hcloud VPN ShowVpnConnection | Queries the parameters of a specified VPN connection. | |
| ShowVpnConnectionLog | hcloud VPN ShowVpnConnectionLog | Queries logs of a specified VPN connection. | |
| UpdateVpnConnection | hcloud VPN UpdateVpnConnection | Updates the parameters of a specified VPN connection. |
VPN Connection Monitor
| API Name | Command | Description | Operation |
|---|---|---|---|
| CreateConnectionMonitor | hcloud VPN CreateConnectionMonitor | Creates a VPN connection monitor. | |
| DeleteConnectionMonitor | hcloud VPN DeleteConnectionMonitor | Deletes a specified VPN connection monitor. | |
| ListConnectionMonitors | hcloud VPN ListConnectionMonitors | Queries the VPN connection monitor list. | |
| ShowConnectionMonitor | hcloud VPN ShowConnectionMonitor | Queries a specified VPN connection monitor. |
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot