Class Capabilities
java.lang.Object
com.azure.resourcemanager.containerinstance.models.Capabilities
- All Implemented Interfaces:
com.azure.json.JsonSerializable<Capabilities>
public final class Capabilities
extends Object
implements com.azure.json.JsonSerializable<Capabilities>
The regional capabilities.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the capabilities property: The supported capabilities.static CapabilitiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of Capabilities from the JsonReader.gpu()Get the gpu property: The GPU sku that this capability describes.Get the ipAddressType property: The ip address type that this capability describes.location()Get the location property: The resource location.osType()Get the osType property: The OS type that this capability describes.Get the resourceType property: The resource type that this capability describes.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
Capabilities
public Capabilities()Creates an instance of Capabilities class.
-
-
Method Details
-
resourceType
Get the resourceType property: The resource type that this capability describes.- Returns:
- the resourceType value.
-
osType
Get the osType property: The OS type that this capability describes.- Returns:
- the osType value.
-
location
Get the location property: The resource location.- Returns:
- the location value.
-
ipAddressType
Get the ipAddressType property: The ip address type that this capability describes.- Returns:
- the ipAddressType value.
-
gpu
Get the gpu property: The GPU sku that this capability describes.- Returns:
- the gpu value.
-
capabilities
Get the capabilities property: The supported capabilities.- Returns:
- the capabilities value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<Capabilities>- Throws:
IOException
-
fromJson
Reads an instance of Capabilities from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of Capabilities 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 Capabilities.
-