Class DiskCreateOption
java.lang.Object
com.microsoft.rest.ExpandableStringEnum<DiskCreateOption>
com.microsoft.azure.management.compute.DiskCreateOption
public final class DiskCreateOption
extends com.microsoft.rest.ExpandableStringEnum<DiskCreateOption>
Defines values for DiskCreateOption.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DiskCreateOption
Static value Attach for DiskCreateOption.static final DiskCreateOption
Static value Copy for DiskCreateOption.static final DiskCreateOption
Static value Empty for DiskCreateOption.static final DiskCreateOption
Static value FromImage for DiskCreateOption.static final DiskCreateOption
Static value Import for DiskCreateOption.static final DiskCreateOption
Static value Restore for DiskCreateOption.static final DiskCreateOption
Static value Upload for DiskCreateOption. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DiskCreateOption
fromString
(String name) Creates or finds a DiskCreateOption from its string representation.static Collection<DiskCreateOption>
values()
Methods inherited from class com.microsoft.rest.ExpandableStringEnum
equals, fromString, hashCode, toString, values, withNameValue
-
Field Details
-
EMPTY
Static value Empty for DiskCreateOption. -
ATTACH
Static value Attach for DiskCreateOption. -
FROM_IMAGE
Static value FromImage for DiskCreateOption. -
IMPORT
Static value Import for DiskCreateOption. -
COPY
Static value Copy for DiskCreateOption. -
RESTORE
Static value Restore for DiskCreateOption. -
UPLOAD
Static value Upload for DiskCreateOption.
-
-
Constructor Details
-
DiskCreateOption
public DiskCreateOption()
-
-
Method Details
-
fromString
Creates or finds a DiskCreateOption from its string representation.- Parameters:
name
- a name to look for- Returns:
- the corresponding DiskCreateOption
-
values
- Returns:
- known DiskCreateOption values
-