az eventhubs namespace authorization-rule

Manage Azure EventHubs Authorizationrule for Namespace.

Commands

az eventhubs namespace authorization-rule create Creates Authorizationrule for the given Namespace.
az eventhubs namespace authorization-rule delete Deletes the Authorizationrule of the namespace.
az eventhubs namespace authorization-rule keys Manage Azure EventHubs Authorizationrule connection strings for Namespace.
az eventhubs namespace authorization-rule keys list Shows the connection strings for namespace.
az eventhubs namespace authorization-rule keys renew Regenerate the connection strings of Authorizationrule for the namespace.
az eventhubs namespace authorization-rule list Shows the list of Authorizationrule by Namespace.
az eventhubs namespace authorization-rule show Shows the details of Authorizationrule.
az eventhubs namespace authorization-rule update Updates Authorizationrule for the given Namespace.

az eventhubs namespace authorization-rule create

Creates Authorizationrule for the given Namespace.

az eventhubs namespace authorization-rule create --name
--namespace-name
--resource-group
--rights {Listen, Manage, Send}
[--subscription]

Examples

Creates Authorizationrule

az eventhubs namespace authorization-rule create --resource-group myresourcegroup --namespace-name mynamespace --name myauthorule --rights Send Listen

Required Parameters

--name -n

Name of Namespace AuthorizationRule.

--namespace-name

Name of Namespace.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--rights

Space-separated list of Authorization rule rights.

accepted values: Listen, Manage, Send

Optional Parameters

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az eventhubs namespace authorization-rule delete

Deletes the Authorizationrule of the namespace.

az eventhubs namespace authorization-rule delete [--ids]
[--name]
[--namespace-name]
[--resource-group]
[--subscription]

Examples

Deletes the Authorizationrule of the namespace.

az eventhubs namespace authorization-rule delete --resource-group myresourcegroup --namespace-name mynamespace --name myauthorule

Optional Parameters

--ids

One or more resource IDs (space-delimited). If provided, no other 'Resource Id' arguments should be specified.

--name -n

Name of Namespace AuthorizationRule.

--namespace-name

Name of Namespace.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az eventhubs namespace authorization-rule list

Shows the list of Authorizationrule by Namespace.

az eventhubs namespace authorization-rule list --namespace-name
--resource-group
[--subscription]

Examples

Shows the list of Authorizationrule by Namespace

az eventhubs namespace authorization-rule list --resource-group myresourcegroup --namespace-name mynamespace

Required Parameters

--namespace-name

Name of Namespace.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az eventhubs namespace authorization-rule show

Shows the details of Authorizationrule.

az eventhubs namespace authorization-rule show [--ids]
[--name]
[--namespace-name]
[--resource-group]
[--subscription]

Examples

Shows the details of Authorizationrule

az eventhubs namespace authorization-rule show --resource-group myresourcegroup --namespace-name mynamespace --name myauthorule

Optional Parameters

--ids

One or more resource IDs (space-delimited). If provided, no other 'Resource Id' arguments should be specified.

--name -n

Name of Namespace AuthorizationRule.

--namespace-name

Name of Namespace.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az eventhubs namespace authorization-rule update

Updates Authorizationrule for the given Namespace.

az eventhubs namespace authorization-rule update --rights {Listen, Manage, Send}
[--add]
[--force-string]
[--ids]
[--name]
[--namespace-name]
[--remove]
[--resource-group]
[--set]
[--subscription]

Examples

Updates Authorizationrule

az eventhubs namespace authorization-rule update --resource-group myresourcegroup --namespace-name mynamespace --name myauthorule --rights Send

Required Parameters

--rights

Space-separated list of Authorization rule rights.

accepted values: Listen, Manage, Send

Optional Parameters

--add

Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>.

--force-string

When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.

--ids

One or more resource IDs (space-delimited). If provided, no other 'Resource Id' arguments should be specified.

--name -n

Name of Namespace AuthorizationRule.

--namespace-name

Name of Namespace.

--remove

Remove a property or an element from a list. Example: --remove property.list OR --remove propertyToRemove.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--set

Update an object by specifying a property path and value to set. Example: --set property1.property2=.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.