DiskCreateOption Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. DiskCreateOption
- com.
- com.
public final class DiskCreateOption
extends ExpandableStringEnum<DiskCreateOption>
This enumerates the possible sources of a disk's creation.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Disk |
ATTACH
Static value Attach for Disk |
static final
Disk |
COPY
Static value Copy for Disk |
static final
Disk |
COPY_FROM_SAN_SNAPSHOT
Static value Copy |
static final
Disk |
COPY_START
Static value Copy |
static final
Disk |
EMPTY
Static value Empty for Disk |
static final
Disk |
FROM_IMAGE
Static value From |
static final
Disk |
IMPORT
Static value Import for Disk |
static final
Disk |
IMPORT_SECURE
Static value Import |
static final
Disk |
RESTORE
Static value Restore for Disk |
static final
Disk |
UPLOAD
Static value Upload for Disk |
static final
Disk |
UPLOAD_PREPARED_SECURE
Static value Upload |
Constructor Summary
Constructor | Description |
---|---|
DiskCreateOption() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Disk |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Disk |
fromString(String name)
Creates or finds a Disk |
static
Collection<Disk |
values()
Gets known Disk |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ATTACH
public static final DiskCreateOption ATTACH
Static value Attach for DiskCreateOption.
COPY
public static final DiskCreateOption COPY
Static value Copy for DiskCreateOption.
COPY_FROM_SAN_SNAPSHOT
public static final DiskCreateOption COPY_FROM_SAN_SNAPSHOT
Static value CopyFromSanSnapshot for DiskCreateOption.
COPY_START
public static final DiskCreateOption COPY_START
Static value CopyStart for DiskCreateOption.
EMPTY
public static final DiskCreateOption EMPTY
Static value Empty for DiskCreateOption.
FROM_IMAGE
public static final DiskCreateOption FROM_IMAGE
Static value FromImage for DiskCreateOption.
IMPORT
public static final DiskCreateOption IMPORT
Static value Import for DiskCreateOption.
IMPORT_SECURE
public static final DiskCreateOption IMPORT_SECURE
Static value ImportSecure for DiskCreateOption.
RESTORE
public static final DiskCreateOption RESTORE
Static value Restore for DiskCreateOption.
UPLOAD
public static final DiskCreateOption UPLOAD
Static value Upload for DiskCreateOption.
UPLOAD_PREPARED_SECURE
public static final DiskCreateOption UPLOAD_PREPARED_SECURE
Static value UploadPreparedSecure for DiskCreateOption.
Constructor Details
DiskCreateOption
@Deprecated
public DiskCreateOption()
Deprecated
Creates a new instance of DiskCreateOption value.
Method Details
fromString
public static DiskCreateOption fromString(String name)
Creates or finds a DiskCreateOption from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known DiskCreateOption values.
Returns:
Applies to
Azure SDK for Java