az migrate runbook execution step
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 execution step command. Learn more about extensions.
Command group 'migrate runbook execution' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Act on a single step within a runbook execution.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az migrate runbook execution step approve |
Provide approval for an approval-type step during execution. |
Extension | Preview |
| az migrate runbook execution step complete |
Mark a manual step as complete during execution. |
Extension | Preview |
| az migrate runbook execution step retry |
Restart the execution of a failed step. |
Extension | Preview |
az migrate runbook execution step approve
Command group 'migrate runbook execution step' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Provide approval for an approval-type step during execution.
az migrate runbook execution step approve --execution-id
--name --runbook-name
--project-name
--resource-group
--step-id
[--acquire-policy-token]
[--change-reference]
[--entities]
Examples
Approve a Full approval step.
az migrate runbook execution step approve -g myRg \
--project-name myProject --runbook-name myRunbook \
--execution-id myExecution --step-id step1
Approve specific ready entities for a Partial approval step.
az migrate runbook execution step approve -g myRg \
--project-name myProject --runbook-name myRunbook \
--execution-id myExecution --step-id step1 \
--entities vm1 vm2
Required Parameters
Id of the runbook execution.
Name of the runbook.
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 approval step to approve.
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 |
Space-separated entity ids to approve (partial approval steps only). Omit to approve every currently ready entity for the step.
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 execution step complete
Command group 'migrate runbook execution step' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Mark a manual step as complete during execution.
az migrate runbook execution step complete --comment
--execution-id
--name --runbook-name
--project-name
--resource-group
--step-id
[--acquire-policy-token]
[--change-reference]
Examples
Complete a manual step with a comment.
az migrate runbook execution step complete -g myRg \
--project-name myProject --runbook-name myRunbook \
--execution-id myExecution --step-id step1 \
--comment "Verified manually"
Required Parameters
Comment recording who/why the step was completed.
Id of the runbook execution.
Name of the runbook.
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 manual step to complete.
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 execution step retry
Command group 'migrate runbook execution step' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Restart the execution of a failed step.
az migrate runbook execution step retry --execution-id
--name --runbook-name
--project-name
--resource-group
--step-id
[--acquire-policy-token]
[--change-reference]
Examples
Retry a failed step.
az migrate runbook execution step retry -g myRg \
--project-name myProject --runbook-name myRunbook \
--execution-id myExecution --step-id step1
Required Parameters
Id of the runbook execution.
Name of the runbook.
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 to retry.
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 |