Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SendCloudEventInput<T>

Package version

  • The shape of the input for EventGridProducerClient#sendCloudEvents

Type parameters

  • T

Hierarchy

  • SendCloudEventInput

Index

Properties

Optional data

data: T

Event data specific to the event type.

Optional datacontenttype

datacontenttype: undefined | string

Content type of data value.

Optional dataschema

dataschema: undefined | string

Identifies the schema that data adheres to.

Optional extensionAttributes

extensionAttributes: Record<string, unknown>

Additional context attributes for the event. The Cloud Event specification refers to these as "extension attributes".

Optional id

id: undefined | string

An identifier for the event. The combination of id and source must be unique for each distinct event. If an ID is not provided, a random UUID will be generated and used.

source

source: string

Identifies the context in which an event happened. The combination of id and source must be unique for each distinct event.

Optional subject

subject: undefined | string

This describes the subject of the event in the context of the event producer (identified by source).

Optional time

time: Date

The time the event was generated. If not provided, the current time will be used.

type

type: string

Type of event related to the originating occurrence.

Generated using TypeDoc