MonitorAlertSeverity Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. eventgrid. models. MonitorAlertSeverity
- com.
- com.
public final class MonitorAlertSeverity
extends ExpandableStringEnum<MonitorAlertSeverity>
The severity that will be attached to every Alert fired through this event subscription. This field must be provided.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Monitor |
SEV0
Static value Sev0 for Monitor |
|
static final
Monitor |
SEV1
Static value Sev1 for Monitor |
|
static final
Monitor |
SEV2
Static value Sev2 for Monitor |
|
static final
Monitor |
SEV3
Static value Sev3 for Monitor |
|
static final
Monitor |
SEV4
Static value Sev4 for Monitor |
Constructor Summary
| Constructor | Description |
|---|---|
| MonitorAlertSeverity() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Monitor |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Monitor |
fromString(String name)
Creates or finds a Monitor |
|
static
Collection<Monitor |
values()
Gets known Monitor |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
SEV0
public static final MonitorAlertSeverity SEV0
Static value Sev0 for MonitorAlertSeverity.
SEV1
public static final MonitorAlertSeverity SEV1
Static value Sev1 for MonitorAlertSeverity.
SEV2
public static final MonitorAlertSeverity SEV2
Static value Sev2 for MonitorAlertSeverity.
SEV3
public static final MonitorAlertSeverity SEV3
Static value Sev3 for MonitorAlertSeverity.
SEV4
public static final MonitorAlertSeverity SEV4
Static value Sev4 for MonitorAlertSeverity.
Constructor Details
MonitorAlertSeverity
@Deprecated
public MonitorAlertSeverity()
Deprecated
Creates a new instance of MonitorAlertSeverity value.
Method Details
fromString
public static MonitorAlertSeverity fromString(String name)
Creates or finds a MonitorAlertSeverity from its string representation.
Parameters:
Returns:
values
public static Collection<MonitorAlertSeverity> values()
Gets known MonitorAlertSeverity values.
Returns: