Class FileFormat

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

public final class FileFormat extends com.azure.core.util.ExpandableStringEnum<FileFormat>
Used to specify the file format when making request for SAS on a VHDX file format snapshot.
  • Field Details

    • VHD

      public static final FileFormat VHD
      Static value VHD for FileFormat.
    • VHDX

      public static final FileFormat VHDX
      Static value VHDX for FileFormat.
  • Constructor Details

  • Method Details

    • fromString

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

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