Enum Class ComputeRoles

java.lang.Object
java.lang.Enum<ComputeRoles>
com.microsoft.azure.management.compute.ComputeRoles
All Implemented Interfaces:
Serializable, Comparable<ComputeRoles>, java.lang.constant.Constable

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

    • PAAS

      public static final ComputeRoles PAAS
      Enum value PaaS.
    • IAAS

      public static final ComputeRoles IAAS
      Enum value IaaS.
  • Method Details

    • values

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

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

      public static ComputeRoles fromString(String value)
      Parses a serialized value to a ComputeRoles instance.
      Parameters:
      value - the serialized value to parse.
      Returns:
      the parsed ComputeRoles object, or null if unable to parse.
    • toString

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