Enum Class CreationSourceType
- All Implemented Interfaces:
Serializable
,Comparable<CreationSourceType>
,java.lang.constant.Constable
The source type of managed disk or snapshot.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIndicates that disk or snapshot is created by copying another managed disk.Indicates that disk or snapshot is created by copying a snapshot.Indicates that disk or snapshot is created as empty disk.Indicates that disk or snapshot is created from data disk image of a virtual machine platform or virtual machine user image.Indicates that disk or snapshot is created from OS disk image of a virtual machine platform or virtual machine user image.Indicates that disk or snapshot is created by importing a blob in a storage account.Unknown source. -
Method Summary
Modifier and TypeMethodDescriptionstatic CreationSourceType
Returns the enum constant of this class with the specified name.static CreationSourceType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FROM_OS_DISK_IMAGE
Indicates that disk or snapshot is created from OS disk image of a virtual machine platform or virtual machine user image. -
FROM_DATA_DISK_IMAGE
Indicates that disk or snapshot is created from data disk image of a virtual machine platform or virtual machine user image. -
IMPORTED_FROM_VHD
Indicates that disk or snapshot is created by importing a blob in a storage account. -
COPIED_FROM_SNAPSHOT
Indicates that disk or snapshot is created by copying a snapshot. -
COPIED_FROM_DISK
Indicates that disk or snapshot is created by copying another managed disk. -
EMPTY
Indicates that disk or snapshot is created as empty disk. -
UNKNOWN
Unknown source.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-