title | description | services | documentationcenter | author | manager | ms.service | ms.devlang | ms.topic | ms.tgt_pltfrm | ms.workload | ms.date | ms.author |
---|---|---|---|---|---|---|---|---|---|---|---|---|
Azure PowerShell script sample - Subscribe to custom topic | Microsoft Docs |
Azure PowerShell script sample - Subscribe to custom topic |
event-grid |
na |
tfitzmac |
timlt |
event-grid |
powershell |
sample |
na |
na |
04/05/2018 |
tomfitz |
This script creates an Event Grid subscription to the events for a custom topic.
[!INCLUDE quickstarts-free-trial-note]
[!code-powershellmain]
This script uses the following command to create the event subscription. Each command in the table links to command-specific documentation.
Command | Notes |
---|---|
New-AzureRmEventGridSubscription | Create an Event Grid subscription. |
- For an introduction to managed applications, see Azure Managed Application overview.
- For more information on PowerShell, see Azure PowerShell documentation.