Class ContainerInfo
java.lang.Object
com.azure.resourcemanager.appservice.models.ContainerInfo
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ContainerInfo>
public final class ContainerInfo
extends Object
implements com.azure.json.JsonSerializable<ContainerInfo>
The ContainerInfo model.
-
Method Summary
Modifier and TypeMethodDescriptionGet the currentCpuStats property: The currentCpuStats property.Get the currentTimestamp property: The currentTimeStamp property.eth0()Get the eth0 property: The eth0 property.static ContainerInfofromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ContainerInfo from the JsonReader.id()Get the id property: The id property.Get the memoryStats property: The memoryStats property.name()Get the name property: The name property.Get the previousCpuStats property: The previousCpuStats property.Get the previousTimestamp property: The previousTimeStamp property.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) 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
-
currentTimestamp
Get the currentTimestamp property: The currentTimeStamp property.- Returns:
- the currentTimestamp value.
-
previousTimestamp
Get the previousTimestamp property: The previousTimeStamp property.- Returns:
- the previousTimestamp value.
-
currentCpuStats
Get the currentCpuStats property: The currentCpuStats property.- Returns:
- the currentCpuStats value.
-
previousCpuStats
Get the previousCpuStats property: The previousCpuStats property.- Returns:
- the previousCpuStats value.
-
memoryStats
Get the memoryStats property: The memoryStats property.- Returns:
- the memoryStats value.
-
name
-
id
-
eth0
Get the eth0 property: The eth0 property.- Returns:
- the eth0 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<ContainerInfo>- Throws:
IOException
-
fromJson
Reads an instance of ContainerInfo from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ContainerInfo 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 ContainerInfo.
-