Condividi tramite


ContainerCpuUsage Class

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

Implements

public final class ContainerCpuUsage
implements JsonSerializable<ContainerCpuUsage>

The ContainerCpuUsage model.

Method Summary

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

Reads an instance of ContainerCpuUsage from the JsonReader.

Long kernelModeUsage()

Get the kernelModeUsage property: The kernelModeUsage property.

List<Long> perCpuUsage()

Get the perCpuUsage property: The perCpuUsage property.

JsonWriter toJson(JsonWriter jsonWriter)
Long totalUsage()

Get the totalUsage property: The totalUsage property.

Long userModeUsage()

Get the userModeUsage property: The userModeUsage property.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static ContainerCpuUsage fromJson(JsonReader jsonReader)

Reads an instance of ContainerCpuUsage from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

kernelModeUsage

public Long kernelModeUsage()

Get the kernelModeUsage property: The kernelModeUsage property.

Returns:

the kernelModeUsage value.

perCpuUsage

public List<Long> perCpuUsage()

Get the perCpuUsage property: The perCpuUsage property.

Returns:

the perCpuUsage value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

totalUsage

public Long totalUsage()

Get the totalUsage property: The totalUsage property.

Returns:

the totalUsage value.

userModeUsage

public Long userModeUsage()

Get the userModeUsage property: The userModeUsage property.

Returns:

the userModeUsage value.

validate

public void validate()

Validates the instance.

Applies to