Azure CLI
Deployment Commands
Bicep & ARM deployments
5 commands
Commands
Deploy Bicep Template
$ az deployment group create -g rg --template-file main.bicep
Deploy infrastructure using Bicep template
List Deployments
$ az deployment group list -g rg
List all deployments in a resource group
Show Deployment Operations
$ az deployment operation group list -g rg -n deployment-name
Show detailed operations for a specific deployment
Validate Template
$ az deployment group validate -g rg --template-file main.bicep
Validate Bicep/ARM template without deploying
Preview Deployment Changes
$ az deployment group what-if -g rg --template-file main.bicep
Preview what changes will be made before deployment