Condividi tramite


ContainerInfo Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.ContainerInfo

Implements

public final class ContainerInfo
implements JsonSerializable<ContainerInfo>

The ContainerInfo model.

Method Summary

Modifier and Type Method and Description
ContainerCpuStatistics currentCpuStats()

Get the currentCpuStats property: The currentCpuStats property.

OffsetDateTime currentTimestamp()

Get the currentTimestamp property: The currentTimeStamp property.

ContainerNetworkInterfaceStatistics eth0()

Get the eth0 property: The eth0 property.

static ContainerInfo fromJson(JsonReader jsonReader)

Reads an instance of ContainerInfo from the JsonReader.

String id()

Get the id property: The id property.

ContainerMemoryStatistics memoryStats()

Get the memoryStats property: The memoryStats property.

String name()

Get the name property: The name property.

ContainerCpuStatistics previousCpuStats()

Get the previousCpuStats property: The previousCpuStats property.

OffsetDateTime previousTimestamp()

Get the previousTimestamp property: The previousTimeStamp property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

currentCpuStats

public ContainerCpuStatistics currentCpuStats()

Get the currentCpuStats property: The currentCpuStats property.

Returns:

the currentCpuStats value.

currentTimestamp

public OffsetDateTime currentTimestamp()

Get the currentTimestamp property: The currentTimeStamp property.

Returns:

the currentTimestamp value.

eth0

public ContainerNetworkInterfaceStatistics eth0()

Get the eth0 property: The eth0 property.

Returns:

the eth0 value.

fromJson

public static ContainerInfo fromJson(JsonReader jsonReader)

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.

id

public String id()

Get the id property: The id property.

Returns:

the id value.

memoryStats

public ContainerMemoryStatistics memoryStats()

Get the memoryStats property: The memoryStats property.

Returns:

the memoryStats value.

name

public String name()

Get the name property: The name property.

Returns:

the name value.

previousCpuStats

public ContainerCpuStatistics previousCpuStats()

Get the previousCpuStats property: The previousCpuStats property.

Returns:

the previousCpuStats value.

previousTimestamp

public OffsetDateTime previousTimestamp()

Get the previousTimestamp property: The previousTimeStamp property.

Returns:

the previousTimestamp value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to