-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
AppendBlobAppendBlockOptions.cs
37 lines (33 loc) · 1.31 KB
/
AppendBlobAppendBlockOptions.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.IO;
using System.Threading;
using Azure.Storage.Blobs.Specialized;
namespace Azure.Storage.Blobs.Models
{
/// <summary>
/// Optional parameters for appending a block with
/// <see cref="AppendBlobClient.AppendBlockAsync(Stream, AppendBlobAppendBlockOptions, CancellationToken)"/>.
/// </summary>
public class AppendBlobAppendBlockOptions
{
/// <summary>
/// Optional <see cref="AppendBlobRequestConditions"/> to add
/// conditions on the upload of this Append Blob.
/// </summary>
public AppendBlobRequestConditions Conditions { get; set; }
/// <summary>
/// Optional <see cref="IProgress{Long}"/> to provide
/// progress updates about data transfers.
/// </summary>
public IProgress<long> ProgressHandler { get; set; }
/// <summary>
/// Optional override settings for this client's <see cref="BlobClientOptions.TransferValidation"/> settings.
///
/// AppendBlock accepts precalcualted checksums, but the method will calculate
/// one if not provided.
/// </summary>
public UploadTransferValidationOptions TransferValidation { get; set; }
}
}