Skip to content

Instantly share code, notes, and snippets.

@astaykov
Created October 17, 2023 08:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save astaykov/47ae1d8ff2bf1a84ee00bcf74e20abe1 to your computer and use it in GitHub Desktop.
Save astaykov/47ae1d8ff2bf1a84ee00bcf74e20abe1 to your computer and use it in GitHub Desktop.
List all azure function apps and then all functions within the function apps
!#/bin/bash
az functionapp list --query "[].{n:name,g:resourceGroup}" -o Table
az functionapp list --query "[].{n:name,g:resourceGroup}" -o tsv | awk -F'\t' '{system("az functionapp function list -n "$1" -g " $2 " --query \"[].{g:resourceGroup,n:name,t:type}\" -o table")}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment