| | | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | | 2 | | // Licensed under the MIT License. |
| | | 3 | | using System; |
| | | 4 | | using System.Collections.Generic; |
| | | 5 | | using System.Text; |
| | | 6 | | |
| | | 7 | | namespace Azure.Storage.Blobs.Models |
| | | 8 | | { |
| | | 9 | | /// <summary> |
| | | 10 | | /// Contains Object Replication Policy ID and the respective list of |
| | | 11 | | /// <see cref="ObjectReplicationRule"/>(s). This is used when retrieving the |
| | | 12 | | /// Object Replication Properties on the source blob. The policy id for the |
| | | 13 | | /// destination blob is set in ObjectReplicationDestinationPolicyId of the respective |
| | | 14 | | /// method responses. (e.g. <see cref="BlobProperties.ObjectReplicationDestinationPolicyId"/>, |
| | | 15 | | /// <see cref="BlobDownloadDetails.ObjectReplicationDestinationPolicyId"/>). |
| | | 16 | | /// </summary> |
| | | 17 | | public class ObjectReplicationPolicy |
| | | 18 | | { |
| | 184 | 19 | | internal ObjectReplicationPolicy() { } |
| | | 20 | | /// <summary> |
| | | 21 | | /// The Object Replication Policy ID. |
| | | 22 | | /// </summary> |
| | 0 | 23 | | public string PolicyId { get; internal set; } |
| | | 24 | | /// <summary> |
| | | 25 | | /// The Rule ID(s) and respective Replication Status(s) that are under |
| | | 26 | | /// the Policy ID. |
| | | 27 | | /// </summary> |
| | 0 | 28 | | public IList<ObjectReplicationRule> Rules { get; internal set; } |
| | | 29 | | |
| | | 30 | | } |
| | | 31 | | } |