Azure CLI
Azure CLI is the official cross-platform command-line tool for managing Microsoft Azure resources and services from the terminal.
APIs
Azure CLI
Azure CLI is the official cross-platform command-line tool for managing Microsoft Azure resources and services from the terminal.
Features
Runs on Windows, macOS, and Linux with identical command syntax.
Interactive shell with auto-complete and inline help for command discovery.
Output as JSON, YAML, table, or TSV for pipeline integration.
Filter and transform output with JMESPath query language using --query.
Run Azure CLI in the browser via Azure Cloud Shell without local installation.
Embed Azure CLI commands in Bash and PowerShell automation scripts.
Extend CLI functionality with official and community extensions.
Authenticate with service principals for automated/non-interactive scenarios.
Use Cases
Provision Azure resources like VMs, storage accounts, and databases from the command line.
Automate Azure infrastructure tasks in CI/CD pipelines and deployment scripts.
Query resource metrics, logs, and health status from the terminal.
Perform bulk operations across multiple Azure resources in a single script.
Complement Terraform and Bicep with scripted Azure CLI commands.
Integrations
Use Azure CLI in Azure DevOps pipelines with the AzureCLI task.
Authenticate and run Azure CLI commands in GitHub Actions workflows.
Complement Terraform with Azure CLI for tasks outside the Terraform provider.
Access a pre-configured Azure CLI environment via browser.
Integrated terminal support and Azure CLI extension for Visual Studio Code.