getPublicVlanByHostname


SoftLayer_Hardware_SecurityModule750::getPublicVlanByHostname

Retrieve the frontend VLAN by a server’s hostname.

Description

Retrieve the frontend network Vlan by searching the hostname of a server

Parameters

Name Type Description
hostname string The hostname for a server, example: www.server.com

Required Headers

Optional Headers

Return Values

Error Handling

  • Throw the exception “You must supply a valid hostname. Example: www.domain.com” if an invalid hostname was provided.
  • Throw the exception “Unable to find hardware with the hostname of ‘{host}.{domain}’” if there is no server with the hostname provided.