| | | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | | 2 | | // Licensed under the MIT License. |
| | | 3 | | |
| | | 4 | | // <auto-generated/> |
| | | 5 | | |
| | | 6 | | #nullable disable |
| | | 7 | | |
| | | 8 | | using System; |
| | | 9 | | |
| | | 10 | | namespace Azure.ResourceManager.KeyVault.Models |
| | | 11 | | { |
| | | 12 | | /// <summary> A rule governing the accessibility of a vault from a specific ip address or ip range. </summary> |
| | | 13 | | public partial class IPRule |
| | | 14 | | { |
| | | 15 | | /// <summary> Initializes a new instance of IPRule. </summary> |
| | | 16 | | /// <param name="value"> An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP add |
| | | 17 | | /// <exception cref="ArgumentNullException"> <paramref name="value"/> is null. </exception> |
| | 200 | 18 | | public IPRule(string value) |
| | | 19 | | { |
| | 200 | 20 | | if (value == null) |
| | | 21 | | { |
| | 0 | 22 | | throw new ArgumentNullException(nameof(value)); |
| | | 23 | | } |
| | | 24 | | |
| | 200 | 25 | | Value = value; |
| | 200 | 26 | | } |
| | | 27 | | |
| | | 28 | | /// <summary> An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or &a |
| | 456 | 29 | | public string Value { get; set; } |
| | | 30 | | } |
| | | 31 | | } |