Hi CSJ,
Azure Service health
helpful here in your case. Under Azure service health you can navigate to resource health to check health of resources. Click here to know more about Azure service health resource health.
OR
You can consider making REST API call to Azure service health to get Availability status of resource and then store the response in some SQL table and finally calculate average from there. Click here for REST API to check Availability Status by resource.
Hope this helps.
Please consider hitting Accept Answer
button and hit Yes
. Accepted answers help community as well.