Reading the official documentation about Azure Retail Prices overview, I found that we can make API calls filtering by serviceName
https://learn.microsoft.com/en-us/rest/api/cost-management/retail-prices/azure-retail-prices
https://prices.azure.com/api/retail/prices?$filter=serviceName eq 'Virtual Machines'
However, this assumes that we know the service's correct name.
How do we get a list of all service names in Azure?
In AWS there is an endpoint that returns a list of all AWS service names, and we can use that data in the subsequent API calls.
I found this article but it is not exactly what I would expect from Azure side.
Thank you!