public enum CreationSourceType extends Enum<CreationSourceType>
Enum Constant and Description |
---|
COPIED_FROM_DISK
Indicates that disk or snapshot is created by copying another managed disk.
|
COPIED_FROM_SNAPSHOT
Indicates that disk or snapshot is created by copying a snapshot.
|
EMPTY
Indicates that disk or snapshot is created as empty disk.
|
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.
|
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.
|
IMPORTED_FROM_VHD
Indicates that disk or snapshot is created by importing a blob in a storage account.
|
UNKNOWN
Unknown source.
|
Modifier and Type | Method and Description |
---|---|
static CreationSourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreationSourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreationSourceType FROM_OS_DISK_IMAGE
public static final CreationSourceType FROM_DATA_DISK_IMAGE
public static final CreationSourceType IMPORTED_FROM_VHD
public static final CreationSourceType COPIED_FROM_SNAPSHOT
public static final CreationSourceType COPIED_FROM_DISK
public static final CreationSourceType EMPTY
public static final CreationSourceType UNKNOWN
public static CreationSourceType[] values()
for (CreationSourceType c : CreationSourceType.values()) System.out.println(c);
public static CreationSourceType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019. All rights reserved.