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: Optional[azure.mgmt.eventgrid.models._models_py3.JsonField] = None, topic: Optional[azure.mgmt.eventgrid.models._models_py3.JsonField] = None, event_time: Optional[azure.mgmt.eventgrid.models._models_py3.JsonField] = None, event_type: Optional[azure.mgmt.eventgrid.models._models_py3.JsonFieldWithDefault] = None, subject: Optional[azure.mgmt.eventgrid.models._models_py3.JsonFieldWithDefault] = None, data_version: Optional[azure.mgmt.eventgrid.models._models_py3.JsonFieldWithDefault] = None, **kwargs)
Variables
- input_schema_mapping_type
- str or InputSchemaMappingType
Required. Type of the custom mapping.Constant filled by server. Possible values include: "Json".
- id
- JsonField
The mapping information for the Id property of the Event Grid Event.
- topic
- JsonField
The mapping information for the Topic property of the Event Grid Event.
- event_time
- JsonField
The mapping information for the EventTime property of the Event Grid Event.
- event_type
- JsonFieldWithDefault
The mapping information for the EventType property of the Event Grid Event.
- subject
- JsonFieldWithDefault
The mapping information for the Subject property of the Event Grid Event.
- data_version
- JsonFieldWithDefault
The mapping information for the DataVersion property of the Event Grid Event.
Feedback
Submit and view feedback for