Can someone let me know how go about obtaining all the resources within an Azure Subscription. I tried the following:
az resource list
The above just spewed out a lot of JSON that didn't really make any sense.
The JSON that it spewed out is a JSON Array that gives information about each resource in a JSON object such as location, resource group, tags, sku (if applicable), id, created and changed time and more. I think you might only want name and resource type in which case you can add query to that command like -
az resource list --query "[].{Name:name, Type:type}" --output table