查询实例详情

url参数

ActionVersionMethod描述
DescribeRedis2018-03-22GET查询Redis实例详情

请求参数

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

返回参数

参数名称参数类型描述
RequestIdString请求id
CodeString公共错误码, “Success”表示成功,其他值表示失败
RedisObjectRedis对象

状态码

错误码(Code)错误提示(Message)http status code说明
SUCCESSSuccess200获取redis信息成功
ClusterNotFound实例不存在,请指定正确的集群名称。400实例不存在

请求示例

GET https://open.cn-east-1.163yun.com/ncr?Action=DescribeRedis&Version=2018-03-22&RedisId=ced0adc8-732b-40ed-a4ef-e6d4500022af

返回示例

{
  "RequestId": "782bb1fe-b982-446e-a6f9-56156ccfa1b9",
  "Code": "Success",
  "Redis": {
    "RedisName": "smoke-autotest-sentinel-ld9m9",
    "ProductId": "27c88bfc2b0148e88088880f0f96c040",
    "RedisId": "ced0adc8-732b-40ed-a4ef-e6d4500022af",
    "ZoneId": "cn-east-1b",
    "VpcId": "47e88306-6e2a-4e9a-a834-27e478bae028",
    "SubnetId": "a3fc3d88-1431-4779-8ad2-af177b43cc1d",
    "SecurityGroupIds": [
      "dd9891d7-b6f5-4371-a311-ee91e5c1a6bc"
    ],
    "NetworkType": "private",
    "EngineVersion": "2.8.24-standard",
    "TypeId": 3,
    "MemorySize": 2048,
    "UsedMemory": 0,
    "Shards": 2,
    "Replicas": 2,
    "NodePort": 0,
    "Status": "available",
    "CreateTime": "2018-08-31 09:51:57",
    "EnableRollback": false,
    "ReplicaGroup": [],
    "SentinelGroup": [
      {
        "NodeIp": "192.168.0.211",
        "Port": 26379
      },
      {
        "NodeIp": "192.168.0.212",
        "Port": 26379
      },
      {
        "NodeIp": "192.168.0.213",
        "Port": 26379
      }
    ],
    "ChargeType": "HOUR",
    "HealthStatus": "GOOD",
    "HighAvailability": true,
    "ReservedPercent": 0.5,
    "Series": "normal"
  }
}