Class DiskCreateOption

java.lang.Object
com.microsoft.rest.ExpandableStringEnum<DiskCreateOption>
com.microsoft.azure.management.compute.DiskCreateOption

public final class DiskCreateOption extends com.microsoft.rest.ExpandableStringEnum<DiskCreateOption>
Defines values for DiskCreateOption.
  • Field Details

    • EMPTY

      public static final DiskCreateOption EMPTY
      Static value Empty for DiskCreateOption.
    • ATTACH

      public static final DiskCreateOption ATTACH
      Static value Attach for DiskCreateOption.
    • FROM_IMAGE

      public static final DiskCreateOption FROM_IMAGE
      Static value FromImage for DiskCreateOption.
    • IMPORT

      public static final DiskCreateOption IMPORT
      Static value Import for DiskCreateOption.
    • COPY

      public static final DiskCreateOption COPY
      Static value Copy for DiskCreateOption.
    • RESTORE

      public static final DiskCreateOption RESTORE
      Static value Restore for DiskCreateOption.
    • UPLOAD

      public static final DiskCreateOption UPLOAD
      Static value Upload for DiskCreateOption.
  • Constructor Details

    • DiskCreateOption

      public DiskCreateOption()
  • Method Details

    • fromString

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

      public static Collection<DiskCreateOption> values()
      Returns:
      known DiskCreateOption values