isPingable


SoftLayer_Hardware_Router::isPingable

Verifies whether or not a server is pingable.

Description

The ‘‘‘isPingable’’’ method issues a ping command to the selected server and returns the result of the ping command. This boolean return value displays ‘’true’’ upon successful ping or ‘‘false’’ for a failed ping.

Parameters

None

Required Headers

Optional Headers

  • None

Return Values

  • boolean

Error Handling

  • “Method has not been implemented for this object type.”
curl -g -u $SL_USER:$SL_APIKEY -X GET \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Hardware_Router/{SoftLayer_Hardware_RouterID}/isPingable'