FileFormat Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. FileFormat
- com.
- com.
public final class FileFormat
extends ExpandableStringEnum<FileFormat>
Used to specify the file format when making request for SAS on a VHDX file format snapshot.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
File |
VHD
A VHD file is a disk image file in the Virtual Hard Disk file format. |
|
static final
File |
VHDX
A VHDX file is a disk image file in the Virtual Hard Disk v2 file format. |
Constructor Summary
| Constructor | Description |
|---|---|
| FileFormat() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of File |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
File |
fromString(String name)
Creates or finds a File |
|
static
Collection<File |
values()
Gets known File |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
VHD
public static final FileFormat VHD
A VHD file is a disk image file in the Virtual Hard Disk file format.
VHDX
public static final FileFormat VHDX
A VHDX file is a disk image file in the Virtual Hard Disk v2 file format.
Constructor Details
FileFormat
@Deprecated
public FileFormat()
Deprecated
Creates a new instance of FileFormat value.
Method Details
fromString
public static FileFormat fromString(String name)
Creates or finds a FileFormat from its string representation.
Parameters:
Returns:
values
public static Collection<FileFormat> values()
Gets known FileFormat values.
Returns: