| | | 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.Security.KeyVault.Administration.Models |
| | | 11 | | { |
| | | 12 | | /// <summary> The RestoreOperationParameters. </summary> |
| | | 13 | | internal partial class RestoreOperationParameters |
| | | 14 | | { |
| | | 15 | | /// <summary> Initializes a new instance of RestoreOperationParameters. </summary> |
| | | 16 | | /// <param name="sasTokenParameters"> . </param> |
| | | 17 | | /// <param name="folderToRestore"> The Folder name of the blob where the previous successful full backup was sto |
| | | 18 | | /// <exception cref="ArgumentNullException"> <paramref name="sasTokenParameters"/> or <paramref name="folderToRe |
| | 4 | 19 | | public RestoreOperationParameters(SASTokenParameter sasTokenParameters, string folderToRestore) |
| | | 20 | | { |
| | 4 | 21 | | if (sasTokenParameters == null) |
| | | 22 | | { |
| | 0 | 23 | | throw new ArgumentNullException(nameof(sasTokenParameters)); |
| | | 24 | | } |
| | 4 | 25 | | if (folderToRestore == null) |
| | | 26 | | { |
| | 0 | 27 | | throw new ArgumentNullException(nameof(folderToRestore)); |
| | | 28 | | } |
| | | 29 | | |
| | 4 | 30 | | SasTokenParameters = sasTokenParameters; |
| | 4 | 31 | | FolderToRestore = folderToRestore; |
| | 4 | 32 | | } |
| | | 33 | | |
| | 4 | 34 | | public SASTokenParameter SasTokenParameters { get; } |
| | | 35 | | /// <summary> The Folder name of the blob where the previous successful full backup was stored. </summary> |
| | 4 | 36 | | public string FolderToRestore { get; } |
| | | 37 | | } |
| | | 38 | | } |