question

TonesNotes-7323 avatar image
0 Votes"
TonesNotes-7323 asked TonesNotes-7323 answered

Why is there no DownloadPages for Azure Page Blobs

This question is asked of the V12 C# API for Azure Storage.

Azure Page Blobs are defined as being appropriate for random reads and writes of pages up to 8TB per blob.

There is an UploadPages method which can upload up to 8192 pages at a time.
So to hit the 8TB limit it must be called many times. It also allows any number of pages to be written starting at any offset within the blob. This has the characteristics of a random access write API.

There is no DownloadPages. Only Download. There seems to be no way to read anything but the entire blob starting at the beginning.

Where's the random access read API?

azure-blob-storage
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

TonesNotes-7323 avatar image
0 Votes"
TonesNotes-7323 answered

Just found the variant of Download that has an HttpRange argument.

Testing now...

Download(HttpRange, BlobRequestConditions, Boolean, CancellationToken)

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.