collectBytesUsed


SoftLayer_Network_Storage::collectBytesUsed

Retrieve the number of bytes capacity currently in use on a Storage account.

Overview

{{CloudLayerOnlyMethod}}

collectBytesUsed() retrieves the number of bytes capacity currently in use on a Storage account.


Parameters

Name Type Description

Required Headers

  • authenticate
  • SoftLayer_Network_StorageInitParameters

Return Values

  • unsigned long

Error Handling

  • SoftLayer_Exception

Throw the exception “The Storage type is not supported for bytes used collection. Please contact development.” if the storage volume’s type does not support usage collection. Currently, only Virtual Server storage is supported.