Enum DiffDiskPlacement
- All Implemented Interfaces:
Serializable
,Comparable<DiffDiskPlacement>
,java.lang.constant.Constable
Specifies the ephemeral disk placement for operating system disk for all VMs in the pool.
This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://docs.microsoft.com/en-us/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DiffDiskPlacement
fromString
(String value) Parses a serialized value to a DiffDiskPlacement instance.toString()
static DiffDiskPlacement
Returns the enum constant of this type with the specified name.static DiffDiskPlacement[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CACHE_DISK
Enum value CacheDisk.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromString
Parses a serialized value to a DiffDiskPlacement instance.- Parameters:
value
- the serialized value to parse.- Returns:
- the parsed DiffDiskPlacement object, or null if unable to parse.
-
toString
- Overrides:
toString
in classEnum<DiffDiskPlacement>
-