| | | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | | 2 | | // Licensed under the MIT License. |
| | | 3 | | |
| | | 4 | | // <auto-generated/> |
| | | 5 | | |
| | | 6 | | #nullable disable |
| | | 7 | | |
| | | 8 | | namespace Azure.ResourceManager.Network.Models |
| | | 9 | | { |
| | | 10 | | /// <summary> Usage details for subnet. </summary> |
| | | 11 | | public partial class VirtualNetworkUsage |
| | | 12 | | { |
| | | 13 | | /// <summary> Initializes a new instance of VirtualNetworkUsage. </summary> |
| | 0 | 14 | | internal VirtualNetworkUsage() |
| | | 15 | | { |
| | 0 | 16 | | } |
| | | 17 | | |
| | | 18 | | /// <summary> Initializes a new instance of VirtualNetworkUsage. </summary> |
| | | 19 | | /// <param name="currentValue"> Indicates number of IPs used from the Subnet. </param> |
| | | 20 | | /// <param name="id"> Subnet identifier. </param> |
| | | 21 | | /// <param name="limit"> Indicates the size of the subnet. </param> |
| | | 22 | | /// <param name="name"> The name containing common and localized value for usage. </param> |
| | | 23 | | /// <param name="unit"> Usage units. Returns 'Count'. </param> |
| | 8 | 24 | | internal VirtualNetworkUsage(double? currentValue, string id, double? limit, VirtualNetworkUsageName name, strin |
| | | 25 | | { |
| | 8 | 26 | | CurrentValue = currentValue; |
| | 8 | 27 | | Id = id; |
| | 8 | 28 | | Limit = limit; |
| | 8 | 29 | | Name = name; |
| | 8 | 30 | | Unit = unit; |
| | 8 | 31 | | } |
| | | 32 | | |
| | | 33 | | /// <summary> Indicates number of IPs used from the Subnet. </summary> |
| | 8 | 34 | | public double? CurrentValue { get; } |
| | | 35 | | /// <summary> Subnet identifier. </summary> |
| | 0 | 36 | | public string Id { get; } |
| | | 37 | | /// <summary> Indicates the size of the subnet. </summary> |
| | 0 | 38 | | public double? Limit { get; } |
| | | 39 | | /// <summary> The name containing common and localized value for usage. </summary> |
| | 0 | 40 | | public VirtualNetworkUsageName Name { get; } |
| | | 41 | | /// <summary> Usage units. Returns 'Count'. </summary> |
| | 0 | 42 | | public string Unit { get; } |
| | | 43 | | } |
| | | 44 | | } |