查询实例列表

url参数

ActionVersionMethod描述
ListRedis2018-03-22GET查询租户redis列表,支持分页

请求参数

参数名称说明参数类型是否必填备注
Limit分页大小Long
Offset偏移量Long
ActionListRedisString
Version2018-03-22String

返回参数

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

状态码

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

请求示例

GET https://open.cn-east-1.163yun.com/ncr?Action=ListRedis&Version=2018-03-22&Limit=100&Offset=0

返回示例

{
  "RequestId": "8fae5d83-6643-45f7-9668-bae74ab0369d",
  "Code": "Success",
  "RedisSet": [
    {
      "RedisName": "smoke-autotest-ha-wijpp",
      "ProductId": "fd23b42940914231a3dde91bccb6d93c",
      "RedisId": "2d7d57d7-a073-4919-bc04-9ea3b7c80505",
      "ZoneId": "cn-east-1b",
      "VpcId": "ff3074a2-41c7-4413-8726-6544e5bb2004",
      "SubnetId": "2c23b0de-1293-4e28-a61b-35d0238c67ec",
      "SecurityGroupIds": [
        "9d23d858-bb8e-42d7-98eb-0975db84688f"
      ],
      "NetworkType": "private",
      "EngineVersion": "2.8.24",
      "TypeId": 1,
      "MemorySize": 1024,
      "Shards": 1,
      "Replicas": 2,
      "NodeIp": "10.177.0.148",
      "NodePort": 6379,
      "Status": "available",
      "CreateTime": "2018-09-02 20:18:48",
      "EnableRollback": false,
      "ChargeType": "HOUR",
      "HealthStatus": "GOOD",
      "HighAvailability": true,
      "MasterVm": "f2aecb06-6c87-46d0-8e2b-9f2e373a20e6",
      "Series": "normal"
    },
    {
      "RedisName": "zc-a-0823",
      "ProductId": "fd23b42940914231a3dde91bccb6d93c",
      "RedisId": "7a89f239-749a-4354-801d-46094f27998f",
      "ZoneId": "cn-east-1a",
      "SecurityGroupIds": [],
      "NetworkType": "private",
      "EngineVersion": "2.8.24",
      "TypeId": 1,
      "MemorySize": 1024,
      "Shards": 1,
      "Replicas": 2,
      "NodeIp": "10.173.32.112",
      "NodePort": 6379,
      "Status": "available",
      "CreateTime": "2018-08-23 23:25:44",
      "EnableRollback": false,
      "ChargeType": "HOUR",
      "HealthStatus": "GOOD",
      "HighAvailability": true,
      "MasterVm": "e35e7bba-6e05-492a-be41-29f09e79afce",
      "Series": "normal"
    },
  ],
  "TotalCount": 2
}