Compartir a través de


BatchTaskSlotCounts Class

Definition

The TaskSlot counts for a Job.

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

Properties

Active

The number of TaskSlots for active Tasks.

Completed

The number of TaskSlots for completed Tasks.

Failed

The number of TaskSlots for failed Tasks.

Running

The number of TaskSlots for running Tasks.

Succeeded

The number of TaskSlots for succeeded Tasks.

Explicit Interface Implementations

IJsonModel<BatchTaskSlotCounts>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BatchTaskSlotCounts>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchTaskSlotCounts>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchTaskSlotCounts>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BatchTaskSlotCounts>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to