检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
0和Redis5.0实例,该字段为必选。 具体取值,请查看《产品介绍》手册的实例规格章节,查找到对应的“产品规格名称”列。 请求示例 POST https://{dcs_endpoint}/v1.0/{project_id}/instances/{instance_id}/extend {
当前版本,只有DCS2.0实例支持清空数据功能,即flush操作。 instances Array 是 实例的ID列表。 请求示例 PUT https://{dcs_endpoint}/v1.0/{project_id}/instances/status { "action":
使用Jedis连接池报错如何处理? 在使用Jedis连接池JedisPool模式下,比较常见的报错如下: redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the
创建失败的实例数。 参数值为“false”或者其他值,返回的统计不包括创建失败的实例数。 请求消息 请求参数 无。 请求示例 GET https://{dcs_endpoint}/v1.0/{project_id}/instances/status?includeFailure=true
error_code String 错误码。 error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 请求示例 GET https://{dcs_endpoint}/v2/{project_id}/instances/export-job?job_id={jobID}
安装Python和Python Redis客户端redis-py。 如果系统没有自带Python,可以使用yum方式安装。 下载并解压redis-py。 wget https://github.com/andymccurdy/redis-py/archive/master.zip unzip master.zip
"file_name": "20190924204307_redis.rdb", "link": "https://bucket6d1b61f3d7434f60b7e465f4037d73f3.obs.cn-north-4.myhuaweicloud
登录弹性云服务器。 安装Node.js。 apt install nodejs-legacy 如果以上命令安装不了,备选方式如下: wget https://nodejs.org/dist/v0.12.4/node-v0.12.4.tar.gz --no-check-certificate
仅当URI中参数allFailure值为“false”或者其他值时,才需要配置该参数。 一次最多可删除50个实例。 请求URL: DELETE https://{dcs_endpoint}/v1.0/{project_id}/instances?allFailure={allFailure}
扩展错误信息(暂未使用,赋值为null)。 请求示例 获取指定实例的备份文件下载链接,下载备份文件,设置URL有效期为1800秒。 POST https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/backups/{backup_id}/links
error_ext_msg String 参数解释: 扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 POST https://{dcs_endpoint}/v2/0524e839a54847039e9b2b46e8aa788a/instances/5c59
表1 参数说明 参数 类型 必选 说明 project_id String 是 项目ID。 请求消息 请求参数 无。 请求示例 GET https://{dcs_endpoint}/v1.0/{project_id}/instances/statistic 响应消息 响应参数 参数说明见表2。
String 否 查询结束时间。格式:yyyyMMddHHmmss,如:20170718235959。 请求消息 请求参数 无 请求示例 GET https://{dcs_endpoint}/v1.0/{project_id}/instances/{instance_id}/restores
error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 请求示例 启用白名单,配置允许访问的IP地址。 PUT https://{dcs_endpoint}/v2/{project_id}/instance/{instance_id}/whitelist {
最大长度:9 error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 最大长度:1024 请求示例 PUT https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/bandwidth 响应示例
QueryResourceTag 参数 参数类型 描述 key String 标签键。 value String 标签值。 请求示例 GET https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/tags 响应示例 状态码:
error_ext_msg String 参数解释: 扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 GET https://{dcs_endpoint}/v2/instances/maintain-windows 响应示例 状态码: 200 查询维护时间窗时间段成功。
error_ext_msg String 参数解释: 扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 POST https://{dcs_endpoint}/v2/{project_id}/instance/{instance_id}/groups/{gro
error_code String 错误码。 error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 请求示例 POST https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/auto-expire/scan
每个实例最多可以添加20个IP地址/地址段。如果有多个,可以用逗号分隔。不支持的IP和地址段:0.0.0.0和0.0.0.0/0。 请求示例 GET https://{dcs_endpoint}/v2/{project_id}/instance/{instance_id}/whitelist 响应示例