| | | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | | 2 | | // Licensed under the MIT License. |
| | | 3 | | |
| | | 4 | | using Metadata = System.Collections.Generic.IDictionary<string, string>; |
| | | 5 | | using Tags = System.Collections.Generic.IDictionary<string, string>; |
| | | 6 | | |
| | | 7 | | namespace Azure.Storage.Blobs.Models |
| | | 8 | | { |
| | | 9 | | /// <summary> |
| | | 10 | | /// Optional parameters for creating an Page Blob. |
| | | 11 | | /// </summary> |
| | | 12 | | public class PageBlobCreateOptions |
| | | 13 | | { |
| | | 14 | | /// <summary> |
| | | 15 | | /// Optional user-controlled value that you can use to track requests. |
| | | 16 | | /// The value of the SequenceNumber must be between |
| | | 17 | | /// 0 and 2^63 - 1. The default value is 0. |
| | | 18 | | /// </summary> |
| | 0 | 19 | | public long? SequenceNumber { get; set; } |
| | | 20 | | |
| | | 21 | | /// <summary> |
| | | 22 | | /// Optional standard HTTP header properties that can be set for the |
| | | 23 | | /// new page blob. |
| | | 24 | | /// </summary> |
| | 0 | 25 | | public BlobHttpHeaders HttpHeaders { get; set; } |
| | | 26 | | |
| | | 27 | | /// <summary> |
| | | 28 | | /// Optional <see cref="PageBlobRequestConditions"/> to add |
| | | 29 | | /// conditions on the creation of this new page blob. |
| | | 30 | | /// </summary> |
| | 0 | 31 | | public PageBlobRequestConditions Conditions { get; set; } |
| | | 32 | | |
| | | 33 | | /// <summary> |
| | | 34 | | /// Optional custom metadata to set for this page blob. |
| | | 35 | | /// </summary> |
| | 0 | 36 | | public Metadata Metadata { get; set; } |
| | | 37 | | |
| | | 38 | | /// <summary> |
| | | 39 | | /// Options tags to set for this append blob. |
| | | 40 | | /// </summary> |
| | 12 | 41 | | public Tags Tags { get; set; } |
| | | 42 | | } |
| | | 43 | | } |