CapabilitiesCapabilities Class
- java.
lang. Object - com.
azure. resourcemanager. containerinstance. models. CapabilitiesCapabilities
- com.
Implements
public final class CapabilitiesCapabilities
implements JsonSerializable<CapabilitiesCapabilities>
The supported capabilities.
Constructor Summary
Constructor | Description |
---|---|
CapabilitiesCapabilities() |
Creates an instance of Capabilities |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Capabilities |
fromJson(JsonReader jsonReader)
Reads an instance of Capabilities |
Float |
maxCpu()
Get the max |
Float |
maxGpuCount()
Get the max |
Float |
maxMemoryInGB()
Get the max |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
CapabilitiesCapabilities
public CapabilitiesCapabilities()
Creates an instance of CapabilitiesCapabilities class.
Method Details
fromJson
public static CapabilitiesCapabilities fromJson(JsonReader jsonReader)
Reads an instance of CapabilitiesCapabilities from the JsonReader.
Parameters:
Returns:
Throws:
maxCpu
public Float maxCpu()
Get the maxCpu property: The maximum allowed CPU request in cores.
Returns:
maxGpuCount
public Float maxGpuCount()
Get the maxGpuCount property: The maximum allowed GPU count.
Returns:
maxMemoryInGB
public Float maxMemoryInGB()
Get the maxMemoryInGB property: The maximum allowed memory request in GB.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java