JsonInputSchemaMapping Class

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.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.eventgrid.models._models_py3.InputSchemaMapping
JsonInputSchemaMapping

Constructor

JsonInputSchemaMapping(*, id: _models.JsonField | None = None, topic: _models.JsonField | None = None, event_time: _models.JsonField | None = None, event_type: _models.JsonFieldWithDefault | None = None, subject: _models.JsonFieldWithDefault | None = None, data_version: _models.JsonFieldWithDefault | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
id

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

topic

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

event_time

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

event_type

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

subject

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

data_version

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

Variables

Name Description
input_schema_mapping_type

Type of the custom mapping. Required. "Json"

id

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

topic

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

event_time

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

event_type

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

subject

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

data_version

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