getFileCount


SoftLayer_Network_Storage::getFileCount

Retrieve the file number of files in a Virtual Server Storage account’s root directory.

Description

{{CloudLayerOnlyMethod}} Retrieve the file number of files in a Virtual Server Storage account’s root directory. This does not include the files stored in the recycle bin.

Parameters

None

Required Headers

Optional Headers

  • None

Return Values

  • int

Error Handling

  • Throw the exception “Not yet implemented for this Storage type.” if the Storage type is not supported.

Associated Methods

curl -g -u $SL_USER:$SL_APIKEY -X GET \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Network_Storage/{SoftLayer_Network_StorageID}/getFileCount'