CmdID

CmdID / az / az notification-hub / az notification-hub authorization-rule

az notification-hub authorization-rule regenerate-keys

Regenerates the primary/secondary keys to the notification hub authorization rule. Azure CLI extensions reference

1 example 4 options Its page in the Azure CLI extensions reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Regenerate the notification hub authorization rule

az notification-hub authorization-rule regenerate-keys --resource-group MyResourceGroup --namespace-name my-namespace --notification-hub-name my-hub --name DefaultListenSharedAccessSignature --policy-key "Secondary Key"Identify
--resource-groupName of resource group.
--namespace-nameThe namespace name.
--notification-hub-nameThe notification hub name.
--nameThe connection string of the NotificationHub for the specified authorizationRule.
--policy-keyName of the key that has to be regenerated for the Namespace/Notification Hub Authorization Rule.

Options

4 in the Azure CLI extensions reference
--name, -nThe connection string of the NotificationHub for the specified authorizationRule.
--namespace-nameThe namespace name.
--notification-hub-nameThe notification hub name.
--policy-keyName of the key that has to be regenerated for the Namespace/Notification Hub Authorization Rule.