InputSchemaToInputTypeMap interface

A map of input schema names to shapes of the input for the send method on EventGridPublisherClient.

Properties

CloudEvent

The shape of the input to send when the client is configured to send events using the Cloud Event schema.

Custom

The shape of the input to send when the client is configured to send events using a custom schema.

EventGrid

The shape of the input to send when the client is configured to send events using the Event Grid schema.

Property Details

CloudEvent

The shape of the input to send when the client is configured to send events using the Cloud Event schema.

CloudEvent: SendCloudEventInput<unknown>

Property Value

Custom

The shape of the input to send when the client is configured to send events using a custom schema.

Custom: Record<string, unknown>

Property Value

Record<string, unknown>

EventGrid

The shape of the input to send when the client is configured to send events using the Event Grid schema.

EventGrid: SendEventGridEventInput<unknown>

Property Value