Delen via


CloudPageBlob.GetPageRangesDiffAsync Method

Definition

Overloads

GetPageRangesDiffAsync(DateTimeOffset)

Initiates an asynchronous operation to return the collection of page ranges that differ between a specified snapshot and this object.

GetPageRangesDiffAsync(DateTimeOffset, CancellationToken)

Initiates an asynchronous operation to return the collection of page ranges that differ between a specified snapshot and this object.

GetPageRangesDiffAsync(DateTimeOffset, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext)

Initiates an asynchronous operation to return the collection of page ranges that differ between a specified snapshot and this object.

GetPageRangesDiffAsync(DateTimeOffset, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to return the collection of page ranges that differ between a specified snapshot and this object.

GetPageRangesDiffAsync(DateTimeOffset)

Initiates an asynchronous operation to return the collection of page ranges that differ between a specified snapshot and this object.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Storage.Blob.PageDiffRange>> GetPageRangesDiffAsync (DateTimeOffset previousSnapshotTime);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member GetPageRangesDiffAsync : DateTimeOffset -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Storage.Blob.PageDiffRange>>
override this.GetPageRangesDiffAsync : DateTimeOffset -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Storage.Blob.PageDiffRange>>
Public Overridable Function GetPageRangesDiffAsync (previousSnapshotTime As DateTimeOffset) As Task(Of IEnumerable(Of PageDiffRange))

Parameters

previousSnapshotTime
DateTimeOffset

A DateTimeOffset representing the snapshot timestamp to use as the starting point for the diff. If this CloudPageBlob represents a snapshot, the previousSnapshotTime parameter must be prior to the current snapshot timestamp.

Returns

A Task<TResult> object that is an enumerable collection of type PageRange that represents the asynchronous operation.

Attributes

Applies to

GetPageRangesDiffAsync(DateTimeOffset, CancellationToken)

Initiates an asynchronous operation to return the collection of page ranges that differ between a specified snapshot and this object.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Storage.Blob.PageDiffRange>> GetPageRangesDiffAsync (DateTimeOffset previousSnapshotTime, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member GetPageRangesDiffAsync : DateTimeOffset * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Storage.Blob.PageDiffRange>>
override this.GetPageRangesDiffAsync : DateTimeOffset * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Storage.Blob.PageDiffRange>>
Public Overridable Function GetPageRangesDiffAsync (previousSnapshotTime As DateTimeOffset, cancellationToken As CancellationToken) As Task(Of IEnumerable(Of PageDiffRange))

Parameters

previousSnapshotTime
DateTimeOffset

A DateTimeOffset representing the snapshot timestamp to use as the starting point for the diff. If this CloudPageBlob represents a snapshot, the previousSnapshotTime parameter must be prior to the current snapshot timestamp.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task<TResult> object that is an enumerable collection of type PageRange that represents the asynchronous operation.

Attributes

Applies to

GetPageRangesDiffAsync(DateTimeOffset, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext)

Initiates an asynchronous operation to return the collection of page ranges that differ between a specified snapshot and this object.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Storage.Blob.PageDiffRange>> GetPageRangesDiffAsync (DateTimeOffset previousSnapshotTime, long? offset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member GetPageRangesDiffAsync : DateTimeOffset * Nullable<int64> * Nullable<int64> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Storage.Blob.PageDiffRange>>
override this.GetPageRangesDiffAsync : DateTimeOffset * Nullable<int64> * Nullable<int64> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Storage.Blob.PageDiffRange>>
Public Overridable Function GetPageRangesDiffAsync (previousSnapshotTime As DateTimeOffset, offset As Nullable(Of Long), length As Nullable(Of Long), accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext) As Task(Of IEnumerable(Of PageDiffRange))

Parameters

previousSnapshotTime
DateTimeOffset

A DateTimeOffset representing the snapshot timestamp to use as the starting point for the diff. If this CloudPageBlob represents a snapshot, the previousSnapshotTime parameter must be prior to the current snapshot timestamp.

offset
Nullable<Int64>

The starting offset of the data range, in bytes. Must be a multiple of 512.

length
Nullable<Int64>

The length of the data range, in bytes. Must be a multiple of 512.

accessCondition
AccessCondition

An AccessCondition object that represents the condition that must be met in order for the request to proceed. If null, no condition is used.

options
BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

An OperationContext object that represents the context for the current operation.

Returns

A Task<TResult> object that is an enumerable collection of type PageRange that represents the asynchronous operation.

Attributes

Applies to

GetPageRangesDiffAsync(DateTimeOffset, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to return the collection of page ranges that differ between a specified snapshot and this object.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Storage.Blob.PageDiffRange>> GetPageRangesDiffAsync (DateTimeOffset previousSnapshotTime, long? offset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member GetPageRangesDiffAsync : DateTimeOffset * Nullable<int64> * Nullable<int64> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Storage.Blob.PageDiffRange>>
override this.GetPageRangesDiffAsync : DateTimeOffset * Nullable<int64> * Nullable<int64> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Storage.Blob.PageDiffRange>>
Public Overridable Function GetPageRangesDiffAsync (previousSnapshotTime As DateTimeOffset, offset As Nullable(Of Long), length As Nullable(Of Long), accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of IEnumerable(Of PageDiffRange))

Parameters

previousSnapshotTime
DateTimeOffset

A DateTimeOffset representing the snapshot timestamp to use as the starting point for the diff. If this CloudPageBlob represents a snapshot, the previousSnapshotTime parameter must be prior to the current snapshot timestamp.

offset
Nullable<Int64>

The starting offset of the data range, in bytes. Must be a multiple of 512.

length
Nullable<Int64>

The length of the data range, in bytes. Must be a multiple of 512.

accessCondition
AccessCondition

An AccessCondition object that represents the condition that must be met in order for the request to proceed. If null, no condition is used.

options
BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

An OperationContext object that represents the context for the current operation.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task<TResult> object that is an enumerable collection of type PageRange that represents the asynchronous operation.

Attributes

Applies to