首页
概述
项目
云主机
弹性IP
镜像
云防火墙
负载均衡
共享带宽
内网虚IP
计费
防攻击
防暴力破解

查询主机(vmSelect)


接口描述:

查询主机

请求参数:

参数名必选类型说明
Outer_Ipstring外网IP
VM_Namestring主机名
Offsetstring偏移量
Limitstring数量
Order_Bystring排序字段【OS_VERSION、NAME、Outer_Ip、Bandwidth、RI_END_TIME】
Orderstring升降序【asc、desc】

响应参数:

参数名说明
VM_Id主机ID
VM_Name主机名
Status

主机状态

【Running(开机 )、Halted(关机)、Adding(创建中) 、Reinstalling(重装中)】

其他状态表示异常

ECUCPU核数
Memory_Size内存大小,单位G
System_Disk_Size系统盘大小,单位GB
Data_Disk_Size数据盘大小,单位GB
IP内网IP
OS系统类型
Note备注
VM_Create_Time创建时间
VM_Create_User创建人
OS_Version镜像版本
Auto_Renew自动续费
Ri_Id套餐ID
Count_Type套餐类型
Ri_Start_Time套餐开始时间
Ri_End_Time套餐结束时间
VM_Outer_Ip外网IP
Group_Id带宽套餐ID
Bandwidth带宽大小
Shbw_Id共享带宽ID
Execute_Time自动删除时间

响应示例:

{
    "code": 200,
    "msg": "success",
    "time": 1496805586,
    "data": {
        "count": "2",
        "list": [
            {
                "VM_Id": "VM8084cd08784bd9f7f092e9",
                "Status": "Running",
                "VM_Name": "admin",
                "ECU": "1",
                "Memory_Size": "1",
                "System_Disk_Size": "60",
                "Data_Disk_Size": "",
                "IP": "192.168.230.123",
                "OS": "Windows",
                "Note": "",
                "VM_Create_Time": "2017-06-06 17:36:01",
                "VM_Create_User": "1000000020",
                "OS_Version": "_S_SYSTEM_WINDOWS_2012R2STANDARD_64",
                "Auto_Renew": "true",
                "Ri_Id": "RId8fc6cb4784bd9f7f5d345",
                "Count_Type": "month",
                "Ri_Start_Time": "2017-06-06 17:36:02",
                "Ri_End_Time": "2017-07-06 17:36:02",
                "VM_Outer_Ip": "",
                "Group_Id": "",
                "Bandwidth": "",
                "VM_Uuid": "9a33ec45-6ff9-49e2-8e93-bdedb9c8933d",
                "Shbw_Id": "",
                "Execute_Time": ""
            },
            {
                "VM_Id": "VM7bf8c98a7800c90ea82341",
                "Status": "Running",
                "VM_Name": "qch123456789",
                "ECU": "1",
                "Memory_Size": "1024",
                "System_Disk_Size": "60",
                "Data_Disk_Size": "",
                "IP": "192.168.230.105",
                "OS": "Windows",
                "Note": "",
                "VM_Create_Time": "2017-06-05 18:40:25",
                "VM_Create_User": "1000000020",
                "OS_Version": "_S_SYSTEM_WINDOWS_2012R2STANDARD_64",
                "Auto_Renew": "true",
                "Ri_Id": "RI1ed2a64b7800c90eaa94cf",
                "Count_Type": "month",
                "Ri_Start_Time": "2017-06-05 18:40:26",
                "Ri_End_Time": "2017-07-05 18:40:26",
                "VM_Outer_Ip": "",
                "Group_Id": "",
                "Bandwidth": "",
                "VM_Uuid": "6fa626e8-fbba-41bb-a746-58fb798294c7",
                "Shbw_Id": "",
                "Execute_Time": ""
            }
        ]
    }
}

           


Copyright © 2011-2020