"SoftLayer_" prefix removed for readability.
Allow access to this volume from a specified [[SoftLayer_Hardware|SoftLayer_Virtual_Guest|SoftLayer_Network_Subnet|SoftLayer_Network_Subnet_IpAddress]] object.
Name | Type | Description |
---|---|---|
typeClassName | string | The type of class name, among: ‘SoftLayer_Hardware’, ‘SoftLayer_Virtual_Guest’, ‘SoftLayer_Network_Subnet’, ‘SoftLayer_Network_Subnet_IpAddress’. |
hostId | int |
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [string, int]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Network_Storage/{SoftLayer_Network_StorageID}/allowAccessFromHost'