Class DiskControllerTypes
java.lang.Object
com.azure.core.util.ExpandableStringEnum<DiskControllerTypes>
com.azure.resourcemanager.compute.models.DiskControllerTypes
public final class DiskControllerTypes
extends com.azure.core.util.ExpandableStringEnum<DiskControllerTypes>
Specifies the disk controller type configured for the VM and VirtualMachineScaleSet. This property is only supported
for virtual machines whose operating system disk and VM sku supports Generation 2
(https://docs.microsoft.com/en-us/azure/virtual-machines/generation-2), please check the HyperVGenerations capability
returned as part of VM sku capabilities in the response of Microsoft.Compute SKUs api for the region contains V2
(https://docs.microsoft.com/rest/api/compute/resourceskus/list). For more information about Disk Controller Types
supported please refer to https://aka.ms/azure-diskcontrollertypes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DiskControllerTypesStatic value NVMe for DiskControllerTypes.static final DiskControllerTypesStatic value SCSI for DiskControllerTypes. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DiskControllerTypesfromString(String name) Creates or finds a DiskControllerTypes from its string representation.static Collection<DiskControllerTypes>values()Gets known DiskControllerTypes values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
SCSI
Static value SCSI for DiskControllerTypes. -
NVME
Static value NVMe for DiskControllerTypes.
-
-
Constructor Details
-
DiskControllerTypes
Deprecated.Use thefromString(String)factory method.Creates a new instance of DiskControllerTypes value.
-
-
Method Details
-
fromString
Creates or finds a DiskControllerTypes from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding DiskControllerTypes.
-
values
Gets known DiskControllerTypes values.- Returns:
- known DiskControllerTypes values.
-
fromString(String)factory method.