查询实例参数详情

url参数

ActionVersionMethod描述
DescribeRedisParam2018-03-22GET获取Redis实例参数详情

请求参数

参数名称说明参数类型是否必填备注
RedisId实例idString
ActionDescribeRedisParamString
Version2018-03-22String

返回参数

参数名称参数类型描述
RequestIdString请求id
CodeString公共错误码, “Success”表示成功,其他值表示失败
ParamsObjectRedis集群参数信息

状态码

错误码(Code)错误提示(Message)http status code说明
ClusterNotFound实例不存在,请指定正确的集群名称404redis实例不存在
Success返回集群参数信息200集群参数信息

请求示例

GET https://open.cn-east-1.163yun.com/ncr?Action=DescribeRedisParam&Version=2018-03-22&RedisId=6dcb422c-f057-4dd2-9ec2-4c7e3eac6879

返回示例

{
  "RequestId": "de830b6d-5815-4317-83c2-f4dce5e92848",
  "Code": "Success",
  "Params": {
    "loglevel": {
      "need": false,
      "defaultValue": "notice",
      "allow": "debug|verbose|notice|warning",
      "forbidden": false,
      "type": "GENERAL",
      "repeat": false,
      "needReboot": false,
      "currentValue": "notice"
    },
    "maxmemory-policy": {
      "need": false,
      "defaultValue": "volatile-lru",
      "allow": "volatile-lru|allkeys-lru|volatile-random|allkeys-random|volatile-ttl|noeviction",
      "forbidden": false,
      "type": "LIMITS",
      "repeat": false,
      "needReboot": false,
      "currentValue": "volatile-lru"
    },
    "maxmemory-samples": {
      "need": false,
      "defaultValue": "3",
      "allow": "^[1-9]\\d{0,1}$",
      "forbidden": false,
      "type": "LIMITS",
      "repeat": false,
      "needReboot": false,
      "currentValue": "3"
    },
    "hash-max-ziplist-entries": {
      "need": false,
      "defaultValue": "512",
      "allow": "^[1-9]\\d{0,8}$",
      "forbidden": false,
      "type": "ADVANCED CONFIG",
      "repeat": false,
      "needReboot": false,
      "currentValue": "512"
    },
    "hash-max-ziplist-value": {
      "need": false,
      "defaultValue": "64",
      "allow": "^[1-9]\\d{0,8}$",
      "forbidden": false,
      "type": "ADVANCED CONFIG",
      "repeat": false,
      "needReboot": false,
      "currentValue": "64"
    },
    "list-max-ziplist-entries": {
      "need": false,
      "defaultValue": "512",
      "allow": "^[1-9]\\d{0,8}$",
      "forbidden": false,
      "type": "ADVANCED CONFIG",
      "repeat": false,
      "needReboot": false,
      "currentValue": "512"
    },
    "list-max-ziplist-value": {
      "need": false,
      "defaultValue": "64",
      "allow": "^[1-9]\\d{0,8}$",
      "forbidden": false,
      "type": "ADVANCED CONFIG",
      "repeat": false,
      "needReboot": false,
      "currentValue": "64"
    },
    "set-max-intset-entries": {
      "need": false,
      "defaultValue": "512",
      "allow": "^[1-9]\\d{0,8}$",
      "forbidden": false,
      "type": "ADVANCED CONFIG",
      "repeat": false,
      "needReboot": false,
      "currentValue": "512"
    },
    "zset-max-ziplist-entries": {
      "need": false,
      "defaultValue": "512",
      "allow": "^[1-9]\\d{0,8}$",
      "forbidden": false,
      "type": "ADVANCED CONFIG",
      "repeat": false,
      "needReboot": false,
      "currentValue": "512"
    },
    "zset-max-ziplist-value": {
      "need": false,
      "defaultValue": "64",
      "allow": "^[1-9]\\d{0,8}$",
      "forbidden": false,
      "type": "ADVANCED CONFIG",
      "repeat": false,
      "needReboot": false,
      "currentValue": "64"
    },
    "hll-sparse-max-bytes": {
      "need": false,
      "defaultValue": "3000",
      "allow": "^[1-9]\\d{0,8}$",
      "forbidden": false,
      "type": "ADVANCED CONFIG",
      "repeat": false,
      "needReboot": false,
      "currentValue": "3000"
    },
    "reserved-memory-percent": {
      "need": false,
      "defaultValue": "25",
      "allow": "^([0-9]?|[0-4][0-9]|50)$",
      "forbidden": false,
      "type": "ADVANCED CONFIG",
      "repeat": false,
      "needReboot": false,
      "currentValue": "50"
    }
  }
}