Megosztás a következőn keresztül:


AlertRuleAction Class

Definition

The action that is performed when the alert rule becomes active, and when an alert condition is resolved. Please note AlertRuleAction is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include RuleEmailAction and RuleWebhookAction.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.Monitor.Models.UnknownRuleAction))]
public abstract class AlertRuleAction : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.AlertRuleAction>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.AlertRuleAction>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.Monitor.Models.UnknownRuleAction))>]
type AlertRuleAction = class
    interface IJsonModel<AlertRuleAction>
    interface IPersistableModel<AlertRuleAction>
Public MustInherit Class AlertRuleAction
Implements IJsonModel(Of AlertRuleAction), IPersistableModel(Of AlertRuleAction)
Inheritance
AlertRuleAction
Derived
Attributes
Implements

Constructors

AlertRuleAction()

Initializes a new instance of AlertRuleAction.

Explicit Interface Implementations

IJsonModel<AlertRuleAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AlertRuleAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AlertRuleAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AlertRuleAction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AlertRuleAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to