Hello Ananya,
Thanks for reaching out!
- It may take 8–24 hours for usage data to update after changes are made.
- To focus on recent data, consider adding usageStart or usageEnd filters.
- For real-time information, use Azure Monitor, Activity Logs, or Metrics Explorer.
- Check the spelling of resourceName or use resourceId for more consistent results.
- For the most accurate data, use resourceId and usageEnd filters along with a stable API version.
For your reference, please go through this following documentation:
Usage Details - List
Hope this helps!