Επεξεργασία

Κοινή χρήση μέσω


Create, view, and manage event subscriptions in namespace topics

This article shows you how to create, view, and manage event subscriptions to namespace topics in Azure Event Grid.

Create an event subscription

  1. Follow the create, view, and manage a namespace topics steps to identify the topic you want to use to create the event subscription.

  2. Click on the Subscriptions option in the Entities section.

    Screenshot showing Event Grid event subscriptions.

  3. Click "+ Subscription" button in the Subscriptions blade.

    Screenshot showing Event Grid event subscription create.

  4. In the Basics tab, type the name of the topic you want to create.

Important

When you create a subscription you will need to choose between the pull or push delivery mode. See pull delivery overview or push delivery overview to learn more about the consumption modes available in Event Grid namespaces.

  1. Pull delivery subscription:

    Screenshot showing pull event subscription creation.

  2. Push delivery subscription:

    Screenshot showing push event subscription creation.

  3. In the Filters tab, add the names of the event types you want to filter in the subscription and add context attribute filters you want to use in the subscription.

    Screenshot showing Event Grid event subscription create filters.

  4. In the Additional features tab, set the lock duration in minutes, specify maximum delivery count, and then select Create.

    Screenshot showing Event Grid event subscription create additional features.

View an event subscription

  1. Follow the create, view, and manage a namespace topics steps to identify the topic you want to use to view the event subscription.

  2. Click on the Subscriptions option in the Entities section.

    Screenshot showing Event Grid event subscriptions.

  3. Search for the subscription you want to view and select the subscription.

    Screenshot showing Event Grid event subscriptions search.

  4. Explore the event subscription topic settings.

    Screenshot showing Event Grid event subscription.

Delete an event subscription

  1. Follow the create, view, and manage a namespace topics steps to identify the topic you want to use to delete the event subscription.

  2. Click on the Subscriptions option in the Entities section.

    Screenshot showing Event Grid event subscriptions.

  3. Search for the subscription you want to delete and select the subscription.

    Screenshot showing Event Grid event subscriptions search.

  4. On the Overview page, select Delete on the toolbar.

    Screenshot showing Event Grid event subscription deletion.

  5. On the confirmation page, type the name of the resource and select Delete to confirm the deletion. It deletes the event subscription.

    Screenshot showing Event Grid event subscription deletion confirmation.

Filters configuration

  1. To configure the filters associated to the subscription, select Filters option in the Settings section and add the names of the event types you want to filter in the subscription and add context attribute filters you want to use in the subscription, once you finish the filters configuration select Save.

    Screenshot showing Event Grid event subscription filters settings.

Simplified resource model

The event subscriptions under a Namespace Topic feature a simplified filtering configuration model when compared to that of event subscriptions to domains and to custom, system, partner, and domain topics. The filtering capabilities are the same except for the scenarios documented in the following sections.

Filter on event data

Filtering on event data isn't currently supported. This capability will be available in a future release.

Subject begins with

There's no dedicated configuration properties to specify filters on subject. You can configure filters in the following way to filter the context attribute subject with a value that begins with a string.

key value operator value
subject String begins with your string

Subject ends with

There's no dedicated configuration properties to specify filters on subject. You can configure filters in the following way to filter the context attribute subject with a value that ends with a string.

key value operator value
subject String ends with your string

Next steps