| | | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | | 2 | | // Licensed under the MIT License. |
| | | 3 | | |
| | | 4 | | using System; |
| | | 5 | | |
| | | 6 | | namespace Azure.Messaging.ServiceBus.Management |
| | | 7 | | { |
| | | 8 | | /// <summary> |
| | | 9 | | /// Represents the properties related to a Service Bus namespace. |
| | | 10 | | /// </summary> |
| | | 11 | | public class NamespaceProperties |
| | | 12 | | { |
| | | 13 | | /// <summary> |
| | | 14 | | /// Name of the namespace. |
| | | 15 | | /// </summary> |
| | 0 | 16 | | public string Name { get; internal set; } |
| | | 17 | | |
| | | 18 | | /// <summary> |
| | | 19 | | /// Type of entities present in the namespace. |
| | | 20 | | /// </summary> |
| | 8 | 21 | | internal NamespaceType NamespaceType { get; set; } |
| | | 22 | | |
| | | 23 | | /// <summary> |
| | | 24 | | /// The time at which the namespace was created. |
| | | 25 | | /// </summary> |
| | 0 | 26 | | public DateTimeOffset CreatedTime { get; internal set; } |
| | | 27 | | |
| | | 28 | | /// <summary> |
| | | 29 | | /// The last time at which the namespace was modified. |
| | | 30 | | /// </summary> |
| | 0 | 31 | | public DateTimeOffset ModifiedTime { get; internal set; } |
| | | 32 | | |
| | | 33 | | /// <summary> |
| | | 34 | | /// The SKU/tier of the namespace. Valid only for <see cref="NamespaceType.Messaging"/> |
| | | 35 | | /// </summary> |
| | 0 | 36 | | public MessagingSku MessagingSku { get; internal set; } |
| | | 37 | | |
| | | 38 | | /// <summary> |
| | | 39 | | /// The number of messaging units allocated for namespace. |
| | | 40 | | /// Valid only for <see cref="NamespaceType.Messaging"/> and <see cref="MessagingSku.Premium"/> |
| | | 41 | | /// </summary> |
| | 0 | 42 | | public int MessagingUnits { get; internal set; } |
| | | 43 | | |
| | | 44 | | /// <summary> |
| | | 45 | | /// The alias for the namespace. |
| | | 46 | | /// </summary> |
| | 0 | 47 | | public string Alias { get; internal set; } |
| | | 48 | | } |
| | | 49 | | } |