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
Static value High for Alert |
static final
Alert |
INFORMATIONAL
Static value Informational for Alert |
static final
Alert |
LOW
Static value Low for Alert |
static final
Alert |
MEDIUM
Static value Medium for Alert |
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
Static value High for AlertSeverity.
INFORMATIONAL
public static final AlertSeverity INFORMATIONAL
Static value Informational for AlertSeverity.
LOW
public static final AlertSeverity LOW
Static value Low for AlertSeverity.
MEDIUM
public static final AlertSeverity MEDIUM
Static value Medium for AlertSeverity.
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
Gets known AlertSeverity values.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for