getPublicNetworkComponent


SoftLayer_Hardware_SecurityModule750::getPublicNetworkComponent

Retrieve a server’s public network component.

Description

Retrieve a SoftLayer server’s public network component. Some servers are only connected to the private network and may not have a public network component. In that case getPublicNetworkComponent returns a null object.

Parameters

None

Required Headers

Optional Headers

Return Values

Error Handling

  • Throw the exception “Unable to locate this server’s public networking component.” if the API is unable to locate a management component for this server.
curl -g -u $SL_USER:$SL_APIKEY -X GET \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Hardware_SecurityModule750/{SoftLayer_Hardware_SecurityModule750ID}/getPublicNetworkComponent'