ArmOperation<T> 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.
Represents a long-running operation that returns a value when it completes.
public abstract class ArmOperation<T> : Azure.Operation<T>
type ArmOperation<'T> = class
inherit Operation<'T>
Public MustInherit Class ArmOperation(Of T)
Inherits Operation(Of T)
Type Parameters
- T
The final result of the long-running operation.
- Inheritance
- Derived
Constructors
ArmOperation<T>() |
Initializes a new instance of ArmOperation for mocking. |
Properties
HasCompleted |
Returns true if the long-running operation completed. (Inherited from Operation) |
HasValue |
Returns true if the long-running operation completed successfully and has produced final result (accessible by Value property). (Inherited from Operation<T>) |
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. (Inherited from Operation) |
Value |
Final result of the long-running operation. (Inherited from Operation<T>) |
Methods
GetRawResponse() |
The last HTTP response received from the server. (Inherited from Operation) |
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. (Inherited from Operation) |
UpdateStatusAsync(CancellationToken) |
Calls the server to get updated status of the long-running operation. (Inherited from 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. (Inherited from Operation<T>) |
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. (Inherited from Operation<T>) |
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) |