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 Azure.
- Inheritance
-
azure.mgmt.eventgrid.models._models_py3.InputSchemaMappingJsonInputSchemaMapping
Constructor
JsonInputSchemaMapping(*, id: JsonField | None = None, topic: JsonField | None = None, event_time: JsonField | None = None, event_type: JsonFieldWithDefault | None = None, subject: JsonFieldWithDefault | None = None, data_version: JsonFieldWithDefault | None = None, **kwargs)
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
|
Required. Type of the custom mapping.Constant filled by server. Possible values include: "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. |
Azure SDK for Python