createFromVirtualGuest


SoftLayer_Network_Storage_Allowed_Host::createFromVirtualGuest

Creates and returns a new SoftLayer_Network_Storage_Allowed_Host.

Overview

This method is used to create a new SoftLayer_Network_Storage_Allowed_Host using an existing SoftLayer_Virtual_Guest object’s id.


Parameters

Name Type Description
virtualGuestId integer The ID of the SoftLayer_Virtual_Guest object to create a SoftLayer_Network_Storage_Allowed_Host object for.
iqn string The IQN to use when creating the SoftLayer_Network_Storage_Allowed_Host object, provide an empty string to have one generated automatically.

Required Headers

  • authenticate

Optional Headers

  • SoftLayer_Network_Storage_Allowed_HostObjectMask
  • SoftLayer_ObjectMask

Return Values