IncidentInner Class
- java.
lang. Object - com.
microsoft. azure. management. monitor. implementation. IncidentInner
- com.
public class IncidentInner
An alert incident indicates the activation status of an alert rule.
Method Summary
Modifier and Type | Method and Description |
---|---|
DateTime |
activatedTime()
Get the time at which the incident was activated in ISO8601 format. |
Boolean |
isActive()
Get a boolean to indicate whether the incident is active or resolved. |
String |
name()
Get incident name. |
DateTime |
resolvedTime()
Get the time at which the incident was resolved in ISO8601 format. If null, it means the incident is still active. |
String |
ruleName()
Get rule name that is associated with the incident. |
Method Details
activatedTime
public DateTime activatedTime()
Get the time at which the incident was activated in ISO8601 format.
Returns:
isActive
public Boolean isActive()
Get a boolean to indicate whether the incident is active or resolved.
Returns:
name
public String name()
Get incident name.
Returns:
resolvedTime
public DateTime resolvedTime()
Get the time at which the incident was resolved in ISO8601 format. If null, it means the incident is still active.
Returns:
ruleName
public String ruleName()
Get rule name that is associated with the incident.
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