| | 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 topic. |
| | 10 | | /// </summary> |
| | 11 | | public class TopicRuntimeInfo |
| | 12 | | { |
| 0 | 13 | | internal TopicRuntimeInfo(string path) |
| | 14 | | { |
| 0 | 15 | | this.Path = path; |
| 0 | 16 | | } |
| | 17 | |
|
| | 18 | | /// <summary> |
| | 19 | | /// The path of the topic. |
| | 20 | | /// </summary> |
| 0 | 21 | | public string Path { get; internal set; } |
| | 22 | |
|
| | 23 | | /// <summary> |
| | 24 | | /// The total number of messages in the topic. |
| | 25 | | /// </summary> |
| 0 | 26 | | public MessageCountDetails MessageCountDetails { get; internal set; } |
| | 27 | |
|
| | 28 | | /// <summary> |
| | 29 | | /// The <see cref="DateTime"/> when the entity was last accessed. |
| | 30 | | /// </summary> |
| 0 | 31 | | public DateTime AccessedAt { get; internal set; } |
| | 32 | |
|
| | 33 | | /// <summary> |
| | 34 | | /// The <see cref="DateTime"/> when the entity was created. |
| | 35 | | /// </summary> |
| 0 | 36 | | public DateTime CreatedAt { get; internal set; } |
| | 37 | |
|
| | 38 | | /// <summary> |
| | 39 | | /// The <see cref="DateTime"/> when the entity description was last updated. |
| | 40 | | /// </summary> |
| 0 | 41 | | public DateTime UpdatedAt { get; internal set; } |
| | 42 | |
|
| | 43 | | /// <summary> |
| | 44 | | /// Current size of the entity in bytes. |
| | 45 | | /// </summary> |
| 0 | 46 | | public long SizeInBytes { get; internal set; } |
| | 47 | |
|
| | 48 | | /// <summary> |
| | 49 | | /// Number of subscriptions to the topic. |
| | 50 | | /// </summary> |
| 0 | 51 | | public int SubscriptionCount { get; internal set; } |
| | 52 | | } |
| | 53 | | } |