az servicebus georecovery-alias

Manage Azure Service Bus Geo-Disaster Recovery Configuration Alias.

Commands

az servicebus georecovery-alias authorization-rule

Manage Azure Service Bus Authorization Rule for Namespace with Geo-Disaster Recovery Configuration Alias.

az servicebus georecovery-alias authorization-rule keys

Manage Azure Authorization Rule keys for Service Bus Namespace.

az servicebus georecovery-alias authorization-rule keys list

List the keys and connection strings of Authorization Rule for the Service Bus Namespace.

az servicebus georecovery-alias authorization-rule list

Shows the list of Authorization Rule by Service Bus Namespace.

az servicebus georecovery-alias authorization-rule show

Gets an authorization rule for a namespace by rule name.

az servicebus georecovery-alias break-pair

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

az servicebus georecovery-alias delete

Deletes Service Bus Geo-Disaster Recovery Configuration Alias request accepted.

az servicebus georecovery-alias exists

Check if Geo Recovery Alias Name is available.

az servicebus georecovery-alias fail-over

Invokes Service Bus Geo-Disaster Recovery Configuration Alias failover and re-configure the alias to point to the secondary namespace.

az servicebus georecovery-alias list

Gets all Alias(Disaster Recovery configurations).

az servicebus georecovery-alias set

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

az servicebus georecovery-alias show

Shows properties of Service Bus Geo-Disaster Recovery Configuration Alias for Primay/Secondary Namespace.

az servicebus georecovery-alias break-pair

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

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

Examples

Disables the Disaster Recovery and stops replicating changes from primary to secondary namespaces

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

Optional Parameters

--alias -a

Name of the 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 servicebus georecovery-alias delete

Deletes Service Bus Geo-Disaster Recovery Configuration Alias request accepted.

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

Examples

Delete Service Bus Geo-Disaster Recovery Configuration Alias request accepted

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

Optional Parameters

--alias -a

Name of the 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 servicebus georecovery-alias exists

Check if Geo Recovery Alias Name is available.

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

Examples

Check availability of the Geo-Disaster Recovery Configuration Alias Name

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

Required Parameters

--alias -a

Name of Geo-Disaster Recovery Configuration 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 servicebus georecovery-alias fail-over

Invokes Service Bus Geo-Disaster Recovery Configuration Alias failover and re-configure the alias to point to the secondary namespace.

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

Examples

Invokes Geo-Disaster Recovery Configuration Alias failover and reconfigure the alias to point to the secondary namespace

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

Optional Parameters

--alias -a

Name of the 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 servicebus georecovery-alias list

Gets all Alias(Disaster Recovery configurations).

az servicebus 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 servicebus georecovery-alias set

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

az servicebus 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 servicebus georecovery-alias set --resource-group myresourcegroup --namespace-name primarynamespace --alias myaliasname --partner-namespace armresourceid

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

az servicebus georecovery-alias set --alias myaliasname --namespace-name primarynamespace --partner-namespace armresourceid --resource-group myresourcegroup --subscription MySubscription

Required Parameters

--partner-namespace

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

Optional Parameters

--alias -a

Name of the Geo-Disaster Recovery Configuration Alias.

--alternate-name

Alternate Name (Post failover) for Primary Namespace, when 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 servicebus georecovery-alias show

Shows properties of Service Bus Geo-Disaster Recovery Configuration Alias for Primay/Secondary Namespace.

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

Examples

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

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

Get details of Alias (Geo DR Configuration) of the Secondary Namespace

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

shows properties of Service Bus Geo-Disaster Recovery Configuration Alias for Primay/Secondary Namespace (autogenerated)

az servicebus georecovery-alias show --alias myaliasname --namespace-name primarynamespace --resource-group myresourcegroup --subscription MySubscription

Optional Parameters

--alias -a

Name of the 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.