Class PerfMonSet
java.lang.Object
com.azure.resourcemanager.appservice.models.PerfMonSet
- All Implemented Interfaces:
com.azure.json.JsonSerializable<PerfMonSet>
Metric information.
-
Method Summary
Modifier and TypeMethodDescriptionendTime()Get the endTime property: End time of the period.static PerfMonSetfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of PerfMonSet from the JsonReader.name()Get the name property: Unique key name of the counter.Get the startTime property: Start time of the period.Get the timeGrain property: Presented time grain.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.values()Get the values property: Collection of workers that are active during this time.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
-
name
Get the name property: Unique key name of the counter.- Returns:
- the name value.
-
startTime
Get the startTime property: Start time of the period.- Returns:
- the startTime value.
-
endTime
Get the endTime property: End time of the period.- Returns:
- the endTime value.
-
timeGrain
Get the timeGrain property: Presented time grain.- Returns:
- the timeGrain value.
-
values
Get the values property: Collection of workers that are active during this time.- Returns:
- the values value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<PerfMonSet>- Throws:
IOException
-
fromJson
Reads an instance of PerfMonSet from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of PerfMonSet 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 PerfMonSet.
-