I tried to request the usage and billing API, which recently appeared in Azure, and saw that I can use the following API to get a tariff card:
https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.Commerce/RateCard?api-version=2015-06-01-preview&$filter=OfferDurableId eq '{offer-id}' and Currency eq 'USD' and Locale eq 'en-US' and RegionInfo eq 'US'
However, this requires that I be clearly familiar with the DurableId sentence that I learned for my case from the Azure site .
Is there an API that will give me these offer codes?
jobin source share