az eventhubs georecovery-alias authorization-rule keys

Manage Azure Event Hubs Authorizationrule connection strings for Geo Recovery configuration Alias.

Commands

az eventhubs georecovery-alias authorization-rule keys list

Shows the keys and connection strings of Authorizationrule for the EventHubs Namespace.

az eventhubs georecovery-alias authorization-rule keys list

Shows the keys and connection strings of Authorizationrule for the EventHubs Namespace.

az eventhubs georecovery-alias authorization-rule keys list --alias
                                                            --name
                                                            --namespace-name
                                                            --resource-group
                                                            [--query-examples]
                                                            [--subscription]

Examples

Shows the keys and connection strings of Authorizationrule for the namespace.

az eventhubs georecovery-alias authorization-rule keys list --resource-group myresourcegroup --namespace-name mynamespace --name myauthorule --alias myaliasname

Required Parameters

--alias -a

Name of Geo-Disaster Recovery Configuration Alias.

--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>.

Optional Parameters

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--subscription

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