Dela via


SupportedCapabilities Class

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

public final class 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.

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.

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