Dela via


BatchPoolUsageMetrics Class

Definition

Usage metrics for a Pool across an aggregation interval.

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

Properties

EndTime

The end time of the aggregation interval covered by this entry.

PoolId

The ID of the Pool whose metrics are aggregated in this entry.

StartTime

The start time of the aggregation interval covered by this entry.

TotalCoreHours

The total core hours used in the Pool during this aggregation interval.

VmSize

The size of virtual machines in the Pool. All VMs in a Pool are the same size. For information about available sizes of virtual machines in Pools, see Choose a VM size for Compute Nodes in an Azure Batch Pool (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes).

Explicit Interface Implementations

IJsonModel<BatchPoolUsageMetrics>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BatchPoolUsageMetrics>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchPoolUsageMetrics>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchPoolUsageMetrics>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BatchPoolUsageMetrics>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to