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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the dailyQuotaGb property: The workspace daily quota for ingestion.Get the dataIngestionStatus property: The status of data ingestion for this workspace.static WorkspaceCappingfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of WorkspaceCapping from the JsonReader.Get the quotaNextResetTime property: The time when the quota will be rest.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) withDailyQuotaGb(Double dailyQuotaGb) Set the dailyQuotaGb property: The workspace daily quota for ingestion.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
-
WorkspaceCapping
public WorkspaceCapping()Creates an instance of WorkspaceCapping class.
-
-
Method Details
-
dailyQuotaGb
Get the dailyQuotaGb property: The workspace daily quota for ingestion.- Returns:
- the dailyQuotaGb value.
-
withDailyQuotaGb
Set the dailyQuotaGb property: The workspace daily quota for ingestion.- Parameters:
dailyQuotaGb- the dailyQuotaGb value to set.- Returns:
- the WorkspaceCapping object itself.
-
quotaNextResetTime
Get the quotaNextResetTime property: The time when the quota will be rest.- Returns:
- the quotaNextResetTime value.
-
dataIngestionStatus
Get the dataIngestionStatus property: The status of data ingestion for this workspace.- Returns:
- the dataIngestionStatus value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<WorkspaceCapping>- Throws:
IOException
-
fromJson
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.
-