JsonInputSchemaMapping interface

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.

Extends

Properties

dataVersion

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

eventTime

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

eventType

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

id

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

inputSchemaMappingType

Polymorphic discriminator, which specifies the different types this object can be

subject

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

topic

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

Property Details

dataVersion

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

dataVersion?: JsonFieldWithDefault

Property Value

eventTime

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

eventTime?: JsonField

Property Value

eventType

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

eventType?: JsonFieldWithDefault

Property Value

id

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

id?: JsonField

Property Value

inputSchemaMappingType

Polymorphic discriminator, which specifies the different types this object can be

inputSchemaMappingType: "Json"

Property Value

"Json"

subject

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

subject?: JsonFieldWithDefault

Property Value

topic

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

topic?: JsonField

Property Value