Skip to content

Commit 7e960e0

Browse files
authored
Update create-notification-hub-azure-cli.md
In Line 103 and 111, while creating hub with latest version of CLI command we get error: az notification-hub create --resource-group spnhubrg --namespace-name spnhubns --name spfcmtutorial1nhub --location eastus --sku Free Error: unrecognized arguments: --sku Free Correct command: az notification-hub create --resource-group spnhubrg --namespace-name spnhubns --name spfcmtutorial1nhub --location eastus
1 parent 74977c6 commit 7e960e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/notification-hubs/create-notification-hub-azure-cli.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,15 @@ az group create --name spnhubrg --location eastus
100100
One or more notification hubs can now be created in your new namespace. Run the [az notification-hub create](/cli/azure/notification-hub#az-notification-hub-create) command to create a notification hub.
101101

102102
```azurecli
103-
az notification-hub create --resource-group spnhubrg --namespace-name spnhubns --name spfcmtutorial1nhub --location eastus --sku Free
103+
az notification-hub create --resource-group spnhubrg --namespace-name spnhubns --name spfcmtutorial1nhub --location eastus
104104
```
105105

106106
2. Create a second notification hub.
107107

108108
Multiple notification hubs can be created in a single namespace. To create a second notification hub in the same namespace, run the `az notification-hub create` command again using a different hub name.
109109

110110
```azurecli
111-
az notification-hub create --resource-group spnhubrg --namespace-name spnhubns --name mysecondnhub --location eastus --sku Free
111+
az notification-hub create --resource-group spnhubrg --namespace-name spnhubns --name mysecondnhub --location eastus
112112
```
113113

114114
3. Get a list of notification hubs.

0 commit comments

Comments
 (0)