validateHostsAccess


SoftLayer_Network_Storage::validateHostsAccess

An API to check if the hosts provided are behind gateway or not from

Description

This method is used to validate if the hosts are behind gateway or not from [SoftLayer_Network_Subnet|SoftLayer_Network_Subnet_IpAddress] objects. This returns [SoftLayer_Container_Network_Storage_HostsGatewayInformation] object containing the host details along with a boolean attribute which indicates if it’s behind the gateway or not.

Parameters

Name Type Description
hostObjectTemplates SoftLayer_Container_Network_Storage_Host[]

Required Headers

Optional Headers

  • None

Return Values

curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_Container_Network_Storage_Host]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Network_Storage/{SoftLayer_Network_StorageID}/validateHostsAccess'