| | 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 troubleshoot. </summary> |
| | 13 | | public partial class TroubleshootingParameters |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of TroubleshootingParameters. </summary> |
| | 16 | | /// <param name="targetResourceId"> The target resource to troubleshoot. </param> |
| | 17 | | /// <param name="storageId"> The ID for the storage account to save the troubleshoot result. </param> |
| | 18 | | /// <param name="storagePath"> The path to the blob to save the troubleshoot result in. </param> |
| 0 | 19 | | public TroubleshootingParameters(string targetResourceId, string storageId, string storagePath) |
| | 20 | | { |
| 0 | 21 | | if (targetResourceId == null) |
| | 22 | | { |
| 0 | 23 | | throw new ArgumentNullException(nameof(targetResourceId)); |
| | 24 | | } |
| 0 | 25 | | if (storageId == null) |
| | 26 | | { |
| 0 | 27 | | throw new ArgumentNullException(nameof(storageId)); |
| | 28 | | } |
| 0 | 29 | | if (storagePath == null) |
| | 30 | | { |
| 0 | 31 | | throw new ArgumentNullException(nameof(storagePath)); |
| | 32 | | } |
| | 33 | |
|
| 0 | 34 | | TargetResourceId = targetResourceId; |
| 0 | 35 | | StorageId = storageId; |
| 0 | 36 | | StoragePath = storagePath; |
| 0 | 37 | | } |
| | 38 | |
|
| | 39 | | /// <summary> The target resource to troubleshoot. </summary> |
| 0 | 40 | | public string TargetResourceId { get; } |
| | 41 | | /// <summary> The ID for the storage account to save the troubleshoot result. </summary> |
| 0 | 42 | | public string StorageId { get; } |
| | 43 | | /// <summary> The path to the blob to save the troubleshoot result in. </summary> |
| 0 | 44 | | public string StoragePath { get; } |
| | 45 | | } |
| | 46 | | } |