SignalType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. alertsmanagement. models. SignalType
- com.
- com.
public final class SignalType
extends ExpandableStringEnum<SignalType>
The type of signal the alert is based on, which could be metrics, logs or activity logs.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Signal |
LOG
Static value Log for Signal |
|
static final
Signal |
METRIC
Static value Metric for Signal |
|
static final
Signal |
UNKNOWN
Static value Unknown for Signal |
Constructor Summary
| Constructor | Description |
|---|---|
| SignalType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Signal |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Signal |
fromString(String name)
Creates or finds a Signal |
|
static
Collection<Signal |
values()
Gets known Signal |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
LOG
public static final SignalType LOG
Static value Log for SignalType.
METRIC
public static final SignalType METRIC
Static value Metric for SignalType.
UNKNOWN
public static final SignalType UNKNOWN
Static value Unknown for SignalType.
Constructor Details
SignalType
@Deprecated
public SignalType()
Deprecated
Creates a new instance of SignalType value.
Method Details
fromString
public static SignalType fromString(String name)
Creates or finds a SignalType from its string representation.
Parameters:
Returns:
values
public static Collection<SignalType> values()
Gets known SignalType values.
Returns: