Språk

AlertRuleCondition Class

Definition

Caution

This type is no longer supported.

An alert rule condition.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.Monitor.Models.UnknownRuleCondition))]
public abstract class AlertRuleCondition : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.AlertRuleCondition>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.AlertRuleCondition>
[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.Monitor.Models.UnknownRuleCondition))]
[System.Obsolete("This type is no longer supported.", false)]
public abstract class AlertRuleCondition : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.AlertRuleCondition>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.AlertRuleCondition>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.Monitor.Models.UnknownRuleCondition))>]
type AlertRuleCondition = class
    interface IJsonModel<AlertRuleCondition>
    interface IPersistableModel<AlertRuleCondition>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.Monitor.Models.UnknownRuleCondition))>]
[<System.Obsolete("This type is no longer supported.", false)>]
type AlertRuleCondition = class
    interface IJsonModel<AlertRuleCondition>
    interface IPersistableModel<AlertRuleCondition>
Public MustInherit Class AlertRuleCondition
Implements IJsonModel(Of AlertRuleCondition), IPersistableModel(Of AlertRuleCondition)
Inheritance
AlertRuleCondition
Attributes
Implements

Constructors

Name Description
AlertRuleCondition()

Initializes a new instance of AlertRuleCondition.

Properties

Name Description
DataSource

The rule data source.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<AlertRuleCondition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AlertRuleCondition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AlertRuleCondition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AlertRuleCondition>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AlertRuleCondition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to