Class VolumeCreateOption
java.lang.Object
com.azure.core.util.ExpandableStringEnum<VolumeCreateOption>
com.azure.resourcemanager.elasticsan.models.VolumeCreateOption
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class VolumeCreateOption
extends com.azure.core.util.ExpandableStringEnum<VolumeCreateOption>
This enumerates the possible sources of a volume creation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final VolumeCreateOptionStatic value Disk for VolumeCreateOption.static final VolumeCreateOptionStatic value DiskRestorePoint for VolumeCreateOption.static final VolumeCreateOptionStatic value DiskSnapshot for VolumeCreateOption.static final VolumeCreateOptionStatic value None for VolumeCreateOption.static final VolumeCreateOptionStatic value VolumeSnapshot for VolumeCreateOption. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VolumeCreateOptionfromString(String name) Creates or finds a VolumeCreateOption from its string representation.static Collection<VolumeCreateOption> values()Gets known VolumeCreateOption values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
NONE
Static value None for VolumeCreateOption. -
VOLUME_SNAPSHOT
Static value VolumeSnapshot for VolumeCreateOption. -
DISK_SNAPSHOT
Static value DiskSnapshot for VolumeCreateOption. -
DISK
Static value Disk for VolumeCreateOption. -
DISK_RESTORE_POINT
Static value DiskRestorePoint for VolumeCreateOption.
-
-
Constructor Details
-
VolumeCreateOption
Deprecated.Use thefromString(String)factory method.Creates a new instance of VolumeCreateOption value.
-
-
Method Details
-
fromString
Creates or finds a VolumeCreateOption from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding VolumeCreateOption.
-
values
Gets known VolumeCreateOption values.- Returns:
- known VolumeCreateOption values.
-
fromString(String)factory method.