DiskControllerTypes Class

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 DiskControllerTypes NVME

Static value NVMe for DiskControllerTypes.

static final DiskControllerTypes SCSI

Static value SCSI for DiskControllerTypes.

Constructor Summary

Constructor Description
DiskControllerTypes()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DiskControllerTypes value.

Method Summary

Modifier and Type Method and Description
static DiskControllerTypes fromString(String name)

Creates or finds a DiskControllerTypes from its string representation.

static Collection<DiskControllerTypes> values()

Gets known DiskControllerTypes values.

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

Use the fromString(String name) factory method.

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:

name - a name to look for.

Returns:

the corresponding DiskControllerTypes.

values

public static Collection values()

Gets known DiskControllerTypes values.

Returns:

known DiskControllerTypes values.

Applies to