DiskControllerTypes Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. DiskControllerTypes
- com.
- com.
public final class DiskControllerTypes
extends 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
Modifier and Type | Field and Description |
---|---|
static final
Disk |
NVME
Static value NVMe for Disk |
static final
Disk |
SCSI
Static value SCSI for Disk |
Constructor Summary
Constructor | Description |
---|---|
DiskControllerTypes() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Disk |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Disk |
fromString(String name)
Creates or finds a Disk |
static
Collection<Disk |
values()
Gets known Disk |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
NVME
public static final DiskControllerTypes NVME
Static value NVMe for DiskControllerTypes.
SCSI
public static final DiskControllerTypes SCSI
Static value SCSI for DiskControllerTypes.
Constructor Details
DiskControllerTypes
@Deprecated
public DiskControllerTypes()
Deprecated
Creates a new instance of DiskControllerTypes value.
Method Details
fromString
public static DiskControllerTypes fromString(String name)
Creates or finds a DiskControllerTypes from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known DiskControllerTypes values.
Returns:
Applies to
Azure SDK for Java