Manage Azure Notification Hubs with az notification-hub
mainThe az notification-hub subgroup allows you to manage Azure Notification Hub resources. You can use these commands to set up push notifications, manage namespaces, and configure authorization rules.
Common tasks include:
- Creating a Notification Hub: Use
az notification-hub namespaceto manage the namespace andaz notification-hubto create or manage the hub itself. - Configuring Credentials: Use
az notification-hub credential gcmto set up Google Cloud Messaging (GCM) credentials. - Authorization: Use
az notification-hub authorization-ruleto manage access rules for the hub.
For a quick start, refer to the guide: Quickstart: Create an Azure notification hub using the Azure CLI.
# Example: Create a notification hub using the Azure CLI
# (Refer to the specific quickstart guide for exact parameter requirements)
az notification-hub create --name <hub-name> --namespace <namespace-name> ...