Share via


RuleManagementEventDataSource Class

Definition

A rule management event data source. The discriminator fields is always RuleManagementEventDataSource in this case.

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

Constructors

RuleManagementEventDataSource()

Initializes a new instance of RuleManagementEventDataSource.

Properties

ClaimsEmailAddress

the email address.

EventName

the event name.

EventSource

the event source.

LegacyResourceId

the legacy resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.

(Inherited from RuleDataSource)
Level

the level.

MetricNamespace

the namespace of the metric.

(Inherited from RuleDataSource)
OperationName

The name of the operation that should be checked for. If no name is provided, any operation will match.

ResourceGroupName

the resource group name.

ResourceId

the resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.

(Inherited from RuleDataSource)
ResourceLocation

the location of the resource.

(Inherited from RuleDataSource)
ResourceProviderName

the resource provider name.

Status

The status of the operation that should be checked for. If no status is provided, any status will match.

SubStatus

the substatus.

Explicit Interface Implementations

IJsonModel<RuleDataSource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from RuleDataSource)
IJsonModel<RuleDataSource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from RuleDataSource)
IJsonModel<RuleManagementEventDataSource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RuleManagementEventDataSource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RuleDataSource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from RuleDataSource)
IPersistableModel<RuleDataSource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from RuleDataSource)
IPersistableModel<RuleDataSource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from RuleDataSource)
IPersistableModel<RuleManagementEventDataSource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RuleManagementEventDataSource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RuleManagementEventDataSource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to