The rate card API for Microsoft Azure's billing API:
https://management.azure.com/subscriptions/{subscription-Id}/providers/Microsoft.Commerce/RateCard?api-version={api-version}&$filter=OfferDurableId eq ’{OfferDurableId}’ and Currency lt ’{Currency}’ and Locale eq ’{Locale}’ and RegionInfo eq ’{RegionInfo}’’
requires the regionInfo
to be provided for each request. The regionInfo
, according to the documentation, refers to the location where the offer was purchased (offer referring to the OfferDurableId
). The OfferDurableId can be obtained from the subscription and subsequently from here. However, I didn't find the regionInfo anywhere.
How to get the regionInfo
for a subscription?
N.B.: I have raised an issue on the API's github repository.