EventGridInputSchemaMapping Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
By default, Event Grid expects events to be in the Event Grid event schema. Specifying an input schema mapping enables publishing to Event Grid using a custom input schema. Currently, the only supported type of InputSchemaMapping is 'JsonInputSchemaMapping'. Please note EventGridInputSchemaMapping 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 EventGridJsonInputSchemaMapping.
public abstract class EventGridInputSchemaMapping
[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.EventGrid.Models.UnknownInputSchemaMapping))]
public abstract class EventGridInputSchemaMapping : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.EventGrid.Models.EventGridInputSchemaMapping>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.EventGrid.Models.EventGridInputSchemaMapping>
type EventGridInputSchemaMapping = class
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.EventGrid.Models.UnknownInputSchemaMapping))>]
type EventGridInputSchemaMapping = class
interface IJsonModel<EventGridInputSchemaMapping>
interface IPersistableModel<EventGridInputSchemaMapping>
Public MustInherit Class EventGridInputSchemaMapping
Public MustInherit Class EventGridInputSchemaMapping
Implements IJsonModel(Of EventGridInputSchemaMapping), IPersistableModel(Of EventGridInputSchemaMapping)
- Inheritance
-
EventGridInputSchemaMapping
- Derived
- Attributes
- Implements
Constructors
EventGridInputSchemaMapping() |
Initializes a new instance of EventGridInputSchemaMapping. |
Explicit Interface Implementations
IJsonModel<EventGridInputSchemaMapping>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<EventGridInputSchemaMapping>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<EventGridInputSchemaMapping>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<EventGridInputSchemaMapping>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<EventGridInputSchemaMapping>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |