Network
SoftLayer_Network_Storage::restoreFile

Overview

Restore an individual file so that it may be used as it was before it was deleted.

If a file is deleted from a Virtual Server Storage account, the file is placed into the account's recycle bin and not permanently deleted. Therefore, restoreFile can be used to place the file back into your Virtual Server account's root directory.

Parameters

fileId

string

The id or guid of the file you wish to restore.

Headers

n/a
authenticate, SoftLayer_Network_StorageInitParameters

Associated Methods

SoftLayer_Network_Storage::deleteFile
SoftLayer_Network_Storage::deleteFiles
SoftLayer_Network_Storage::deleteAllFiles
SoftLayer_Network_Storage::getFilesPendingDelete
SoftLayer_Network_Storage::getFilePendingDeleteCount

Error Handling

  • SoftLayer_Exception_Public: Throw the exception "Not yet implemented for this Storage type." if the Storage type is not supported.