AZ-900 Certification Notes

Chapter 1.3 - Azure command-line interface

The Azure CLI is an interface within Azure Portal where you can use commands to edit, create, configure, manage, and delete Azure resources with an emphasis on automation. You can achieve the same tasks you normally would do in Azure Portal, but within Azure CLI with commands. GUI (Azure Portal) vs CLI (Azure CLI).

Advantages

  • Stable
    • Text commands don't change and the CLI is in a stable state
  • Structure
    • CLI commands are structured very logically and all follow the same pattern
  • Cross Platform
    • The CLI works on Windows, Mac, and Linux
  • Automation
    • It's simple to automate the CLI commands for future use
  • Logging
    • Keep track of who ran what command and when in various ways