Class PerformanceLevelUnit

java.lang.Object
com.azure.core.util.ExpandableStringEnum<PerformanceLevelUnit>
com.azure.resourcemanager.sql.models.PerformanceLevelUnit
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class PerformanceLevelUnit extends com.azure.core.util.ExpandableStringEnum<PerformanceLevelUnit>
Unit type used to measure performance level.
  • Field Details

  • Constructor Details

    • PerformanceLevelUnit

      @Deprecated public PerformanceLevelUnit()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of PerformanceLevelUnit value.
  • Method Details

    • fromString

      public static PerformanceLevelUnit fromString(String name)
      Creates or finds a PerformanceLevelUnit from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding PerformanceLevelUnit.
    • values

      public static Collection<PerformanceLevelUnit> values()
      Gets known PerformanceLevelUnit values.
      Returns:
      known PerformanceLevelUnit values.