Class WorkspaceCapping

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

public final class WorkspaceCapping extends Object implements com.azure.json.JsonSerializable<WorkspaceCapping>
The daily volume cap for ingestion.
  • Constructor Details

    • WorkspaceCapping

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

    • dailyQuotaGb

      public Double dailyQuotaGb()
      Get the dailyQuotaGb property: The workspace daily quota for ingestion.
      Returns:
      the dailyQuotaGb value.
    • withDailyQuotaGb

      public WorkspaceCapping withDailyQuotaGb(Double dailyQuotaGb)
      Set the dailyQuotaGb property: The workspace daily quota for ingestion.
      Parameters:
      dailyQuotaGb - the dailyQuotaGb value to set.
      Returns:
      the WorkspaceCapping object itself.
    • quotaNextResetTime

      public String quotaNextResetTime()
      Get the quotaNextResetTime property: The time when the quota will be rest.
      Returns:
      the quotaNextResetTime value.
    • dataIngestionStatus

      public DataIngestionStatus dataIngestionStatus()
      Get the dataIngestionStatus property: The status of data ingestion for this workspace.
      Returns:
      the dataIngestionStatus value.
    • toJson

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

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