Updated on 2025-08-19 GMT+08:00

Server

Permission

API

Action

Dependencies

IAM Project

Enterprise Project

Creating a P2C VPN server

POST /v5/{project_id}/p2c-vpn-gateways/{p2c_vgw_id}/vpn-servers

vpn:p2cVpnGateway:createServer

  • scm:cert:get
  • scm:cert:list
  • scm:cert:download
  • vpc:publicIps:get
  • vpc:routeTables:update
  • vpc:subnets:get
  • vpc:quotas:list

x

Querying server information on a gateway

GET /v5/{project_id}/p2c-vpn-gateways/{p2c_vgw_id}/vpn-servers

vpn:p2cVpnGateway:listServers

-

x

Updating server information on a specified gateway

PUT /v5/{project_id}/p2c-vpn-gateways/vpn-servers/{vpn_server_id}

vpn:p2cVpnGateway:updateServer

  • scm:cert:get
  • scm:cert:list
  • scm:cert:download
  • vpc:publicIps:get
  • vpc:routeTables:update
  • vpc:subnets:get

x

Exporting the client configuration information corresponding to a server

POST /v5/{project_id}/p2c-vpn-gateways/vpn-servers/{vpn_server_id}/client-config/export

vpn:p2cVpnGateway:exportClientConfig

-

x

Verifying the validity of CA certificates

POST /v5/{project_id}/p2c-vpn-gateways/vpn-servers/client-ca-certificates/check

vpn:system:checkClientCaCertificate

-

x

Importing client CA certificates

POST /v5/{project_id}/p2c-vpn-gateways/vpn-servers/{vpn_server_id}/client-ca-certificates

vpn:p2cVpnGateway:importClientCa

-

x

Modifying a client CA certificate

PUT /v5/{project_id}/p2c-vpn-gateways/vpn-servers/{vpn_server_id}/client-ca-certificates/{client_ca_certificate_id}

vpn:p2cVpnGateway:updateClientCa

-

x

Querying a client CA certificate

GET /v5/{project_id}/p2c-vpn-gateways/vpn-servers/{vpn_server_id}/client-ca-certificates/{client_ca_certificate_id}

vpn:p2cVpnGateway:getClientCa

-

x

Deleting a client CA certificate

DELETE /v5/{project_id}/p2c-vpn-gateways/vpn-servers/{vpn_server_id}/client-ca-certificates/{client_ca_certificate_id}

vpn:p2cVpnGateway:deleteClientCa

-

x

Querying information about all servers of a tenant

GET /v5/{project_id}/vpn-servers

vpn:p2cVpnGateway:listAllServers

-

x

Disconnecting connections of a P2C VPN gateway

POST /v5/{project_id}/p2c-vpn-gateways/{p2c_vgw_id}/connections/{connection_id}/disconnect

vpn:p2cVpnGateway:disconnectConnection

-

x

Updating the P2C VPN connection log configuration

PUT /v5/{project_id}/p2c-vpn-gateways/{p2c_vgw_id}/log-config

vpn:p2cVpnGateway:updateConnectionsLogConfig

  • lts:logGroup:listLogGroup
  • lts:logStream:listLogStream

×

Querying the P2C VPN connection log configuration

GET /v5/{project_id}/p2c-vpn-gateways/{p2c_vgw_id}/log-config

vpn:p2cVpnGateway:getConnectionsLogConfig

-

×

Deleting the P2C VPN connection log configuration

DELETE /v5/{project_id}/p2c-vpn-gateways/{p2c_vgw_id}/log-config

vpn:p2cVpnGateway:deleteConnectionsLogConfig

-

×