ArmOperation Class

Definition

Represents a long-running operation.

public abstract class ArmOperation : Azure.Operation
type ArmOperation = class
    inherit Operation
Public MustInherit Class ArmOperation
Inherits Operation
Inheritance
ArmOperation

Constructors

ArmOperation()

Initializes a new instance of ArmOperation for mocking.

Properties

HasCompleted

Returns true if the long-running operation completed.

(Inherited from Operation)
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)

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)
Rehydrate(ArmClient, RehydrationToken, ArmClientOptions)
Rehydrate<T>(ArmClient, RehydrationToken, ArmClientOptions)
RehydrateAsync(ArmClient, RehydrationToken, ArmClientOptions)
RehydrateAsync<T>(ArmClient, RehydrationToken, ArmClientOptions)
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)
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