接口地址:/webapi/hypervisor/list
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
虚拟化平台列表-分页
请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| hypervisorName | 平台名称 | query | false | string | |
| hypervisorType | 平台类型 | query | false | string | |
| hypervisorIp | 平台地址 | query | false | string | |
| hypervisorId | 平台ID | query | false | string | |
| requestId | 请求ID | query | false | string | |
| page | 当前页。默认1 | query | false | string | |
| pageSize | 页数。默认-1 | query | false | string | |
| userGroupId | 用户组ID | query | false | string | |
| authType | 授权类型 | query | false | string | |
| ignoreDataAuth | 忽略数据权限 | query | false | string |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | ResponseResultPageHypervisorListVo |
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| message | 返回状态标记 | string | |
| statFlag | 返回状态 | integer(int32) | integer(int32) |
| dataInfo | PageHypervisorListVo | PageHypervisorListVo | |
| records | array | HypervisorListVo | |
| hypervisorIp | 平台地址 | string | |
| enableRecover | 是否开启恢复 | integer(int32) | |
| hypervisorName | 平台名称 | string | |
| authenticatorType | 认证类型 | string | |
| hypervisorVersion | 版本 | string | |
| accessNodes | 访问节点 | array | integer |
| vmwareAuthenticator | VmwareAuthenticator | VmwareAuthenticator | |
| userName | 虚拟化平台账号 | string | |
| password | 虚拟化平台密码 | string | |
| authenticatorType | 虚拟化平台认证类型 | integer(int32) | |
| hypervisorType | 平台类型 | integer(int32) | |
| accessNodesInfo | 访问节点信息 | array | ClientInfoDto |
| clientId | 客户端ID | integer(int32) | |
| guid | 客户端UUID | string | |
| clientName | 客户端名称 | string | |
| status | 客户端状态 | integer(int32) | |
| clientIp | 客户端IP | string | |
| description | 描述 | string | |
| clientCacheFolder | 缓存文件夹 | string | |
| installFolder | 安装目录 | string | |
| csdPort | CSD端口 | integer(int32) | |
| osId | 操作系统ID | integer(int32) | |
| releaseId | 版本ID | integer(int32) | |
| releaseName | 版本名称 | string | |
| updateStatus | 更新状态 | integer(int32) | |
| enableBackup | 启动备份 | integer(int32) | |
| enableRecover | 启动恢复 | integer(int32) | |
| maxConcurrentStream | 最大并发流数 | integer(int32) | |
| flags | 客户端压缩、去重标识 | integer(int32) | |
| agentList | 客户端代理类型列表 | array | integer |
| nodeJson | 节点Json | string | |
| accessNodes | 访问节点 | array | integer |
| dbIp | 访问节点的dbIp | string | |
| agentInfo | 访问节点的agentInfo | array | string |
| mgnodeInfo | 访问节点的mgnodeInfo | array | string |
| agentInfoJson | array | JSONObject | |
| empty | boolean | ||
| userName | 账号 | string | |
| hypervisorId | 平台ID | integer(int64) | |
| enableBackup | 是否开启备份 | integer(int32) | |
| total | integer(int64) | ||
| size | integer(int64) | ||
| current | integer(int64) | ||
| orders | array | OrderItem | |
| column | string | ||
| asc | boolean | ||
| optimizeCountSql | PageHypervisorListVo | PageHypervisorListVo | |
| searchCount | PageHypervisorListVo | PageHypervisorListVo | |
| optimizeJoinOfCountSql | boolean | ||
| maxLimit | integer(int64) | ||
| countId | string | ||
| pages | integer(int64) | ||
| dataCount | 返回数据条数 | integer(int32) | integer(int32) |
响应示例:
{
"message": "操作成功",
"statFlag": 0,
"dataInfo": {
"records": [
{
"hypervisorIp": "",
"enableRecover": 0,
"hypervisorName": "",
"authenticatorType": "",
"hypervisorVersion": "",
"accessNodes": [],
"vmwareAuthenticator": {
"userName": "",
"password": "",
"authenticatorType": 0
},
"hypervisorType": 0,
"accessNodesInfo": [
{
"clientId": 0,
"guid": "",
"clientName": "",
"status": 0,
"clientIp": "",
"description": "",
"clientCacheFolder": "",
"installFolder": "",
"csdPort": 0,
"osId": 0,
"releaseId": 0,
"releaseName": "",
"updateStatus": 0,
"enableBackup": 0,
"enableRecover": 0,
"maxConcurrentStream": 0,
"flags": 0,
"agentList": [],
"nodeJson": "",
"accessNodes": [],
"dbIp": "",
"agentInfo": [],
"mgnodeInfo": [],
"agentInfoJson": [
{
"empty": true
}
]
}
],
"userName": "",
"hypervisorId": 0,
"enableBackup": 0
}
],
"total": 0,
"size": 0,
"current": 0,
"orders": [
{
"column": "",
"asc": true
}
],
"optimizeCountSql": {},
"searchCount": {},
"optimizeJoinOfCountSql": true,
"maxLimit": 0,
"countId": "",
"pages": 0
},
"dataCount": 10
}