Kind Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. monitor. models. Kind
- com.
- com.
public final class Kind
extends ExpandableStringEnum<Kind>
Indicates the type of scheduled query rule. The default is LogAlert.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
| static final Kind |
LOG_ALERT
Static value Log |
| static final Kind |
LOG_TO_METRIC
Static value Log |
Constructor Summary
| Constructor | Description |
|---|---|
| Kind() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Kind value. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static Kind |
fromString(String name)
Creates or finds a Kind from its string representation. |
| static Collection<Kind> |
values()
Gets known Kind values. |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
LOG_ALERT
public static final Kind LOG_ALERT
Static value LogAlert for Kind.
LOG_TO_METRIC
public static final Kind LOG_TO_METRIC
Static value LogToMetric for Kind.
Constructor Details
Kind
@Deprecated
public Kind()
Deprecated
Creates a new instance of Kind value.
Method Details
fromString
public static Kind fromString(String name)
Creates or finds a Kind from its string representation.
Parameters:
Returns:
values
public static Collection<Kind> values()
Gets known Kind values.
Returns: