检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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}
创建缓存实例 功能介绍 创建缓存实例,该接口创建的缓存实例支持按需计费和包周期两种方式。 URI POST /v1.0/{project_id}/instances 参数说明见表1。 表1 参数说明 参数 类型 必选 说明 project_id String 是 项目ID。获取方式,参考获取项目ID。
String 否 查询结束时间。格式:yyyyMMddHHmmss,如:20170718235959。 请求消息 请求参数 无 请求示例 GET https://{dcs_endpoint}/v1.0/{project_id}/instances/{instance_id}/backups?
DCS支持哪些实例类型变更? 表1 DCS实例类型变更明细 实例版本 支持的实例变更类型 变更须知及影响 Redis 3.0 单机实例变更为主备实例 连接会有秒级中断,大约1分钟左右的只读。 主备实例变更为Proxy集群实例 如果Redis 3.0主备实例数据存储在多DB上,或数
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_code String 错误码。 error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 请求示例 POST https://{dcs_endpoint}/v2/a4d31cb6-3d72-4fdc-8ec9-6e3a41e47f71/instances/
error_code String 错误码。 error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 请求示例 POST https://{dcs_endpoint}/v2/a4d31cb6-3d72-4fdc-8ec9-6e3a41e47f71/instances/
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/a4d31cb6-3d72-4fdc-8ec9-6e3a41e47f71/instances/
error_ext_msg String 参数解释: 扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 GET https://{dcs_endpoint}/v2/{project_id}/instances/statistic 响应示例 状态码: 200 查询实例统计信息成功。
error_ext_msg String 参数解释: 扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 POST https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/webcli/logout