| | 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 Start Copy from URL. |
| | 11 | | /// </summary> |
| | 12 | | public class BlobCopyFromUriOptions |
| | 13 | | { |
| | 14 | | /// <summary> |
| | 15 | | /// Optional custom metadata to set for this append blob. |
| | 16 | | /// </summary> |
| 228 | 17 | | public Metadata Metadata { get; set; } |
| | 18 | |
|
| | 19 | | /// <summary> |
| | 20 | | /// Options tags to set for this append blob. |
| | 21 | | /// </summary> |
| 228 | 22 | | public Tags Tags { get; set; } |
| | 23 | |
|
| | 24 | | /// <summary> |
| | 25 | | /// Optional <see cref="AccessTier"/> |
| | 26 | | /// Indicates the tier to be set on the blob. |
| | 27 | | /// </summary> |
| 236 | 28 | | public AccessTier? AccessTier { get; set; } |
| | 29 | |
|
| | 30 | | /// <summary> |
| | 31 | | /// Optional <see cref="BlobRequestConditions"/> to add |
| | 32 | | /// conditions on the copying of data from this source blob. |
| | 33 | | /// </summary> |
| 300 | 34 | | public BlobRequestConditions SourceConditions { get; set; } |
| | 35 | |
|
| | 36 | | /// <summary> |
| | 37 | | /// Optional <see cref="BlobRequestConditions"/> to add conditions on |
| | 38 | | /// the copying of data to this blob. |
| | 39 | | /// </summary> |
| 324 | 40 | | public BlobRequestConditions DestinationConditions { get; set; } |
| | 41 | |
|
| | 42 | | /// <summary> |
| | 43 | | /// Optional <see cref="RehydratePriority"/> |
| | 44 | | /// Indicates the priority with which to rehydrate an archived blob. |
| | 45 | | /// |
| | 46 | | /// This parameter is not valid for synchronous copies. |
| | 47 | | /// </summary> |
| 124 | 48 | | public RehydratePriority? RehydratePriority { get; set; } |
| | 49 | |
|
| | 50 | | /// <summary> |
| | 51 | | /// If the destination blob should be sealed. |
| | 52 | | /// Only applicable for Append Blobs. |
| | 53 | | /// |
| | 54 | | /// This parameter is not valid for synchronous copies. |
| | 55 | | /// </summary> |
| 124 | 56 | | public bool? ShouldSealDestination { get; set; } |
| | 57 | | } |
| | 58 | | } |