<PackageReference Include="Azure.Storage.Files.DataLake" Version="12.23.0" />

Azure.Storage.Files.DataLake.Models.DataLakeFileAppendOptions

Optional parameters for appending data to a file with DataLakeFileClient.Append() and .AppendAsync().
public byte[] ContentHash { get; set; }

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.

public bool? Flush { get; set; }

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

public DataLakeLeaseAction? LeaseAction { get; set; }

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.

public TimeSpan? LeaseDuration { get; set; }

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.

public string LeaseId { get; set; }

Optional lease ID for accessing this blob.

public IProgress<long> ProgressHandler { get; set; }

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

public string ProposedLeaseId { get; set; }

Proposed lease ID. Valid with Acquire and AcquireRelease.

public UploadTransferValidationOptions TransferValidation { get; set; }

Optional override settings for this client's TransferValidation settings.