你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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
data |
The mapping information for the DataVersion property of the Event Grid Event. |
event |
The mapping information for the EventTime property of the Event Grid Event. |
event |
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. |
input |
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