Event Grid SDKs for management and publishing

Event Grid provides SDKs that enable you to programmatically manage your resources and post events.

Note

Regarding TLS 1.0 / 1.1 deprecation: For system topics, you need to take action only for the event delivery to webhook destinations. If the destination supports TLS 1.2, the event delivery happens using 1.2. If the destination doesn't support TLS 1.2, the event delivery automatically falls back to 1.0 and 1.1. Post Oct 31st 2024, event delivery using 1.0 and 1.1 won't be supported. Ensure that your webhook destinations support TLS 1.2. One easy way to check for TLS 1.2 support is to use Qualys SSL Labs. If the report shows that TLS 1.2 is supported, no action is required. For more information, see the following blog post: Retirement: Upcoming TLS changes for Azure Event Grid

Management SDKs

The management SDKs enable you to create, update, and delete Event Grid topics and subscriptions. Currently, the following SDKs are available:

SDK Package Reference documentation Samples
REST API REST reference
.NET Azure.ResourceManager.EventGrid. The package has the latest Namespaces API. .NET reference: Preview, GA .NET samples
Java azure-resourcemanager-eventgrid. The package has the latest Namespaces API. Java reference: Preview, GA Java samples
JavaScript @azure/arm-eventgrid. The package has the latest Namespaces API. JavaScript reference: Preview, GA JavaScript and TypeScript samples
Python azure-mgmt-eventgrid. The package has the latest Namespaces API. Python reference: Preview, GA Python samples
Go Azure SDK for Go Go samples

Data plane SDKs

Note

For MQTT messaging, you can use your favorite MQTT SDK. Currently Azure Event Grid doesn't provide data plane SDK for MQTT.

The data plane SDKs enable you to post events to topics by taking care of authenticating, forming the event, and asynchronously posting to the specified endpoint. They also enable you to consume first party events. Currently, the following SDKs are available:

Programming language Package Reference documentation Samples
REST API REST reference
.NET Azure.Messaging.EventGrid. The package has the latest Namespaces API. .NET reference .NET samples
Java azure-messaging-eventgrid. The package has the latest Namespaces API. Java reference Java samples
JavaScript @azure/eventgrid. The package has the latest Namespaces API. JavaScript reference JavaScript and TypeScript samples
Python azure-eventgrid. The package has the latest Namespaces API. Python reference Python samples
Go Azure SDK for Go

Next steps