CmdID / az / az providerhub / az providerhub notification-registration
az providerhub notification-registration create
Create a notification registration. Azure CLI extensions reference
1 example 6 options Its page in the Azure CLI extensions reference
Examples
notification-registration create
az providerhub notification-registration create --name "{notificationRegistration}" --included-events "*/write" "Microsoft.Contoso/employees/delete" --message-scope "RegisteredSubscriptions" --notification-endpoints [{notification-destination:/subscriptions/ac6bcfb5-3dc1-491f-95a6-646b89bf3e88/resourceGroups/mgmtexp-eastus/providers/Microsoft.EventHub/namespaces/unitedstates-mgmtexpint/eventhubs/armlinkednotifications,locations:[EastUS]}] --notification-mode "EventHub" --provider-namespace "{providerNamespace}"Identify--nameThe notification registration.--included-eventsThese are the events that the RP should be messaged on.--message-scopeLimits the messages that are sent to the RP.--notification-endpointsThese are the locations for the notification messages.--notification-modeDetermines how the notifications are sent to the RP.--provider-namespaceThe name of the resource provider hosted within ProviderHub.Options
--included-eventsThese are the events that the RP should be messaged on.--message-scopeLimits the messages that are sent to the RP.--notification-endpointsThese are the locations for the notification messages.--notification-modeDetermines how the notifications are sent to the RP.--notification-registration-name, --name, -nThe notification registration.--provider-namespaceThe name of the resource provider hosted within ProviderHub.