Delen via


StaticRoutingEnrichment Class

Definition

Static routing enrichment details. Please note StaticRoutingEnrichment 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 StaticStringRoutingEnrichment.

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

Constructors

StaticRoutingEnrichment()

Initializes a new instance of StaticRoutingEnrichment.

Properties

Key

Static routing enrichment key.

Explicit Interface Implementations

IJsonModel<StaticRoutingEnrichment>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<StaticRoutingEnrichment>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StaticRoutingEnrichment>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StaticRoutingEnrichment>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StaticRoutingEnrichment>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to