API文档>QStack>云计算>业务相关 > 查询业务详情

查询业务详情

发布时间:2022-03-26 16:16

简要描述:

  • 本接口用于查询业务详情。接口请求地址

参数:

参数名 必选 类型 说明
suid string 业务标识

输入示例

https://www.qg.net/api/cloud-business/getDetail?suid=1

返回示例
JSON格式

{
    "RequestId":'423369C7-AD6F-3GT6-NMJ7-E2RG5N6HG7D3',
    "Code": 0,
    "Message" : "返回内容"
    "Data": {
        "1":{
            "Suid": "12154545",
            "line_no":"ap-shanghai",
            "area_no":"ap-shanghai-1",
            "spec_no":"s1.samll",
            "spec_name":"标准型",
            "Host_id": "1",
          "Host_name":"泉州电信1",
            "Ip": "192.168.1.1",
            "Local_ip": "192.168.1.1",
            "Run_status": "1",
            "Order_status": "1",
            "System_type":"",
            "Systemdisks": "40",
            "Harddisks_type":""
            "Harddiks": "20",
            "Bandwidth": "1",
            "Defense": "",
            "System_no": "sdffsdret",
            "System_name": "windows 2012",
            "Buy_time": "2020-03-05 16:00:00",
            "End_time": "2020-04-05 16:00:00",
            "Business_password": "sdsadsa"
        }
    } 
}

返回参数说明

参数名 类型 说明
RequestId string 请求编号
Code integer 状态码
Message string 返回内容
Suid string 业务标识
Line_no string 线路编号
Area_no string 可用区编号
Spec_no string 规格编号
Spec_name string 规格名称
Host_id integer 宿主机ID,没有值 返回空
Host_name string 宿主机名称,没有值 返回空
Ip string 外网ip
Local_ip string 内网ip,没有值 返回空
Run_status integer 运行状态 。 取值范围: -4:已停止 -1:已关机 0:开通中 1:运行中 2:开机中3:关机中 4:重启中 5:重装中 6:重置密码中
Order_status integer 业务状态。 取值范围: -4:已锁定 -3:失败 0:开通中 1:正常 2:过户中3:已过期
System_type string 系统盘类型, 没有值 返回空
Systemdisks string 系统盘
Harddisks_type string 数据盘类型, 没有值 返回空
Harddiks integer 数据盘
Bandwidth integer 带宽
Defense integer 防御值, 没有值 返回空
System_no string 镜像编号
System_name string 镜像名称
Adsl_name string 宽带账号, 没有值 返回空
Adsl_password string 宽带密码, 没有值 返回空
Buy_time date 购买时间
End_time date 过期时间
Business_password string 面板密码

备注

本文导读