检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
If yes, delete it. Parent topic: Redis Usage
How Does DCS Delete Expired Keys? Question What are the rules for scheduled deletion of expired keys on a daily basis? Can I customize the rules? Mechanisms for Deleting Expired Keys Lazy free deletion: The deletion strategy is controlled in the main I/O event loop.
Delete failed instance creation tasks as required. To delete all failed tasks, click Delete All above the task list. To delete a single failed task, click Delete in the row containing the task.
Deleting a Single DCS Instance Function This API is used to delete a specified DCS instance to free up all resources occupied by the DCS instance. To delete pay-per-use resources, perform operations in this section.
Scanning and Deleting Expired Keys in a DCS Redis Instance There are two ways to delete a key in Redis. Use the DEL command to directly delete a key. Use commands such as EXPIRE to set a timeout on a key.
For example, you cannot delete or scale up an instance while it is being restarted. Likewise, you cannot delete an instance while it is being scaled up. If the specification modification fails, try again later. If it fails again, contact technical support.
Step 2: Delete Instances in Batches URI URI format: DELETE /v2/{project_id}/instances Example request DELETE https://{dcs_endpoint}/v2/{project_id}/instances To obtain the value of {dcs_endpoint}, see Regions and Endpoints.
Big key analysis only queries keys that occupy a large space and does not delete the keys. Due to the lazy free deletion mechanism, keys are not deleted immediately upon expiration, unless they are accessed or identified.
Batch Deleting DCS Instances Function This API is used to delete multiple DCS instances at a time. URI DELETE /v1.0/{project_id}/instances?allFailure={allFailure} Table 1 describes the parameters.
Adding or Deleting Tags in Batches Function This API is used to add or delete tags in batches for a DCS instance. This API is available only in the AP-Singapore region.
Deleting an Instance Function This API is used to delete a specified DCS instance to free up all resources occupied by the DCS instance. To delete pay-per-use resources, perform operations in this section.
Deleting Backup Files Function This API is used to delete the files backed up by a DCS instance. URI DELETE /v1.0/{project_id}/instances/{instance_id}/backups/{backup_id} Table 1 describes the parameters.
Deleting a Bandwidth Auto Scaling Policy Function This API is used to delete a bandwidth auto scaling policy. Calling Method For details, see Calling APIs.
Example Requests Batch deleting DCS instances DELETE https://{dcs_endpoint}/v2/{project_id}/instances?
Deleting a Custom Template Function This API is used to delete a custom template. Calling Method For details, see Calling APIs.
URI DELETE /v2/{project_id}/migration-tasks/delete Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String Definition: Project ID. For details, see Obtaining a Project ID.
Deleting a Task in the Task Center Function This API is used to delete a task in the task center. Calling Method For details, see Calling APIs.
Deleting Diagnosis Records Function This API is used to delete diagnosis records. Calling Method For details, see Calling APIs.
Deleting Backup Files Function This API is used to delete the backup files of a DCS instance. Calling Method For details, see Calling APIs.
Constraints: N/A Range: create: Create an instance tag. delete: Delete an instance tag. Default Value: N/A tags Yes Array of ResourceTag objects Definition: Tag list. Constraints: N/A Table 3 ResourceTag Parameter Mandatory Type Description key Yes String Definition: Tag key.