| | 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> Resources that have an association with the parent resource. </summary> |
| | 11 | | public partial class TopologyAssociation |
| | 12 | | { |
| | 13 | | /// <summary> Initializes a new instance of TopologyAssociation. </summary> |
| 0 | 14 | | internal TopologyAssociation() |
| | 15 | | { |
| 0 | 16 | | } |
| | 17 | |
|
| | 18 | | /// <summary> Initializes a new instance of TopologyAssociation. </summary> |
| | 19 | | /// <param name="name"> The name of the resource that is associated with the parent resource. </param> |
| | 20 | | /// <param name="resourceId"> The ID of the resource that is associated with the parent resource. </param> |
| | 21 | | /// <param name="associationType"> The association type of the child resource to the parent resource. </param> |
| 44 | 22 | | internal TopologyAssociation(string name, string resourceId, AssociationType? associationType) |
| | 23 | | { |
| 44 | 24 | | Name = name; |
| 44 | 25 | | ResourceId = resourceId; |
| 44 | 26 | | AssociationType = associationType; |
| 44 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> The name of the resource that is associated with the parent resource. </summary> |
| 4 | 30 | | public string Name { get; } |
| | 31 | | /// <summary> The ID of the resource that is associated with the parent resource. </summary> |
| 4 | 32 | | public string ResourceId { get; } |
| | 33 | | /// <summary> The association type of the child resource to the parent resource. </summary> |
| 4 | 34 | | public AssociationType? AssociationType { get; } |
| | 35 | | } |
| | 36 | | } |