Class AvailableServiceTierInner

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

public final class AvailableServiceTierInner extends Object implements com.azure.json.JsonSerializable<AvailableServiceTierInner>
Service Tier details.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the capacityReservationLevel property: The capacity reservation level in GB per day.
    Get the defaultRetention property: The default retention for the Service Tier, in days.
    Get the enabled property: True if the Service Tier is enabled for the workspace.
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of AvailableServiceTierInner from the JsonReader.
    Get the lastSkuUpdate property: Time when the sku was last updated for the workspace.
    Get the maximumRetention property: The maximum retention for the Service Tier, in days.
    Get the minimumRetention property: The minimum retention for the Service Tier, in days.
    Get the serviceTier property: The name of the Service Tier.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)

    Methods inherited from class 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

    • serviceTier

      public SkuNameEnum serviceTier()
      Get the serviceTier property: The name of the Service Tier.
      Returns:
      the serviceTier value.
    • enabled

      public Boolean enabled()
      Get the enabled property: True if the Service Tier is enabled for the workspace.
      Returns:
      the enabled value.
    • minimumRetention

      public Long minimumRetention()
      Get the minimumRetention property: The minimum retention for the Service Tier, in days.
      Returns:
      the minimumRetention value.
    • maximumRetention

      public Long maximumRetention()
      Get the maximumRetention property: The maximum retention for the Service Tier, in days.
      Returns:
      the maximumRetention value.
    • defaultRetention

      public Long defaultRetention()
      Get the defaultRetention property: The default retention for the Service Tier, in days.
      Returns:
      the defaultRetention value.
    • capacityReservationLevel

      public Long capacityReservationLevel()
      Get the capacityReservationLevel property: The capacity reservation level in GB per day. Returned for the Capacity Reservation Service Tier.
      Returns:
      the capacityReservationLevel value.
    • lastSkuUpdate

      public String lastSkuUpdate()
      Get the lastSkuUpdate property: Time when the sku was last updated for the workspace. Returned for the Capacity Reservation Service Tier.
      Returns:
      the lastSkuUpdate value.
    • toJson

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

      public static AvailableServiceTierInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of AvailableServiceTierInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of AvailableServiceTierInner 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 AvailableServiceTierInner.