Class SupportedCapabilities
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.SupportedCapabilities
-
public final class SupportedCapabilities extends Object
List of supported capabilities persisted on the disk resource for VM use.
-
-
Constructor Summary
Constructors Constructor Description SupportedCapabilities()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanacceleratedNetwork()Get the acceleratedNetwork property: True if the image from which the OS disk is created supports accelerated networking.Architecturearchitecture()Get the architecture property: CPU architecture supported by an OS disk.voidvalidate()Validates the instance.SupportedCapabilitieswithAcceleratedNetwork(Boolean acceleratedNetwork)Set the acceleratedNetwork property: True if the image from which the OS disk is created supports accelerated networking.SupportedCapabilitieswithArchitecture(Architecture architecture)Set the architecture property: CPU architecture supported by an OS disk.
-
-
-
Method Detail
-
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.
-
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.
-
architecture
public Architecture architecture()
Get the architecture property: CPU architecture supported by an OS disk.- Returns:
- the architecture value.
-
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-