Class CapabilitiesCapabilities
- java.lang.Object
-
- com.azure.resourcemanager.containerinstance.models.CapabilitiesCapabilities
-
public final class CapabilitiesCapabilities extends Object
The supported capabilities.
-
-
Constructor Summary
Constructors Constructor Description CapabilitiesCapabilities()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FloatmaxCpu()Get the maxCpu property: The maximum allowed CPU request in cores.FloatmaxGpuCount()Get the maxGpuCount property: The maximum allowed GPU count.FloatmaxMemoryInGB()Get the maxMemoryInGB property: The maximum allowed memory request in GB.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
maxMemoryInGB
public Float maxMemoryInGB()
Get the maxMemoryInGB property: The maximum allowed memory request in GB.- Returns:
- the maxMemoryInGB value.
-
maxCpu
public Float maxCpu()
Get the maxCpu property: The maximum allowed CPU request in cores.- Returns:
- the maxCpu value.
-
maxGpuCount
public Float maxGpuCount()
Get the maxGpuCount property: The maximum allowed GPU count.- Returns:
- the maxGpuCount value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-