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 Summary

    Fields
    Modifier and Type
    Field
    Description
    static final FileFormat
    Static value VHD for FileFormat.
    static final FileFormat
    Static value VHDX for FileFormat.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Use the fromString(String) factory method.
  • Method Summary

    Modifier and Type
    Method
    Description
    static FileFormat
    Creates or finds a FileFormat from its string representation.
    Gets known FileFormat values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, getValue, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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.