Obtaining Host Information
GET /host/{host_id}
Introduction
Obtains Host information.
Only the FC Host information and iSCSI Host information are returned.
Request Examples
This is an example of obtaining information about FC Host with Host ID 2.
$ curl -i -H "Authorization: Bearer g17e4umvwYoHuhkG7yCSee.." -X GET "https://192.168.1.1:5665/api/v1/host/2"
Response Examples
{
"host": {
"host_id": 65792,
"host_href": "/api/v1/host/65792",
"type": "iSCSI",
"number": 256,
"name": "HBA#1",
"iscsi_name": "iqn.1991-05.com.microsoft",
"alias_name": "IQN-DXL",
"ip_version": "IPv4",
"ip_address": "192.168.1.10",
"chap_user": "host_user1",
"host_response_name": "Default",
"is_shared_host_exist": false
}
}
Parameters
PATH PARAMETERS
| host_id
(required) |
integer Host ID. |
QUERY PARAMETERS
| fields | Array of strings Parameter to display. Only the information of the specified Parameter name (Response Body Parameter) is extracted and obtained. For details about the specification methods, see Property Filter. |
Responses
If successful, the HTTP status code is 200 (OK) and the response body is returned.
RESPONSE BODY
| host | object
|

