检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
If you delete or unsubscribe from the ECS, the resources would be handled as follows.
Deleting Tags from an ECS in a Batch (Discarded) Function This API is used to delete tags from a specified ECS in a batch. The Tag Management Service (TMS) uses this API to batch manage the tags of an ECS. This API is idempotent.
Request None Response None Example Request Delete the metadata from a specified ECS. DELETE https://{endpoint}/v2.1/{project_id}/servers/{server_id}/metadata/{key} Example Response None Returned Values See Returned Values for General Requests.
Request None Response None Example Request Delete a NIC from an ECS based on the specified port ID. DELETE https://{endpoint}/v2.1/{project_id}/servers/{server_id}/os-interface/{port_id} Example Response None Returned Values See Returned Values for General Requests.
Request None Response None Example Request Delete the SSH key pair named KeyPair-123. DELETE https://{endpoint}/v2.1/{project_id}/os-keypairs/KeyPair-123 Example Response None Returned Values See Returned Values for General Requests.
Enabling Recycle Bin Scenarios When using recycle bin, if you delete pay-per-use ECSs or unexpired yearly/monthly ECSs, they are retained in the recycle bin for a time period that you specify before being permanently deleted.
Deleting an ECS Group Function This API is used to delete an ECS group. URI DELETE /v1/{project_id}/cloudservers/os-server-groups/{server_group_id} Table 1 describes the parameters in the URI.
Deleting a Security Group (Discarded) Function This API is used to delete a security group. This API has been discarded. Use the API described in Deleting a Security Group.
Deleting a Security Group Rule (Discarded) Function This API is used to delete a security group rule. This API has been discarded. Use the API described in Deleting a Security Group Rule.
URI DELETE /v2.1/{project_id}/os-volumes/{volume_id} Table 1 describes the parameters in the URI. Table 1 Parameter description Parameter Mandatory Description project_id Yes Specifies the project ID.
If you want to modify the private IP address of an extension NIC, delete the NIC and attach a new NIC. Constraints The ECS must be stopped. If a virtual IP address or DNAT rule has been configured for the NIC, cancel the configuration before modifying the private IP address.
Deleting an ECS Group (Discarded) Function This API is used to delete an ECS group. This API has been discarded. Use the API described in Deleting an ECS Group. URI DELETE /v2.1/{project_id}/os-server-groups/{server_group_id} Table 1 describes the parameters in the URI.
Deleting a Server from the Recycle Bin Function This API is used to delete a server from the recycle bin. URI DELETE /v1/{project_id}/recycle-bin/cloudservers/{server_id} Table 1 describes the parameters in the URI.
Managing Automatic Recovery of an ECS (Discarded) Function This API is used to configure or delete automatic recovery of an ECS. URI PUT /v1/{project_id}/cloudservers/{server_id}/autorecovery Table 1 describes the parameters in the URI.
You can provision or delete such an ECS at any time. Yearly/Monthly: a prepaid billing mode, in which an ECS is billed based on the purchased duration. This mode is more cost-effective than the pay-per-use mode and is suitable for predictable usage.
Request None Response None Example Request Delete a specified metadata from an ECS. DELETE https://{endpoint}/v1/{project_id}/cloudservers/{server_id}/metadata/{key} Example Response None Returned Values See Returned Values for General Requests. Parent topic: Metadata Management
Deleting a Snapshot (Discarded) Function This API is used to delete a volume snapshot. This API has been discarded. Use the API described in Deleting an EVS Snapshot (OpenStack Cinder API v2).
Starting and Stopping ECSs You can start, stop, restart, unsubscribe, or delete the ECS. To prevent a sudden load increase, you are advised to start or stop a small number of ECSs at a time.
NIC management Add, delete, or query ECS NICs. Disk management Attach, detach, or query ECS disks. Metadata management Update, set, delete, query, obtain, or modify ECS metadata. Tenant quota management Query tenant quotas.
Figure 2 Searching for the resource Click More > Delete in the Operation column to delete the ECS. Ensure that the resource does not exist in the list.