ภาษา

RuleDataSource Class

Definition

Caution

This type is no longer supported.

The alert rule data source.

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

Constructors

Name Description
RuleDataSource()

Initializes a new instance of RuleDataSource.

Properties

Name Description
LegacyResourceId

The legacy resource id.

MetricNamespace

The metric namespace.

ResourceId

The resource id.

ResourceLocation

The resource location.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

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

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

IJsonModel<RuleDataSource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RuleDataSource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RuleDataSource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RuleDataSource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to