CmdID / az / az notification-hub / az notification-hub namespace / az notification-hub namespace authorization-rule
az notification-hub namespace authorization-rule create
Create an authorization rule for a namespace. Azure CLI extensions reference
1 example 3 options Its page in the Azure CLI extensions reference
Examples
Create a namespace authorization rule
az notification-hub namespace authorization-rule create --resource-group MyResourceGroup --namespace-name my-namespace --name "sdk-AuthRules-1788" --rights Listen SendIdentify--resource-groupName of resource group.--namespace-nameThe namespace name.--nameAuthorization Rule Name.--rightsThe rights associated with the rule.Options
--name, -nAuthorization Rule Name.--namespace-nameThe namespace name.--rightsThe rights associated with the rule.