In our application, we need to validate if a region supports availability zones and also the number of zones that the region contains using az cli commands before creating application gateway. Let me know the feasibility.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@SripadaBhargav , Below is the screenshot of supported regions of Application Gateway with Availability Zones.

Regarding the Azure CLI commands, let me check and get back to you.
@SripadaBhargav , Application Gateway supports Zone 1, 2 and 3.
If you select a region which doesn't support the AV zones, then you get an error with the list of supported regions. You can then choose the supported region.
Do you want us to wait for the error to deploy application gateway in our production environment? Is there any other alternative ?
Our use case, we need to deploy application gateway in a certain region, if availability zone is support we will provision V2 or else we will go with V1.
@SripadaBhargav , the error message will contain the regions which I have shared as a screen shot. You can have the screen shot as reference and deploy application gateway accordingly.
Let me know if you have any further questions
I would suggest you guys to have an api to fetch the list of supported regions as maintaining a list of supported regions before provisioning resources is sub-optimal.
@SripadaBhargav , Thank you for your feedback. Will update the respective team with your feedback.
Most helpful comment
I would suggest you guys to have an api to fetch the list of supported regions as maintaining a list of supported regions before provisioning resources is sub-optimal.