检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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.
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.
Deleting Offline Key Analysis Records Function This API is used to delete offline key analysis records. 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. Authorization Information Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies dcs:instance:delete Write instance g:EnterpriseProjectId - vpc:ports:get vpc:ports:create vpc:ports:update vpc:ports:delete vpc:subnets:get URI DELETE /v2/{project_id}/instances Table 1 Path Parameters
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.
Deleting Backup Files Function This API is used to delete the backup files of a DCS instance. Calling Method For details, see Calling APIs.
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.
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.
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.
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies dcs:migrationTask:delete Write migrationTask - - - URI DELETE /v2/{project_id}/migration-tasks/delete Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String Definition: Project
If yes, delete it. Parent topic: Redis Usage
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.
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.
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies dcs:template:delete Write - - - - URI DELETE /v2/{project_id}/config-templates/{template_id} Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String Project ID.
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.
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies dcs:instance:delete Write instance g:EnterpriseProjectId - vpc:ports:get vpc:ports:create vpc:ports:update vpc:ports:delete vpc:subnets:get URI DELETE /v2/{project_id}/instances/{instance_id} Table 1
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies dcs:task:delete Write - - - - URI DELETE /v2/{project_id}/tasks/{task_id} Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String Project ID.
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies dcs:aclaccount:delete Write instance * - - - URI DELETE /v2/{project_id}/instances/{instance_id}/accounts/{account_id} Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String
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.