The resource Type value in the az provider show command is case-sensitive. So, if you're trying to query for metricalerts, you must use the exact casing.
**
Note: Please let me know if you stuck anywhere, I could help you further**
let us know if any help, we will always help as you needed.!
Please do not forget to "Accept the answer” and upvote it wherever the information provided helps you, this can be beneficial to other community members.it would be greatly appreciated and helpful to others.