-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
NamespaceProperties.cs
49 lines (41 loc) · 1.54 KB
/
NamespaceProperties.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
namespace Azure.Messaging.ServiceBus.Administration
{
/// <summary>
/// Represents the properties related to a Service Bus namespace.
/// </summary>
public class NamespaceProperties
{
/// <summary>
/// Name of the namespace.
/// </summary>
public string Name { get; internal set; }
/// <summary>
/// Type of entities present in the namespace.
/// </summary>
internal NamespaceType NamespaceType { get; set; }
/// <summary>
/// The time at which the namespace was created.
/// </summary>
public DateTimeOffset CreatedTime { get; internal set; }
/// <summary>
/// The last time at which the namespace was modified.
/// </summary>
public DateTimeOffset ModifiedTime { get; internal set; }
/// <summary>
/// The SKU/tier of the namespace. Valid only for <see cref="NamespaceType.Messaging"/>
/// </summary>
public MessagingSku MessagingSku { get; internal set; }
/// <summary>
/// The number of messaging units allocated for namespace.
/// Valid only for <see cref="NamespaceType.Messaging"/> and <see cref="MessagingSku.Premium"/>
/// </summary>
public int MessagingUnits { get; internal set; }
/// <summary>
/// The alias for the namespace.
/// </summary>
public string Alias { get; internal set; }
}
}