KeyVaultBackupOperation Class
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.
A long-running operation for StartBackup(Uri, String, CancellationToken) or StartBackupAsync(Uri, String, CancellationToken).
public class KeyVaultBackupOperation : Azure.Operation<Azure.Security.KeyVault.Administration.KeyVaultBackupResult>
type KeyVaultBackupOperation = class
inherit Operation<KeyVaultBackupResult>
Public Class KeyVaultBackupOperation
Inherits Operation(Of KeyVaultBackupResult)
- Inheritance
Constructors
KeyVaultBackupOperation() |
Initializes a new instance of KeyVaultBackupOperation for mocking. |
KeyVaultBackupOperation(KeyVaultBackupClient, String) |
Creates an instance of a KeyVaultBackupOperation from a previously started operation. UpdateStatus(CancellationToken), UpdateStatusAsync(CancellationToken), WaitForCompletionAsync(CancellationToken), or WaitForCompletionAsync(TimeSpan, CancellationToken) must be called to re-populate the details of this operation. |
Properties
EndTime |
The end time of the backup operation. |
HasCompleted |
Returns true if the long-running operation completed. |
HasValue |
Returns true if the long-running operation completed successfully and has produced final result (accessible by Value property). |
Id |
Gets an ID representing the operation that can be used to poll for the status of the long-running operation. There are cases that operation id is not available, we return "NOT_SET" for unavailable operation id. |
StartTime |
The start time of the backup operation. |
Value |
Gets the Azure.Security.KeyVault.Administration.Models.FullBackupDetailsInternal of the backup operation. You should await WaitForCompletionAsync(CancellationToken) before attempting to use a key in this pending state. |
Methods
GetRawResponse() |
The last HTTP response received from the server. |
GetRehydrationToken() |
Get a token that can be used to rehydrate the operation. (Inherited from Operation) |
UpdateStatus(CancellationToken) |
Calls the server to get updated status of the long-running operation. |
UpdateStatusAsync(CancellationToken) |
Calls the server to get updated status of the long-running operation. |
WaitForCompletion(CancellationToken) |
Periodically calls the server till the long-running operation completes. (Inherited from Operation<T>) |
WaitForCompletion(DelayStrategy, CancellationToken) |
Periodically calls the server till the long-running operation completes. (Inherited from Operation<T>) |
WaitForCompletion(TimeSpan, CancellationToken) |
Periodically calls the server till the long-running operation completes. (Inherited from Operation<T>) |
WaitForCompletionAsync(CancellationToken) |
Periodically calls the server till the long-running operation completes. |
WaitForCompletionAsync(DelayStrategy, CancellationToken) |
Periodically calls the server till the long-running operation completes. (Inherited from Operation<T>) |
WaitForCompletionAsync(TimeSpan, CancellationToken) |
Periodically calls the server till the long-running operation completes. |
WaitForCompletionResponse(CancellationToken) |
Periodically calls the server till the long-running operation completes. (Inherited from Operation) |
WaitForCompletionResponse(DelayStrategy, CancellationToken) |
Periodically calls the server till the long-running operation completes. (Inherited from Operation) |
WaitForCompletionResponse(TimeSpan, CancellationToken) |
Periodically calls the server till the long-running operation completes. (Inherited from Operation) |
WaitForCompletionResponseAsync(CancellationToken) |
Periodically calls the server till the long-running operation completes. (Inherited from Operation) |
WaitForCompletionResponseAsync(DelayStrategy, CancellationToken) |
Periodically calls the server till the long-running operation completes. (Inherited from Operation) |
WaitForCompletionResponseAsync(TimeSpan, CancellationToken) |
Periodically calls the server till the long-running operation completes. (Inherited from Operation) |
Applies to
Azure SDK for .NET