Capabilities Class

  • java.lang.Object
    • com.azure.resourcemanager.containerinstance.models.Capabilities

Implements

public final class Capabilities
implements JsonSerializable<Capabilities>

The regional capabilities.

Constructor Summary

Constructor Description
Capabilities()

Creates an instance of Capabilities class.

Method Summary

Modifier and Type Method and Description
CapabilitiesCapabilities capabilities()

Get the capabilities property: The supported capabilities.

static Capabilities fromJson(JsonReader jsonReader)

Reads an instance of Capabilities from the JsonReader.

String gpu()

Get the gpu property: The GPU sku that this capability describes.

String ipAddressType()

Get the ipAddressType property: The ip address type that this capability describes.

String location()

Get the location property: The resource location.

String osType()

Get the osType property: The OS type that this capability describes.

String resourceType()

Get the resourceType property: The resource type that this capability describes.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

Capabilities

public Capabilities()

Creates an instance of Capabilities class.

Method Details

capabilities

public CapabilitiesCapabilities capabilities()

Get the capabilities property: The supported capabilities.

Returns:

the capabilities value.

fromJson

public static Capabilities fromJson(JsonReader jsonReader)

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.

gpu

public String gpu()

Get the gpu property: The GPU sku that this capability describes.

Returns:

the gpu value.

ipAddressType

public String ipAddressType()

Get the ipAddressType property: The ip address type that this capability describes.

Returns:

the ipAddressType value.

location

public String location()

Get the location property: The resource location.

Returns:

the location value.

osType

public String osType()

Get the osType property: The OS type that this capability describes.

Returns:

the osType value.

resourceType

public String resourceType()

Get the resourceType property: The resource type that this capability describes.

Returns:

the resourceType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to