检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
error_ext_msg String 参数解释: 扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 GET https://{dcs_endpoint}/v2/instances/maintain-windows 响应示例 状态码: 200 查询维护时间窗时间段成功。
实例需要启停的节点ID列表。未配置该参数时,默认启停实例全部节点。 action 否 String 对实例节点的操作: start:开启节点 stop:关闭节点 响应参数 状态码: 200 表3 响应Body参数 参数 参数类型 描述 job_id String 实例节点启停的任务ID。 状态码:
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 响应示例
error_ext_msg String 参数解释: 扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 PUT https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/bandwidth 响应示例
示例3:批量删除Redis实例 场景描述 本章节指导用户通过API批量删除Redis实例。API的调用方法请参见如何调用API。 涉及接口 批量删除Redis实例时,需要进行查询待删除实例的ID,涉及的API如下: 查询实例ID:查询待删除Redis实例的ID。 批量删除实例:批量删除Redis实例。
错误码。 error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 请求示例 删除后台任务。 DELETE https://{dcs_endpoint}/v2/a4d31cb6-3d72-4fdc-8ec9-6e3a41e47f71/instances/
String 错误码。 error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 请求示例 DELETE https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/diagnosis
error_ext_msg String 参数解释: 扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 post https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/webcli/command
error_code String 错误码。 error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 请求示例 GET https://{dcs_endpoint}/v2/{project_id}/jobs/{job_id} 响应示例 状态码: 200 查询后台任务详情成功。
创建缓存实例 功能介绍 创建缓存实例,该接口创建的缓存实例支持按需计费和包周期两种方式。 URI POST /v1.0/{project_id}/instances 参数说明见表1。 表1 参数说明 参数 类型 必选 说明 project_id String 是 项目ID。获取方式,参考获取项目ID。
查询所有实例列表 功能介绍 查询租户的缓存实例列表,支持按照条件查询。 调用方法 请参见如何调用API。 URI GET /v2/{project_id}/instances 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 参数解释: 项目ID。获取方法请参见获取项目ID。
error_ext_msg String 参数解释: 扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 DELETE https://{dcs_endpoint}/v2/{project_id}/config-templates/{template_id} 响应示例
error_code String 错误码。 error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 请求示例 GET https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/accounts 响应示例
error_ext_msg String 参数解释: 扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 GET https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/operations
error_code String 错误码。 error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 请求示例 GET https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/restores?o
error_ext_msg String 参数解释: 扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 强制重启缓存实例。 PUT https://{dcs_endpoint}/v2/{project_id}/instances/status { "instances" :
error_code String 错误码。 error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 请求示例 POST https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/resize/check-job
error_ext_msg String 参数解释: 扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 PUT https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/async-configs