Class IncidentInner
java.lang.Object
com.azure.resourcemanager.monitor.fluent.models.IncidentInner
An alert incident indicates the activation status of an alert rule.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the activatedTime property: The time at which the incident was activated in ISO8601 format.isActive()Get the isActive property: A boolean to indicate whether the incident is active or resolved.name()Get the name property: Incident name.Get the resolvedTime property: The time at which the incident was resolved in ISO8601 format.ruleName()Get the ruleName property: Rule name that is associated with the incident.voidvalidate()Validates the instance.
-
Constructor Details
-
IncidentInner
public IncidentInner()Creates an instance of IncidentInner class.
-
-
Method Details
-
name
Get the name property: Incident name.- Returns:
- the name value.
-
ruleName
Get the ruleName property: Rule name that is associated with the incident.- Returns:
- the ruleName value.
-
isActive
Get the isActive property: A boolean to indicate whether the incident is active or resolved.- Returns:
- the isActive value.
-
activatedTime
Get the activatedTime property: The time at which the incident was activated in ISO8601 format.- Returns:
- the activatedTime value.
-
resolvedTime
Get the resolvedTime property: The time at which the incident was resolved in ISO8601 format. If null, it means the incident is still active.- Returns:
- the resolvedTime value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-