Class DiskControllerTypes

java.lang.Object
com.azure.core.util.ExpandableStringEnum<DiskControllerTypes>
com.azure.resourcemanager.compute.models.DiskControllerTypes
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

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 Details

    • SCSI

      public static final DiskControllerTypes SCSI
      Static value SCSI for DiskControllerTypes.
    • NVME

      public static final DiskControllerTypes NVME
      Static value NVMe for DiskControllerTypes.
  • Constructor Details

    • DiskControllerTypes

      @Deprecated public DiskControllerTypes()
      Deprecated.
      Use the fromString(String) 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<DiskControllerTypes> values()
      Gets known DiskControllerTypes values.
      Returns:
      known DiskControllerTypes values.