Class SupportedCapabilities
java.lang.Object
com.azure.resourcemanager.compute.models.SupportedCapabilities
List of supported capabilities persisted on the disk resource for VM use.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the acceleratedNetwork property: True if the image from which the OS disk is created supports accelerated networking.Get the architecture property: CPU architecture supported by an OS disk.Get the diskControllerTypes property: The disk controllers that an OS disk supports.voidvalidate()Validates the instance.withAcceleratedNetwork(Boolean acceleratedNetwork) Set the acceleratedNetwork property: True if the image from which the OS disk is created supports accelerated networking.withArchitecture(Architecture architecture) Set the architecture property: CPU architecture supported by an OS disk.withDiskControllerTypes(String diskControllerTypes) Set the diskControllerTypes property: The disk controllers that an OS disk supports.
-
Constructor Details
-
SupportedCapabilities
public SupportedCapabilities()Creates an instance of SupportedCapabilities class.
-
-
Method Details
-
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.
-
withDiskControllerTypes
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.
-
acceleratedNetwork
Get the acceleratedNetwork property: True if the image from which the OS disk is created supports accelerated networking.- Returns:
- the acceleratedNetwork value.
-
withAcceleratedNetwork
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.
-
architecture
Get the architecture property: CPU architecture supported by an OS disk.- Returns:
- the architecture value.
-
withArchitecture
Set the architecture property: CPU architecture supported by an OS disk.- Parameters:
architecture- the architecture value to set.- Returns:
- the SupportedCapabilities object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-