다음을 통해 공유


AlertProcessingRuleAction Class

Definition

Action to be applied. Please note AlertProcessingRuleAction 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 AlertProcessingRuleAddGroupsAction and AlertProcessingRuleRemoveAllGroupsAction.

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

Constructors

AlertProcessingRuleAction()

Initializes a new instance of AlertProcessingRuleAction.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AlertProcessingRuleAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AlertProcessingRuleAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AlertProcessingRuleAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AlertProcessingRuleAction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AlertProcessingRuleAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to