findByIpAddress


SoftLayer_Hardware::findByIpAddress

Find hardware by its primary public or private IP (ipv4) address.

Description

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. If no hardware is found, no errors are generated and no data is returned.

Parameters

Name Type Description
ipAddress string An IP (ipv4) address by which to search for hardware

Required Headers

Optional Headers

Return Values

Error Handling

  • “Invalid IP address of [ip address] defined.”
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [string]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Hardware/findByIpAddress'