IncidentInner Class

  • java.lang.Object
    • com.microsoft.azure.management.monitor.implementation.IncidentInner

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:

the activatedTime value

isActive

public Boolean isActive()

Get a boolean to indicate whether the incident is active or resolved.

Returns:

the isActive value

name

public String name()

Get incident name.

Returns:

the name value

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:

the resolvedTime value

ruleName

public String ruleName()

Get rule name that is associated with the incident.

Returns:

the ruleName value

Applies to