az migrate runbook definition step-group
Note
This reference is part of the migrate extension for the Azure CLI (version 2.75.0 or higher). The extension will automatically install the first time you run an az migrate runbook definition step-group command. Learn more about extensions.
Command group 'migrate runbook definition' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage step groups in a runbook definition.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az migrate runbook definition step-group merge |
Merge two or more step groups into a single step group. |
Extension | Preview |
| az migrate runbook definition step-group split |
Split a step group into two step groups. |
Extension | Preview |
az migrate runbook definition step-group merge
Command group 'migrate runbook definition step-group' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Merge two or more step groups into a single step group.
az migrate runbook definition step-group merge --name --runbook-name
--new-step-group-name
--project-name
--resource-group
--source-step-group-ids
[--acquire-policy-token]
[--change-reference]
Examples
Merge two step groups.
az migrate runbook definition step-group merge -g myRg \
--project-name myProject -n myRunbook \
--source-step-group-ids ws1 ws2 \
--new-step-group-name "Combined tier"
Required Parameters
Name of the runbook.
Display name for the merged step group.
Name of the Azure Migrate project. You can configure the default using az configure --defaults migrate_project=<name>.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Space-separated ids of the step groups to merge.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az migrate runbook definition step-group split
Command group 'migrate runbook definition step-group' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Split a step group into two step groups.
az migrate runbook definition step-group split --name --runbook-name
--new-step-group-name
--project-name
--resource-group
--source-step-group-id
--step-ids
[--acquire-policy-token]
[--change-reference]
Examples
Move steps into a new step group.
az migrate runbook definition step-group split -g myRg \
--project-name myProject -n myRunbook \
--source-step-group-id ws1 \
--new-step-group-name "Database tier" \
--step-ids step1 step2
Required Parameters
Name of the runbook.
Display name for the new step group.
Name of the Azure Migrate project. You can configure the default using az configure --defaults migrate_project=<name>.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Id of the step group to split.
Space-separated step ids to move into the new step group.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |