| | | 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> The effective network security group association. </summary> |
| | | 11 | | public partial class EffectiveNetworkSecurityGroupAssociation |
| | | 12 | | { |
| | | 13 | | /// <summary> Initializes a new instance of EffectiveNetworkSecurityGroupAssociation. </summary> |
| | 0 | 14 | | internal EffectiveNetworkSecurityGroupAssociation() |
| | | 15 | | { |
| | 0 | 16 | | } |
| | | 17 | | |
| | | 18 | | /// <summary> Initializes a new instance of EffectiveNetworkSecurityGroupAssociation. </summary> |
| | | 19 | | /// <param name="subnet"> The ID of the subnet if assigned. </param> |
| | | 20 | | /// <param name="networkInterface"> The ID of the network interface if assigned. </param> |
| | 0 | 21 | | internal EffectiveNetworkSecurityGroupAssociation(SubResource subnet, SubResource networkInterface) |
| | | 22 | | { |
| | 0 | 23 | | Subnet = subnet; |
| | 0 | 24 | | NetworkInterface = networkInterface; |
| | 0 | 25 | | } |
| | | 26 | | |
| | | 27 | | /// <summary> The ID of the subnet if assigned. </summary> |
| | 0 | 28 | | public SubResource Subnet { get; } |
| | | 29 | | /// <summary> The ID of the network interface if assigned. </summary> |
| | 0 | 30 | | public SubResource NetworkInterface { get; } |
| | | 31 | | } |
| | | 32 | | } |