| | | 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 | | /// Represents the metadata related to a service bus namespace. |
| | | 10 | | /// </summary> |
| | | 11 | | public class NamespaceInfo |
| | | 12 | | { |
| | | 13 | | /// <summary> |
| | | 14 | | /// Name of the namespace. |
| | | 15 | | /// </summary> |
| | 0 | 16 | | public string Name { get; set; } |
| | | 17 | | |
| | | 18 | | /// <summary> |
| | | 19 | | /// Type of entities present in the namespace. |
| | | 20 | | /// </summary> |
| | 0 | 21 | | public NamespaceType NamespaceType { get; set; } |
| | | 22 | | |
| | | 23 | | /// <summary> |
| | | 24 | | /// The time at which the namespace was created. |
| | | 25 | | /// </summary> |
| | 0 | 26 | | public DateTime CreatedTime { get; set; } |
| | | 27 | | |
| | | 28 | | /// <summary> |
| | | 29 | | /// The last time at which the namespace was modified. |
| | | 30 | | /// </summary> |
| | 0 | 31 | | public DateTime ModifiedTime { get; set; } |
| | | 32 | | |
| | | 33 | | /// <summary> |
| | | 34 | | /// The SKU/tier of the namespace. Valid only for <see cref="NamespaceType.ServiceBus"/> |
| | | 35 | | /// </summary> |
| | 0 | 36 | | public MessagingSku MessagingSku { get; set; } |
| | | 37 | | |
| | | 38 | | /// <summary> |
| | | 39 | | /// Number of messaging units allocated for namespace. |
| | | 40 | | /// Valid only for <see cref="NamespaceType.ServiceBus"/> and <see cref="MessagingSku.Premium"/> |
| | | 41 | | /// </summary> |
| | 0 | 42 | | public int MessagingUnits { get; set; } |
| | | 43 | | |
| | | 44 | | /// <summary> |
| | | 45 | | /// Alias for the namespace. |
| | | 46 | | /// </summary> |
| | 0 | 47 | | public string Alias { get; set; } |
| | | 48 | | } |
| | | 49 | | } |