Share via


MonitorIncident Class

Definition

An alert incident indicates the activation status of an alert rule.

public class MonitorIncident : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.MonitorIncident>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.MonitorIncident>
type MonitorIncident = class
    interface IJsonModel<MonitorIncident>
    interface IPersistableModel<MonitorIncident>
Public Class MonitorIncident
Implements IJsonModel(Of MonitorIncident), IPersistableModel(Of MonitorIncident)
Inheritance
MonitorIncident
Implements

Properties

ActivatedOn

The time at which the incident was activated in ISO8601 format.

IsActive

A boolean to indicate whether the incident is active or resolved.

Name

Incident name.

ResolvedOn

The time at which the incident was resolved in ISO8601 format. If null, it means the incident is still active.

RuleName

Rule name that is associated with the incident.

Explicit Interface Implementations

IJsonModel<MonitorIncident>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<MonitorIncident>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MonitorIncident>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MonitorIncident>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<MonitorIncident>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to