检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
是 String 实例配置项ID。 响应参数 状态码: 200 表4 响应Body参数 参数 参数类型 描述 job_id String 更新配置任务ID。 状态码: 400 表5 响应Body参数 参数 参数类型 描述 error_msg String 参数解释: 错误信息。 取值范围:
ClientOptions - 配置项 readFrom readFrom MASTER 读取模式,建议值:MASTER,其余配置在发生故障切换场景下,均存在访问失败风险 表5 LettucePoolingClientConfiguration参数 参数 类型 默认值 说明 timeout
才会显示该参数,请在输入框中配置连接Redis实例的密码。 DCS服务出于安全考虑,在密码访问模式下,连接使用Redis实例时,需要先进行密码认证。 请妥善保存密码,并定期更新密码。系统无法获取您设置的密码内容。 单击“高级配置”,根据需要选择是否设置以下信息。 设置“参数配置
最大长度:9 error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 最大长度:1024 请求示例 PUT https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/bandwidth 响应示例
示例3:批量删除Redis实例 场景描述 本章节指导用户通过API批量删除Redis实例。API的调用方法请参见如何调用API。 涉及接口 批量删除Redis实例时,需要进行查询待删除实例的ID,涉及的API如下: 查询实例ID:查询待删除Redis实例的ID。 批量删除实例:批量删除Redis实例。
GroupBandwidthInfo 参数 参数类型 描述 group_id String 分片ID。 updated_at String 更新时间,UTC时间。 bandwidth Integer 当前带宽(Mbit/s)。 max_bandwidth Integer 最大带宽(Mbit/s)。
String 错误码。 error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 请求示例 DELETE https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/backups/{backup_id}
最安全。 everysec:每秒调用一次fsync。兼具数据安全和性能。 no appendonly 指定是否在每次更新操作后进行日志记录,Redis在默认情况下是异步的把数据写入磁盘,如果不开启,可能会在断电时导致一段时间内的数据丢失。 单机实例不支持该参数。 yes:开启日志记录,即开启持久化功能。
询VPC列表。 subnet_id 是 String 子网的网络ID。 获取方法如下: 方法1:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找网络ID。 方法2:通过虚拟私有云服务的API接口查询,具体操作可参考查询子网列表。 security_group_id
实例配置项数组。 取值范围: 不涉及。 config_status String 参数解释: 实例修改状态。 取值范围: UPDATING:更新中。 FAILURE:修改失败。 SUCCESS:修改成功。 status String 参数解释: 实例运行状态。 取值范围: PAYING:订单未支付或处理中。
schedule_at Array of strings 每日分析时间,时间格式为21:00,时间为UTC时间。 updated_at String 配置更新时间,时间格式为2020-06-15T02:21:18.669Z。 状态码: 400 表4 响应Body参数 参数 参数类型 描述 error_msg
schedule_at Array of strings 每日分析时间,时间格式为21:00,时间为UTC时间。 updated_at String 配置更新时间,时间格式为2020-06-15T02:21:18.669Z。 状态码: 400 表4 响应Body参数 参数 参数类型 描述 error_msg
mkdir redis && cd redis 执行以下命令下载Redis客户端。此处以下载5.0.13版本的客户端为例。 wget https://download.redis.io/releases/redis-5.0.13.tar.gz 解压Redis,进入Redis目录,执行编译命令后返回redis目录。
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}
排序方式,asc:正序排序,desc:倒序排序。 请求参数 无 响应参数 状态码: 200 表3 响应Body参数 参数 参数类型 描述 time String 数据更新时间。 clients Array of ClientInfo objects 会话列表。 count Integer 会话总数。 表4 ClientInfo
String 否 查询结束时间。格式:yyyyMMddHHmmss,如:20170718235959。 请求消息 请求参数 无 请求示例 GET https://{dcs_endpoint}/v1.0/{project_id}/instances/{instance_id}/backups?
错误信息。 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/{project_id}/instances/{instance_id}/auto-expire/histories