检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
URI DELETE /v5/{project_id}/vpn-gateways/{vgw_id} Table 1 Parameter description Parameter Type Mandatory Description project_id String Yes Specifies a project ID.
On the VPN Gateways page, locate the row that contains the VPN gateway you want to unsubscribe and choose More > Delete in the Operation column.
On the VPN Gateways page, locate the row that contains the VPN gateway you want to unsubscribe and choose More > Delete in the Operation column.
Click the Access Policies tab, and click Delete in the Operation column of the target policy. In the Delete Policy dialog box, click OK. Parent topic: P2C VPN Server Management
URI DELETE /v5/{project_id}/p2c-vpn-gateways/{p2c_vgw_id}/log-config Table 1 Parameter description Parameter Type Mandatory Description project_id String Yes Specifies a project ID.
Click Delete in the Operation column of the target user. In the Delete User dialog box, click OK. Removing a User from a User Group Log in to the management console. Click in the upper left corner and select the desired region and project.
DELETE https://{Endpoint}/v5/{project_id}/vpn-connection/{vpn_connection_id} { "error_code":"VPN.0001", "error_msg":"invalid request: ILLEGAL not allowed delete vpnConnection", "request_id":"76b771cb-3b2a-151a-5bed-fdf5df12ff82" } Status Codes For details, see Status
Audit and Logs VPN records the create, delete, and modify operations performed on all resources initiated by your account, and sends the records to Cloud Trace Service (CTS) in log files for query, audit, and source tracing. Figure 1 Audit and logs Parent topic: Security
Deleting a Customer Gateway Function This API is used to delete a customer gateway with a specified gateway ID. Calling Method For details, see Calling APIs.
Deleting a VPN Connection Monitor Function This API is used to delete a VPN connection monitor with a specified ID. Calling Method For details, see Calling APIs.
Deleting a Client CA Certificate Function This API is used to delete a client CA certificate with a specified ID. Calling Method For details, see Calling APIs.
Deleting a VPN User Group Function This API is used to delete a VPN user group with a specified ID. Calling Method For details, see Calling APIs.
Deleting a VPN Access Policy Function This API is used to delete a VPN access policy with a specified ID. Calling Method For details, see Calling APIs.
Deleting VPN Users in Batches Function This API is used to delete VPN users with specified IDs in batches. Calling Method For details, see Calling APIs.
Deleting a VPN User Function This API is used to delete a VPN user with a specified ID. Calling Method For details, see Calling APIs.
Example request DELETE https://{Endpoint}/v5/{project_id}/{resource_type}/{resource_id}/tags/delete { "tags": [{ "key": "key1", "value": "value1" }] } Response Response parameters Returned status code 204: Tags are successfully deleted.
As such, you also need to delete the VPN gateway to avoid incurring fees. Searching for Resources from Bills and Stopping Billing To delete all unnecessary resources, you can search the billing records by resource ID, and then delete the resources you identify in this way.
Example VPN custom policy Example 1: Grant permission to delete VPN gateways. You need to add the following dependent actions.
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:ports:delete vpc:routeTables:update
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:ports:delete vpc:routeTables:update