Class SignalType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<SignalType>
com.azure.resourcemanager.alertsmanagement.models.SignalType
The type of signal the alert is based on, which could be metrics, logs or activity logs.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic 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 -
Method Summary
Modifier and TypeMethodDescriptionstatic SignalType
fromString
(String name) Creates or finds a SignalType from its string representation.static Collection<SignalType>
values()
Gets known SignalType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
METRIC
Static value Metric for SignalType. -
LOG
Static value Log for SignalType. -
UNKNOWN
Static value Unknown for SignalType.
-
-
Constructor Details
-
SignalType
public SignalType()
-
-
Method Details
-
fromString
Creates or finds a SignalType from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding SignalType.
-
values
Gets known SignalType values.- Returns:
- known SignalType values.
-