Compartilhar via


BatchNodeState Struct

Definition

BatchNodeState enums.

public readonly struct BatchNodeState : IEquatable<Azure.Compute.Batch.BatchNodeState>
type BatchNodeState = struct
Public Structure BatchNodeState
Implements IEquatable(Of BatchNodeState)
Inheritance
BatchNodeState
Implements

Constructors

BatchNodeState(String)

Initializes a new instance of BatchNodeState.

Properties

Creating

The Batch service has obtained the underlying virtual machine from Azure Compute, but it has not yet started to join the Pool.

Idle

The Compute Node is not currently running a Task.

LeavingPool

The Compute Node is leaving the Pool, either because the user explicitly removed it or because the Pool is resizing or autoscaling down.

Offline

The Compute Node is not currently running a Task, and scheduling of new Tasks to the Compute Node is disabled.

Preempted

The Spot/Low-priority Compute Node has been preempted. Tasks which were running on the Compute Node when it was preempted will be rescheduled when another Compute Node becomes available.

Rebooting

The Compute Node is rebooting.

Reimaging

The Compute Node is reimaging.

Running

The Compute Node is running one or more Tasks (other than a StartTask).

Starting

The Batch service is starting on the underlying virtual machine.

StartTaskFailed

The StartTask has failed on the Compute Node (and exhausted all retries), and waitForSuccess is set. The Compute Node is not usable for running Tasks.

Unknown

The Batch service has lost contact with the Compute Node, and does not know its true state.

Unusable

The Compute Node cannot be used for Task execution due to errors.

UpgradingOS

The Compute Node is undergoing an OS upgrade operation.

WaitingForStartTask

The StartTask has started running on the Compute Node, but waitForSuccess is set and the StartTask has not yet completed.

Methods

Equals(BatchNodeState)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(BatchNodeState, BatchNodeState)

Determines if two BatchNodeState values are the same.

Implicit(String to BatchNodeState)

Converts a string to a BatchNodeState.

Inequality(BatchNodeState, BatchNodeState)

Determines if two BatchNodeState values are not the same.

Applies to