Class CsmUsageQuotaInner
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.CsmUsageQuotaInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<CsmUsageQuotaInner>
public final class CsmUsageQuotaInner
extends Object
implements com.azure.json.JsonSerializable<CsmUsageQuotaInner>
Usage of the quota resource.
-
Method Summary
Modifier and TypeMethodDescriptionGet the currentValue property: The current value of the resource counter.static CsmUsageQuotaInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of CsmUsageQuotaInner from the JsonReader.limit()Get the limit property: The resource limit.name()Get the name property: Quota name.Get the nextResetTime property: Next reset time for the resource counter.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) unit()Get the unit property: Units of measurement for the quota resource.voidvalidate()Validates the instance.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
-
Method Details
-
unit
Get the unit property: Units of measurement for the quota resource.- Returns:
- the unit value.
-
nextResetTime
Get the nextResetTime property: Next reset time for the resource counter.- Returns:
- the nextResetTime value.
-
currentValue
Get the currentValue property: The current value of the resource counter.- Returns:
- the currentValue value.
-
limit
-
name
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<CsmUsageQuotaInner>- Throws:
IOException
-
fromJson
Reads an instance of CsmUsageQuotaInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of CsmUsageQuotaInner 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 CsmUsageQuotaInner.
-