Enum DiffDiskPlacement

java.lang.Object
java.lang.Enum<DiffDiskPlacement>
com.azure.resourcemanager.batch.models.DiffDiskPlacement
All Implemented Interfaces:
Serializable, Comparable<DiffDiskPlacement>, java.lang.constant.Constable

public enum DiffDiskPlacement extends Enum<DiffDiskPlacement>
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.

  • Enum Constant Details

    • CACHE_DISK

      public static final DiffDiskPlacement CACHE_DISK
      Enum value CacheDisk.
  • Method Details

    • values

      public static DiffDiskPlacement[] 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

      public static DiffDiskPlacement valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • fromString

      public static DiffDiskPlacement fromString(String value)
      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

      public String toString()
      Overrides:
      toString in class Enum<DiffDiskPlacement>