Table of Contents

Class ShareFileGetRangeListDiffOptions

Namespace
Azure.Storage.Files.Shares.Models
Assembly
Azure.Storage.Files.Shares.dll

Optional parameters for Get Range List Diff.

public class ShareFileGetRangeListDiffOptions
Inheritance
ShareFileGetRangeListDiffOptions
Inherited Members

Constructors

ShareFileGetRangeListDiffOptions()

public ShareFileGetRangeListDiffOptions()

Properties

Conditions

Optional ShareFileRequestConditions to add conditions on getting the range.

public ShareFileRequestConditions Conditions { get; set; }

Property Value

ShareFileRequestConditions

IncludeRenames

This header is allowed only when PreviousSnapshot query parameter is set. Determines whether the changed ranges for a file that has been renamed or moved between the target snapshot (or the live file) and the previous snapshot should be listed. If the value is true, the valid changed ranges for the file will be returned. If the value is false, the operation will result in a failure with 409 (Conflict) response. The default value is false.

public bool? IncludeRenames { get; set; }

Property Value

bool?

PreviousSnapshot

Specifies that the response will contain only ranges that were changed between target file and previous snapshot. Changed ranges include both updated and cleared ranges. The target file may be a snapshot, as long as the snapshot specified by previousSnapshot is the older of the two.

public string PreviousSnapshot { get; set; }

Property Value

string

Range

Optional. Specifies the range of bytes over which to list ranges, inclusively. If omitted, then all ranges for the file are returned.

public HttpRange? Range { get; set; }

Property Value

HttpRange?

Snapshot

Optionally specifies the share snapshot to retrieve ranges information from. For more information on working with share snapshots, Create a snapshot of a share.

public string Snapshot { get; set; }

Property Value

string