Sample code that calls Azure Billing rateCard REST API to retrieve the list of resources per Azure offer in a given subscription, along with the pricing details for each resource.