Skip to main content

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

CodeDescriptionComments
200OKThe request completed successfully.
500Internal Server ErrorAn internal error occurred. A descriptive error message is returned in the response body.

Response body

AttributesTypeDescription
domain_nameStringDomain name of the virtual appliance
dns_serversArrayIP addresses that is used to resolve DNS queries
 ipStringIP address of the DNS entry
 priorityIntegerRelative priority of the DNS entry
hostnameStringHostname of the virtual appliance
proxyArrayInformation about the proxy server
 enabledBooleanIndicates whether the proxy server is enabled. This can be one of the following values.
  • true. The proxy server is enabled.
  • false. The proxy server is disabled.
 ipStringIPv4 or IPv6 address of the proxy server
 isPasswordSetBooleanIndicates whether the password is set for the proxy server. This can be one of the following values.
  • true. The password is set.
  • false. The password is not set.
 portIntegerPort number of the proxy server
 useridStringUser 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": ""
}
}}