0
votes

Currently, I'm looking at using Front Door in an Azure resource group. When I look at https://azure.microsoft.com/en-gb/global-infrastructure/services/?products=frontdoor&regions=all , it shows that this resource is in GA.

However, if I attempt to deploy a working, tested ARM template to certain regions I get an error which explictly indicates that the region is unsupported (this error message is from an Azure Devops pipeline, but I have seen the same error using powershell deployment ofthe same template with a params file locally):

enter image description here

As such, it doesn't seem like I can trust the availability by region site (and to be fair, it does have a disclaimer on it).

How do I tell, before a deployment is fired, whether I can safely use (i.e. deploy a specified resource type to) the region?

Ideally I'm looking for a dynamic solution to this, as just because a region isn't supported now doesn't mean it won't be in the future.

1

1 Answers

1
votes

For your use-((Register-AzResourceProvider -ProviderNamespace Microsoft.Network).ResourceTypes | where-object ResourceTypeName -eq frontdoors).Locations

which will provide list of locations

You can refer following link for more examples- https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-supported-services#azure-powershell