MetricAlertAction Class

Definition

An alert action.

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

Constructors

MetricAlertAction()

Initializes a new instance of MetricAlertAction.

Properties

ActionGroupId

the id of the action group to use.

WebHookProperties

This field allows specifying custom properties, which would be appended to the alert payload sent as input to the webhook.

Explicit Interface Implementations

IJsonModel<MetricAlertAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MetricAlertAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MetricAlertAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MetricAlertAction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MetricAlertAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to