查詢資源池實例列表
更新時間 2025-10-17 14:30:30
最近更新時間: 2025-10-17 14:30:30
分享文章
接口功能介紹
查詢資源池實例列表
接口約束
無
URI
GET /v1/instanceManageMgrServant/describeInstances
路徑參數 無
Query參數
| 參數 | 是否必填 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|---|
| pageIndex | 否 | Integer | 當前頁碼 | 1 | |
| pageSize | 否 | Integer | 每頁大小 | 10 | |
| spuInstId | 否 | String | 實例ID,支持模糊查詢 | 670744821467448320 | |
| spuInstName | 否 | String | 實例名稱,支持模糊查詢 | idcsync-9624lxg |
請求參數
請求頭header參數
| 參數 | 是否必填 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|---|
| regionId | 是 | String | 資源池編碼 | 100054c0416811e9a6690242ac110002 |
請求體body參數 無
響應參數
| 參數 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|
| code | String | 響應碼描述 | core.ok | |
| message | String | 響應信息 | success | |
| statusCode | String | 響應狀態碼 | 800 | |
| returnObj | String | 響應對象 | returnObj | |
| 表 returnObj |
| 參數 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|
| total | String | 數量 | 2 | |
| pageIndex | String | 當前頁碼 | 1 | |
| totalPage | String | 總頁數 | 1 | |
| pageSize | String | 每頁大小 | 10 | |
| rows | Object | 數據列表 |
枚舉參數
無
請求示例
請求url
無
請求頭header
{"regionId":"100054c0416811e9a6690242ac110002"}
請求體body
1
響應示例
{
"code": "core.ok",
"returnObj": {
"total": 2,
"pageIndex": 1,
"totalPage": 1,
"pageSize": 10,
"rows": [
{
"uid": 0,
"user": "1100020#9#dcs2-5581zzf",
"instanceName": "dcs2-5581zzf",
"psw": null,
"createdate": null,
"accessSets": "accessSet_1100020_9_dcs2-5581zzf",
"redisSets": "redisSet_1100020_9_dcs2-5581zzf",
"redisSubSet": [
{
"userName": "1100020#9#dcs2-5581zzf",
"name": "sub0",
"accessSetName": "accessSet_1100020_9_dcs2-5581zzf",
"redisSetNames": [
"redisSet_1100020_9_dcs2-5581zzf"
]
}
],
"nodes": null,
"title": null,
"resourceId": "466",
"vip": "10.50.208.233",
"vipv6": null,
"status": 0,
"vipPort": 33100,
"sslSwitch": null,
"sslPort": null,
"speedControl": null,
"speedValue": 0,
"prodInstId": "904369604443243520",
"type": 1,
"capacityInfo": null,
"payType": 0,
"payTypeName": null,
"errorMsg": null,
"elasticIpBind": null,
"elasticIp": null,
"elasticIpId": null,
"outerElasticIpId": null,
"whitelists": [
"192.168.3.11",
"192.168.3.12"
],
"expiration": "0",
"engineVersion": null,
"archType": null,
"nodeType": null,
"securityGroup": null,
"netName": null,
"subnet": null,
"createTime": null,
"expTime": null,
"archTypeName": null,
"nodeTypeName": null,
"engineVersionName": null,
"tplName": null,
"tplCode": null,
"maintenanceTime": null,
"openNoneAuth": null
},
{
"uid": 0,
"user": "monitor_hozms_50",
"instanceName": "monitor_hozms_50",
"psw": null,
"createdate": null,
"accessSets": "accessSet_monitor_hozms_50",
"redisSets": "redisSet_monitor_hozms_50",
"redisSubSet": [
{
"userName": "monitor_hozms_50",
"name": "sub0",
"accessSetName": "accessSet_monitor_hozms_50",
"redisSetNames": [
"redisSet_monitor_hozms_50"
]
}
],
"nodes": null,
"title": null,
"resourceId": "",
"vip": null,
"vipv6": null,
"status": 0,
"vipPort": 0,
"sslSwitch": null,
"sslPort": null,
"speedControl": null,
"speedValue": 0,
"prodInstId": null,
"type": 1,
"capacityInfo": null,
"payType": 0,
"payTypeName": null,
"errorMsg": null,
"elasticIpBind": null,
"elasticIp": null,
"elasticIpId": null,
"outerElasticIpId": null,
"whitelists": [],
"expiration": "0",
"engineVersion": null,
"archType": null,
"nodeType": null,
"securityGroup": null,
"netName": null,
"subnet": null,
"createTime": null,
"expTime": null,
"archTypeName": null,
"nodeTypeName": null,
"engineVersionName": null,
"tplName": null,
"tplCode": null,
"maintenanceTime": null,
"openNoneAuth": null
}
]
},
"message": "success",
"statusCode": 800
}
狀態碼
請參考
錯誤碼
請參考