Share via


JsonInputSchemaMapping Class

Definition

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.

[Microsoft.Rest.Serialization.JsonTransformation]
[Newtonsoft.Json.JsonObject("Json")]
public class JsonInputSchemaMapping : Microsoft.Azure.Management.EventGrid.Models.InputSchemaMapping
[<Microsoft.Rest.Serialization.JsonTransformation>]
[<Newtonsoft.Json.JsonObject("Json")>]
type JsonInputSchemaMapping = class
    inherit InputSchemaMapping
Public Class JsonInputSchemaMapping
Inherits InputSchemaMapping
Inheritance
JsonInputSchemaMapping
Attributes
JsonTransformationAttribute Newtonsoft.Json.JsonObjectAttribute

Constructors

JsonInputSchemaMapping()

Initializes a new instance of the JsonInputSchemaMapping class.

JsonInputSchemaMapping(JsonField, JsonField, JsonField, JsonFieldWithDefault, JsonFieldWithDefault, JsonFieldWithDefault)

Initializes a new instance of the JsonInputSchemaMapping class.

Properties

DataVersion

Gets or sets the mapping information for the DataVersion property of the Event Grid Event.

EventTime

Gets or sets the mapping information for the EventTime property of the Event Grid Event.

EventType

Gets or sets the mapping information for the EventType property of the Event Grid Event.

Id

Gets or sets the mapping information for the Id property of the Event Grid Event.

Subject

Gets or sets the mapping information for the Subject property of the Event Grid Event.

Topic

Gets or sets the mapping information for the Topic property of the Event Grid Event.

Applies to