虚拟专用网络 VPN-服务端

时间:2025-02-06 08:42:05

服务端

权限

对应API接口

授权项(Action)

依赖的授权项

IAM 项目(Project)

企业项目(Enterprise Project)

创建终端入云VPN服务端

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

x

查询一个网关下的服务端信息

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

vpn:p2cVpnGateway:listServers

-

x

更新指定网关的服务端

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

导出服务端对应的客户端配置信息

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

vpn:p2cVpnGateway:exportClientConfig

-

x

校验CA证书的合法性

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

vpn:system:checkClientCaCertificate

-

x

导入客户端CA证书

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

vpn:p2cVpnGateway:importClientCa

-

x

修改客户端CA证书

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

vpn:p2cVpnGateway:updateClientCa

-

x

查询客户端CA证书

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

vpn:p2cVpnGateway:getClientCa

-

x

删除客户端CA证书

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

vpn:p2cVpnGateway:deleteClientCa

-

x

查询租户下的所有服务端信息

GET /v5/{project_id}/vpn-servers

vpn:p2cVpnGateway:listAllServers

-

x

断开终端入云VPN网关连接

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

vpn:p2cVpnGateway:disconnectConnection

-

x

更新终端入云VPN连接日志配置

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

vpn:p2cVpnGateway:updateConnectionsLogConfig

-

×

查询终端入云VPN连接日志配置

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

vpn:p2cVpnGateway:getConnectionsLogConfig

-

×

删除终端入云VPN连接日志配置

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

vpn:p2cVpnGateway:deleteConnectionsLogConfig

-

×

support.huaweicloud.com/productdesc-vpn/vpn_01_0050.html