BatchPoolUsageMetrics Class
- java.
lang. Object - com.
azure. compute. batch. models. BatchPoolUsageMetrics
- com.
Implements
public final class BatchPoolUsageMetrics
implements JsonSerializable<BatchPoolUsageMetrics>
Usage metrics for a Pool across an aggregation interval.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Batch |
fromJson(JsonReader jsonReader)
Reads an instance of Batch |
|
Offset |
getEndTime()
Get the end |
| String |
getPoolId()
Get the pool |
|
Offset |
getStartTime()
Get the start |
| double |
getTotalCoreHours()
Get the total |
| String |
getVmSize()
Get the vm |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static BatchPoolUsageMetrics fromJson(JsonReader jsonReader)
Reads an instance of BatchPoolUsageMetrics from the JsonReader.
Parameters:
Returns:
Throws:
getEndTime
public OffsetDateTime getEndTime()
Get the endTime property: The end time of the aggregation interval covered by this entry.
Returns:
getPoolId
public String getPoolId()
Get the poolId property: The ID of the Pool whose metrics are aggregated in this entry.
Returns:
getStartTime
public OffsetDateTime getStartTime()
Get the startTime property: The start time of the aggregation interval covered by this entry.
Returns:
getTotalCoreHours
public double getTotalCoreHours()
Get the totalCoreHours property: The total core hours used in the Pool during this aggregation interval.
Returns:
getVmSize
public String getVmSize()
Get the vmSize property: 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://learn.microsoft.com/azure/batch/batch-pool-vm-sizes).
Returns: