KeyVaultAdministrationModelFactory.RestoreOperation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of a KeyVaultRestoreOperation for mocking purposes.
public static Azure.Security.KeyVault.Administration.KeyVaultRestoreOperation RestoreOperation (Azure.Response response, Azure.Security.KeyVault.Administration.KeyVaultBackupClient client, string id, DateTimeOffset? startTime = default, DateTimeOffset? endTime = default, string errorMessage = default);
static member RestoreOperation : Azure.Response * Azure.Security.KeyVault.Administration.KeyVaultBackupClient * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string -> Azure.Security.KeyVault.Administration.KeyVaultRestoreOperation
Public Shared Function RestoreOperation (response As Response, client As KeyVaultBackupClient, id As String, Optional startTime As Nullable(Of DateTimeOffset) = Nothing, Optional endTime As Nullable(Of DateTimeOffset) = Nothing, Optional errorMessage As String = Nothing) As KeyVaultRestoreOperation
Parameters
- response
- Response
The Response that will be returned from GetRawResponse().
- client
- KeyVaultBackupClient
An instance of KeyVaultBackupClient.
- id
- String
Identifier for the restore operation.
- startTime
- Nullable<DateTimeOffset>
The start time of the restore operation.
- endTime
- Nullable<DateTimeOffset>
The end time of the restore operation.
- errorMessage
- String
The error message generated from the operation, if any.
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET