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>
Used to specify the file format when making request for SAS on a VHDX file format snapshot.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FileFormatStatic value VHD for FileFormat.static final FileFormatStatic value VHDX for FileFormat. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FileFormatfromString(String name) Creates or finds a FileFormat from its string representation.static Collection<FileFormat> values()Gets known FileFormat values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
VHD
Static value VHD for FileFormat. -
VHDX
Static value VHDX for FileFormat.
-
-
Constructor Details
-
FileFormat
Deprecated.Use thefromString(String)factory method.Creates a new instance of FileFormat value.
-
-
Method Details
-
fromString
Creates or finds a FileFormat from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding FileFormat.
-
values
Gets known FileFormat values.- Returns:
- known FileFormat values.
-
fromString(String)factory method.