| | 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 virtual network. </summary> |
| | 13 | | public partial class VirtualNetworkRule |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of VirtualNetworkRule. </summary> |
| | 16 | | /// <param name="id"> Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/p |
| | 17 | | /// <exception cref="ArgumentNullException"> <paramref name="id"/> is null. </exception> |
| 0 | 18 | | public VirtualNetworkRule(string id) |
| | 19 | | { |
| 0 | 20 | | if (id == null) |
| | 21 | | { |
| 0 | 22 | | throw new ArgumentNullException(nameof(id)); |
| | 23 | | } |
| | 24 | |
|
| 0 | 25 | | Id = id; |
| 0 | 26 | | } |
| | 27 | |
|
| | 28 | | /// <summary> Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers |
| 0 | 29 | | public string Id { get; set; } |
| | 30 | | } |
| | 31 | | } |