SupportedCapabilities Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.SupportedCapabilities

Implements

public final class SupportedCapabilities
implements JsonSerializable<SupportedCapabilities>

List of supported capabilities persisted on the disk resource for VM use.

Constructor Summary

Constructor Description
SupportedCapabilities()

Creates an instance of SupportedCapabilities class.

Method Summary

Modifier and Type Method and Description
Boolean acceleratedNetwork()

Get the acceleratedNetwork property: True if the image from which the OS disk is created supports accelerated networking.

Architecture architecture()

Get the architecture property: CPU architecture supported by an OS disk.

String diskControllerTypes()

Get the diskControllerTypes property: The disk controllers that an OS disk supports.

static SupportedCapabilities fromJson(JsonReader jsonReader)

Reads an instance of SupportedCapabilities from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SupportedCapabilities withAcceleratedNetwork(Boolean acceleratedNetwork)

Set the acceleratedNetwork property: True if the image from which the OS disk is created supports accelerated networking.

SupportedCapabilities withArchitecture(Architecture architecture)

Set the architecture property: CPU architecture supported by an OS disk.

SupportedCapabilities withDiskControllerTypes(String diskControllerTypes)

Set the diskControllerTypes property: The disk controllers that an OS disk supports.

Methods inherited from java.lang.Object

Constructor Details

SupportedCapabilities

public SupportedCapabilities()

Creates an instance of SupportedCapabilities class.

Method Details

acceleratedNetwork

public Boolean acceleratedNetwork()

Get the acceleratedNetwork property: True if the image from which the OS disk is created supports accelerated networking.

Returns:

the acceleratedNetwork value.

architecture

public Architecture architecture()

Get the architecture property: CPU architecture supported by an OS disk.

Returns:

the architecture value.

diskControllerTypes

public String diskControllerTypes()

Get the diskControllerTypes property: The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI.

Returns:

the diskControllerTypes value.

fromJson

public static SupportedCapabilities fromJson(JsonReader jsonReader)

Reads an instance of SupportedCapabilities from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SupportedCapabilities 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 SupportedCapabilities.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAcceleratedNetwork

public SupportedCapabilities withAcceleratedNetwork(Boolean acceleratedNetwork)

Set the acceleratedNetwork property: True if the image from which the OS disk is created supports accelerated networking.

Parameters:

acceleratedNetwork - the acceleratedNetwork value to set.

Returns:

the SupportedCapabilities object itself.

withArchitecture

public SupportedCapabilities withArchitecture(Architecture architecture)

Set the architecture property: CPU architecture supported by an OS disk.

Parameters:

architecture - the architecture value to set.

Returns:

the SupportedCapabilities object itself.

withDiskControllerTypes

public SupportedCapabilities withDiskControllerTypes(String diskControllerTypes)

Set the diskControllerTypes property: The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI.

Parameters:

diskControllerTypes - the diskControllerTypes value to set.

Returns:

the SupportedCapabilities object itself.

Applies to