AlertStatus Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. security. models. AlertStatus
- com.
- com.
public final class AlertStatus
extends ExpandableStringEnum<AlertStatus>
The life cycle status of the alert.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Alert |
ACTIVE
An alert which doesn't specify a value is assigned the status 'Active'. |
|
static final
Alert |
DISMISSED
Alert dismissed as false positive. |
|
static final
Alert |
IN_PROGRESS
An alert which is in handling state. |
|
static final
Alert |
RESOLVED
Alert closed after handling. |
Constructor Summary
| Constructor | Description |
|---|---|
| AlertStatus() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Alert |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Alert |
fromString(String name)
Creates or finds a Alert |
|
static
Collection<Alert |
values()
Gets known Alert |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ACTIVE
public static final AlertStatus ACTIVE
An alert which doesn't specify a value is assigned the status 'Active'.
DISMISSED
public static final AlertStatus DISMISSED
Alert dismissed as false positive.
IN_PROGRESS
public static final AlertStatus IN_PROGRESS
An alert which is in handling state.
RESOLVED
public static final AlertStatus RESOLVED
Alert closed after handling.
Constructor Details
AlertStatus
@Deprecated
public AlertStatus()
Deprecated
Creates a new instance of AlertStatus value.
Method Details
fromString
public static AlertStatus fromString(String name)
Creates or finds a AlertStatus from its string representation.
Parameters:
Returns:
values
public static Collection<AlertStatus> values()
Gets known AlertStatus values.
Returns: