@azure/eventgrid-system-events

Package version:

@azure/eventgrid-system-events

Azure Event Grid system events are published by Azure services to system topics. The models in this package map to events sent by various Azure services.

Key links:

Currently supported environments

See our support policy for more details.

Prerequisites

If you use the Azure CLI, replace <your-resource-group-name> and <your-resource-name> with your own unique names:

Create an Event Grid Topic

azeventgridtopiccreate--location <location> --resource-group <your-resource-group-name> --name <your-resource-name>

Create an Event Grid Domain

azeventgriddomaincreate--location <location> --resource-group <your-resource-group-name> --name <your-resource-name>

Install the @azure/eventgrid-system-events package

Install the Azure Event Grid System Events client library for JavaScript with npm:

npminstall@azure/eventgrid-system-events

This package provides a list of System Events that could be used to publish events to EventGrid.

Logging

Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the AZURE_LOG_LEVEL environment variable to info. Alternatively, logging can be enabled at runtime by calling setLogLevel in the @azure/logger:

const { setLogLevel } = require("@azure/logger");

setLogLevel("info");

For more detailed instructions on how to enable the logs, you can look at the @azure/logger package docs.

If you'd like to contribute to this library, please read the contributing guide to learn more about how to build and test the code.

Impressions

You Might Also Like