importVirtualHost


SoftLayer_Hardware_SecurityModule::importVirtualHost

attempt to import the host record for the virtualization platform running on a server

Description

The ‘‘‘importVirtualHost’’’ method attempts to import the host record for the virtualization platform running on a server.

Parameters

None

Required Headers

Optional Headers

Return Values

Error Handling

  • “This hardware device does not have a virtualization platform installed.”
  • “Unable to import virtual host.”
curl -g -u $SL_USER:$SL_APIKEY -X GET \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Hardware_SecurityModule/{SoftLayer_Hardware_SecurityModuleID}/importVirtualHost'