DCIM API 文档 / 服务器 / 服务器IP空闲
▍概述
服务器ip空闲
▍URL
/index.php?m=api&a=serverIpFree
▍请求参数
字段名 | 变量名 | 必填 | 类型 | 描述 |
---|---|---|---|---|
服务器id | id | 是 | int | 服务器id |
空闲ip地址的id | ip | 否 | array | 需要空闲的IP地址ID |
空闲的ip地址 | ipaddress | 否 | array | 需要空闲的的IP地址,IP地址需要在DCIM系统中已分配给当前服务器,ip和ipaddress参数二选一传递,不可同时传递 |
▍返回参数
字段名 | 变量名 | 类型 | 描述 |
---|---|---|---|
状态 | status | string | success 成功 error 失败 |
信息 | msg | string | 信息 |