java.lang.Object
com.azure.core.util.ExpandableStringEnum<SignalType>
com.azure.resourcemanager.alertsmanagement.models.SignalType

public final class SignalType extends com.azure.core.util.ExpandableStringEnum<SignalType>
The type of signal the alert is based on, which could be metrics, logs or activity logs.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final SignalType
    Static value Log for SignalType.
    static final SignalType
    Static value Metric for SignalType.
    static final SignalType
    Static value Unknown for SignalType.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static SignalType
    Creates or finds a SignalType from its string representation.
    Gets known SignalType 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

    • METRIC

      public static final SignalType METRIC
      Static value Metric for SignalType.
    • LOG

      public static final SignalType LOG
      Static value Log for SignalType.
    • UNKNOWN

      public static final SignalType UNKNOWN
      Static value Unknown for SignalType.
  • Constructor Details

    • SignalType

      public SignalType()
  • Method Details

    • fromString

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

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