Class CapacityReservationProperties

java.lang.Object
com.azure.resourcemanager.loganalytics.models.CapacityReservationProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<CapacityReservationProperties>

public final class CapacityReservationProperties extends Object implements com.azure.json.JsonSerializable<CapacityReservationProperties>
The Capacity Reservation properties.
  • Constructor Details

    • CapacityReservationProperties

      public CapacityReservationProperties()
      Creates an instance of CapacityReservationProperties class.
  • Method Details

    • lastSkuUpdate

      public OffsetDateTime lastSkuUpdate()
      Get the lastSkuUpdate property: The last time Sku was updated.
      Returns:
      the lastSkuUpdate value.
    • minCapacity

      public Long minCapacity()
      Get the minCapacity property: Minimum CapacityReservation value in Gigabytes.
      Returns:
      the minCapacity value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<CapacityReservationProperties>
      Throws:
      IOException
    • fromJson

      public static CapacityReservationProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of CapacityReservationProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of CapacityReservationProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the CapacityReservationProperties.