az eventhubs georecovery-alias

Manage Azure EventHubs Geo Recovery configuration Alias.

Commands

az eventhubs georecovery-alias authorization-rule

Manage Azure EventHubs Authorizationrule for Geo Recovery configuration Alias.

az eventhubs georecovery-alias authorization-rule keys

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

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 list

List of Authorizationrule by EventHubs Namespace.

az eventhubs georecovery-alias authorization-rule show

Show properties of EventHubs Geo-Disaster Recovery Configuration Alias and Namespace Authorizationrule.

az eventhubs georecovery-alias break-pair

Disables Geo-Disaster Recovery Configuration Alias and stops replicating changes from primary to secondary namespaces.

az eventhubs georecovery-alias delete

Delete Geo-Disaster Recovery Configuration Alias.

az eventhubs georecovery-alias exists

Check the availability of Geo-Disaster Recovery Configuration Alias Name.

az eventhubs georecovery-alias fail-over

Invokes Geo-Disaster Recovery Configuration Alias to point to the secondary namespace.

az eventhubs georecovery-alias list

Gets all Alias(Disaster Recovery configurations).

az eventhubs georecovery-alias set

Sets a Geo-Disaster Recovery Configuration Alias for the give Namespace.

az eventhubs georecovery-alias show

Shows properties of Geo-Disaster Recovery Configuration Alias for Primay or Secondary Namespace.

az eventhubs georecovery-alias break-pair

Disables Geo-Disaster Recovery Configuration Alias and stops replicating changes from primary to secondary namespaces.

az eventhubs georecovery-alias break-pair [--alias]
                                          [--ids]
                                          [--namespace-name]
                                          [--resource-group]
                                          [--subscription]

Examples

Disables Geo-Disaster Recovery Configuration Alias and stops replicating changes from primary to secondary namespaces

az eventhubs georecovery-alias break-pair --resource-group myresourcegroup --namespace-name primarynamespace --alias myaliasname

Optional Parameters

--alias -a

Name of Geo-Disaster Recovery Configuration Alias.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--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 georecovery-alias delete

Delete Geo-Disaster Recovery Configuration Alias.

az eventhubs georecovery-alias delete [--alias]
                                      [--ids]
                                      [--namespace-name]
                                      [--resource-group]
                                      [--subscription]

Examples

Delete Geo-Disaster Recovery Configuration Alias

az eventhubs georecovery-alias delete --resource-group myresourcegroup --namespace-name secondarynamespace --alias myaliasname

Optional Parameters

--alias -a

Name of Geo-Disaster Recovery Configuration Alias.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--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 georecovery-alias exists

Check the availability of Geo-Disaster Recovery Configuration Alias Name.

az eventhubs georecovery-alias exists --alias
                                      --namespace-name
                                      --resource-group
                                      [--subscription]

Examples

Check the availability of Geo-Disaster Recovery Configuration Alias Name

az eventhubs georecovery-alias exists --resource-group myresourcegroup --namespace-name primarynamespace --alias myaliasname

Required Parameters

--alias -a

Name of Geo Recovery Configs - Alias to check availability.

--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 georecovery-alias fail-over

Invokes Geo-Disaster Recovery Configuration Alias to point to the secondary namespace.

az eventhubs georecovery-alias fail-over [--alias]
                                         [--ids]
                                         [--namespace-name]
                                         [--resource-group]
                                         [--subscription]

Examples

Invokes GEO DR failover and reconfigure the alias to point to the secondary namespace

az eventhubs georecovery-alias fail-over --resource-group myresourcegroup --namespace-name secondarynamespace --alias myaliasname

Optional Parameters

--alias -a

Name of Geo-Disaster Recovery Configuration Alias.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--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 georecovery-alias list

Gets all Alias(Disaster Recovery configurations).

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

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

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

az eventhubs georecovery-alias set

Sets a Geo-Disaster Recovery Configuration Alias for the give Namespace.

az eventhubs georecovery-alias set --partner-namespace
                                   [--alias]
                                   [--alternate-name]
                                   [--ids]
                                   [--namespace-name]
                                   [--resource-group]
                                   [--subscription]

Examples

Sets Geo-Disaster Recovery Configuration Alias for the give Namespace

az eventhubs georecovery-alias set --resource-group myresourcegroup --namespace-name primarynamespace --alias myaliasname --partner-namespace resourcearmid

Sets a Geo-Disaster Recovery Configuration Alias for the give Namespace (autogenerated)

az eventhubs georecovery-alias set --alias myaliasname --namespace-name primarynamespace --partner-namespace resourcearmid --resource-group myresourcegroup --subscription MySubscription

Required Parameters

--partner-namespace

Name (if within the same resource group) or ARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO DR pairing.

Optional Parameters

--alias -a

Name of Geo-Disaster Recovery Configuration Alias.

--alternate-name

Alternate Name for the Alias, when the Namespace name and Alias name are same.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--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 georecovery-alias show

Shows properties of Geo-Disaster Recovery Configuration Alias for Primay or Secondary Namespace.

az eventhubs georecovery-alias show [--alias]
                                    [--ids]
                                    [--namespace-name]
                                    [--query-examples]
                                    [--resource-group]
                                    [--subscription]

Examples

Shows properties of Geo-Disaster Recovery Configuration Alias of the Primary Namespace

az eventhubs georecovery-alias show --resource-group myresourcegroup --namespace-name primarynamespace --alias myaliasname

Shows properties of Geo-Disaster Recovery Configuration Alias of the Secondary Namespace

az eventhubs georecovery-alias show --resource-group myresourcegroup --namespace-name secondarynamespace --alias myaliasname

Optional Parameters

--alias -a

Name of Geo-Disaster Recovery Configuration Alias.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--namespace-name

Name of Namespace.

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

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