Compartilhar via


BatchTaskCountsResult Class

Definition

The Task and TaskSlot counts for a Job.

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

Properties

TaskCounts

The number of Tasks per state.

TaskSlotCounts

The number of TaskSlots required by Tasks per state.

Explicit Interface Implementations

IJsonModel<BatchTaskCountsResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BatchTaskCountsResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchTaskCountsResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchTaskCountsResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BatchTaskCountsResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to