EventGridEvent interface
Properties of an event published to an Event Grid topic.
Properties
data | Event data specific to the event type. |
data |
The schema version of the data object. |
event |
The time (in UTC) the event was generated. |
event |
The type of the event that occurred. |
id | An unique identifier for the event. |
metadata |
The schema version of the event metadata. NOTE: This property will not be serialized. It can only be populated by the server. |
subject | A resource path relative to the topic path. |
topic | The resource path of the event source. |
Property Details
data
Event data specific to the event type.
data: any
Property Value
any
dataVersion
The schema version of the data object.
dataVersion: string
Property Value
string
eventTime
The time (in UTC) the event was generated.
eventTime: Date
Property Value
Date
eventType
The type of the event that occurred.
eventType: string
Property Value
string
id
An unique identifier for the event.
id: string
Property Value
string
metadataVersion
The schema version of the event metadata. NOTE: This property will not be serialized. It can only be populated by the server.
metadataVersion?: string
Property Value
string
subject
A resource path relative to the topic path.
subject: string
Property Value
string
topic
The resource path of the event source.
topic?: string
Property Value
string
Azure SDK for JavaScript