ContainerCpuStatistics Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. ContainerCpuStatistics
- com.
Implements
public final class ContainerCpuStatistics
implements JsonSerializable<ContainerCpuStatistics>
The ContainerCpuStatistics model.
Constructor Summary
Constructor | Description |
---|---|
ContainerCpuStatistics() |
Creates an instance of Container |
Method Summary
Modifier and Type | Method and Description |
---|---|
Container |
cpuUsage()
Get the cpu |
static
Container |
fromJson(JsonReader jsonReader)
Reads an instance of Container |
Integer |
onlineCpuCount()
Get the online |
Long |
systemCpuUsage()
Get the system |
Container |
throttlingData()
Get the throttling |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Container |
withCpuUsage(ContainerCpuUsage cpuUsage)
Set the cpu |
Container |
withOnlineCpuCount(Integer onlineCpuCount)
Set the online |
Container |
withSystemCpuUsage(Long systemCpuUsage)
Set the system |
Container |
withThrottlingData(ContainerThrottlingData throttlingData)
Set the throttling |
Methods inherited from java.lang.Object
Constructor Details
ContainerCpuStatistics
public ContainerCpuStatistics()
Creates an instance of ContainerCpuStatistics class.
Method Details
cpuUsage
public ContainerCpuUsage cpuUsage()
Get the cpuUsage property: The cpuUsage property.
Returns:
fromJson
public static ContainerCpuStatistics fromJson(JsonReader jsonReader)
Reads an instance of ContainerCpuStatistics from the JsonReader.
Parameters:
Returns:
Throws:
onlineCpuCount
public Integer onlineCpuCount()
Get the onlineCpuCount property: The onlineCpuCount property.
Returns:
systemCpuUsage
public Long systemCpuUsage()
Get the systemCpuUsage property: The systemCpuUsage property.
Returns:
throttlingData
public ContainerThrottlingData throttlingData()
Get the throttlingData property: The throttlingData property.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCpuUsage
public ContainerCpuStatistics withCpuUsage(ContainerCpuUsage cpuUsage)
Set the cpuUsage property: The cpuUsage property.
Parameters:
Returns:
withOnlineCpuCount
public ContainerCpuStatistics withOnlineCpuCount(Integer onlineCpuCount)
Set the onlineCpuCount property: The onlineCpuCount property.
Parameters:
Returns:
withSystemCpuUsage
public ContainerCpuStatistics withSystemCpuUsage(Long systemCpuUsage)
Set the systemCpuUsage property: The systemCpuUsage property.
Parameters:
Returns:
withThrottlingData
public ContainerCpuStatistics withThrottlingData(ContainerThrottlingData throttlingData)
Set the throttlingData property: The throttlingData property.
Parameters:
Returns:
Applies to
Azure SDK for Java