-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
PageBlobStorageResourceOptions.cs
50 lines (44 loc) · 1.63 KB
/
PageBlobStorageResourceOptions.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
39
40
41
42
43
44
45
46
47
48
49
50
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Azure.Storage.Blobs.Models;
namespace Azure.Storage.DataMovement.Blobs
{
/// <summary>
/// Optional parameters specific to Page Blobs using
/// <see cref="PageBlobStorageResource"/>.
/// </summary>
public class PageBlobStorageResourceOptions : BlobStorageResourceOptions
{
/// <summary>
/// Default constructor.
/// </summary>
public PageBlobStorageResourceOptions()
{
}
internal PageBlobStorageResourceOptions(BlobStorageResourceOptions other) : base(other)
{
}
/// <summary>
/// Optional. User-controlled value that you can use to track requests.
/// The value of the SequenceNumber must be between
/// 0 and 2^63 - 1. The default value is 0.
///
/// Applies to copy and upload transfers.
/// </summary>
public long? SequenceNumber { get; set; }
/// <summary>
/// Optional. See <see cref="BlobRequestConditions"/>.
/// Access conditions on the copying of data from this source storage resource blob.
///
/// Applies to copy and download transfers.
/// </summary>
public PageBlobRequestConditions SourceConditions { get; set; }
/// <summary>
/// Optional <see cref="BlobRequestConditions"/>.
/// Access conditions on the copying of data to this blob.
///
/// Applies to copy and upload transfers.
/// </summary>
public PageBlobRequestConditions DestinationConditions { get; set; }
}
}