I would like to set a Custom Alarm Threshold value for SQL Disk Read Latency and SQL Disk Write Latency under Disk Resources
e.g.

Easy enough to do with a single database
The issue is I have several hundred databases to set. (This would be very time consuming)
Can this be done using the API?