| | 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> Selective Key Restore operation. </summary> |
| | 13 | | public partial class SelectiveKeyRestoreDetails |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of SelectiveKeyRestoreDetails. </summary> |
| 0 | 16 | | internal SelectiveKeyRestoreDetails() |
| | 17 | | { |
| 0 | 18 | | } |
| | 19 | |
|
| | 20 | | /// <summary> Initializes a new instance of SelectiveKeyRestoreDetails. </summary> |
| | 21 | | /// <param name="status"> Status of the restore operation. </param> |
| | 22 | | /// <param name="statusDetails"> The status details of restore operation. </param> |
| | 23 | | /// <param name="error"> Error encountered, if any, during the selective key restore operation. </param> |
| | 24 | | /// <param name="jobId"> Identifier for the selective key restore operation. </param> |
| | 25 | | /// <param name="startTime"> The start time of the restore operation. </param> |
| | 26 | | /// <param name="endTime"> The end time of the restore operation in UTC. </param> |
| 0 | 27 | | internal SelectiveKeyRestoreDetails(string status, string statusDetails, KeyVaultServiceError error, string jobI |
| | 28 | | { |
| 0 | 29 | | Status = status; |
| 0 | 30 | | StatusDetails = statusDetails; |
| 0 | 31 | | Error = error; |
| 0 | 32 | | JobId = jobId; |
| 0 | 33 | | StartTime = startTime; |
| 0 | 34 | | EndTime = endTime; |
| 0 | 35 | | } |
| | 36 | |
|
| | 37 | | /// <summary> Status of the restore operation. </summary> |
| 0 | 38 | | public string Status { get; } |
| | 39 | | /// <summary> The status details of restore operation. </summary> |
| 0 | 40 | | public string StatusDetails { get; } |
| | 41 | | /// <summary> Error encountered, if any, during the selective key restore operation. </summary> |
| 0 | 42 | | public KeyVaultServiceError Error { get; } |
| | 43 | | /// <summary> Identifier for the selective key restore operation. </summary> |
| 0 | 44 | | public string JobId { get; } |
| | 45 | | /// <summary> The start time of the restore operation. </summary> |
| 0 | 46 | | public DateTimeOffset? StartTime { get; } |
| | 47 | | /// <summary> The end time of the restore operation in UTC. </summary> |
| 0 | 48 | | public DateTimeOffset? EndTime { get; } |
| | 49 | | } |
| | 50 | | } |