GET the health of a single resource:
https://management.azure.com/subscriptions/<SubID>/resourceGroups/<rgName>/providers/<ResourceProvider>/<ResourceType>/<ResourceName>/providers/Microsoft.ResourceHealth/availabilityStatuses/current?api-version=2015-01-01
The above api request is giving wrong health status for consequent time intervals. We are querying the api at regular intervals to check the availability of some Azure VMs. But sometimes the value is coming as available for a stopped VM.
We are following the below blog to access the status: https://azure.microsoft.com/en-in/blog/reduce-troubleshooting-time-with-azure-resource-health/