-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
TopicRuntimeProperties.cs
53 lines (44 loc) · 1.57 KB
/
TopicRuntimeProperties.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
namespace Azure.Messaging.ServiceBus.Administration
{
/// <summary>
/// Represents the runtime properties of the topic.
/// </summary>
public class TopicRuntimeProperties
{
internal TopicRuntimeProperties(string name)
{
Name = name;
}
/// <summary>
/// The name of the topic.
/// </summary>
public string Name { get; internal set; }
/// <summary>
/// The <see cref="DateTime"/> when the entity was last accessed.
/// </summary>
public DateTimeOffset AccessedAt { get; internal set; }
/// <summary>
/// The <see cref="DateTimeOffset"/> when the entity was created.
/// </summary>
public DateTimeOffset CreatedAt { get; internal set; }
/// <summary>
/// The <see cref="DateTimeOffset"/> when the entity description was last updated.
/// </summary>
public DateTimeOffset UpdatedAt { get; internal set; }
/// <summary>
/// The current size of the entity in bytes.
/// </summary>
public long SizeInBytes { get; internal set; }
/// <summary>
/// The number of subscriptions to the topic.
/// </summary>
public int SubscriptionCount { get; internal set; }
/// <summary>
/// The number of messages that are scheduled to be enqueued.
/// </summary>
public long ScheduledMessageCount { get; internal set; }
}
}