Sdílet prostřednictvím


EventGridJsonInputSchemaMapping Class

Definition

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
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
type EventGridJsonInputSchemaMapping = class
    inherit EventGridInputSchemaMapping
    interface IJsonModel<EventGridJsonInputSchemaMapping>
    interface IPersistableModel<EventGridJsonInputSchemaMapping>
Public Class EventGridJsonInputSchemaMapping
Inherits EventGridInputSchemaMapping
Public Class EventGridJsonInputSchemaMapping
Inherits EventGridInputSchemaMapping
Implements IJsonModel(Of EventGridJsonInputSchemaMapping), IPersistableModel(Of EventGridJsonInputSchemaMapping)
Inheritance
EventGridJsonInputSchemaMapping
Implements

Constructors

EventGridJsonInputSchemaMapping()

Initializes a new instance of EventGridJsonInputSchemaMapping.

Properties

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.

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.

(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