检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
表4 BatchOpsResult 参数 参数类型 描述 result String 操作结果,取值有success或failed。 instance String 缓存实例ID。
waiting:等待中。 backuping:备份中。 succeed:备份成功。 failed:备份失败。 expired:备份文件过期。 deleted:已手动删除备份文件。
result String 密码修改结果: 成功:success; 密码验证失败:passwordFailed; 已锁定:locked; 失败:failed。 lock_time_left String 锁定剩余时间。锁定时该参数返回不为null。
are hard-coded or stored in plaintext, which has great security risks.
密码模式代码示例 其中ip or domain name:port需要修改为4获取的Memcached实例IP地址/域名和端口。userName和password需要修改为Memcached实例的用户名和密码。
当值为true时,设置maxWaitMillis才会生效。 maxWaitMillis -1 连接池耗尽后获取连接的最大等待时间,单位:毫秒。默认-1表示一直等待。 testOnCreate false 创建连接时校验有效性(ping),false:不校验,true:校验。
are hard-coded or stored in plaintext, which has great security risks.
X-Domain-ID:账号ID,可选。AK/SK认证方式下,全局服务的接口调用时,需在请求消息头中携带X-Domain-ID。 对于管理员创建IAM用户接口,使用AK/SK方式认证时,添加消息头后的请求如下所示。
flavors_available_zones Array of FlavorAzObject objects 有资源的可用区。 replica_count Integer 副本数。
are hard-coded or stored in plaintext, which has great security risks.
are hard-coded or stored in plaintext, which has great security risks.
__": # The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks.
are hard-coded or stored in plaintext, which has great security risks.
for authentication are hard-coded or stored in plaintext, which has great security risks.
图1 终端输入 编写如下代码: package main import ( "fmt" "github.com/go-redis/redis" ) func main() { // 单机 rdb := redis.NewClient(&redis.Options{
are hard-coded or stored in plaintext, which has great security risks.
are hard-coded or stored in plaintext, which has great security risks.
are hard-coded or stored in plaintext, which has great security risks.
hard-coded or stored in plaintext, which has great security risks.
hard-coded or stored in plaintext, which has great security risks.