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 Details

    • getStartTime

      public OffsetDateTime getStartTime()
      Get the startTime property: The start time of the time range covered by the statistics.
      Returns:
      the startTime value.
    • getLastUpdateTime

      public OffsetDateTime 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

      public Duration 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.