| | 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.Network.Models |
| | 11 | | { |
| | 12 | | /// <summary> Parameters that define the resource to query the troubleshooting result. </summary> |
| | 13 | | public partial class QueryTroubleshootingParameters |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of QueryTroubleshootingParameters. </summary> |
| | 16 | | /// <param name="targetResourceId"> The target resource ID to query the troubleshooting result. </param> |
| 0 | 17 | | public QueryTroubleshootingParameters(string targetResourceId) |
| | 18 | | { |
| 0 | 19 | | if (targetResourceId == null) |
| | 20 | | { |
| 0 | 21 | | throw new ArgumentNullException(nameof(targetResourceId)); |
| | 22 | | } |
| | 23 | |
|
| 0 | 24 | | TargetResourceId = targetResourceId; |
| 0 | 25 | | } |
| | 26 | |
|
| | 27 | | /// <summary> The target resource ID to query the troubleshooting result. </summary> |
| 0 | 28 | | public string TargetResourceId { get; } |
| | 29 | | } |
| | 30 | | } |