| | | 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> Network interface and all its associated security rules. </summary> |
| | | 11 | | public partial class SecurityGroupNetworkInterface |
| | | 12 | | { |
| | | 13 | | /// <summary> Initializes a new instance of SecurityGroupNetworkInterface. </summary> |
| | 0 | 14 | | internal SecurityGroupNetworkInterface() |
| | | 15 | | { |
| | 0 | 16 | | } |
| | | 17 | | |
| | | 18 | | /// <summary> Initializes a new instance of SecurityGroupNetworkInterface. </summary> |
| | | 19 | | /// <param name="id"> ID of the network interface. </param> |
| | | 20 | | /// <param name="securityRuleAssociations"> All security rules associated with the network interface. </param> |
| | 0 | 21 | | internal SecurityGroupNetworkInterface(string id, SecurityRuleAssociations securityRuleAssociations) |
| | | 22 | | { |
| | 0 | 23 | | Id = id; |
| | 0 | 24 | | SecurityRuleAssociations = securityRuleAssociations; |
| | 0 | 25 | | } |
| | | 26 | | |
| | | 27 | | /// <summary> ID of the network interface. </summary> |
| | 0 | 28 | | public string Id { get; } |
| | | 29 | | /// <summary> All security rules associated with the network interface. </summary> |
| | 0 | 30 | | public SecurityRuleAssociations SecurityRuleAssociations { get; } |
| | | 31 | | } |
| | | 32 | | } |