Hardware
SoftLayer_Hardware_Server::findByIpAddress

Overview

The findByIpAddress method finds hardware using its primary public or private IP address. IP addresses that have a secondary subnet tied to the hardware will not return the hardware - alternate means of locating the hardware must be used (see Associated Methods). If no hardware is found, no errors are generated and no data is returned.

Parameters

ipAddress

string

An IP (ipv4) address by which to search for hardware

Headers

SoftLayer_Hardware_ServerObjectMask, SoftLayer_ObjectMask
authenticate

Error Handling

  • SoftLayer_Exception: "Invalid IP address of [ip address] defined."