虚拟专用网络 VPN-VPN网关

时间:2024-07-20 08:18:27

VPN网关

权限

对应API接口

授权项(Action)

依赖的授权项

IAM 项目

(Project)

企业项目

(Enterprise Project)

创建VPN网关

POST /v5/{project_id}/vpn-gateways

vpn:vpnGateways:create

  • er:instances:list
  • er:instances:get
  • vpc:vpcs:list
  • vpc:vpcs:get
  • vpc:subnets:get
  • vpc:subnets:list
  • vpc:subnets:create
  • vpc:subnets:delete
  • vpc:subNetworkInterfaces:update
  • vpc:publicIps:create
  • vpc:publicIps:delete
  • vpc:publicIps:update
  • vpc:publicIps:get
  • vpc:publicIps:list
  • vpc:ports:create
  • vpc:bandwidths:list
  • vpc:ports:get
  • vpc:routeTables:update
  • vpc:routeTables:get

查询VPN网关

GET /v5/{project_id}/vpn-gateways/{vgw_id}

vpn:vpnGateways:get

  • vpc:publicIps:get
  • vpc:publicIps:list
  • vpc:bandwidths:list
  • er:instances:list
  • er:instances:get
  • vpc:vpcs:list
  • vpc:vpcs:get
  • vpc:subnets:get
  • vpc:subnets:list

查询VPN网关列表

GET /v5/{project_id}/vpn-gateways

vpn:vpnGateways:list

  • vpc:publicIps:get
  • vpc:publicIps:list
  • vpc:bandwidths:list
  • er:instances:list
  • er:instances:get
  • vpc:vpcs:list
  • vpc:vpcs:get
  • vpc:subnets:get
  • vpc:subnets:list

×

更新VPN网关

PUT /v5/{project_id}/vpn-gateways/{vgw_id}

vpn:vpnGateways:update

  • er:instances:list
  • er:instances:get
  • vpc:vpcs:list
  • vpc:vpcs:get
  • vpc:subnets:get
  • vpc:subnets:list
  • vpc:subnets:delete
  • vpc:subNetworkInterfaces:update
  • vpc:publicIps:delete
  • vpc:publicIps:update
  • vpc:publicIps:get
  • vpc:publicIps:list
  • vpc:bandwidths:list
  • vpc:ports:get
  • vpc:routeTables:update
  • vpc:routeTables:get

删除VPN网关

DELETE /v5/{project_id}/vpn-gateways/{vgw_id}

vpn:vpnGateways:delete

  • er:instances:list
  • er:instances:get
  • vpc:vpcs:list
  • vpc:vpcs:get
  • vpc:subnets:get
  • vpc:subnets:delete
  • vpc:subNetworkInterfaces:update
  • vpc:publicIps:delete
  • vpc:publicIps:update
  • vpc:publicIps:get
  • vpc:publicIps:list
  • vpc:bandwidths:list
  • vpc:ports:get
  • vpc:routeTables:update
  • vpc:routeTables:get

查询VPN网关可用区

GET /v5/{project_id}/vpn-gateways/availability-zones

vpn:vpnGatewayAvailabilityZone

-

导入VPN网关证书

POST /v5/{project_id}/vpn-gateways/{vgw_id}/certificate

vpn:vpnGateways:importCertificate

-

查询VPN网关证书

GET /v5/{project_id}/vpn-gateways/{vgw_id}/certificate

vpn:vpnGateways:getCertificate

-

更新VPN网关证书

PUT /v5/{project_id}/vpn-gateways/{vgw_id}/certificate/{certificate_id}

vpn:vpnGateways:updateCertificate

-

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