Class MetricType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<MetricType>
com.azure.resourcemanager.sql.models.MetricType

public final class MetricType extends com.azure.core.util.ExpandableStringEnum<MetricType>
Defines values for MetricType.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final MetricType
    Static value cpu for MetricType.
    static final MetricType
    Static value dtu for MetricType.
    static final MetricType
    Static value duration for MetricType.
    static final MetricType
    Static value io for MetricType.
    static final MetricType
    Static value logIo for MetricType.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static MetricType
    Creates or finds a MetricType from its string representation.
    Gets known MetricType values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • CPU

      public static final MetricType CPU
      Static value cpu for MetricType.
    • IO

      public static final MetricType IO
      Static value io for MetricType.
    • LOG_IO

      public static final MetricType LOG_IO
      Static value logIo for MetricType.
    • DURATION

      public static final MetricType DURATION
      Static value duration for MetricType.
    • DTU

      public static final MetricType DTU
      Static value dtu for MetricType.
  • Constructor Details

    • MetricType

      public MetricType()
  • Method Details

    • fromString

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

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