Share via


DataLakeFileAppendOptions Class

Definition

Optional parameters for appending data to a file with DataLakeFileClient.Append() and .AppendAsync().

public class DataLakeFileAppendOptions
type DataLakeFileAppendOptions = class
Public Class DataLakeFileAppendOptions
Inheritance
DataLakeFileAppendOptions

Constructors

DataLakeFileAppendOptions()

Properties

ContentHash

This hash is used to verify the integrity of the request content during transport. When this header is specified, the storage service compares the hash of the content that has arrived with this header value. If the two hashes do not match, the operation will fail with error code 400 (Bad Request). Note that this MD5 hash is not stored with the file. This header is associated with the request content, and not with the stored content of the file itself.

Flush

Optional. If true, the file will be flushed after the append.

LeaseAction

Lease action. Acquire will attempt to acquire a new lease on the file, with ProposedLeaseId as the lease ID. AcquireRelease will attempt to acquire a new lease on the file, with ProposedLeaseId as the lease ID. The lease will be released once the Append operation is complete. Only applicable if Flush is set to true. AutoRenew will attempt to renew the lease specified by LeaseId. Release will attempt to release the least speified by LeaseId. Only applicable if Flush is set to true.

LeaseDuration

Specifies the duration of the lease, in seconds, or specify InfiniteLeaseDuration for a lease that never expires. A non-infinite lease can be between 15 and 60 seconds.

LeaseId

Optional lease ID for accessing this blob.

ProgressHandler

Optional IProgress<T> to provide progress updates about data transfers.

ProposedLeaseId

Proposed lease ID. Valid with Acquire and AcquireRelease.

TransferValidation

Optional override settings for this client's TransferValidation settings.

Applies to