简体   繁体   中英

azure billing rate card api returns noting

I am trying to call the Azure billing rate card api. The call is happening successfully after the authentication because the status code is OK. But though I have a vm in the corresponding resource group and subscription, always getting response as:

{"value":[]}

Same is happening in case of azure billing usage api. I had seen one question asked for billing usage api but I have tried all the options mentioned like keep the duration for 3 months, don't keep future date etc, yet there is no response”:

{"value":[], nextLink:”https://….”}

Please let me know the issue could be abd because of which both rate card and usage api are not returning right data.

Thanks

You were right, I had the same problem and i resolved it on giving 'reader' persmission on my servie account in my subscription .

Thx a lot !

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM