GET /aicc/network/host
Use the method to retrieve the Lenovo XClarity Administrator host settings.
Authentication
Authentication with username and password is required.
Request URL
GET https://{management_server_IP}/aicc/network/host
Query parameters
None
Request body
None
Response codes
Code | Description | Comments |
---|---|---|
200 | OK | The request completed successfully. |
500 | Internal Server Error | An internal error occurred. A descriptive error message is returned in the response body. |
Response body
Attributes | Type | Description | ||
---|---|---|---|---|
domain_name | String | Domain name of the virtual appliance | ||
dns_servers | Array | IP addresses that is used to resolve DNS queries | ||
ip | String | IP address of the DNS entry | ||
priority | Integer | Relative priority of the DNS entry | ||
hostname | String | Hostname of the virtual appliance | ||
proxy | Array | Information about the proxy server | ||
enabled | Boolean | Indicates whether the proxy server is enabled. This can be one of the following values.
| ||
ip | String | IPv4 or IPv6 address of the proxy server | ||
isPasswordSet | Boolean | Indicates whether the password is set for the proxy server. This can be one of the following values.
| ||
port | Integer | Port number of the proxy server | ||
userid | String | User ID used to access the proxy server |
The following example is returned if the request is successful.
{
"domain_name": "",
"dns_servers": [{
"ip": "10.240.0.10",
"priority": 1
},
{
"ip": "10.240.0.11",
"priority": 2
}],
"hostname": "localhost",
"proxy": {
"enabled": false,
"ip": "",
"isPasswordSet": false,
"port": 0,
"userid": ""
}
}}
Give documentation feedback