Search code examples
azureazure-cliazure-appserviceazure-cli2

is it possible to list all types of app service using az cli


I am trying to list the type of app service associated with particular subscription using azure cli.

Type of app service:

  1. Web apps
  2. logic apps
  3. Function apps
  4. mobile apps
  5. API apps

So far I have tried to find out the individual command for these. Out of which I could only get

web apps : az webapp list --subscription subscriptionId 
function apps: az functionapp list --subscription subscriptionId
logic apps: az logic workflow list --subscription subscriptionId

I am not sure the above commands include the API apps and mobile apps or it filters.

Any help would be much appreciated.


Solution

  • Yes you are right, API apps and Mobile apps are part of the Appservice which falls under WebApps.

    You could use the CLI command or use the REST API