Created
January 26, 2012 17:41
-
-
Save awithy/1683966 to your computer and use it in GitHub Desktop.
IBlobStorageService
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface IBlobStorageService | |
{ | |
void Store(BlobUri blobUri, byte[] data); | |
void Delete(BlobUri uri); | |
bool Exists(BlobUri uri); | |
void BlockUpload(BlobUri uri, string fileToUpload); | |
void BlockDownload(BlobUri uri, string filePath); | |
void DownloadPageBlob(BlobUri blobUri, string filePath); | |
string Download(BlobUri blobUri); | |
void DeleteContainerIfExists(ContainerUri containerUri); | |
void CreateContainer(ContainerUri containerUri); | |
void CreatePageBlob(BlobUri blobUri); | |
void PutPage(BlobUri blobUri, byte[] bytes); | |
int GetBlobCount(ContainerName containerName); | |
long GetPageBlobSize(BlobUri blobUri); | |
bool ContainerExists(BlobUri blobUri); | |
BlobUri GetFirstBlobByPrefix(ContainerUri containerUri, string prefix); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment