An extension for the Azure CLI to show ARM deployment progress
To install the extension, simply execute the following az
command:
az extension add --source https://azclishowdeployment.blob.core.windows.net/releases/dist/show_deployment-0.0.9-py2.py3-none-any.whl
Note if you have previously installed and are updating then uninstall first via az extension remove --name show-deployment
If you prefer, you can download the extension and then install. The latest release can be downloaded from https://azclishowdeployment.blob.core.windows.net/releases/dist/show_deployment-0.0.9-py2.py3-none-any.whl
Then run the following (fixing the path to the downloaded file as required)
az extension add --source ~/Downloads/show_deployment-0.0.9-py2.py3-none-any.whl
To show the status of the latest deployment to your-resource-group
run:
az group deployment watch --resource-group your-resource-group
You can select which deployment to watch by name:
az group deployment watch --resource-group your-resource-group --name some-deployment
FIX: expecting value
error executing ['/opt/az/bin/python3', '-m', 'azure.cli', 'group', 'deployment', 'operation', 'list', '-g', 'slsyn1', '-n', 'storageRoleDeploymentResource', '--output', 'json']
Converted internal commands from az group deployment...
to new az deployment group ...
commands
Added az deployment group watch
as an alias for az group deployment watch
FIX: error if message is string containing 'details'
Continue to refresh on 'Accepted' state
Add error output for Deployment Output evaluation step
Add deeper error output
Add output of operation errors
Check multiple properties to find duration as JSON structure varies across Azure CLI versions
Fix up duration parsing in az cli response JSON