查询实例列表
url参数
Action | Version | Method | 描述 |
ListRedis | 2018-03-22 | GET | 查询租户redis列表,支持分页 |
请求参数
参数名称 | 说明 | 参数类型 | 是否必填 | 备注 |
Limit | 分页大小 | Long | 是 | |
Offset | 偏移量 | Long | 是 | |
Action | ListRedis | String | 是 | |
Version | 2018-03-22 | String | 是 | |
返回参数
参数名称 | 参数类型 | 描述 |
RequestId | String | 请求id |
Code | String | 公共错误码, “Success”表示成功,其他值表示失败 |
RedisSet | Array | 实例对象数组,详见示例 |
TotalCount | Long | 实例数 |
状态码
错误码(Code) | 错误提示(Message) | http status code | 说明 |
ClusterNotFound | 实例不存在,请指定正确的集群名称。 | 400 | 实例不存在 |
Success | Success | 200 | 请求查询实例信息成功 |
请求示例
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
}