ratecard-api

How to get 'credit available' and 'days remain' using Azure Billing API?

早过忘川 提交于 2019-12-12 01:37:56
问题 Is it possible to get the two indicators of the old management portal using the Azure Billing or RateCard API like shown below? thank you! 回答1: So there're two things you're looking for: Subscription Billing Period : As of today, it is not possible to fetch the billing period of a Subscription programmatically. Remaining Credits : Remaining credits is not directly available via the API however it is possible to calculate this. For this first, you would need to find the total credits available