CmdID

CmdID / az / az devcenter / az devcenter dev / az devcenter dev dev-box

az devcenter dev dev-box restore-snapshot

Restores a dev box to a specified snapshot. Azure CLI extensions reference

2 examples 6 options 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

Restore snapshot using dev center

az devcenter dev dev-box restore-snapshot --name "MyDevBox" --dev-center-name "ContosoDevCenter" --project-name "DevProject" --user-id "00000000-0000-0000-0000-000000000000" --snapshot-id "CPC_f5dbdfab-fa0e-4831-8d13-25359aa5e680"Identify
--nameThe name of a dev box.
--dev-center-nameThe name of the dev center.
--project-nameThe name of the project.
--user-idThe AAD object id of the user.
--snapshot-idRequired parameter that specifies the snapshot id to use for the restore operation.

Restore snapshot using endpoint

az devcenter dev dev-box restore-snapshot --name "MyDevBox" --endpoint "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/" --project-name "DevProject" --user-id "00000000-0000-0000-0000-000000000000" --snapshot-id "CPC_f5dbdfab-fa0e-4831-8d13-25359aa5e680"Identify
--nameThe name of a dev box.
--endpointThe API endpoint for the developer resources.
--project-nameThe name of the project.
--user-idThe AAD object id of the user.
--snapshot-idRequired parameter that specifies the snapshot id to use for the restore operation.

Options

6 in the Azure CLI extensions reference
--dev-box-name, --dev-box, --name, -nThe name of a dev box.
--dev-center-name, --dev-center, -dThe name of the dev center.
--endpointThe API endpoint for the developer resources.
--project-name, --projectThe name of the project.
--snapshot-id, -sRequired parameter that specifies the snapshot id to use for the restore operation.
--user-idThe AAD object id of the user.