PageBlobClient.GetAllPageRanges Method

Definition

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.

Applies to