A collection of handy Azure commands to get start and get around.
This is organized by services.
$ az login
# continue from the browser to login to your account
$ ls -l ~/.azure
total 328
drwxr-xr-x 17 gkyc staff 544 25 Nov 12:02 ./
drwxr-xr-x+ 143 gkyc staff 4576 30 Nov 13:19 ../
-rw------- 1 gkyc staff 25203 10 Jun 17:27 accessTokens.json
-rw-r--r-- 1 gkyc staff 5 21 Oct 2020 az.json
-rw-r--r-- 1 gkyc staff 5 29 Nov 09:48 az.sess
-rw-r--r-- 1 gkyc staff 1141 25 Nov 12:00 azureProfile.json
drwxr-xr-x 3 gkyc staff 96 25 Nov 09:29 cliextensions/
-rw-r--r-- 1 gkyc staff 66 25 Nov 12:00 clouds.config
-rw-r--r-- 1 gkyc staff 5341 29 Nov 09:48 commandIndex.json
drwxr-xr-x 23 gkyc staff 736 29 Nov 09:48 commands/
-rw------- 1 gkyc staff 137 25 Nov 09:10 config
-rw-r--r-- 1 gkyc staff 79952 25 Nov 09:05 extensionCommandTree.json
drwxr-xr-x 4 gkyc staff 128 25 Nov 09:10 logs/
-rw-r--r-- 1 gkyc staff 17865 25 Nov 11:57 msal_token_cache.json
drwxr-xr-x 3 gkyc staff 96 21 Oct 2020 telemetry/
-rw-r--r-- 1 gkyc staff 19 21 Oct 2020 telemetry.txt
-rw-r--r-- 1 gkyc staff 255 25 Nov 09:04 versionCheck.json
TODO
Inspect the current/active subscription:
$ az account show
EnvironmentName HomeTenantId IsDefault Name State TenantId
----------------- ------------------------------------ ----------- ------------------ ------- ------------------------------------
AzureCloud 04zzzz7e-czz9-4zz9-8zz9-dzzd5a5f6c67 True Azure for Students Enabled 04zzzz7e-czz9-4zz9-8zz9-dzzd5a5f6c67
Check for all subscriptions on your Azure account:
$ az account list
Name CloudName SubscriptionId State IsDefault
------------------ ----------- ------------------------------------ ------- -----------
Azure for Students AzureCloud 4zzzzzzf-ezzd-4zz5-8zzf-dzzzzzzzzzza Enabled False
Azure for Students AzureCloud 6zzzzzze-bzz9-4zzb-azzd-2zzzzzzzzzz4 Enabled True
Pay-As-You-Go AzureCloud 0zzzzzz3-ezz9-4zze-azz6-czzzzzzzzzz6 Enabled False
TODO
Use azcopy to work with your Azure storage account.
TODO