PageBlobClient.GetAllPageRanges Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The GetAllPageRanges(GetPageRangesOptions, CancellationToken) operation returns the list of valid page ranges for a page blob or snapshot of a page blob.
For more information, see Get Page Ranges.
public virtual Azure.Pageable<Azure.Storage.Blobs.Models.PageRangeItem> GetAllPageRanges (Azure.Storage.Blobs.Models.GetPageRangesOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllPageRanges : Azure.Storage.Blobs.Models.GetPageRangesOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.Storage.Blobs.Models.PageRangeItem>
override this.GetAllPageRanges : Azure.Storage.Blobs.Models.GetPageRangesOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.Storage.Blobs.Models.PageRangeItem>
Public Overridable Function GetAllPageRanges (Optional options As GetPageRangesOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PageRangeItem)
Parameters
- options
- GetPageRangesOptions
Optional parameters.
- cancellationToken
- CancellationToken
Optional CancellationToken to propagate notifications that the operation should be cancelled.
Returns
A Page<T> describing the valid page ranges for this blob.
Remarks
A RequestFailedException will be thrown if a failure occurs.