功能介绍:查询节点的内存使用情况,返回实例最大内存及可用内存
GET https://[endpoint].ctapi.ctyun.cn/v1/instanceManageMgrServant/describeMemoryInfo
Content-Type:application/ form-data
URI参数说明:
参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
prodInstId | 873894303586321408 | String | 是 | 实例ID |
ip | 10.50.208.7 | String | 是 | redis节点Ip |
port | 25436 | String | 是 | redis节点port |
返回参数说明:(200)成功
参数名 | 示例值 | 参数类型 | 参数描述 |
code | core.ok | String | 响应码描述 |
returnObj | Map<String,String> | 响应对象 | |
returnObj.freeMemory | 2146409906 | String | 可用内存 |
returnObj.maxMemory | 2147483648 | String | 最大内存 |
message | success | String | 响应信息 |
statusCode | 800 | int | 响应状态码 |
请求示例:
GET https://dcs2-global.ctapi.ctyun.cn/v1/instanceManageMgrServant/describeMemoryInfo?prodInstId=873894303586321408&ip=10.50.208.7&port=25436
返回示例:
{ "code": "core.ok", "returnObj": { "freeMemory": "2146409906", "maxMemory": "2147483648" }, "message": "success", "statusCode": 800 } |