更新时间:2024-12-09 GMT+08:00

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:ports:delete
  • 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网关可用区(V5)

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

vpn:vpnGatewayAvailabilityZone:list

-

×

查询VPN网关可用区(V5.1)

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

vpn:vpnGatewayAvailabilityZone:list

-

×

导入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

-