Skip to main content

publish_events

Creates, updates, deletes, gets or lists a publish_events resource.

Overview

Namepublish_events
TypeResource
Idazure.event_grid_dataplane.publish_events

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
publish_eventsexecendpoint, id, subject, data, eventType, eventTime, dataVersionPublishes a batch of events to an Azure Event Grid topic.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: )

Lifecycle Methods

Publishes a batch of events to an Azure Event Grid topic.

EXEC azure.event_grid_dataplane.publish_events.publish_events 
@endpoint='{{ endpoint }}' --required
@@json=
'{
"id": "{{ id }}",
"topic": "{{ topic }}",
"subject": "{{ subject }}",
"data": "{{ data }}",
"eventType": "{{ eventType }}",
"eventTime": "{{ eventTime }}",
"dataVersion": "{{ dataVersion }}"
}'
;