getPublicVlanByHostname


SoftLayer_Hardware_SecurityModule750::getPublicVlanByHostname

Retrieve the frontend VLAN by a server’s hostname.

Overview

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

  • authenticate

Optional Headers

  • SoftLayer_Hardware_SecurityModule750ObjectMask
  • SoftLayer_ObjectMask

Return Values

Error Handling

  • SoftLayer_Exception

Throw the exception “You must supply a valid hostname. Example: www.domain.com” if an invalid hostname was provided.

  • SoftLayer_Exception

Throw the exception “Unable to find hardware with the hostname of ‘{host}.{domain}’” if there is no server with the hostname provided.