| | 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.Resources.Models |
| | 11 | | { |
| | 12 | | /// <summary> Resource link filter. </summary> |
| | 13 | | internal partial class ResourceLinkFilter |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of ResourceLinkFilter. </summary> |
| | 16 | | /// <param name="targetId"> The ID of the target resource. </param> |
| 0 | 17 | | internal ResourceLinkFilter(string targetId) |
| | 18 | | { |
| 0 | 19 | | if (targetId == null) |
| | 20 | | { |
| 0 | 21 | | throw new ArgumentNullException(nameof(targetId)); |
| | 22 | | } |
| | 23 | |
|
| 0 | 24 | | TargetId = targetId; |
| 0 | 25 | | } |
| | 26 | |
|
| | 27 | | /// <summary> The ID of the target resource. </summary> |
| 0 | 28 | | public string TargetId { get; } |
| | 29 | | } |
| | 30 | | } |