Condividi tramite


ContainerMemoryStatistics Class

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

Implements

public final class ContainerMemoryStatistics
implements JsonSerializable<ContainerMemoryStatistics>

The ContainerMemoryStatistics model.

Method Summary

Modifier and Type Method and Description
static ContainerMemoryStatistics fromJson(JsonReader jsonReader)

Reads an instance of ContainerMemoryStatistics from the JsonReader.

Long limit()

Get the limit property: The limit property.

Long maxUsage()

Get the maxUsage property: The maxUsage property.

JsonWriter toJson(JsonWriter jsonWriter)
Long usage()

Get the usage property: The usage property.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static ContainerMemoryStatistics fromJson(JsonReader jsonReader)

Reads an instance of ContainerMemoryStatistics from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ContainerMemoryStatistics 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 ContainerMemoryStatistics.

limit

public Long limit()

Get the limit property: The limit property.

Returns:

the limit value.

maxUsage

public Long maxUsage()

Get the maxUsage property: The maxUsage property.

Returns:

the maxUsage value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

usage

public Long usage()

Get the usage property: The usage property.

Returns:

the usage value.

validate

public void validate()

Validates the instance.

Applies to