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