检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
示例3:批量删除Redis实例 场景描述 本章节指导用户通过API批量删除Redis实例。API的调用方法请参见如何调用API。 涉及接口 批量删除Redis实例时,需要进行查询待删除实例的ID,涉及的API如下: 查询实例ID:查询待删除Redis实例的ID。 批量删除实例:批量删除Redis实例。
最大长度:9 error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 最大长度:1024 请求示例 PUT https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/bandwidth 响应示例
查询任务中心任务列表 功能介绍 查询任务中心任务列表。 调用方法 请参见如何调用API。 URI GET /v2/{project_id}/tasks 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 项目ID。获取方法请参见获取项目ID。 表2
String 错误码。 error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 请求示例 DELETE https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/backups/{backup_id}
查询后台任务列表 功能介绍 查询后台任务列表。 调用方法 请参见如何调用API。 URI GET /v2/{project_id}/instances/{instance_id}/tasks 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 项目ID。获取方法请参见获取项目ID。
DCS支持哪些实例类型变更? 表1 DCS实例类型变更明细 实例版本 支持的实例变更类型 变更须知及影响 Redis 3.0 单机实例变更为主备实例 连接会有秒级中断,大约1分钟左右的只读。 主备实例变更为Proxy集群实例 如果Redis 3.0主备实例数据存储在多DB上,或数
php --version 将Predis包下载到/usr/share/php目录下。 通过以下命令下载Predis源文件。 wget https://github.com/predis/predis/archive/refs/tags/v2.2.2.tar.gz 仅以该版本作为示
String 错误码。 error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 请求示例 DELETE https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/accounts/{account_id}
error_ext_msg String 参数解释: 扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 DELETE https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/autoscaling-policy/bandwidth
error_code String 错误码。 error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 请求示例 PUT https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/accounts/{account_id}
String 否 查询结束时间。格式:yyyyMMddHHmmss,如:20170718235959。 请求消息 请求参数 无 请求示例 GET https://{dcs_endpoint}/v1.0/{project_id}/instances/{instance_id}/backups?
String 扩展错误信息(暂未使用,赋值为null)。 请求示例 创建实例诊断任务,设置诊断的起止时间和需要诊断的节点IP。 POST https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/diagnosis
错误信息。 error_code String 错误码。 error_ext_msg String 扩展错误信息。 请求示例 POST https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/clients/kill
error_code String 错误码。 error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 请求示例 GET https://{dcs_endpoint}/v2/a4d31cb6-3d72-4fdc-8ec9-6e3a41e47f71/instances/
error_code String 错误码。 error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 请求示例 GET https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/auto-expire/histories
error_code String 错误码。 error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 请求示例 GET https://{dcs_endpoint}/v2/a4d31cb6-3d72-4fdc-8ec9-6e3a41e47f71/instances/
error_ext_msg String 参数解释: 扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 GET https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/version 响应示例
error_ext_msg String 参数解释: 扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 PUT https://{dcs_endpoint}/v2/{project_id}/migration-task/{task_id} { "resume_mode"
error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 请求示例 创建ACL只读权限账号,账号名为user。 POST https:///{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/accounts
error_code String 错误码。 error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 请求示例 POST https://{dcs_endpoint}/v2/a4d31cb6-3d72-4fdc-8ec9-6e3a41e47f71/instances/