~/week14-iac — bash
# Week 6 Curious Geek: --debug shows the ARM HTTP call under any az command
# Output trimmed; tokens redacted
$ az storage account show \
-n sthyfw14lab -g rg-hyf-students -o none --debug
DEBUG: cli.knack.cli: Command arguments: ['storage', 'account', 'show', ... '--debug']
DEBUG: cli.azure.cli.core.sdk.policies: Request URL:
'https://management.azure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/rg-hyf-students/providers/Microsoft.Storage/storageAccounts/sthyfw14lab?api-version=2025-06-01'
DEBUG: cli.azure.cli.core.sdk.policies: Request method: 'GET'
DEBUG: cli.azure.cli.core.sdk.policies: 'Authorization': '*****'
DEBUG: urllib3.connectionpool: https://management.azure.com:443
"GET /subscriptions/.../storageAccounts/sthyfw14lab?api-version=2025-06-01 HTTP/1.1" 200 …
DEBUG: cli.azure.cli.core.sdk.policies: Response status: 200
DEBUG: cli.azure.cli.core.sdk.policies: Response content:
{"name":"sthyfw14lab","type":"Microsoft.Storage/storageAccounts","location":"westeurope",…}
# Same control plane the portal and Bicep hit: management.azure.com (ARM)
# Try: az group list -o table --debug | less