Partager via


BatchNodeCounts Class

Definition

The number of Compute Nodes in each Compute Node state.

public class BatchNodeCounts : System.ClientModel.Primitives.IJsonModel<Azure.Compute.Batch.BatchNodeCounts>, System.ClientModel.Primitives.IPersistableModel<Azure.Compute.Batch.BatchNodeCounts>
type BatchNodeCounts = class
    interface IJsonModel<BatchNodeCounts>
    interface IPersistableModel<BatchNodeCounts>
Public Class BatchNodeCounts
Implements IJsonModel(Of BatchNodeCounts), IPersistableModel(Of BatchNodeCounts)
Inheritance
BatchNodeCounts
Implements

Properties

Creating

The number of Compute Nodes in the creating state.

Idle

The number of Compute Nodes in the idle state.

LeavingPool

The number of Compute Nodes in the leavingPool state.

Offline

The number of Compute Nodes in the offline state.

Preempted

The number of Compute Nodes in the preempted state.

Rebooting

The count of Compute Nodes in the rebooting state.

Reimaging

The number of Compute Nodes in the reimaging state.

Running

The number of Compute Nodes in the running state.

Starting

The number of Compute Nodes in the starting state.

StartTaskFailed

The number of Compute Nodes in the startTaskFailed state.

Total

The total number of Compute Nodes.

Unknown

The number of Compute Nodes in the unknown state.

Unusable

The number of Compute Nodes in the unusable state.

UpgradingOs

The number of Compute Nodes in the upgradingOS state.

WaitingForStartTask

The number of Compute Nodes in the waitingForStartTask state.

Explicit Interface Implementations

IJsonModel<BatchNodeCounts>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<BatchNodeCounts>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchNodeCounts>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchNodeCounts>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<BatchNodeCounts>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to