CmdID

CmdID / az / az migrate / az migrate runbook / az migrate runbook definition / az migrate runbook definition step

az migrate runbook definition step add

Add a step to the runbook definition. Azure CLI extensions reference

5 examples Its page in the Azure CLI extensions reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Add a manual step to a step group.

az migrate runbook definition step add -g myRg --project-name myProject -n myRunbook --step-type Manual --step-name "Verify cutover" --step-group-id workstream-0Identify
-gName of resource group.

Add an approval step that waits for a whole step.

az migrate runbook definition step add -g myRg --project-name myProject -n myRunbook --step-type Approval --step-name "Change approval" --step-group-id workstream-0 --depends-on-whole-step step0Identify
-gName of resource group.

Add an approval that waits per entity (same entity upstream).

az migrate runbook definition step add -g myRg --project-name myProject -n myRunbook --step-type Approval --step-name "Approve cutover" --step-group-id workstream-0 --migration-entity-ids e1 e2 --depends-on-per-entity prepare-1Identify
-gName of resource group.

Add an approval with mapped-entity dependencies.

az migrate runbook definition step add -g myRg --project-name myProject -n myRunbook --step-type Approval --step-name "Approve" --step-group-id workstream-0 --migration-entity-ids e1 e2 --depends-on-mapped-entities "enable-1=e1:f1,e2:f2"Identify
-gName of resource group.

Add a manual step scoped to specific migration entities.

az migrate runbook definition step add -g myRg --project-name myProject -n myRunbook --step-type Manual --step-name "Post checks" --step-group-id workstream-0 --migration-entity-ids entity1 entity2Identify
-gName of resource group.