Azure Resource Type friendly display name


What I am looking for is the human readable name, not the technical one. The value in the property resourceType would show as Microsoft.Compute/virtualMachines instead of Virtual machine which is what the portal shows in the TYPE column. Is there an API or Constants file somewhere that maps the technical name with the user friendly value that the portal shows?

I am trying to output some information about Azure resources, and would like to display the same value that the Azure Portal has in the TYPE column for a list of Resources in a Resource Group. This is with the ARM APIs (using C#).

I'm not having a lot of fun finding mappings for this.

ie: Microsoft.Compute/virtualMachines shows as Virtual machine.


Microsoft.Sql/server shows as SQL server;

Does anyone how to query to map resourceTypes into the friendly display names shown in the Azure Portal?

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
1,827 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Swathi Dhanwada 9,386 Reputation points Microsoft Employee

    @Ch Vamsi Krishna (Tata Consultancy Services Limi) AFAIK, Querying ARM API to retrieve friendly display names is not possible. I would recommend you to navigate here and share your feedback or suggestions about ARM API directly with the responsible Azure feature team and clicking the vote button of your suggestion to raise visibility and priority on it.

    Here are few options to get friendly display names.

    1) Refer this is a document which lists the resource provider along with friendly display names.

    2) Use Azure Resource Graph Explorer to get the list of resources along with friendly display names from portal. Kindly make sure that formatted results is turned off to view friendly display names.