shutdownPublicPort


SoftLayer_Hardware_Server::shutdownPublicPort

Disconnect a server’s public network interface.

Description

Disconnect a server’s public network interface. This operation is an alias for SoftLayer_Hardware_Server::setPublicNetworkInterfaceSpeed with a $newSpeed of 0 and unspecified $redundancy.

Receipt of a response does not indicate completion of the configuration change. Any subsequent attempts to request the interface change speed or state, while changes are pending, will result in a busy error.

A response of true indicates a change was required to disconnect the interface; thus changes are pending. A response of false indicates the interface was already disconnected, and thus no changes are pending.


Parameters

None

Required Headers

Optional Headers

  • None

Return Values

  • boolean

Error Handling

  • Throws If the requested network is not available to the server
  • Throws If a change, not necessarily a speed change, is pending against the server
  • Throws If the server is not yet available for interface speed changes
  • Throws If the user requesting the change lacks the Port Control permission

Associated Methods

curl -g -u $SL_USER:$SL_APIKEY -X GET \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Hardware_Server/{SoftLayer_Hardware_ServerID}/shutdownPublicPort'