| | 1 | | // Copyright (c) Microsoft. All rights reserved. |
| | 2 | | // Licensed under the MIT license. See LICENSE file in the project root for full license information. |
| | 3 | |
|
| | 4 | | namespace Microsoft.Azure.ServiceBus.Management |
| | 5 | | { |
| | 6 | | using System; |
| | 7 | |
|
| | 8 | | /// <summary> |
| | 9 | | /// This provides runtime information of the queue. |
| | 10 | | /// </summary> |
| | 11 | | public class QueueRuntimeInfo |
| | 12 | | { |
| 0 | 13 | | internal QueueRuntimeInfo(string path) |
| | 14 | | { |
| 0 | 15 | | this.Path = path; |
| 0 | 16 | | } |
| | 17 | |
|
| | 18 | | /// <summary> |
| | 19 | | /// The path of the queue. |
| | 20 | | /// </summary> |
| 0 | 21 | | public string Path { get; internal set; } |
| | 22 | |
|
| | 23 | | /// <summary> |
| | 24 | | /// The total number of messages in the queue. |
| | 25 | | /// </summary> |
| 0 | 26 | | public long MessageCount { get; internal set; } |
| | 27 | |
|
| | 28 | | /// <summary> |
| | 29 | | /// Message count details of the sub-queues of the entity. |
| | 30 | | /// </summary> |
| 0 | 31 | | public MessageCountDetails MessageCountDetails { get; internal set; } |
| | 32 | |
|
| | 33 | | /// <summary> |
| | 34 | | /// Current size of the entity in bytes. |
| | 35 | | /// </summary> |
| 0 | 36 | | public long SizeInBytes { get; internal set; } |
| | 37 | |
|
| | 38 | | /// <summary> |
| | 39 | | /// The <see cref="DateTime"/> when the entity was created. |
| | 40 | | /// </summary> |
| 0 | 41 | | public DateTime CreatedAt { get; internal set; } |
| | 42 | |
|
| | 43 | | /// <summary> |
| | 44 | | /// The <see cref="DateTime"/> when the entity description was last updated. |
| | 45 | | /// </summary> |
| 0 | 46 | | public DateTime UpdatedAt { get; internal set; } |
| | 47 | |
|
| | 48 | | /// <summary> |
| | 49 | | /// The <see cref="DateTime"/> when the entity was last accessed. |
| | 50 | | /// </summary> |
| 0 | 51 | | public DateTime AccessedAt { get; internal set; } |
| | 52 | | } |
| | 53 | | } |