CLI Command Reference (P2C VPN)
P2C VPN Gateway
| API Name | Command | Description | Operation |
|---|---|---|---|
| CreateP2cVgw | hcloud VPN CreateP2cVgw | Creates a P2C VPN gateway. | |
| DeleteP2cVgw | hcloud VPN DeleteP2cVgw | Deletes a specified P2C VPN gateway. | |
| DeleteP2cVgwConnection | hcloud VPN DeleteP2cVgwConnection | Tears down connections of a specified P2C VPN gateway. | |
| DeleteP2cVpnGatewayJob | hcloud VPN DeleteP2cVpnGatewayJob | Deletes records of a specified task. | |
| ListP2cVgwAvailabilityZones | hcloud VPN ListP2cVgwAvailabilityZones | Queries the AZs of P2C VPN gateways. | |
| ListP2cVgwConnections | hcloud VPN ListP2cVgwConnections | Queries the connection list. | |
| ListP2cVgws | hcloud VPN ListP2cVgws | Queries the P2C VPN gateway list. | |
| ListP2cVpnGatewayJobs | hcloud VPN ListP2cVpnGatewayJobs | Queries the resource task list. | |
| ShowP2cVgw | hcloud VPN ShowP2cVgw | Queries a specified VPN gateway. | |
| UpdateP2cVgw | hcloud VPN UpdateP2cVgw | Updates a specified P2C VPN gateway. | |
| UpgradeP2cVpnGateway | hcloud VPN UpgradeP2cVpnGateway | Upgrades a P2C VPN gateway. | |
| DeleteVpnConnectionsLogConfig | hcloud VPN DeleteVpnConnectionsLogConfig | Deletes the connection log configuration of a specified P2C VPN gateway. | |
| ShowVpnConnectionsLogConfig | hcloud VPN ShowVpnConnectionsLogConfig | Queries the connection log configuration of a specified P2C VPN gateway. | |
| UpdateVpnConnectionsLogConfig | hcloud VPN UpdateVpnConnectionsLogConfig | Updates the connection log configuration of a specified P2C VPN gateway. |
Server
| API Name | Command | Description | Operation |
|---|---|---|---|
| CreateVpnServer | hcloud VPN CreateVpnServer | Creates a VPN server. | |
| ExportClientConfig | hcloud VPN ExportClientConfig | Exports the client configuration information. | |
| ListVpnServersByProject | hcloud VPN ListVpnServersByProject | Queries all VPN servers of a tenant. | |
| ListVpnServersByVgw | hcloud VPN ListVpnServersByVgw | Queries VPN server information. | |
| UpdateVpnServer | hcloud VPN UpdateVpnServer | Updates a specified VPN server. | |
| CheckClientCaCertificate | hcloud VPN CheckClientCaCertificate | Verifies the validity of a client CA certificate. | |
| DeleteClientCa | hcloud VPN DeleteClientCa | Deletes a client CA certificate. | |
| ImportClientCa | hcloud VPN ImportClientCa | Imports a client CA certificate. | |
| ShowClientCa | hcloud VPN ShowClientCa | Queries information about a client CA certificate. | |
| UpdateClientCa | hcloud VPN UpdateClientCa | Updates a specified client CA certificate. |
User Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| BatchCreateVpnUsers | hcloud VPN BatchCreateVpnUsers | Creates VPN users in batches. | |
| BatchDeleteVpnUsers | hcloud VPN BatchDeleteVpnUsers | Deletes specified users in batches. | |
| CreateVpnUser | hcloud VPN CreateVpnUser | Creates a VPN user. | |
| DeleteVpnUser | hcloud VPN DeleteVpnUser | Deletes a specified user. | |
| ListVpnUsers | hcloud VPN ListVpnUsers | Queries the user list. | |
| ResetVpnUserPassword | hcloud VPN ResetVpnUserPassword | Resets the password of a specified VPN user. | |
| ShowVpnUser | hcloud VPN ShowVpnUser | Queries user information. | |
| UpdateVpnUser | hcloud VPN UpdateVpnUser | Updates a specified user. | |
| UpdateVpnUserPassword | hcloud VPN UpdateVpnUserPassword | Changes the password of a specified VPN user. | |
| AddVpnUsersToGroup | hcloud VPN AddVpnUsersToGroup | Adds VPN users to a specified user group. | |
| CreateVpnUserGroup | hcloud VPN CreateVpnUserGroup | Creates a VPN user group. | |
| DeleteVpnUserGroup | hcloud VPN DeleteVpnUserGroup | Deletes a specified user group. | |
| ListVpnUserGroups | hcloud VPN ListVpnUserGroups | Queries the user group list. | |
| ListVpnUsersInGroup | hcloud VPN ListVpnUsersInGroup | Queries information about users in a group. | |
| RemoveVpnUsersFromGroup | hcloud VPN RemoveVpnUsersFromGroup | Removes VPN users from a specified user group. | |
| ShowVpnUserGroup | hcloud VPN ShowVpnUserGroup | Queries information about a user group. | |
| UpdateVpnUserGroup | hcloud VPN UpdateVpnUserGroup | Updates a specified user group. |
Access Policy
| API Name | Command | Description | Operation |
|---|---|---|---|
| CreateVpnAccessPolicy | hcloud VPN CreateVpnAccessPolicy | Creates an access policy. | |
| DeleteVpnAccessPolicy | hcloud VPN DeleteVpnAccessPolicy | Deletes a specified access policy. | |
| ListVpnAccessPolicies | hcloud VPN ListVpnAccessPolicies | Queries the VPN access policy list. | |
| ShowVpnAccessPolicy | hcloud VPN ShowVpnAccessPolicy | Queries a VPN access policy. | |
| UpdateVpnAccessPolicy | hcloud VPN UpdateVpnAccessPolicy | Updates a specified access policy. |
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