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 Summary
ConstructorsConstructorDescriptionCreates an instance of CapacityReservationProperties class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of CapacityReservationProperties from the JsonReader.Get the lastSkuUpdate property: The last time Sku was updated.Get the minCapacity property: Minimum CapacityReservation value in Gigabytes.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
CapacityReservationProperties
public CapacityReservationProperties()Creates an instance of CapacityReservationProperties class.
-
-
Method Details
-
lastSkuUpdate
Get the lastSkuUpdate property: The last time Sku was updated.- Returns:
- the lastSkuUpdate value.
-
minCapacity
Get the minCapacity property: Minimum CapacityReservation value in Gigabytes.- Returns:
- the minCapacity value.
-
toJson
- Specified by:
toJsonin interfacecom.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.
-