Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

EventGridJsonInputSchemaMapping Class

Definition

Namespace:
Azure.ResourceManager.EventGrid.Models
Assembly:
Azure.ResourceManager.EventGrid.dll
Package:
Azure.ResourceManager.EventGrid v1.1.0
Package:
Azure.ResourceManager.EventGrid v1.2.0-beta.2
Source:
EventGridJsonInputSchemaMapping.cs
Source:
EventGridJsonInputSchemaMapping.cs

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.

This enables publishing to Event Grid using a custom input schema. This can be used to map properties from a custom input JSON schema to the Event Grid event schema.

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

Constructors

Name Description
EventGridJsonInputSchemaMapping()

Initializes a new instance of EventGridJsonInputSchemaMapping.

Properties

Name Description
DataVersion

The mapping information for the DataVersion property of the Event Grid Event.

EventTimeSourceField

Name of a field in the input event schema that's to be used as the source of a mapping.

EventType

The mapping information for the EventType property of the Event Grid Event.

IdSourceField

Name of a field in the input event schema that's to be used as the source of a mapping.

Subject

The mapping information for the Subject property of the Event Grid Event.

TopicSourceField

Name of a field in the input event schema that's to be used as the source of a mapping.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

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

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from EventGridInputSchemaMapping)
IJsonModel<EventGridJsonInputSchemaMapping>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EventGridJsonInputSchemaMapping>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EventGridInputSchemaMapping>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from EventGridInputSchemaMapping)
IPersistableModel<EventGridJsonInputSchemaMapping>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EventGridJsonInputSchemaMapping>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EventGridJsonInputSchemaMapping>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to


Feedback

Was this page helpful?