-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
AppendBlobOpenWriteOptions.cs
38 lines (33 loc) · 1.33 KB
/
AppendBlobOpenWriteOptions.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
38
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Azure.Storage.Blobs.Specialized;
namespace Azure.Storage.Blobs.Models
{
/// <summary>
/// Optional parameters for Append Blob Open Write.
/// </summary>
public class AppendBlobOpenWriteOptions
{
/// <summary>
/// The size of the buffer to use. Default is 4 MB.
/// Beginning with x-ms-version 2022-11-02, the max buffer size is 100 MB.
/// For previous versions, the max buffer size is 4 MB.
/// See <see cref="AppendBlobClient.AppendBlobMaxAppendBlockBytes"/>.
/// </summary>
public long? BufferSize { get; set; }
/// <summary>
/// Access conditions used to open the write stream.
/// </summary>
public AppendBlobRequestConditions OpenConditions { 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.
/// </summary>
public UploadTransferValidationOptions TransferValidation { get; set; }
}
}