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

public enum Capacity extends Enum<Capacity>
Defines values for Capacity.
  • Enum Constant Details

    • FIVE_ZERO_ZERO

      public static final Capacity FIVE_ZERO_ZERO
      Enum value 500.
    • ONE_ZERO_ZERO_ZERO

      public static final Capacity ONE_ZERO_ZERO_ZERO
      Enum value 1000.
    • TWO_ZERO_ZERO_ZERO

      public static final Capacity TWO_ZERO_ZERO_ZERO
      Enum value 2000.
    • FIVE_ZERO_ZERO_ZERO

      public static final Capacity FIVE_ZERO_ZERO_ZERO
      Enum value 5000.
  • Method Details

    • values

      public static Capacity[] 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 Capacity 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
    • fromLong

      public static Capacity fromLong(long value)
      Parses a serialized value to a Capacity instance.
      Parameters:
      value - the serialized value to parse.
      Returns:
      the parsed Capacity object, or null if unable to parse.
    • toLong

      public long toLong()
      De-serializes the instance to long value.
      Returns:
      the long value.