neiges

Install the Azure CLI

$ brew update
$ brew install azure-cli
# Explore az command usage
$ az -h

Account and subscription

# Set current subscription
$ az account set -s "Visual Studio Enterprise"
# Check current subscription
$ az account show
# List supported locations in current subscription
$ az account list-locations

Resource groups

# Create a resource group
$ az group create -n "test-group" -l "westeurope"
# Check existing groups
$ az group list
# Delete group
$ az group delete -n "test-group"