Share via


DeallocateNodeOperation Class

Definition

Upon success a Node will be deallocated

public class DeallocateNodeOperation : Azure.Operation<Azure.Compute.Batch.BatchNode>
type DeallocateNodeOperation = class
    inherit Operation<BatchNode>
Public Class DeallocateNodeOperation
Inherits Operation(Of BatchNode)
Inheritance
DeallocateNodeOperation

Constructors

DeallocateNodeOperation()

Initializes a new DeallocateNodeOperation instance for mocking.

DeallocateNodeOperation(BatchClient, String)

Initializes a new DeallocateNodeOperation instance

Properties

HasCompleted

Gets a value indicating whether the operation has completed.

HasValue

Gets a value indicating whether the operation completed and successfully produced a value. The Value property is the success of the 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.

Value

Get the sucess state of the deletion operation

Methods

GetRawResponse()

The last HTTP response received from the server.

UpdateStatus(CancellationToken)

Check for the latest status of the delete operation.

UpdateStatusAsync(CancellationToken)

Check for the latest status of the delete operation.

WaitForCompletion(CancellationToken)

Periodically calls the server till the long-running operation completes.

WaitForCompletionAsync(CancellationToken)

Periodically calls the server till the long-running operation completes.

Applies to