Share via


ResizePoolOperation Class

Definition

Upon success a set of pool will be resized

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

Constructors

ResizePoolOperation()

Initializes a new ResizePoolOperation instance for mocking.

ResizePoolOperation(BatchClient, String)

Initializes a new ResizePoolOperation 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 BatchPool after the resize has finished

Methods

GetRawResponse()

The last HTTP response received from the server.

UpdateStatus(CancellationToken)

Check for the latest status of the resize operation.

UpdateStatusAsync(CancellationToken)

Check for the latest status of the resize operation.

Applies to