Package com.azure.compute.batch.models
Class BatchPoolUsageStatistics
java.lang.Object
com.azure.compute.batch.models.BatchPoolUsageStatistics
- All Implemented Interfaces:
com.azure.json.JsonSerializable<BatchPoolUsageStatistics>
public final class BatchPoolUsageStatistics
extends Object
implements com.azure.json.JsonSerializable<BatchPoolUsageStatistics>
Statistics related to Pool usage information.
-
Method Summary
Modifier and TypeMethodDescriptionstatic BatchPoolUsageStatistics
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of BatchPoolUsageStatistics from the JsonReader.Get the dedicatedCoreTime property: The aggregated wall-clock time of the dedicated Compute Node cores being part of the Pool.Get the lastUpdateTime property: The time at which the statistics were last updated.Get the startTime property: The start time of the time range covered by the statistics.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getStartTime
Get the startTime property: The start time of the time range covered by the statistics.- Returns:
- the startTime value.
-
getLastUpdateTime
Get the lastUpdateTime property: The time at which the statistics were last updated. All statistics are limited to the range between startTime and lastUpdateTime.- Returns:
- the lastUpdateTime value.
-
getDedicatedCoreTime
Get the dedicatedCoreTime property: The aggregated wall-clock time of the dedicated Compute Node cores being part of the Pool.- Returns:
- the dedicatedCoreTime value.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<BatchPoolUsageStatistics>
- Throws:
IOException
-
fromJson
public static BatchPoolUsageStatistics fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of BatchPoolUsageStatistics from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of BatchPoolUsageStatistics if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException
- If the deserialized JSON object was missing any required properties.IOException
- If an error occurs while reading the BatchPoolUsageStatistics.
-