Class VolumeCreateOption

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

public final class VolumeCreateOption extends com.azure.core.util.ExpandableStringEnum<VolumeCreateOption>
This enumerates the possible sources of a volume creation.
  • Field Details

    • NONE

      public static final VolumeCreateOption NONE
      Static value None for VolumeCreateOption.
    • VOLUME_SNAPSHOT

      public static final VolumeCreateOption VOLUME_SNAPSHOT
      Static value VolumeSnapshot for VolumeCreateOption.
    • DISK_SNAPSHOT

      public static final VolumeCreateOption DISK_SNAPSHOT
      Static value DiskSnapshot for VolumeCreateOption.
    • DISK

      public static final VolumeCreateOption DISK
      Static value Disk for VolumeCreateOption.
    • DISK_RESTORE_POINT

      public static final VolumeCreateOption DISK_RESTORE_POINT
      Static value DiskRestorePoint for VolumeCreateOption.
  • Constructor Details

    • VolumeCreateOption

      @Deprecated public VolumeCreateOption()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of VolumeCreateOption value.
  • Method Details

    • fromString

      public static VolumeCreateOption fromString(String name)
      Creates or finds a VolumeCreateOption from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding VolumeCreateOption.
    • values

      public static Collection<VolumeCreateOption> values()
      Gets known VolumeCreateOption values.
      Returns:
      known VolumeCreateOption values.