AlertSeverity Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. security. models. AlertSeverity
- com.
- com.
public final class AlertSeverity
extends ExpandableStringEnum<AlertSeverity>
The risk level of the threat that was detected. Learn more: https://docs.microsoft.com/en-us/azure/security-center/security-center-alerts-overview\#how-are-alerts-classified.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Alert |
HIGH
High. |
|
static final
Alert |
INFORMATIONAL
Informational. |
|
static final
Alert |
LOW
Low. |
|
static final
Alert |
MEDIUM
Medium. |
Constructor Summary
| Constructor | Description |
|---|---|
| AlertSeverity() |
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
HIGH
public static final AlertSeverity HIGH
High.
INFORMATIONAL
public static final AlertSeverity INFORMATIONAL
Informational.
LOW
public static final AlertSeverity LOW
Low.
MEDIUM
public static final AlertSeverity MEDIUM
Medium.
Constructor Details
AlertSeverity
@Deprecated
public AlertSeverity()
Deprecated
Creates a new instance of AlertSeverity value.
Method Details
fromString
public static AlertSeverity fromString(String name)
Creates or finds a AlertSeverity from its string representation.
Parameters:
Returns:
values
public static Collection<AlertSeverity> values()
Gets known AlertSeverity values.
Returns: