az servicebus migration

Manage Azure Service Bus Migration of Standard to Premium.

Commands

az servicebus migration abort

Disable the Service Bus Migration of Standard to Premium namespace.

az servicebus migration complete

Completes the Service Bus Migration of Standard to Premium namespace.

az servicebus migration show

Shows properties of properties of Service Bus Migration.

az servicebus migration start

Create and Start Service Bus Migration of Standard to Premium namespace.

az servicebus migration abort

Disable the Service Bus Migration of Standard to Premium namespace.

Abort command stops the replication of entities from standard to premium namespaces. The entities replicated to premium namespace before abort command will be available under premium namespace. The aborted migration can not be resumed, its has to restarted.

az servicebus migration abort [--ids]
                              [--name]
                              [--resource-group]
                              [--subscription]

Examples

Disable Service Bus Migration of Standard to Premium namespace

az servicebus migration abort --resource-group myresourcegroup --name standardnamespace

Optional Parameters

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

--name -n

Name of Standard 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 migration complete

Completes the Service Bus Migration of Standard to Premium namespace.

After completing migration, the existing connection strings to standard namespace will connect to premium namespace automatically. Post migration name is the name that can be used to connect to standard namespace after migration is complete.

az servicebus migration complete [--ids]
                                 [--name]
                                 [--resource-group]
                                 [--subscription]

Examples

Completes the Service Bus Migration of Standard to Premium namespace

az servicebus migration complete --resource-group myresourcegroup --name standardnamespace

Optional Parameters

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

--name -n

Name of Standard 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 migration show

Shows properties of properties of Service Bus Migration.

az servicebus migration show [--ids]
                             [--name]
                             [--query-examples]
                             [--resource-group]
                             [--subscription]

Examples

shows properties of properties of Service Bus Migration

az servicebus migration show --resource-group myresourcegroup --name standardnamespace

Optional Parameters

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

--name -n

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

az servicebus migration start

Create and Start Service Bus Migration of Standard to Premium namespace.

Service Bus Migration requires an empty Premium namespace to replicate entities from Standard namespace.

az servicebus migration start --post-migration-name
                              --target-namespace
                              [--ids]
                              [--name]
                              [--resource-group]
                              [--subscription]

Examples

Create and Start Service Bus Migration of Standard to Premium namespace

az servicebus migration start --resource-group myresourcegroup --name standardnamespace --target-namespace ARMIDpremiumnamespace --post-migration-name mypostmigrationname

Required Parameters

--post-migration-name

Post migration name is the name that can be used to connect to standard namespace after migration is complete.

--target-namespace

Name (if within the same resource group) or ARM Id of empty Premium Service Bus namespace name that will be target of the migration.

Optional Parameters

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

--name -n

Name of Standard Namespace used as source of the migration.

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